[FFmpeg-devel] [PATCH] Playlist API

Geza Kovacs gkovacs
Fri Aug 7 00:39:27 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/06/2009 12:35 PM, Geza Kovacs wrote:
> On 08/03/2009 03:12 AM, Michael Niedermayer wrote:
>> playlists pretend to be demuxers and seeking for demuxers really is supposed
>> to work over the whole media represented by that demuxer. Thats also what
>> you get when it is transcoded to a new file.
> 
>> also
>> ffmpeg -i A B
>> seeking in A and B should behave the same as far as the containers support
>> it. Now if A is a playlist that isnt what would happen ...
> 
>> What that really means is that either
>> a. seeking should work over the whole media represented by a demuxer
>>    this might be hard in some cases (where duration of the individual
>>    elements is not known)
> 
>> b. the seeking API for demuxers would need to be changed so that ANY
>>    demuxer could present its timeline in a funny, broken not fully seekable
>>    way. This of course would need to be discussed with all its justifications
>>    advantages and disadvanatges and it would need to be approved.
>>    Theres also alot of considerations about the symmetry between demuxers and
>>    muxers and such that need to be considered
> 
>> c. playlist would need to be implemented differently, not pretending to be
>>    demuxers
> 
> This updated patch implements seeking over the entire playlist. As I
> stated in my previous message, the API is able to handle playlist items
> with differing numbers of streams.

Sorry, I left out a few headers in the previous patch. This updated
patch contains everything that's needed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkp7W58ACgkQs6+5LdXBeIJj0ACgxh8bQ4P8HenUHpwZeKh8B7T0
eb0An0pRjLk5Fx4zEmIrZgJ2qPrEDBQ1
=nzjI
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-concat.diff
Type: text/x-patch
Size: 43939 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090806/1009ee25/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-concat.diff.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090806/1009ee25/attachment.pgp>



More information about the ffmpeg-devel mailing list