Opened 11 years ago
Closed 11 years ago
#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 (1)
Change History (3)
by , 11 years ago
comment:1 by , 11 years ago
Analyzed by developer: | set |
---|---|
Component: | undetermined → avcodec |
Keywords: | pcx added |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Note:
See TracTickets
for help on using tickets.
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.