[FFmpeg-trac] #5303(avcodec:open): Support float in tiff
FFmpeg
trac at avcodec.org
Sat Feb 20 20:24:44 EET 2021
#5303: Support float in tiff
-------------------------------------+-----------------------------------
Reporter: cehoyos | Owner:
Type: enhancement | Status: open
Priority: wish | Component: avcodec
Version: git-master | Resolution:
Keywords: tif | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by pdr0):
Regarding "support float in tiff" -
"float_pattern000_ae.tiff" in the attached 7zip archive is a RGB float (no
alpha) 620x240 pattern made of 5* 128x240 patches, -2,-1,0,1,2
ie. RGB (-2,-2,-2) , (-1,-1,-1) , (0,0,0) , (1,1,1), (2,2,2)
gimp imports correctly ("gimp pointer" correctly identifies -2,-1,0,1,2
patches)
Open source programs such as natron, vapoursynth import correctly.
Commercial programs, such as ae, ps, nuke,... also import correctly
{{{
ffmpeg -i "float_pattern000_ae.tiff"
ffmpeg version N-101185-g029e3c1c70 Copyright (c) 2000-2021 the FFmpeg
developer
s
built with gcc 9.3-win32 (GCC) 20200320
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-conf
ig=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-
os=mingw
32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads
--enable-
pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-
libfreetype --en
able-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-
opencl -
-enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-
libaom
--enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec
--enab
le-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray
--enable-li
bmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-
libwebp --
disable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-
libopencore-amrw
b --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-
schanne
l --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1
--enable-lib
twolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-
libx265
--enable-libxavs2 --enable-libxvid --enable-libzimg --extra-
cflags=-DLIBTWOLAME
_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
libavutil 56. 65.100 / 56. 65.100
libavcodec 58.124.100 / 58.124.100
libavformat 58. 67.100 / 58. 67.100
libavdevice 58. 12.100 / 58. 12.100
libavfilter 7.107.100 / 7.107.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
[tiff @ 000000f2d3966f00] This format is not supported (bpp=96, 3
components)
[tiff_pipe @ 000000f2d3954900] decoding for stream 0 failed
[tiff_pipe @ 000000f2d3954900] Could not find codec parameters for stream
0 (Vid
eo: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (500
0000) options
Input #0, tiff_pipe, from 'float_pattern000_ae.tiff':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: tiff, none, 25 fps, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
}}}
according to exiftool, and mediainfo - this is big endian - specifying the
input pix_fmt does not work either
ffmpeg -pix_fmt gbrpf32be -i "float_pattern000_ae.tiff"
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5303#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list