[FFmpeg-trac] #9096(avformat:new): Export of audio from avi fails

FFmpeg trac at avcodec.org
Tue Feb 9 00:09:39 EET 2021


#9096: Export of audio from avi fails
-------------------------------------+-------------------------------------
             Reporter:  marksugrue   |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  avformat     |                  Version:  git-
             Keywords:  avi          |  master
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Export of audio from an AVI (attached) fails in current version (git-
 master), but previously worked.


 This is a regression since ef8cc06d6e50d3da7b781e126a3bce7929b53a55 and
 that it is probably related to #6551.

 How to reproduce:
 {{{
 ffmpeg -i Rec1_0001.avi -c copy output.wav
 }}}

 output.wav is created but with no content.

 Full output is here:

 {{{
 ffmpeg version 2021-02-07-git-a52b9464e4-essentials_build-www.gyan.dev
 Copyright (c) 2000-2021 the FFmpeg developers
   built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 w32threads --disable-autodetect --enable-fontconfig --enable-iconv
 --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib
 --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth
 --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-
 libass --enable-libfreetype --enable-libfribidi --enable-libvidstab
 --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
 --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-
 d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt
 --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora
 --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb
 --enable-libopus --enable-libspeex --enable-libvorbis --enable-
 librubberband
   libavutil      56. 64.100 / 56. 64.100
   libavcodec     58.121.100 / 58.121.100
   libavformat    58. 67.100 / 58. 67.100
   libavdevice    58. 11.103 / 58. 11.103
   libavfilter     7.102.100 /  7.102.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
   libpostproc    55.  8.100 / 55.  8.100
 [avi @ 00000249afc4da00] sample size (1) != block align (4)
 [avi @ 00000249afc4da00] Could not find codec parameters for stream 0
 (Video: mjpeg (MJPG / 0x47504A4D), none(bt470bg/unknown/unknown),
 640x480): unspecified pixel format
 Consider increasing the value for the 'analyzeduration' (0) and
 'probesize' (5000000) options
 Guessed Channel Layout for Input Stream #0.1 : stereo
 Input #0, avi, from 'Rec1_0001.avi':
   Duration: N/A, start: 0.000000, bitrate: N/A
   Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D),
 none(bt470bg/unknown/unknown), 640x480, 24.99 fps, 24.99 tbr, 24.99 tbn,
 24.99 tbc
   Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 32000 Hz, stereo,
 s16, 1024 kb/s
 Output #0, wav, to 'output.wav':
   Metadata:
     ISFT            : Lavf58.67.100
   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 32000 Hz, stereo,
 s16, 1024 kb/s
 Stream mapping:
   Stream #0:1 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 }}}

 Altering analyseduration and/or probesize has no effect.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9096>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list