#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

Description

attached file decodes correctly with MultiShow? and AWC

https://www.datafilehost.com/d/0cb019fd

http://www.randelshofer.ch/multishow/

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
le-decoder=libvpx
  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':
  Metadata:
    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':
  Metadata:
    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
    Metadata:
      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 18 months ago.
amiga-dragons.lair.anim (1.1 MB) - added by cehoyos 17 months ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 18 months ago by richardpl

  • Resolution set to invalid
  • Status changed from new to closed

I see no artifacts.

comment:2 Changed 18 months ago by ami_stuff

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

http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-32bit-static.tar.xz

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

Last edited 18 months ago by ami_stuff (previous) (diff)

comment:3 Changed 18 months ago by ami_stuff

  • Resolution invalid deleted
  • Status changed from closed to reopened

with 64bit build artefacts are visible as well

comment:4 Changed 18 months ago by ami_stuff

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

https://www.datafilehost.com/d/e6c97d16

(http://aminet.net/package/gfx/conv/BuildAnim20)

Changed 18 months ago by ami_stuff

comment:5 Changed 18 months ago by ami_stuff

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 17 months ago by ami_stuff (previous) (diff)

comment:6 Changed 17 months ago by ami_stuff

  • Summary changed from IFF ANIM: artefacts to IFF ANIM: trashed palette

here is one more sample:

https://www.datafilehost.com/d/3cb89a19

plays fine with MultiShow?/IFF Manager/AWC

fails with iffanimplay, but it's buggy :)

Changed 17 months ago by cehoyos

comment:7 Changed 17 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords iff added
  • Reproduced by developer set
  • Status changed from reopened to open
  • Version changed from unspecified to git-master

comment:8 Changed 15 months ago by richardpl

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.