Opened 9 years ago

Last modified 9 years ago

#5567 open defect

IFF ILBM: support multipalette images (PCHG)

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

http://wiki.amigaos.net/wiki/ILBM_IFF_Interleaved_Bitmap#ILBM.PCHG

more samples:

http://aminet.net/search?path[]=pix&readme=pchg

C:\>ffmpeg -i Gallery.iff out.bmp
ffmpeg version N-80003-g2f76157 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. 42.100 / 57. 42.100
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 45.100 /  6. 45.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 'Gallery.iff':
  Metadata:
    comment         : Written by HamLab Plus 2.0.8
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: iff_ilbm (ILBM / 0x4D424C49), pal8, 320x400, SAR 20:11 D
AR 16:11, 90k tbr, 90k tbn
[image2 @ 0x2c5c360] Frame rate very high for a muxer not efficiently supporting
 it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[image2 @ 0x2c5c360] Using AVStream.codec to pass codec parameters to muxers is
deprecated, use AVStream.codecpar instead.
Output #0, image2, to 'out.bmp':
  Metadata:
    comment         : Written by HamLab Plus 2.0.8
    encoder         : Lavf57.36.100
    Stream #0:0: Video: bmp, pal8, 320x400 [SAR 20:11 DAR 16:11], q=2-31, 200 kb
/s, 90k fps, 90k tbn
    Metadata:
      encoder         : Lavc57.42.100 bmp
Stream mapping:
  Stream #0:0 -> #0:0 (iff_ilbm (iff) -> bmp (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=N/A
video:126kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: unknown

Attachments (2)

Gallery.iff (83.4 KB ) - added by ami_stuff 9 years ago.
Gallery_decoded.png (99.8 KB ) - added by ami_stuff 9 years ago.

Download all attachments as: .zip

Change History (5)

by ami_stuff, 9 years ago

Attachment: Gallery.iff added

by ami_stuff, 9 years ago

Attachment: Gallery_decoded.png added

comment:1 by Carl Eugen Hoyos, 9 years ago

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

comment:2 by ami_stuff, 9 years ago

also decodes correctly with wasp

http://aminet.net/package/gfx/conv/Wasp202b

comment:3 by ami_stuff, 9 years ago

these two viewers seems to support decoding of PCHG files:

http://recoil.sourceforge.net/formats.html#Amiga

http://www.pmview.com/download.html

Note: See TracTickets for help on using tickets.