[FFmpeg-devel] [PATCH] Playlist API

Geza Kovacs gkovacs
Thu Aug 6 21:35:35 CEST 2009

Hash: SHA1

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.
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-concat.diff
Type: text/x-patch
Size: 40610 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090806/1ec37453/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/1ec37453/attachment.pgp>

More information about the ffmpeg-devel mailing list