[Libav-user] Can ffmpeg extract I-Frames from a video stream?

2012-02-09 Thread amir . rouhi
I know that ffmpeg is enable to extract images at any desired time interval from a video stream. i.e the below command: ffmpeg -i test.avi -r 1 -s WxH -f image2 test-%03d.jpeg extract 1 second image interval from test.avi. But i dont know how to change this command to extract just I-Frames from the

Re: [Libav-user] AVFilter overlay change image

2012-02-09 Thread Kenneth Gibson
Thanks for the advice =) > You may programmatically push a reconfiguration event every n frames. Would this be practical if I wanted to push a reconfiguration every single frame? ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mai

Re: [Libav-user] AVFilter overlay change image

2012-02-09 Thread Stefano Sabatini
On date Thursday 2012-02-09 16:53:12 +1300, Kenneth Gibson encoded: > Hi, > > I am using Libavfilter programmatically and I know its possible to overlay > an image like a logo onto a video with a filterchain. > Is it possible to change the image that I am overlaying part way through > the video?

[Libav-user] Possible bug in msmpeg4.c

2012-02-09 Thread Tom Vercauteren
Hi Folks, First of all, thanks for the nice piece of software that has been serving me quite nicely. I have read that bug reports should be made with the bug tracker but I first wanted to confirm an issue that I am encountering. I am indeed not really familiar with the ffmpeg code. I am calling f

[Libav-user] a proxy problem of libav

2012-02-09 Thread Yuan Gao
Hallo all, I am quite new for libav, hope you dont mind if the question too simple for you. Currently I am using libav to decode audio stream from internet. Having tested it by local files and internet stream it runs well. the function avformat_open_input(), has filename parameter which I simply

Re: [Libav-user] Encoding depth video from Kinect

2012-02-09 Thread Carl Eugen Hoyos
Daniel Henell writes: > I tried encoding the depth frames as ffv1 using the following command: > > ffmpeg -r10 -i data/d-%06d.pgm -sameq -vsync1 -vcodec ffv1 vid.mov > > However I got the following output and errors: > > Incompatible pixel format 'gray16le' for codec 'ffv1', auto-selecting > f

Re: [Libav-user] Encoding depth video from Kinect

2012-02-09 Thread Daniel Henell
> Daniel Henell writes: > >> However there doesn't seem to be any video codec that can handle >8 >> bit grayscale video. > > grep GRAY16 libavcodec/*.c > shows jpegls, ffv1 and libopenjpeg as codecs that do support >8 bit > grayscale video. > > Carl EUgen > > __

[Libav-user] Issue in Decoding AMR

2012-02-09 Thread NITIN GOYAL
Hi I am trying to decode some Amrnb audio using the avcodec_decode_audio3 function. I want to input frame by frame and save the raw output frame by frame as well. *int len = avcodec_decode_audio3(mpCodecContext, (short *)outbuf, &out_size, &pkt);* Now, the issue is that when I give the input of

Re: [Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file

2012-02-09 Thread Andrey Utkin
2012/2/9 Simon Daniels : > Ah - I think I know what's going on. In my real code, I was actually > skipping over frames (intentionally). For some reason the frame that I would > actually scan would never be available so I had assumed that none of them > were available (my bad!). Pity. Next time, pl

Re: [Libav-user] Encoding depth video from Kinect

2012-02-09 Thread Carl Eugen Hoyos
Daniel Henell writes: > However there doesn't seem to be any video codec that can handle >8 > bit grayscale video. grep GRAY16 libavcodec/*.c shows jpegls, ffv1 and libopenjpeg as codecs that do support >8 bit grayscale video. Carl EUgen ___ Libav-u

[Libav-user] Encoding depth video from Kinect

2012-02-09 Thread Daniel Henell
Hello! I'm working on a project where we would like to transfer RGBD video captured with a Kinect from our users to a server hosted by us for research purposes. It will be used by users in homes with normal Internet connections and thus it has be compressed somehow so that it won't take hours to u