Opened 9 months ago

Last modified 9 months ago

#6175 open defect

IFF Anims starting with audio don't show video

Reported by: MaddTheSane Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: iff anim
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
If an IFF file starts with an 8SVX structure, FFMpeg thinks the whole file is an audio file and decodes even the video portions as audio, resorting in static for a good portion of the audio as it is decoded as audio.
How to reproduce:

% ffmpeg -i At_the_Movies.anim -c:a pcm_s8 atm1.aiff
% ffprobe At\ the\ Movies\ 1.anim 
ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --enable-videotoolbox --arch=x86_64 --enable-yasm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[iff @ 0x7fd367005800] Estimating duration from bitrate, this may be inaccurate
Input #0, iff, from 'At the Movies 1.anim':
  Metadata:
    comment         : TOROID
  Duration: 00:01:21.64, bitrate: 72 kb/s
    Stream #0:0: Audio: pcm_s8_planar (ANIM / 0x4D494E41), 9085 Hz, mono, u8p, 72 kb/s
% file At\ the\ Movies\ 1.anim 
At the Movies 1.anim: IFF data, ANIM animation

Attachments (1)

Change History (5)

comment:1 Changed 9 months ago by cehoyos

Is this issue not reproducible with current FFmpeg git head?

comment:2 Changed 9 months ago by MaddTheSane

It is.

comment:3 Changed 9 months ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from 3.2.1 to git-master

comment:4 Changed 9 months ago by MaddTheSane

  • Summary changed from IFF Anims starting with audio don't show audio to IFF Anims starting with audio don't show video
Note: See TracTickets for help on using tickets.