Opened 6 years ago

Closed 6 years ago

#5591 closed defect (fixed)

IFF ANIM: trashed palette

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


attached file decodes correctly with MultiShow and AWC

C:\>ffmpeg -i AmigaPark.AN5 out.avi
ffmpeg version N-80096-gdefab08 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 43.100 / 57. 43.100
  libavformat    57. 37.100 / 57. 37.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.100 /  6. 46.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, iff, from 'AmigaPark.AN5':
    artist          : Surai Ryudo (Ryan Lloyd)
    copyright       : Ryan Lloyd
    comment         : Created By Surai Ryudo On 5th & 6th January 1998 :*)
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: iff_ilbm (ANIM / 0x4D494E41), pal8, 320x200, SAR 22:22 D
AR 8:5, 35 fps, 60 tbr, 60 tbn
[avi @ 0x2d13160] Using AVStream.codec to pass codec parameters to muxers is dep
recated, use AVStream.codecpar instead.
Output #0, avi, to 'out.avi':
    IART            : Surai Ryudo (Ryan Lloyd)
    ICOP            : Ryan Lloyd
    ICMT            : Created By Surai Ryudo On 5th & 6th January 1998 :*)
    ISFT            : Lavf57.37.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x200 [SAR 1:1 DAR
 8:5], q=2-31, 200 kb/s, 60 fps, 60 tbn
      encoder         : Lavc57.43.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (iff_ilbm (iff) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame=  316 fps=0.0 q=31.0 Lsize=     596kB time=00:00:10.36 bitrate= 471.1kbits
/s speed=34.9x
video:576kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: 3.549912%

Attachments (2)

anim5.7z (800.8 KB ) - added by ami_stuff 6 years ago.
amiga-dragons.lair.anim (1.1 MB ) - added by Carl Eugen Hoyos 6 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Elon Musk, 6 years ago

Resolution: invalid
Status: newclosed

I see no artifacts.

comment:2 by ami_stuff, 6 years ago

There are visible artefacts (or trashed palette) with this build (and my own) at the beginning of the video and also later:

Do you see the same output from MultiShow/AWC and FFmpeg?

Last edited 6 years ago by ami_stuff (previous) (diff)

comment:3 by ami_stuff, 6 years ago

Resolution: invalid
Status: closedreopened

with 64bit build artefacts are visible as well

comment:4 by ami_stuff, 6 years ago

here is the same anim first splitted into separate frames like this:

buildanim SPLIT amigapark.an5 frames/amigapark

and next re-splitted back to anim:

buildanim ANIM5 frames/amigapark001 ap2.anim5


by ami_stuff, 6 years ago

Attachment: anim5.7z added

comment:5 by ami_stuff, 6 years ago

see attached files, "anim16-27" decodes correctly, "anim15-27" not (1 frame difference at the beginning)

buildanim ANIM5 amigapark015 anim15-27
buildanim ANIM5 amigapark016 anim16-27

info via MultiShow ("View/Show Info"):

anim15-27: "Palettes: 2"
anim16-27: "Palettes: 1"

Last edited 6 years ago by ami_stuff (previous) (diff)

comment:6 by ami_stuff, 6 years ago

Summary: IFF ANIM: artefactsIFF ANIM: trashed palette

here is one more sample:

plays fine with MultiShow/IFF Manager/AWC

fails with iffanimplay, but it's buggy :)

by Carl Eugen Hoyos, 6 years ago

Attachment: amiga-dragons.lair.anim added

comment:7 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedavcodec
Keywords: iff added
Reproduced by developer: set
Status: reopenedopen
Version: unspecifiedgit-master

comment:8 by Elon Musk, 6 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.