[FFmpeg-trac] #6067(avformat:open): HLS segment length not equal with what m3u8 reports, when ffmpeg restarts

FFmpeg trac at avcodec.org
Tue Jan 10 17:30:16 EET 2017


#6067: HLS segment length not equal with what m3u8 reports, when ffmpeg restarts
------------------------------------+-------------------------------------
             Reporter:  pero        |                    Owner:  stevenliu
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-------------------------------------

Comment (by stevenliu):

 Replying to [comment:18 pero]:
 > Now there were more then 10 restarts and TS lenghts are correct now. It
 seems like this bug is fixed. Thank you!
 > But now I found a new problem: all the TS segments are 4 sec long or
 shorter, but the #EXT-X-TARGETDURATION tag is 5. It should be 4, isn't it?
 >
 > I think this bug is present since this patch, because i checked archives
 from yesterday and all playlists have #EXT-X-TARGETDURATION:4
 >

 ok, you can use the new patch to fix the new problem, it's because use
 ceil function problem.
 you can apply this patch base the before patch.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6067#comment:19>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list