On 10/06/2012 01:23 PM, Martin Storsjö wrote:
> This doesn't look right. The #EXT-X-MEDIA-SEQUENCE tag indicates the
> index in the sequence for the first entry in the list. So as long as you
> just add more entries to the end of the list, this value should stay
> unchanged - you should increment it only when you remove elements from
> the start.

You are right.

> To do this properly for live stuff, you probably also want to change
> writing of the playlists to rewrite the full playlist each time, instead
> of keeping the playlist file open and just appending one line. And not
> empty the playlist when you reach the target size, but just remove the
> first element from it.

I overlooked the whole sliding window thing, not sure how good it is btw...

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to