Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#6069 closed defect (fixed)

dynaudnorm stuck/infinite loop on corrupt input file

Reported by: laurfb Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: dynaudnorm
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: ffmpeg with dynaudnorm conversion get stuck at the end of an particular (possible corrupt) file.
Without dynaudnorm conversion ends normally.

How to reproduce:
ffmpeg -i 00079_.mts -af dynaudnorm.mp4 -y out.mp4

Uncut console output with/without dynaudnorm filter and input file (00079_.mts): http://www2.zippyshare.com/v/mdBPwMuj/file.html

regards,
laur

Change History (3)

comment:1 Changed 2 years ago by richardpl

Please try latest master, I believe this have been just fixed.

comment:2 Changed 2 years ago by cehoyos

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 0ddc24d23248b5070c7fcdaee22c7852381fce1d

$ ffmpeg -f s16le -i /dev/null -af dynaudnorm -f null -
ffmpeg version N-83022-g0006384 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 71.100 / 57. 71.100
  libavformat    57. 62.100 / 57. 62.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, s16le, from '/dev/null':
  Duration: N/A, bitrate: 705 kb/s
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.62.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder         : Lavc57.71.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=N/A time=00:00:00.00 bitrate=N/A speed=   0x

comment:3 Changed 2 years ago by laurfb

Yes, you were right. The file was Ok but too short.
regards,
laur

Note: See TracTickets for help on using tickets.