#2643 closed defect (fixed)
HLS output file size chunk is degrading very fast
Reported by: | Vlad SD | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | hls |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
We use the latest build from ffmpeg for windows
run this command line, rename dirs as needed
C:\Apps\MVP\Tools\ffmpeg\ffmpeg.exe -i "http://twit.live-s.cdn.bitgravity.com/cdn-live-s1/_definst_/twit/live/high/playlist.m3u8" -c:v copy -c:a copy -r 29.97 -hls_time 10 -hls_list_size 6 -hls_wrap 60 -start_number 1 -y "C:\Apps\MVP\Files\hls\test\stream.m3u8"
After about 5 min chunks produced go from being 10 seconds to 1-2 seconds. No good for playback.
Please review.
Attachments (1)
Change History (8)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Component: | FFmpeg → undetermined |
---|---|
Keywords: | hls added |
Priority: | critical → normal |
Please provide the failing command line together with complete, uncut console output to make this a valid ticket (and please remove the path from the output file name).
Is this specific to stream copying or does it also happen if you reencode?
Did it work better with an older version of FFmpeg?
comment:3 by , 12 years ago
I uploaded the log file. Not sure about previous version, first time trying to use command. It is broken for all different stream inputs, I tried 5. It does not matter a fortmat, rmtp, hls, rtsp, output chunks becoming smaller and smaller to 1 second, even so 10 is requested.
comment:4 by , 12 years ago
Component: | undetermined → avformat |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Patch sent.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Should be fixed, thank you for the report!
comment:6 by , 12 years ago
Great, thank you. How do I test it, is going to roll into the latest build?
By the way, using a traditional segmenter works fine...
C:\Apps\MVP\Tools\ffmpeg\ffmpeg.exe -re -i "http://twit.live-s.cdn.bitgravity.com/cdn-live-s1/_definst_/twit/live/high/playlist.m3u8" -c:v copy -c:a copy -r 29.97 -bsf:v h264_mp4toannexb -bsf:a aac_adtstoasc -flags -global_header -map 0 -f segment -segment_list "C:\Apps\MVP\Files\hls\test\stream.m3u8" -segment_time 10 -segment_format mpeg_ts -segment_list_type m3u8 -segment_list_flags +live -segment_list_size 6 ts/streamOutput%%05d.ts