[FFmpeg-devel] [RFC] Frame accurate seeking

Baptiste Coudurier baptiste.coudurier
Wed Dec 30 16:51:07 CET 2009


On 12/30/09 4:07 PM, Karl Blomster wrote:
> Artur Bodera wrote:
>>> Also, feature requests do not belong on this list, and even for a
>>> feature request this lacks an exact description of _what_ you want.
>> Sure, unless I provide a solution, which I did:
>> http://github.com/lbrandy/ffmpeg-fas
> FFmpegSource (http://code.google.com/p/ffmpegsource) does something
> similar. That is, provides a simplified API that gives you
> frame-accurate decoding but not much else. Some people find that quite
> useful, but from what I read about what you actually want to do, it
> won't help you at all.
>> The use case is described here:
>> http://archives.free.net.ph/message/20091228.114853.066bc91b.en.html
>> I'm looking for a way to split a stream into parts without decoding it to
>> rawvideo or transcoding 2 times. I thought it would be feasible using
>> gop/fps calculations, but it seems that the time seeking is a bit "jerky"
>> and -vframes does not help either when you need 2 matching chunks (the
>> second one needs to start where the first one ended, frame-wise, and
>> you can
>> not seek by frames = dead in the water).
> If you can accept splitting only at I(DR)-frames, mkvmerge can do this
> for you. You can always demux/remux back to MP4 later. :V

I personnally find _very rude_ to advertise for different software (2 in 
this mail) on another software's mailing list. IMHO there are way more 
appropriate places for advertising.

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list