Currently there is only the the color space dropdown box in premiere:
![]()
This defines in what way I request the framebuffer from premiere. There are two possibilities:
- rec709 based
- non-rec709 based (I assume rec601?)
At this moment it also defines the target colorspace of the exported project:
// Color space
switch (videoContext.codecContext->colorspace)
{
case AVColorSpace::AVCOL_SPC_BT470BG:
filterconfig << ":space=bt470bg:trc=gamma28:primaries=bt470bg";
break;
case AVColorSpace::AVCOL_SPC_SMPTE170M:
filterconfig << ":space=smpte170m:trc=smpte170m:primaries=smpte170m";
break;
case AVColorSpace::AVCOL_SPC_BT709:
filterconfig << ":space=bt709:trc=bt709:primaries=bt709";
break;
case AVColorSpace::AVCOL_SPC_BT2020_CL:
filterconfig << ":space=bt2020ncl:trc=smtpe2084:primaries=bt2020";
break;
case AVColorSpace::AVCOL_SPC_BT2020_NCL:
filterconfig << ":space=bt2020ncl:trc=smtpe2084:primaries=bt2020";
break;
}
Alles anzeigen
For rec601 and rec709 it is quite simple. But the question is: Are we going to have that many of possible combinations of rec2020 that I need to separate this into two parts:
- In premiere to chose between rec601 and rec709. This will only define the pixel format that I get back from premiere
- In the voukoder dialog add 3 dropdown boxes to select space, trc and primaries.
I'm not sure if I should do this. As I'd like to keep it as simple as possible. Is it necessary?
About the VUI flags (x265 options)
I will add them back to the advanced settings. These are advanced settings anyway and should be set only by users who know what they're doing. Still, what will will happen if the trc is set to SMTPE2084 and the VUI is set to bt2020-10? I don't know.