Okay, seems there is another issue with zscale.
It delays the export by 1.4 seconds per frame. That's not really usable.
Okay, seems there is another issue with zscale.
It delays the export by 1.4 seconds per frame. That's not really usable.
Yes, its a less obvious for advanced uhd/bt2020 users but also less confusion for yuv 420 hd/rec709. It depends on the use case. I think most users won't ever use colorspace conversion (and if the need it they can use that filter) so in my opinion it is the right way.
Might also be a good idea to bring back the x265 settings in this case too.
They will be back! Added them to the config already.
I am thinking about removing these dropdown boxes again and just extend the regular zscale filter (Configure > Filters > Add filter (zscale) ) to support all the color space options. It'd be more consistent, I guess.
That'd mean that there is also no need for the conversion checkbox, nor any mapping of option values. You can just add that filter if you need it.
I'll switch to zscale before any doing any release. As these settings are saved together with a project I'd like to prevent any conflicts like "bt709" vs "709".
Please confirm zscale has all the options you need.
I investivated this with different encoders:
This happens with AAC, AC-3 and DTS. The others work fine.
I am on it.
P.S.: The different offset does not matter! When playing video and audio in a media player it will sync this correctly using the display timestamp (DTS).
P.P.S.: VEGAS and Premiere are not affected.
Theoretically yes, but it does not use FFmpegs standard values i.e. "709" instead of "bt709". Makes it complicated again to map all of these. I'll think about this later.
Fixed taking this value from the project settings.
You could still talk with the ff guys and ask for that feature to be implemented ![]()
It seems ffmpeg also supports HLG (https://github.com/FFmpeg/FFmpeg/…2083246ca598fce) but is not listed in the documentation.
It was added years ago under the value "arib-std-b67" for trc, could you also add it ?
Unfortunately the "colorspace" filter does not support "arib-std-b67" (vf_colorspace.c:983).
You're not doing anything wrong. Alpha channel support is still on my TODO-list.
There is no such thing as the best settings. This depends on the kind of your project and also on you hardware setup. Here are some basic facts:
These settings are a good start:
If you want to tweak it a little more click "Show advanced options" and choose:
There is always a bottleneck. This can be either CPU, GPU or even your harddrive. In most cases CPU based encoders (i.e. x264, x265, ...) use almost 100% of the CPU. Other encoders (i.e. VP9) don't parallelize very well and use less CPU power.
GPUs are known to be pretty fast, but they can only encode what has been rendered by the NLE (i.e. Premiere, VEGAS). So if the NLE is slow the GPU has to wait and thus has a less utilization.
Read this for more details on this topic: Voukoder Performance Analysis
There can be many reasons for this.
As voukoder is using FFmpeg inside you should also try to use NVENC with FFmpeg. If this is also not working the issue is not an Voukoder / FFmpeg issue:
ffmpeg.exe -loglevel debug -f lavfi -i testsrc -pix_fmt yuv420p -c:v h264_nvenc -t 10 test.mp4
You can download a windows build from i.e. https://ffmpeg.zeranoe.com/builds/
Open a command prompt and type:
cd "c:\Program Files\NVIDIA Corporation\NVSMI"
nvidia-smi.exe encodersessions
This can happen for various reasons.
If you still don't see it try to start VEGAS while holding down CTRL + SHIFT. Please try to reset VEGAS here.
So for other encoders it would be like this:
In that case we could also do this with x265 and don't need the VUI options, right?
Okay, so I would propose something like this:
In my opinion this would be the best way. What do you think?
Maybe what I would suggest is leave the drop down as it is when the user first opens the Premiere Export page, but once they select bt2020nc or bt2020c, then two additional dropdowns appear for transfer fuction and primaries, with st2084 and bt2020 as defaults. I think most people dealing with bt2020 color will have some familiarity with those concepts, but they most likely won't be necessary for rec709 or rec601 formatted videos.
I think about adding 3 dropdown boxes to voukoder. The most common values will be preselected. Reason for this that these values are independent from premiere and need also to be set when using an other NLE (i.e. VEGAS)
I fear those filters above will still cause a conversion.
Filters will only be applied when the frame data from the NLE differs to the output setting.
Examples:
Due to the fact that premiere will never deliver rec2020 there will be always a conversion. There needs to be a ruleset defined.
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:
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:
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.