Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

ffmpeg-20130605-004026.log (934.9 KB ) - added by Vlad SD 10 years ago.
Log output

Download all attachments as: .zip

Change History (8)

comment:1 by Vlad SD, 10 years ago

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

comment:2 by Carl Eugen Hoyos, 10 years ago

Component: FFmpegundetermined
Keywords: hls added
Priority: criticalnormal

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?

by Vlad SD, 10 years ago

Attachment: ffmpeg-20130605-004026.log added

Log output

comment:3 by Vlad SD, 10 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 Carl Eugen Hoyos, 10 years ago

Component: undeterminedavformat
Reproduced by developer: set
Status: newopen

Patch sent.

comment:5 by Carl Eugen Hoyos, 10 years ago

Resolution: fixed
Status: openclosed

Should be fixed, thank you for the report!

comment:6 by Vlad SD, 10 years ago

Great, thank you. How do I test it, is going to roll into the latest build?

comment:7 by Carl Eugen Hoyos, 10 years ago

Simply compile current git head to test.

Note: See TracTickets for help on using tickets.