Log in

View Full Version : How change the color depth in decompression and output format?


Jamaika
19th September 2015, 17:50
I would like to change the color depth in VirtualDub from 4:4:4 YCbCr 10-bit (r210) to Cineform 4:4:4 RGB 10-bit (cfhd). How can I do this?

shekh
20th September 2015, 13:53
Do you mean to transcode from one format to another?
r210 is rgb, you probably meant v210 (and it is 4:2:2).
v210 should be supported by cineform vfw codec and VirtualDub should be able to pass it through is you select v210 in "color depth" dialog explicitly.
However there is no way to encode to 10 bit rgb cineform. vfw codec does not support it. Once I was considering to implement bypass encoder to cineform utilizing their SDK, that way it is possible but creates licensing issue. Maybe there is way to configure some external program which already includes cineform (adobe media encoder?). Would like to hear if you find something.

Jamaika
20th September 2015, 22:36
Do you mean to transcode from one format to another?
Yes.
v210 should be supported by cineform vfw codec and VirtualDub should be able to pass it through is you select v210 in "color depth" dialog explicitly.
Here is the problem. How to check for Cineform VFW ???
I just read the manual Cineform and I know that there are three possibilities for output and two for input:
YUV8bit --> Cineform --> YUV422p10le, rgb12le lub rgba12le
YUV16bit --> Cineform --> YUV422p10le, rgb12le lub rgba12le
http://blogs.adobe.com/aftereffects/2014/10/gopro-cineform-codec-settings.html
https://helpx.adobe.com/premiere-pro/how-to/gopro-cineform-codec.html
https://helpx.adobe.com/media-encoder/using/whats-new-2014.html
For the AVI container it isn't possible to activate the function:
Force 16bit encoding - Deep Pixel apps / modes only
However there is no way to encode to 10 bit rgb cineform. vfw codec does not support it. Once I was considering to implement bypass encoder to cineform utilizing their SDK, that way it is possible but creates licensing issue.
Now I know that something himself suggested. Probably time VirtualDub is gone and more demanding codecs in post-production video I have to go to the conteiner MOV.

kolak
29th September 2015, 10:53
v210 is the best you can do in Vdub.

shekh
29th September 2015, 14:37
v210 is the best you can do in Vdub.

In theory I could output B64A or anything like that from my modded version (http://forum.doom9.org/showthread.php?t=172021), which is the same as latest VirtualDub but with some extras.

Jamaika
2nd October 2015, 13:31
Thanks for modded version. I install Virtualdub and have my doubts. I'm afraid that when converting R210 RGB (101010) on RGBA (16161616) then RGBA (8888) for Cineform RGB (121212) is a lot of mistakes.
http://i60.tinypic.com/t0m4b8.png

shekh
2nd October 2015, 14:17
I`m afraid this version does not help for your problem yet. I have not made any high bit depth output except tiff sequence. May do something in future
And what is source format? It will decode at 8 bit anyway if it is cineform. Only formats supported by ffmpeg can decode at full precision.

Edit:
seems I do not understand what you are trying to do.
If you output at 8 bit there is no reason to then encode it at 12 bit