Selur's Little Message Board
[HELP] x265 Crashing - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] x265 Crashing (/thread-4542.html)



x265 Crashing - MSFilms - 24.11.2026

  • The version of Hybrid I'm using is rev 2026.10.09.1 on Mac.
  • I'm testing using Hybrid for UHD-BD encoding, because I got tired of CLI with FFmpeg. It seems that x265 crashes every time I try to use it. I even tried simply encoding something with CRF x265 and it still crashed. This is what the error message said: 
    "Current input: /Users/msfilms/Downloads/Source.mkv -> Creating jobs for source: (1) -> Generating calls for: /Users/msfilms/Downloads/Test_1.mkv  adding 6 video related calls for source: 1  createJobs for /Users/msfilms/Downloads/Test.mkv   creating attachment extraction subjobs   creating video subjobs   creating muxing subjobs   optimizing the subJobs -> finished creating subjobs for current source  added new job with id 2026-11-24@00_45_01_6610starting 2026-11-24@00_45_01_6610_02_video@00:45:22.913 - /Users/msfilms/Downloads/Test.mkv2026-11-24@00_45_01_6610_02_video finished after 00:00:00.068One or multiple files were not created properly!-> 2026-11-24@00_45_01_6610_02_video crashed: One or multiple files were not created properly!Aborting '2026-11-24@00_45_01_6610_02_video' due to: One or multiple files were not created properly!"
  • Here is the step by step process:
    • In Base, place my source, have audio as ignore, and saved to my downloads.
    • In x265: changed the bitrate to 2-Pass and 21900, changed the preset to slow, marked UHD-Blu-ray, set medium limit in rate control to UHD-BD, marked HDR in signaling as well as the light level and master display from input.
    • In Filtering, set it to no XSynth to only use FFmpeg.
       
I wasn't sure if sample meant a sample of my video, but I got the debug file attached. Any help and input is appreciated.


RE: x265 Crashing - Selur - 24.11.2026

Does this also happen with the latest dev?
Try using another temp folder (Config->Paths) "/var/folders/lz/qywd4vrs4g32g7qx9dy441xh0000gn/..." looks like some temporal folder from MacOS where macOS might interfere with file creation&co.

Any info about the source?
Calls:
ffmpeg -y -loglevel fatal -noautorotate -nostdin -threads 8 -apply_cropping codec -i "/Users/msfilms/Downloads/Source.mkv" -map 0:0 -an -sn -vf pad=3840:2160:0:120 -pix_fmt yuv420p10le -strict -1 -fps_mode auto -r 24000/1001 -f yuv4mpegpipe - x265 --preset slow --input - --fps 24000/1001 --y4m --uhd-bd --no-hme --temporal-mvp --keyint 24 --pass 1 --bitrate 21900 --qpfile GENERATED_QP_FILE --psy-rd 2.00 --signhide --vbv-maxrate 100000 --vbv-bufsize 100000 --vui-hrd-info --range limited --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --chromaloc 1 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(1,10000000)" --max-cll 298,61 --hdr10 --stats "/var/folders/lz/qywd4vrs4g32g7qx9dy441xh0000gn/T/Test_1_generated.stats" --output "/var/folders/lz/qywd4vrs4g32g7qx9dy441xh0000gn/T/Test_1.265" x265 --preset slow --input - --fps 24000/1001 --y4m --uhd-bd --no-hme --temporal-mvp --keyint 24 --pass 2 --bitrate 21900 --psy-rd 2.00 --signhide --vbv-maxrate 100000 --vbv-bufsize 100000 --vui-hrd-info --range limited --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --chromaloc 1 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(1,10000000)" --max-cll 298,61 --hdr10 --stats "/var/folders/lz/qywd4vrs4g32g7qx9dy441xh0000gn/T/Test_1_generated.stats" --output "/var/folders/lz/qywd4vrs4g32g7qx9dy441xh0000gn/T/Test_1.265" GENERATED_QP_FILE: 0 I -1 :*: 71281 I -1 /Users/msfilms/Downloads/Test_1.mkv :*: "/var/folders/lz/qywd4vrs4g32g7qx9dy441xh0000gn/T/Test_1.qp"
look fine if the source is progressive.
but x265 aborts with:
x265 [error]: uhd-bd: bit depth, chroma subsample, source picture type must be 10, 4:2:0, progressive x265 [error]: x265_encoder_open() failed for Enc, x265 [error]: Failure generating stream headers in x265
maybe ffmpeg reports the source as interlaced,..

Cu Selur


RE: x265 Crashing - MSFilms - 24.11.2026

Trying this on the latest dev version yields the same results. As well moving the Temp folder.

Pulling up MediaInfo shows the following:
Codec ID                                : V_MPEGH/ISO/HEVC
Duration                                : 51 min 32 s
Bit rate                                : 14.6 Mb/s
Width                                    : 3 840 pixels
Height                                  : 1 920 pixels
Display aspect ratio                    : 2.000
Frame rate mode                          : Constant
Frame rate                              : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                      : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                      : 0.082
Stream size                              : 5.24 GiB (95%)
Language                                : English (US)
Default                                  : Yes
Forced                                  : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020

I can't seem to fine anything about it being progressive or interlaced. I know on the Base page, Hybrid reports it as progressive.


RE: x265 Crashing - Selur - 24.11.2026

Found the issue, will build a new dev with a fix.
In the mean time, as a workaround: disable x265->Misc->Minimize command line

Cu Selur


RE: x265 Crashing - MSFilms - 24.11.2026

When should I expect the new dev build to be out? No rush obviously. Just curious.


RE: x265 Crashing - Selur - 24.11.2026

Hybrid_2026_11_24.4_mac should fix it


RE: x265 Crashing - MSFilms - 24.11.2026

That did the trick. Should I keep an eye out for updates? Whether it be in experimental, or on the main website?


RE: x265 Crashing - Selur - 24.11.2026

I uploaded the fixed mac when I posted about it: experimental -> R82


RE: x265 Crashing - MSFilms - 24.11.2026

No, no, I understood that. I already downloaded the new update dated for 11.24. I meant whenever you do future updates beyond this one, should I keep my eye on experimental, or on the selur.de homepage?


RE: x265 Crashing - Selur - 24.11.2026

Dev updates end up in the experimental folder.
Official releases are on the homepage.