[FFmpeg-trac] #3927(avcodec:closed): feature request: enable pix_fmt xyz12le / xyz12be for TIFF sequences
FFmpeg
trac at avcodec.org
Sat Sep 5 22:49:34 CEST 2015
#3927: feature request: enable pix_fmt xyz12le / xyz12be for TIFF sequences
-------------------------------------+-------------------------------------
Reporter: maweber | Owner:
Type: enhancement | Status: closed
Priority: wish | Component: avcodec
Version: git-master | Resolution:
Keywords: tif | needs_more_info
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by maweber):
Hi cehoyos
Sorry this got dusty, you did right in closing the thread,
but it was a misunderstanding. I answered above my request was pointless.
This is just as an info (I learned in the meantime):
One can get into XYZ with a suitable LUT.
I use this here for my intermediate LUTed tiffs:
In the example I used the LUT previously on the $input with a source-to-
target specific LUT.
For example this one for sRGB-gamma2.1-to-XYZ-gamma-2.6 (ffmpeg can do
that):
https://www.dropbox.com/s/yn5k07hfew0r25d/srgb_2.10_to_XYZ.cube?dl=0
The 12-bit tiff part (you'll notice the waste of bitdepth):
ffmpeg -loglevel quiet -y -i "$input" -vframes 1 -c:v ppm -pix_fmt rgb48be
-f image2pipe -threads 0 - | \
/usr/bin/gm convert ppm:- -depth 12 \
-endian msb -define quantum:format=unsigned -compress None \
-define tiff:bits-per-sample=12 tif:$output
gm is graphicsmagick
best
M
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3927#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list