#700 closed enhancement (fixed)
tiff: support CCITT FAX3/4 in uncompressed mode
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | tif |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
decodes fine with photoshop
C:\>ffmpeg -i CCITT_FAX3_unc.tif
ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 30 2011 00:52:52 with gcc 4.6.2
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. 29. 1 / 51. 29. 1
libavcodec 53. 39. 1 / 53. 39. 1
libavformat 53. 22. 0 / 53. 22. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 50. 0 / 2. 50. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[tiff @ 02615B60] Uncompressed fax mode is not supported (yet)
Input #0, image2, from 'CCITT_FAX3_unc.tif':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: tiff, monob, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
C:\>ffmpeg -i CCITT_FAX4_unc.tif
ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 30 2011 00:52:52 with gcc 4.6.2
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. 29. 1 / 51. 29. 1
libavcodec 53. 39. 1 / 53. 39. 1
libavformat 53. 22. 0 / 53. 22. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 50. 0 / 2. 50. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[tiff @ 02615B60] Uncompressed fax mode is not supported (yet)
Input #0, image2, from 'CCITT_FAX4_unc.tif':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: tiff, monob, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
Attachments (2)
Change History (5)
by , 15 years ago
| Attachment: | CCITT_FAX3_unc.tif added |
|---|
by , 15 years ago
| Attachment: | CCITT_FAX4_unc.tif added |
|---|
comment:1 by , 15 years ago
| Component: | undetermined → avcodec |
|---|---|
| Keywords: | tif added |
| Priority: | normal → wish |
| Reproduced by developer: | set |
| Status: | new → open |
| Type: | defect → enhancement |
| Version: | unspecified → git-master |
follow-up: 3 comment:2 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
comment:3 by , 11 years ago
Replying to michael:
Fixed in dd1b4ed6d98f1f4dd566a28ec5ade00712f9c27c and 7727f76230e60c9da881a51e53f6d34f249fa2fd and 38025e6898ef7caa076ff20daf4fc9f27269e4df and a4f9bb228bb34f0cfa4b55b207c19604b1e36818
Thanks for implementing this! The only problem is that the output should be in negative.
ffmpeg -i CCITT_FAX3/4_unc.tif -vf negate out.bmp <- correct output
Note:
See TracTickets
for help on using tickets.



Fixed in dd1b4ed6d98f1f4dd566a28ec5ade00712f9c27c and 7727f76230e60c9da881a51e53f6d34f249fa2fd and 38025e6898ef7caa076ff20daf4fc9f27269e4df and a4f9bb228bb34f0cfa4b55b207c19604b1e36818