[FFmpeg-trac] #5923(avcodec:reopened): add support for Kodak PhotoCD image format
FFmpeg
trac at avcodec.org
Wed Dec 23 09:29:11 EET 2020
#5923: add support for Kodak PhotoCD image format
-------------------------------------+------------------------------------
Reporter: ami_stuff | Owner:
Type: enhancement | Status: reopened
Priority: wish | Component: avcodec
Version: git-master | Resolution:
Keywords: pcd | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by Balling):
* status: closed => reopened
* resolution: fixed =>
Comment:
This is incorrect, Paul. The colorspace used is not
AVCOL_TRC_IEC61966_2_1, it is AVCOL_TRC_IEC61966_2_4 (or xvYCC). That is
TransferCharacteristics 11 per H.273. That is what
https://www5.in.tum.de/lehre/vorlesungen/graphik/info/csc/COL_34.htm says
and that is what wikipedia says (albeit with a problem in 0.099 v. 0.99).
https://en.wikipedia.org/wiki/Photo_CD Again, there is a perfect sample
here: http://www.tedfelix.com/PhotoCD/REFIMAGE.PCD that should look like
described in http://www.tedfelix.com/PhotoCD/pcd-102.pdf
I suppose without proper support for Superwhite YUV headroom, there is no
way to present this correctly. And that also requires compatible YUV TV.
There is a idea of HDR images, of course (those are also clarified in
pcd-102 above).
Also, 64Base (4096 × 6144) is not implemented. It was implemented here in
February 2020.
https://sourceforge.net/projects/pcdtojpeg/files/pcdtojpeg/pcdtojpeg%201.0.14/
(source code inside).
It is very important to get this correctly because the very famous Kodak
test images have highest quality in that format.
https://www.math.purdue.edu/~lucier/PHOTO_CD/IMAGES/
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5923#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list