FFmpeg | 22 May 10:53 2012

#1341(FFmpeg:new): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
---------------------------------+--------------------------------------
             Reporter:  maccara  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  FFmpeg   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 Seems something is awry with the master branch with -async 1.

 Used to work fine, but now I get "Error in av_buffersink_get_buffer_ref():
 Invalid argument" for most audio packets for practically all wmv files
 (and replicated with one flv file also; possibly happens in general with
 containers having variable framerate video?) resulting in corrupt audio as
 a result. A couple of files in avi container I tested did not exhibit this
 issue.

 Seems like a regression.

 Simple test case with file downloaded from
 http://sourceforge.net/projects/vspeech/files/VSpeech%20Tutorial/1.0/tur1_shortcut.WMV/download

 {{{
 ffmpeg started on 2012-05-22 at 11:29:23
 Report written to "ffmpeg-20120522-112923.log"
 Command line:
 ffmpeg -y -report -i tur1_shortcut.WMV -vn -async 1 -f wav nul
 ffmpeg version N-40932-g42e80eb Copyright (c) 2000-2012 the FFmpeg
 developers
(Continue reading)

FFmpeg | 22 May 12:15 2012

Re: #1341(FFmpeg:new): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
------------------------------------+----------------------------------
             Reporter:  maccara     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  FFmpeg
              Version:  git-master  |               Resolution:
             Keywords:  async       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------
Changes (by cehoyos):

 * keywords:   => async

Comment:

 Why are you using -async 1 for this sample, transcoding works fine here
 without?

 You don't have to bisect: The relevant changes were 9d30a96 and fc49f22

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1341#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
FFmpeg | 22 May 13:27 2012

Re: #1341(FFmpeg:new): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
------------------------------------+----------------------------------
             Reporter:  maccara     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  FFmpeg
              Version:  git-master  |               Resolution:
             Keywords:  async       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by maccara):

 For this particular sample async probably is not needed - this specific
 sample was just to show the errors generated if -async 1 was used (and
 easy accessibility for the file). Whether async needed for this sample is
 completely besides the point; it still should not break when async is
 used.

 The real use case is for batch converting stuff with some audio processing
 where it is much simpler to handle remuxing etc if the audio has the added
 silence/cut in the beginning. Also, it did no harm even if the file did
 not specifically need async in the first place.

 So "this particular file is not needing async" is not a solution for when
 I have to deal with a file that actually does need it. ;)

 Thanks for pointing out the relevant commits. Seems indeed async has been
 broken since fc49f22 (at least) and 9d30a96 just exposes the regression by
 converting the async parameter to the new filtering method. I did a quick
(Continue reading)

FFmpeg | 25 May 23:48 2012

Re: #1341(FFmpeg:open): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
-------------------------------------+-------------------------------------
             Reporter:  maccara      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  FFmpeg
              Version:  git-master   |               Resolution:
             Keywords:  async        |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  async => async regression
 * priority:  normal => important
 * status:  new => open
 * reproduced:  0 => 1

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1341#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
FFmpeg | 26 May 13:28 2012

Re: #1341(FFmpeg:open): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
-------------------------------------+-------------------------------------
             Reporter:  maccara      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  minor        |                Component:  FFmpeg
              Version:  git-master   |               Resolution:
             Keywords:  async        |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * priority:  important => minor

Comment:

 Michael has mostly fixed this regression, the remaining problem is that
 ffmpeg is a little too verbose now when transcoding the sample file.

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1341#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
FFmpeg | 26 May 18:35 2012

Re: #1341(FFmpeg:closed): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
-------------------------------------+-------------------------------------
             Reporter:  maccara      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  FFmpeg
              Version:  git-master   |               Resolution:  fixed
             Keywords:  async        |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * priority:  minor => important
 * status:  open => closed
 * resolution:   => fixed

Comment:

 Fixed by Michael, thank you for the report!

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1341#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
FFmpeg | 26 May 19:25 2012

Re: #1341(FFmpeg:closed): ffmpeg -async 1 broken for wmv files

#1341: ffmpeg -async 1 broken for wmv files
-------------------------------------+-------------------------------------
             Reporter:  maccara      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:  FFmpeg
              Version:  git-master   |               Resolution:  fixed
             Keywords:  async        |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by maccara):

 Fix verified - works good now again.

 Thank you Carl & Michael.

--

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

Gmane