H265(x265)10bit in codec

Archive of historical feature requests.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
arctyk
Posts: 2
Joined: Tue Sep 27, 2016 10:56 am

H265(x265)10bit in codec

Post by arctyk »

Please describe what you would like to see added to HandBrake:
H265(x265)10bit in codec
Why would you like to see this added:
for quality
What version of HandBrake are you currently running:
last nightly
What operating system and version and you currently running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Win10-64
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: H265(x265)10bit in codec

Post by rollin_eng »

viewtopic.php?f=11&t=34165

Edit: out of curiosity why is this an 'extra' and not just included in the nightly?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: H265(x265)10bit in codec

Post by JohnAStebbins »

Because I'm too lazy to figure out how to build a static library that includes both 8bit and 10bit versions. From what I understand, it's possible to do, but you have to build x265 twice (3 if you also want 12bit) then apply a manual step to merge the libraries.
Deleted User 11865

Re: H265(x265)10bit in codec

Post by Deleted User 11865 »

Also, it's not possible for x264. If we have to distribute separate builds for x264 10-bit, we might as well do the same for x265.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: H265(x265)10bit in codec

Post by JohnAStebbins »

Someone needs to minimally C++-ize x264 and wrap the api functions in namespaces. Then you could also build a single x264 multi-bit-depth lib.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: H265(x265)10bit in codec

Post by rollin_eng »

JohnAStebbins wrote:Someone needs to minimally C++-ize x264 and wrap the api functions in namespaces. Then you could also build a single x264 multi-bit-depth lib.
I'll get right on it... :roll:
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: H265(x265)10bit in codec

Post by JohnAStebbins »

rollin_eng wrote:
JohnAStebbins wrote:Someone needs to minimally C++-ize x264 and wrap the api functions in namespaces. Then you could also build a single x264 multi-bit-depth lib.
I'll get right on it... :roll:
It really shouldn't be that big of a job. Most of the C code should compile as is with the C++ compiler. Wrapping a namespace around the api functions isn't much work. Then you just need a similar api query function to x265. The only place I could see something difficult coming up would be if the C++ compiler produced code that didn't run the same as the C compiler and you had to debug code generation problems. All the changes should be wrapped in "#ifdef __cplusplus" so that it compiles (without multi-bit-depth support) using the C compiler as well.
arctyk
Posts: 2
Joined: Tue Sep 27, 2016 10:56 am

Re: H265(x265)10bit in codec

Post by arctyk »

Thx, it`s work and just for me.
Once more adding (if possible o`couse): for opus audio add vbr functions.
Post Reply