Hello as the topic states im trying to encode to x265 10 bit with handbrake but shortly after starting the queue it finishes with error and encodes nothing. Anyone know what im doing wrong? Just recently Handbrake started to support 10 bit and i found out some instructions here https://mattgadient.com/2016/02/15/how-to-10-bit-x264-and-10-12-bit-x265-encodes-with-...linux-windows/ But cant get it to work. Any help would be appreciated.
+ Reply to Thread
Results 1 to 25 of 25
-
-
I suppose your a developer working on the team building the program right? If you dont got anything helpful to say go Troll somewhere else, because if you knew what the hell you were talking about you would know the official site says they support it. https://forum.handbrake.fr/viewtopic.php?f=11&t=34165
-
What OS are you using? What HandBrake version? Where did you get the 10 bit x265 library and how did you attempt to "install" it?
I'm on Win 7 x64, installed HandBrake 1.0.7 64 bit, got libx265_main10.dll here (also attached to this post) and put it in the same folder as the handbrake.exe. Started up HandBrake, selected the 10 bit x265 encoder and started the encode. It just worked no problem. -
Im using Windows 10 64 Bit and i got the files from the official x265 10 Bit Handbrake forums that i linked. I downloaded the lastest Nightly Build and HandBrake-20170414-5dd46e3_x86_64-Win_GUI
and put the libx265 files into the main directory of the program.I then choose the X265 10 Bit option from the drop down menu in handbrake and chose the options that i wanted, but shortly after trying to encode it showed these errors in the log and stopped.
x265 [error]: Lookahead depth must be greater than the max consecutive bframe count
x265 [error]: max consecutive bframe count must be 16 or smaller
x265 [error]: Aq-Strength is out of range -
Did you set any of the "Extra Options" for x265? If so it sounds like the log already told you what you have to fix exactly.
If not I'd report to the devs.
https://github.com/HandBrake/HandBrake/issues -
Nope didnt set any extra options but weird thing is if i try to encode to just x265 not 10 bit i run into no problems at all.
-
I guess you need to use an additional x265 DLL of the same interface version as the built-in encoder in Handbrake; if not, the encoder core in the DLL will misinterpret the set of parameters passed by the encoder in Handbrake. Well possible you may have to go back in history and try different older DLL versions until one matches.
And I believe you have to use the "Extra Options" at least to add "-D 10". Except the encoder selection supports that already. -
That may be true but I tested the nightly he mentioned as well as 1.0.7 stable. They work with the dll I posted.
It's not needed. HandBrake lists the 10 bit x265 as an extra encoder so you just have to select it in the drop-down menu.
No idea why his settings are seemlingly different. Maybe there's some old, broken preset still lying around? I'd try to de-install HandBrake and clean all registry/AppData/Program Folder storage it uses and then do a clean, new install. Maybe that helps. -
Ive tried the nightly build and normal version (both latest versions) still the problem exists. Even tried it out on my laptop too still get a error. Is there a specific profile setting needed to get x265 10 bit to work aside from picking it in the drop down menu?
-
I can reproduce the error only if I download an older .dll. So it would be like LigH suspected and .dll and HandBrake version don't fit together. Notice that in the HandBrake forum thread there are multiple versions. You have to scroll down to the latest/bottom post and use that one (which is the one I attached in post #4).
-
Awesome that solved the problem. Looks like i was using a old lib file from 2016 that was causing the problem. Thank you everyone for the help =)
-
Technically he's right. straight from the Handbrake website:
https://handbrake.fr/news.php
- High bit depth encoding support via external shared libraries (video pipeline is still 8-bit 4:2:0)
- x264 10-bit
- x265 10-bit and 12-bit
If you want a properly done 10-bit encode, use an ffmpeg built with libx264 and libx265 support. -
-
Noob? I've been encoding videos since 2002. Calm down, dude. Did you notice how I didn't insult anyone with name calling, unlike you? I just laughed at someone who made an uninformed comment months ago. BTW, I am far from an idiot. You don't know me so, don't presume that you do. Good grief!
This problem has been solved so, why is this thread even open in the first place? Go encode a video & stop over reacting. LOL!Toshiba DX1215, Intel Core i5-2410 CPU 2.30GHz 2.30 GHz, 8.00 GB RAM, Windows 10 Home 64-Bit OS -
I put this in More Settings
Code:pmode:rd=4:tu-intra-depth=3:rdoq-level=2:early-skip:b-intra:limit-modes:aq-mode=2:aq-strength=1.0:qg-size=16:ipratio=1.38:pbratio=1.28:me=3:max-merge=3:weightb:bframes=6:rc-lookahead=50:ref=6:psy-rdoq=1.38:no-sao
But i have x265 [error]: Aq-Strength is out of range
I try to encoding 4K video 50GB size ....Last edited by Mikorist; 31st Oct 2017 at 12:52.
-
Not work whatever you put in for aq-strength. When encoding big 4K video.
Issue reported
https://github.com/HandBrake/HandBrake/issues/970 -
they figure out why
https://bitbucket.org/multicoreware/x265/downloads/Last edited by Mikorist; 31st Oct 2017 at 16:36.
Similar Threads
-
freeware x265 encodes with 10-bit color
By akrako1 in forum Video ConversionReplies: 13Last Post: 1st Jul 2018, 16:57 -
Video Encoding to 10 bit output using Vidcoder or Handbrake?
By kairukun in forum Video ConversionReplies: 2Last Post: 19th Sep 2015, 09:52 -
Encoding Audio Losslessly - 16-Bit vs 32-Bit WAV?
By Ronaldinho in forum AudioReplies: 8Last Post: 30th Aug 2015, 13:32 -
Encoding movie with x265 feasible?
By -Habanero- in forum Video ConversionReplies: 1Last Post: 21st Mar 2015, 13:31 -
NeroVision, Handbrake, AVCHD, & X265 questions
By magnu in forum Video ConversionReplies: 6Last Post: 24th May 2014, 05:10