[FFmpeg-trac] #8037(avformat:open): Incorrect HLS segment duration after 64350th frame with -hls_init_time
FFmpeg
trac at avcodec.org
Fri Jul 26 05:40:37 EEST 2019
#8037: Incorrect HLS segment duration after 64350th frame with -hls_init_time
-------------------------------------+-------------------------------------
Reporter: DusanBrejka | Owner: stevenliu
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: hls mpegts | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by stevenliu):
use your command:
result:
{{{
[root at onvideo x264]# ./ffmpeg -v quiet -report -f lavfi -i
testsrc=size=5x5:rate=30:duration=2200 -g 30 -f hls -hls_time 4
-hls_init_time 1 -hls_segment_filename "hls/%03d.ts" "hls/master.m3u8"
[root at onvideo x264]# cat hls/master.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:550
#EXTINF:4.000000,
550.ts
#EXTINF:4.000000,
551.ts
#EXTINF:4.000000,
552.ts
#EXTINF:4.000000,
553.ts
#EXTINF:3.000000,
554.ts
#EXT-X-ENDLIST
[root at onvideo x264]#
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8037#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list