Opened 3 years ago

Last modified 2 years ago

#4687 new enhancement

Support tif images with less than eight bits

Reported by: cehoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: tif
Cc: ami_stuff@o2.pl Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

As reported by ami_stuff in ticket #3459:
Tiff images with less than eight bit per component are not supported by current FFmpeg.

$ ffmpeg -i 7bpp_raw.tif
ffmpeg version N-73264-gb54ac84 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 45.101 / 56. 45.101
  libavformat    56. 40.100 / 56. 40.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 19.100 /  5. 19.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[tiff @ 0x26d22c0] This format is not supported (bpp=7, bppcount=1)
[tiff_pipe @ 0x26d13e0] decoding for stream 0 failed
[tiff_pipe @ 0x26d13e0] Could not find codec parameters for stream 0 (Video: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
7bpp_raw.tif: could not find codec parameters
Input #0, tiff_pipe, from '7bpp_raw.tif':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: tiff, none, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (12)

3bpp_lzw.tif (265.2 KB) - added by cehoyos 3 years ago.
3bpp_packbitstif.tif (263.9 KB) - added by cehoyos 3 years ago.
3bpp_raw.tif (274.6 KB) - added by cehoyos 3 years ago.
5bpp_lzw.tif (356.0 KB) - added by cehoyos 3 years ago.
5bpp_packbits.tif (439.3 KB) - added by cehoyos 3 years ago.
5bpp_raw.tif (457.6 KB) - added by cehoyos 3 years ago.
6bpp_lzw.tif (317.7 KB) - added by cehoyos 3 years ago.
6bpp_packbits.tif (524.9 KB) - added by cehoyos 3 years ago.
6bpp_raw.tif (549.2 KB) - added by cehoyos 3 years ago.
7bpp_lzw.tif (429.6 KB) - added by cehoyos 3 years ago.
7bpp_packbits.tif (615.7 KB) - added by cehoyos 3 years ago.
7bpp_raw.tif (641.0 KB) - added by cehoyos 3 years ago.

Change History (15)

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

Changed 3 years ago by cehoyos

comment:1 Changed 3 years ago by ami_stuff

  • Cc ami_stuff@o2.pl added

comment:2 Changed 2 years ago by ami_stuff

these images are actually in color

decodes ok with:

http://www.pmview.com/win/pmvwine.exe

comment:3 Changed 2 years ago by cehoyos

  • Summary changed from Support grayscale tif images with less than eight bits to Support tif images with less than eight bits
Note: See TracTickets for help on using tickets.