Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st June 2021, 17:53   #1  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Incorporate HDR10 stream?

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).
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 1st June 2021, 18:10   #2  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
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
feisty2 is offline   Reply With Quote
Old 1st June 2021, 18:27   #3  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Quote:
Originally Posted by asarian View Post
I'd love to have a filter that actually incorporates the HDR steam, though.
What does this mean?
videoh is offline   Reply With Quote
Old 1st June 2021, 19:10   #4  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by feisty2 View Post
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
Code:
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:

Code:
VSPipe f:\jobs\%1.vpy - --y4m | x264 - --demuxer y4m --opencl --frames %_frames% --sar 1:1 --qp 0 --output "%2:\video\%1.h64"
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 1st June 2021, 19:11   #5  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by videoh View Post
What does this mean?
Like a Dolby Vision layer.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 1st June 2021, 19:25   #6  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
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
Code:
vspipe xxx.vpy xxx.bin -p
then you read xxx.bin with rawsource
feisty2 is offline   Reply With Quote
Old 1st June 2021, 19:38   #7  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by feisty2 View Post
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
Code:
vspipe xxx.vpy xxx.bin -p
then you read xxx.bin with rawsource

That's a mighty fine tip!

As for x264, aren't they all 10-bit now? I took mine from videolan (05-May-2021).
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 1st June 2021, 20:26   #8  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by asarian View Post
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...
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |

Last edited by SeeMoreDigital; 1st June 2021 at 20:28.
SeeMoreDigital is offline   Reply With Quote
Old 1st June 2021, 21:08   #9  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by SeeMoreDigital View Post
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?!
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 1st June 2021, 21:19   #10  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by asarian View Post
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!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.