Ticket #637 (closed defect: fixed)
problem with pcx 1bpp file
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | pcx |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | yes |
Description
attached file decodes to black screen
(decodes fine with irfanview/imagemagick)
C:\>ffmpeg -i 1bpp.pcx
ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 6 2011 22:02:08 with gcc 4.6.1
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 24. 0 / 51. 24. 0
libavcodec 53. 28. 0 / 53. 28. 0
libavformat 53. 19. 0 / 53. 19. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 47. 0 / 2. 47. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, image2, from '1bpp.pcx':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: pcx, pal8, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
Attachments
Change History
comment:1 Changed 19 months ago by cehoyos
- Status changed from new to open
- Reproduced by developer set
- Component changed from undetermined to avcodec
- Keywords pcx added
- Version changed from unspecified to git-master
- Analyzed by developer set
The palette is all 0 for 1bit pcx and either has to be set to the correct values (black - white), or pix_fmt changed to MONO_WHITE and decoding changed accordingly.
Simple patch sent to ffmpeg-devel.
Note: See
TracTickets for help on using
tickets.



