#7022: ffmpeg with -hls_flags single_file return incorrect byterange in playlist -------------------------------------+------------------------------------- Reporter: loki5100 | Type: defect Status: new | Priority: critical Component: ffmpeg | Version: git- Keywords: hls_flags | master single_file | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- 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 -- Ticket URL: <https://trac.ffmpeg.org/ticket/7022> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac