New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handbrake stalls on 2nd pass (VideoToolbox H265) #5775
Comments
Does it always happen on the same files? Can you share one of such files to test? |
I was not able to reproduce the problem with extracts of the faulty file (extracts obtained with tsMuxer). |
Thanks, I'll test it. Does it work without EEDI2 Bob (there is no reason to use an hardware encoder together with EEID2, but this is another story). |
On the same file, without filters HandBrake also halts at the beginning of the 2nd pass (same error message). As for deinterlacing, since I'm new to —and naïvely experimenting on— VTB, I did not realize that VTB deinterlaces the input files. I've just found this link: |
It doesn't deinterlace automatically. I was asking because I couldn't reproduce the issue M1 Mac mini without EEDI2, and the EEDI2 test is still running. |
I agree: since my previous message I've tested VTB H265 without EEDI2 and, alas, the result is flawed indeed. |
Flawed as in it has interlacing artifacts, but it doesn't hang, correct? |
Sorry for having been too vague: yes, even without any filter, Handbrake still hangs on these intractable source files. The 2nd pass stops at its beginning and the same message is issued again and again (about VTCompressionSession). |
What if you simply remux the whole thing with tsMuxer, does it still hang? Also I’ve only just realized you’re using point-to-point encoding, perhaps galad missed it too, which might explain why he couldn’t reproduce it? |
I'm curious to see if I can reproduce it on an M2 Mini, can you please share the sample again? |
I've not tried yet to remux the entire file. |
If they delete it too fast, I have a rough idea of where their offices are, I can complain in person 😂 |
Oh right, I didn't notice it was a point-to-point encode. |
Problem Description
As mentioned in the title: in several circumstances and settings, when H265 VideoToolbox is selected as encoder (either 8 or 10 bits) with a 2-pass encoding, the 1st pass is carried out normally but the 2nd pass generates the same error message, over and over.
On the other hand, with identical settings, x265 does the job (though using much more computer resources).
Same problem with 1.72 or 1.7.3.
Various sources are TV programs (H264 in .mt2s container).
Activity Log, Crash Log or any other details
What Operating System are you running?
macOS 14.3.1
What version of HandBrake are you running?
1.7.3 (2024021100)
Where did you download HandBrake from?
handbrake.fr
The text was updated successfully, but these errors were encountered: