Opened 2 years ago

Last modified 2 years ago

#5303 new enhancement

Support float in tiff

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

http://samples.ffmpeg.org/image-samples/building.tif
http://thread.gmane.org/gmane.comp.video.ffmpeg.libav.user/15090/focus=15110
Gonzalo kindly provided a tiff image containing floating point values.
Depends on ticket #3657

$ ffmpeg -i building.tif
ffmpeg version 3.0.git-dev-dev-486-g6f5048f Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 27.101 / 57. 27.101
  libavformat    57. 28.100 / 57. 28.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.100 /  6. 39.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[tiff @ 0x3d19820] This format is not supported (bpp=128, 4 components)
[tiff_pipe @ 0x3d18280] decoding for stream 0 failed
[tiff_pipe @ 0x3d18280] Could not find codec parameters for stream 0 (Video: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
building.tif: could not find codec parameters
Input #0, tiff_pipe, from 'building.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

Change History (3)

comment:1 Changed 2 years ago by ami_stuff

I have some samples here which I created in the past (decodes fine with Photoshop).

"32bits_channel_16_bit_half.tif" decodes with ffmpeg, but not correctly.

http://www.datafilehost.com/d/db481cd0

comment:2 Changed 2 years ago by ami_stuff

  • Cc ami_stuff@o2.pl added

comment:3 Changed 2 years ago by ami_stuff

Also here are some unsupported pbm files by ffmpeg (probably not float):

http://www.datafilehost.com/d/0da82b02

Note: See TracTickets for help on using tickets.