Log in

View Full Version : Incorporate HDR10 stream?


asarian
1st June 2021, 17:53
I've been using DGHDRtoSDR to deal with HDR(10) content. I'd love to have a filter that actually incorporates the HDR steam, though. Does that exist yet? (If so, couldn't find it).

feisty2
1st June 2021, 18:10
most VS filters have the capability to handle int16 or even fp32 content, I don't think you need anything special to deal with int10

videoh
1st June 2021, 18:27
I'd love to have a filter that actually incorporates the HDR steam, though. What does this mean?

asarian
1st June 2021, 19:10
most VS filters have the capability to handle int16 or even fp32 content, I don't think you need anything special to deal with int10

I must be doing it wrong then x264 [info]: profile High 4:4:4 Predictive, level 4.0, 4:2:0, 8-bit

It seems to output in 8-bit (for a lossless, intermediate encoding).

I invoke x264 like this:

VSPipe f:\jobs\%1.vpy - --y4m | x264 - --demuxer y4m --opencl --frames %_frames% --sar 1:1 --qp 0 --output "%2:\video\%1.h64"

asarian
1st June 2021, 19:11
What does this mean?

Like a Dolby Vision layer.

feisty2
1st June 2021, 19:25
the encoding precision of your video encoder has nothing to do with the format of your vaporsynth output, an 8-bit version of x264 will output an 8-bit stream even if you give it a 16-bit input. the correct way to write an intermediate file is simply thru vspipe

vspipe xxx.vpy xxx.bin -p

then you read xxx.bin with rawsource

asarian
1st June 2021, 19:38
the encoding precision of your video encoder has nothing to do with the format of your vaporsynth output, an 8-bit version of x264 will output an 8-bit stream even if you give it a 16-bit input. the correct way to write an intermediate file is simply thru vspipe

vspipe xxx.vpy xxx.bin -p

then you read xxx.bin with rawsource


That's a mighty fine tip! :thanks:

As for x264, aren't they all 10-bit now? I took mine from videolan (05-May-2021).

SeeMoreDigital
1st June 2021, 20:26
As for x264, aren't they all 10-bit now? I took mine from videolan (05-May-2021).Not when encoded for use with broadcast television, 2K Blu-ray discs and media streaming services... h.264 is encoded at 8-bit!

And playback support for 10-bit h.264 encodes is pretty limited for use with hardware (SoC) media players and TV's...

asarian
1st June 2021, 21:08
Not when encoded for use with broadcast television, 2K Blu-ray discs and media streaming services... h.264 is encoded at 8-bit!

Then what is the point of processing UHD video, when everything gets converted to 8-bit?!

SeeMoreDigital
1st June 2021, 21:19
Then what is the point of processing UHD video, when everything gets converted to 8-bit?!4K UHD disc content along with 4K UHD broadcast and 4K UHD media streaming services is encoded using h.265 (HEVC) at 10-bits!