Opened 7 years ago

Last modified 5 years 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

Change History (10)

comment:1 by Carl Eugen Hoyos, 7 years ago

Is this issue not reproducible with current FFmpeg git head?

comment:2 by MaddTheSane, 7 years ago

It is.

comment:3 by Carl Eugen Hoyos, 7 years ago

Reproduced by developer: set
Status: newopen
Version: 3.2.1git-master

comment:4 by MaddTheSane, 7 years ago

Summary: IFF Anims starting with audio don't show audioIFF Anims starting with audio don't show video

comment:5 by MaddTheSane, 6 years ago

I attached a simpler, smaller animation with only one sound sample instead of 15.

comment:6 by MaddTheSane, 5 years ago

This issue is still present.

comment:7 by MaddTheSane, 5 years ago

The attached file "At The Movies 2.anim" contains audio, but the first substruct of the ANIM form is ILBM, not 8SVX.

Note: See TracTickets for help on using tickets.