[FFmpeg-user] About hls option "hls_init_time" and "hls_time"
xyzero
xiaoxyzero at 163.com
Fri Mar 9 09:59:07 EET 2018
Hi all:
I use the lastest ffmpeg 3.4.2 to transcode a HLS live streaming with the command :
"ffmpeg -i /2011/03/17/20110311090142995200.wmv -c:v h264 -flags +cgop -g 25 -hls_init_time 1 -hls_time 10 -hls_list_size 0 -hls_flags temp_file -b:v 800K /hls_tmp/out.m3u8"
and the m3u8 file was written as
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:1.000000,
out0.ts
#EXTINF:1.000000,
out1.ts
#EXTINF:1.000000,
out2.ts
#EXTINF:1.000000,
out3.ts
#EXTINF:1.000000,
out4.ts
#EXTINF:1.000000,
out5.ts
It seems that "-hls_time 10" has no effect with the option "-hls_init_time" at the same time.
Does anyone meet the same problem before?
Thanks and best regards.
More information about the ffmpeg-user
mailing list