[FFmpeg-user] Fixed GOP encoding for HLS

Christian Ebert blacktrash at gmx.net
Tue Dec 18 11:38:56 CET 2012

* Andrew Sinclair on Tuesday, December 18, 2012 at 16:42:53 +1100
> Looking at the proposed code change the +1 isn't necessary as according the
> HLS spec the #EXT-X-TARGETDURATION only needs to be >= the segment
> timeframe so as long as it is equal to it is OK.
> I am also getting closer to the issue that I am seeing and it could be for
> support for some older players as using a decimal/float as the duration is
> only a reasonably recent addition to the spec as previously the #EXTINF
> needed to be an int. I am going to play with some patches to the code I
> have done for this and will report back.

Unchanged generated m3u8 seems to work though for me™ on iOS 3.1
(could be considered rather stone age) at least here:

> However there is definitely some significant variaion in what segment.c is
> generating as the #EXTINF durations and what ffprobe reports as the
> duration.

Yeah, this is what I don't understand.


\black\trash movie           _COWBOY  CANOE  COMA_
            Ein deutscher Western/A German Western

--->> http://www.blacktrash.org/underdogma/ccc.php

More information about the ffmpeg-user mailing list