Ticket #208 (closed defect: fixed)
png 4bpp file decodes incorrectly
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | png |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
This may be the same problem like with ticket 172, but now with 4bpp png file.
The same problem happens with 4bpp grayscale.
C:\>ffmpeg -i Test_4bpp.png
ffmpeg version git-N-29946-g27614b1, Copyright (c) 2000-2011 the FFmpeg develope
rs
built on May 15 2011 14:55:24 with gcc 4.5.3
configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config=pkg-confi
g
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 5. 0 / 53. 5. 0
libavformat 53. 0. 3 / 53. 0. 3
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 5. 0 / 2. 5. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, image2, from 'Test_4bpp.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, pal8, 1024x768, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
Attachments
Change History
comment:1 Changed 2 years ago by ami_stuff
I belive this is the same issue:
3.mov: png, 16colors (4bpp), filter NONE
comment:2 Changed 2 years ago by cehoyos
- Status changed from new to open
- Version changed from unspecified to git-master
- Component changed from undetermined to avcodec
- Reproduced by developer set
comment:3 Changed 2 years ago by saste
Decoding for these kind of files needs to be yet implemented:
/* TODO:
- - add 2, 4 and 16 bit depth support */
And I can't open 3.mov (tried with display from ImageMagik?), sure you posted the right file?
comment:4 Changed 2 years ago by ami_stuff
works fine here, but sometimes trac outputs broken files for me, so maybe this is a problem
try this:
Note: See
TracTickets for help on using
tickets.



