Hello,
I'm converting a 4K video to reduce its size but HandBrake fails after many minutes of encoding with this error:
The filename is short and the destination directory is in a folder in the same directory of the source, I tried many attempts but still getting error.Code:[18:09:13] sync: expecting 127726 video frames x265 [info]: HEVC encoder version 4.1+1-1d117be x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 10 profile, Level-5 (Main tier) x265 [info]: Thread pool created using 16 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 4 / wpp(26 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3 x265 [info]: Keyframe min / max / scenecut / bias : 24 / 240 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 4 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-24.0 / 0.60 x265 [info]: tools: limit-modes rd=4 psy-rd=0.75 rdoq=1 psy-rdoq=4.00 x265 [info]: tools: rskip mode=2 rskip-edge-threshold=0.05 signhide tmvp x265 [info]: tools: lslices=4 deblock sao [18:09:13] sync: first pts video is 0 [18:09:13] sync: "Chapter 1" (1) at frame 1 time 0 [18:09:13] sync: first pts audio 0x1 is 0 [18:12:58] sync: first pts subtitle 0x6 is 3419640 [18:28:17] sync: "Chapter 2" (2) at frame 4559 time 17109592 [19:13:15] sync: "Chapter 3" (3) at frame 13353 time 50120070 [19:41:33] sync: "Chapter 4" (4) at frame 19372 time 72713891 [20:06:03] Worker process exited! [20:06:03] Worker process exit was not expected. # Job Failed (-12)
+ Reply to Thread
Results 1 to 5 of 5
-
-
Try converting the same file in Avidemux or Virtualdub and compare the results.
If it stops in a similar place there may be source file problem -
The reason may be: 1. Insufficient memory. Encoding 4k videos with x265 needs a lot of RAM; 2. Crashes near frame 19372 might be due to corrupted data in the source file. 3. Advanced settings like lslices=4 can cause compatibility issues.
The solutions are: 1. Close other memory-heavy apps during transcoding, or change to x264 encoder; 2. Reset to default presets in Handbrake, just tweak CRF (24-28) and resolution, and turn off all extra advanced options; 3. Report the log errors to HandBrake; 4. Try alternatives like ffmpeg, shutter encoder, or cisdem video converter. -
Use clever FFmpeg-GUI and scan the 4k video for errors.
Load it, click main page, click various, click scan for errors, click scan.
If errors are found, an error file is created.
Similar Threads
-
How can i convert vfr to cfr with ShutterEncoder? (or handbrake?)
By Lemenus in forum Video ConversionReplies: 8Last Post: 22nd Oct 2023, 08:20 -
handbrake (linux) does not open DVD tracks or convert
By lawrencek in forum DVD RippingReplies: 1Last Post: 23rd Jan 2022, 09:03 -
Use handbrake to convert audio to stereo without re-encoding video
By paqman in forum Video ConversionReplies: 10Last Post: 5th Nov 2021, 20:58 -
Convert Handbrake Settings to ffmpeg
By odin89 in forum Video ConversionReplies: 5Last Post: 31st Aug 2020, 01:03 -
Help! MakeMKV Fails to Save
By mugz8391 in forum Newbie / General discussionsReplies: 9Last Post: 30th Aug 2020, 17:34