Re: [Libav-user] Translating working command line to programmatic code

2012-08-02 Thread Robert Krüger
Hi, On Thu, Aug 2, 2012 at 10:06 PM, Brad O'Hearne wrote: > Hello, > > I could use a little guidance from the ffmpeg gurus on the list here. The > short summary of my request is that I have a working ffmpeg command line > which proves my use case, and now I need to convert that to programmatic >

[Libav-user] Translating working command line to programmatic code

2012-08-02 Thread Brad O'Hearne
Hello, I could use a little guidance from the ffmpeg gurus on the list here. The short summary of my request is that I have a working ffmpeg command line which proves my use case, and now I need to convert that to programmatic code and integrate it into a app. Details: *** My use case: On a

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-08-02 Thread Roger Pack
> I believe that does no seeking there. Putting -ss after the input will cause > ffmpeg to demux up to the requested timestamp, so it's not quite related to > seeking (putting -ss before the input will seek the input file). > > Since -a/vcoded copy avoids re-encoding, it just copies the packets (wi

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-08-02 Thread Michael Bradshaw
On Thu, Aug 2, 2012 at 12:10 PM, Roger Pack wrote: > > Could you provide a sample that does not seek to a keyframe with > > ffmpeg -ss x -i input out.png > > (I tested this yesterday on random mpeg2video samples and afaict, > > it did work.) > > With me, I get this: > > with this file: http://rog

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-08-02 Thread Roger Pack
> $ ffmpeg -i sintel.mpg -vcodec copy -acodec copy -ss 90.0 starting_at_90.mpg > > then try and use it again: > > $ ffmpeg -i starting_at_90.mpg -vframes 1 -f image2 -an snap.jpg > > I get this warning message: > [mpeg2video @ 01f09860] warning: first frame is no keyframe > > Anybody know if this

Re: [Libav-user] Why does av_seek_frame() not seek to a keyframe?

2012-08-02 Thread Roger Pack
> Could you provide a sample that does not seek to a keyframe with > ffmpeg -ss x -i input out.png > (I tested this yesterday on random mpeg2video samples and afaict, > it did work.) With me, I get this: with this file: http://rogerdpack.t28.net/incoming/sintel.mpg $ ffmpeg -i sintel.mpg -vcodec

Re: [Libav-user] generating timecode in a quicktime movie

2012-08-02 Thread Michael Bradshaw
On Thu, Aug 2, 2012 at 9:33 AM, gilles pouliquen wrote: > > But yeah I would definitly love to see the ffmbc anyway fork but I can't > find the source code :( ... > You mean you can't find the FFmbc source? http://code.google.com/p/ffmbc/ --Michael ___

Re: [Libav-user] generating timecode in a quicktime movie

2012-08-02 Thread gilles pouliquen
Le 02/08/2012 16:02, Carl Lindqvist a écrit : My research on this subject says you probably need the ffmbc fork for this. I have tried it, but never managed to get timecode in my files :( Documentation was pretty much non existant if I remember correctly. Maybe this has changed now. Let me kn

Re: [Libav-user] generating timecode in a quicktime movie

2012-08-02 Thread Carl Lindqvist
My research on this subject says you probably need the ffmbc fork for this. I have tried it, but never managed to get timecode in my files :( Documentation was pretty much non existant if I remember correctly. Maybe this has changed now. Let me know how it goes! Regards Carl _

[Libav-user] generating timecode in a quicktime movie

2012-08-02 Thread gilles pouliquen
Hello, I'm trying to generate a movie and I'd like to include timecodes information to my video stream. I know that quicktime has support for a timecode track so I am using the mov encoder in ffmpeg hoping i could add my own timecode track. So I have two questions: is that the right way to go

[Libav-user] Need Help

2012-08-02 Thread NANDU
Hi All I am new to this forum and to FFMPEG, image encoding as well. I am using this library in android application. My requirement is that I have to create a TIFF image with specific DPI from the raw data received from camera. What are the FFMPEG interfaces need to be called to achieve this.