1 (edited by OpenSourceAnarchist 08-01-2020 19:38:16)

Topic: How does SVPflow handle HDR?

I just had a question about using SVPflow directly on Linux (with vspipe and ffmpeg). If my source is 10-bit HDR and I want to preserve this in the raw video output from SVPflow, is there a way to do this, or will it always convert it to YV12?

I ask because I was reading through the SVPflow manual and saw this near the bottom of the page under "Basic Vapoursynth script":
clip = # need some input here
clip = clip.resize.Bicubic(format=vs.YUV420P8) #convert to YV12

Can this format be YUV420P10 instead or will that mess up SVP's calculations? Can HDR information be preserved?

If not, I'm fine with encoding SVP's raw video output to 8-bit hevc using ffmpeg (rather than 10-bit hevc) so long as SVPflow converts the 10-bit content to YUV420P8 faithfully. Thanks for any info!

Re: How does SVPflow handle HDR?

SVAnalyse works only with 420p8, SVSmoothFps can render in 420p10 - see SVP-generated script for 10-bit processing.
But there're no known ways to preserve HDR metadata. However you can pass static (i.e. HDR10 w/o "plus") data to x265 manually.