Thread: VirtualDub2
View Single Post
Old 11th August 2018, 12:03   #540  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Quote:
Originally Posted by kolak View Post
Ideally I would like to convert CinemaDNG RAW into CF RAW
Converting TIFF with RAW data into CF RAW would be already cool. I can convert CDNG RAW with dcraw tool into "RAW" TIFF.
Decoding CF RAW and exporting as 12bit uncompressed file keeping RAW look for testing purposes should be easy to implement.
After some experimenting:
"dcraw -6 -E" creates non-interpolated bayer image from dng etc that looks quite the same as CFHD_PIXEL_FORMAT_BYR4 image extracted from cineform. So this part is trivial, and likely no problem to compress such image to cineform raw format. But what about metadata, does cineform raw without any relevant metadata make sense? Translating the metadata could be a challenge.
Also not sure about CinemaDNG but to import DNG sequences it would require a new source plugin, as nothing like that seems integrated with FFMpeg already. Such plugin can be derived from dcraw or from gopro/gpr (maybe from both). This needs some effort, not promising now.
__________________
VirtualDub2
shekh is offline   Reply With Quote