#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 (2)
Change History (9)
by , 14 years ago
Attachment: | Test_4bpp.png added |
---|
comment:1 by , 14 years ago
by , 14 years ago
comment:2 by , 14 years ago
Component: | undetermined → avcodec |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:3 by , 14 years ago
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 by , 14 years ago
works fine here, but sometimes trac outputs broken files for me, so maybe this is a problem
try this:
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed locally will push in a moment
comment:7 by , 13 years ago
Keywords: | png added |
---|
Note:
See TracTickets
for help on using tickets.
I belive this is the same issue:
3.mov: png, 16colors (4bpp), filter NONE