This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] x265 Crashing
#1
  • 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.


Attached Files
.zip   HybridDebugOutput.txt.zip (Size: 10,71 KB / Downloads: 4)
Reply
#2
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
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.
Reply
#4
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: Selur, 1 Guest(s)