Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7022 closed defect (duplicate)

ffmpeg with -hls_flags single_file return incorrect byterange in playlist

Reported by: loki5100 Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Under windows with the build 20180214-dc77e64, When i run the command below (-hls_flags single_file)

ffmpeg.exe ^
-i "C:\Temp\ffmpeg\big_buck_bunny.avi" ^
-loglevel verbose ^
-an ^
-sn ^
-vcodec libx264 ^
-force_key_frames "expr:gte(t,n_forced*4)" ^
-r 25 ^
-f hls ^
-hls_time 4 ^
-hls_list_size 99999 ^
-start_number 1 ^
-hls_segment_type fmp4 ^
-hls_fmp4_init_filename "C:\Temp\ffmpeg\result_init.mp4" ^
-t 30 ^
-hls_flags single_file ^
"C:\Temp\ffmpeg\result.m3u8"

it's return this :

#EXTM3U
#EXT-X-VERSION:7
#EXT-X-TARGETDURATION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-MAP:URI="C:\Temp\ffmpeg\result.m4s",BYTERANGE="819@0"
#EXTINF:4.000000,
#EXT-X-BYTERANGE:819@0
result.m4s
#EXTINF:4.000000,
#EXT-X-BYTERANGE:414913@819
result.m4s
#EXTINF:4.000000,
#EXT-X-BYTERANGE:206686@415732
result.m4s
#EXTINF:4.000000,
#EXT-X-BYTERANGE:58996@622418
result.m4s
#EXTINF:4.000000,
#EXT-X-BYTERANGE:-478619@681414
result.m4s
#EXTINF:4.000000,
#EXT-X-BYTERANGE:146546@202795
result.m4s
#EXTINF:4.000000,
#EXT-X-BYTERANGE:422670@349341
result.m4s
#EXTINF:2.000000,
#EXT-X-BYTERANGE:-771811@772011
result.m4s
#EXT-X-ENDLIST

byterange like
#EXT-X-BYTERANGE:-771811@772011
if off course not correct

source mp4: http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi

Change History (2)

comment:1 by loki5100, 7 years ago

Resolution: duplicate
Status: newclosed

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: ffmpegundetermined
Keywords: hls_flags single_file removed
Priority: criticalnormal
Note: See TracTickets for help on using tickets.