[FFmpeg-trac] #11203(undetermined:new): ffmpeg hangs at File ended prematurely

FFmpeg trac at avcodec.org
Wed Sep 25 13:12:16 EEST 2024


#11203: ffmpeg hangs at File ended prematurely
--------------------------------------+----------------------------------
             Reporter:  milahu        |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  6.1.1
             Keywords:  hang          |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Summary of the bug:

 with a broken input file
 with loudnorm filter
 with soxr resampling
 ffmpeg hangs after transcoding
 with the error message "File ended prematurely"
 and the transcoding speed slowly drops to zero

 ffmpeg version 6.1.2

 repro.sh recording:
 https://asciinema.org/a/677569

 How to reproduce:

 {{{
 cd $(mktemp -d)

 aria2c --seed-time=0
 "magnet:?xt=urn:btih:3bbabd438d58e83ae8a9d530dc3520b5c7ee1d80&dn=ffmpeg-
 hangs-at-File-ended-
 prematurely&tr=udp%3A%2F%2F89.234.156.205%3A451%2Fannounce&tr=udp%3A%2F%2F208.83.20.20%3A6969%2Fannounce&tr=udp%3A%2F%2F156.234.201.18%3A80%2Fannounce&tr=udp%3A%2F%2F185.243.218.213%3A80%2Fannounce&tr=udp%3A%2F%2F23.140.248.9%3A1337%2Fannounce&tr=udp%3A%2F%2F93.158.213.92%3A1337%2Fannounce"

 cd ffmpeg-hangs-at-File-ended-prematurely

 chmod +x repro.sh

 ./repro.sh
 }}}

 repro.sh

 {{{
 #!/bin/sh

 i=sie.leben.1988.remastered.german.dl.1080p.bluray.x264-contribution.sample.mkv
 af=loudnorm=i=-23.0:lra=7.0:tp=-2.0:linear=true:measured_i=-24.06:measured_lra=10.20:measured_tp=-6.89:measured_thresh=-34.12:offset=2.73

 ffmpeg -hide_banner -i $i -map 0:a:0 -af $af -resampler soxr -ar 48k -f
 wav - > /dev/null
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11203>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list