[FFmpeg-devel] [RFC] Frame accurate seeking

Karl Blomster kalle
Wed Dec 30 17:27:06 CET 2009


Baptiste Coudurier wrote:
> Hi,
> 
> 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.
> 

Oh wait, you meant mkvmerge? That obviously wasn't a serious suggestion. But I 
still don't really see the point; ffmpeg can't do it, so what is the point of 
pretending nothing else can either?

Regards,
Karl Blomster



More information about the ffmpeg-devel mailing list