[FFmpeg-trac] #2693(avfilter:new): -async chokes on damaged audio input stream

FFmpeg trac at avcodec.org
Sun Jun 23 15:03:01 CEST 2013


#2693: -async chokes on damaged audio input stream
------------------------------------+------------------------------------
             Reporter:  khali       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  regression  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by khali):

 I investigated this further and there are actually two different issues
 here.

 1. The log message flood. It happens with the git version of ffmpeg as
 soon as -async 24000 (or -af aresample=async=24000,first_pts=0) is passed.
 It never happens with ffmpeg 1.0.6.
 2. The audio gets out of sync. I can only reproduce this with 2-pass
 encoding using an AVI output container. When the input file is damaged,
 2-pass encoding may lead to out-of-sync audio. With ffmpeg 1.0.6, passing
 -async 24000 fixes it. With ffmpeg from git, passing -async 24000 doesn't
 fix it and even makes it worse.

 The sample file I attached to this bug doesn't trigger the second bug, but
 I have another one which does. Unfortunately it is much larger so I can't
 attach it here. I'll upload it to upload.ffmpeg.org.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2693#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list