View Single Post
Old 17th February 2016, 12:15   #13  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
AFAIK vfw encoder uses these options to convert RGB to YUV when you feed it RGB, but it does not store these options nowhere in video.
This is easy to confirm when you read from vfw back as RGB, the colors will be different depending on what options are set (while typing I got feeling that I need to doublecheck this again).
Btw from my research "use video systems RGB" has same meaning as "full range", can someone please confirm it.

edit:
I repeated my tests and now it looks more complicated.
"enc:709" option is always preserved within video. When sending RGB it is used for conversion. When sending yuv (v210) it is just saved without affecting data.
"dec:709" option is never used at all, instead it behaves like it is retrieved from the video.
"enc:video rgb" option affects conversion when sending RGB but never saved in video (or never retrieved by decoder, I have no way to know).
"dec:video rgb" used when decoding as RGB.

So what it means for ffmpeg decoder, at least it has chance to setup 601/709 choice.

Last edited by shekh; 18th February 2016 at 11:03.
shekh is offline   Reply With Quote