Selur's Little Message Board

Full Version: Hybrid Crashes on Arch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Got Hybrid installed on Arch through the AUR. When I load a video ripped from a DVD, I get "this file could not be recognized error"

Hybrid 2025.11.09.1
2026-02-20@13_10_00_4610_08_muxing crashed: ERROR: /home/d/_2026-02-20@13_10_00_4610__08.mp4 was not created!
Added the MKV, set audio to custom. AAA 192k. Preset slow, tune psnr. Added job

Video sample
Quote:When I load a video ripped from a DVD, I get "this file could not be recognized error"
the debug output does not contain the error, so no clue why that happens.


Quote:2026-02-20@13_10_00_4610_08_muxing crashed: ERROR: /home/d/_2026-02-20@13_10_00_4610__08.mp4 was not created!
According to the debug output, MP4Box was called with:
Code:
"/usr/bin/MP4Box" -par 1=8:9 -add "/tmp/2026-02-20@13_10_00_4610_04.264"#video:fps=30000/1001:lang="en" -brand avc1 -add "/tmp/iId_4_aid_0_lang_en_2026-02-20@13_10_00_4610_01.ac3"#audio:name="Stereo":lang="en" -chap "/tmp/chapterfile_2026-02-20@13_10_00_4610__07.chp" -itags tool="Hybrid 2025.11.09.1" -tmp "/tmp" -new "/home/d/_2026-02-20@13_10_00_4610__08.mp4"
and failed with:
Code:
2026.02.20 - 13:10:06_Arch Linux (64bit)_2025.11.09.1 - level 9: Main call started,..
2026.02.20 - 13:10:06_Arch Linux (64bit)_2025.11.09.1 - level 9: MP4Box output: Filter fin failed to setup: Not ready, retry later

2026.02.20 - 13:10:06_Arch Linux (64bit)_2025.11.09.1 - level 9: MP4Box output: [Importer] Error probing /tmp/2026-02-20@13_10_00_4610_04.264
Failure while importing import: Not ready, retry later
Error importing /tmp/2026-02-20@13_10_00_4610_04.264#video:fps=30000/1001:lang=en: Not ready, retry later

2026.02.20 - 13:10:06_Arch Linux (64bit)_2025.11.09.1 - level 9: 2026-02-20@13_10_00_4610_08_muxing ### /home/d/test.mp4 ### [Importer] Error probing /tmp/2026-02-20@13_10_00_4610_04.264
Failure while importing import: Not ready, retry later
Error importing /tmp/2026-02-20@13_10_00_4610_04.264#video:fps=30000/1001:lang=en: Not ready, retry later

2026.02.20 - 13:10:06_Arch Linux (64bit)_2025.11.09.1 - level 9: process finished with exitcode: 1 and exitStatus: 0
2026.02.20 - 13:10:06_Arch Linux (64bit)_2025.11.09.1 - level 9: process finished with exitcode: 1 and exitStatus: 0
No clue where the "Not ready, retry later" is coming from, you can try calling the call inside a terminal.


Quote:Got Hybrid installed on Arch through the AUR.
I have no control over the arch, try the AppImage dev version. (there I know that the binaries should work)
Try removing special characters from your file name.


Cu Selur
I tried the AppImage on the downloads page and the one in you Google Drive, neither would open. No error, just wouldn't open at all.
Okay, it worked for others on ArchLinux.
No error, nothing.
I have no idea, how to tackle that. Sad (you set the file executable, right?)

Cu Selur
I did set the executable.

I installed another Arch distro, Endeavour and tried the same file again. The Google Drive appimage worked with Endeavour. I used the Manjaro install for Vapoursynth and that worked. Tried the video again and got the same crash error as before. Did deinterlace with no Xsynth and it worked.

I got the same crash error with all of the Vapoursynth options.
Does the Vapoursynth Preview Work?
Did you install all the filters and scripts for Vapoursynth that you need?

Looking at the debug output again, there is also:

Code:
"/usr/bin/vspipe" "/tmp/encodingTempSynthSkript_2026-02-20@13_10_00_4610_0.vpy" - --outputindex 0 -c y4m |  "/usr/bin/x264" --preset slow --tune psnr --crf 20.00 --profile high --level 4.1 --sync-lookahead 9 --no-mbtree --no-psy --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 8:9 --qpfile "/tmp/test_1_2026-02-20@13_10_00_4610_03.qp" --non-deterministic --range tv --colormatrix smpte170m --demuxer y4m --input-range tv --fps 30000/1001 --output-depth 8 --output "/tmp/2026-02-20@13_10_00_4610_04.264" -
with 'y4m [error]: bad sequence header magic' which usually happens if the Vapoursynth setup has some problems or the Vapoursynth script has a bug.
Looking at the Vapoursynth script:
Code:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = '/usr/share/hybrid/VapoursynthScriptsInHybrid'
sys.path.insert(0, os.path.abspath(scriptPath))
# Import scripts
import
import validate
# Source: '/home/d/Videos/S1.E3 ∙ Part III Chapter 5.mkv'
# Current color space: YUV420P8, bit depth: 8, resolution: 720x480, frame rate: 29.97fps, scanorder: top field first, yuv luminance scale: limited, matrix: 470bg, transfer: bt.601, primaries: bt.601 ntsc, format: mpeg-2
# Loading /home/d/Videos/S1.E3 ∙ Part III Chapter 5.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/home/d/Videos/S1.E3 ∙ Part III Chapter 5.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
frame = clip.get_frame(0)
# setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT470_BG)
# setting color transfer (vs.TRANSFER_BT601), if it is not set.
if validate.transferIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT601)
# setting color primaries info (to vs.PRIMARIES_BT470_BG), if it is not set.
if validate.primariesIsInvalid(clip):
  clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT470_BG)
# setting color range to TV (limited) range.
clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
# making sure frame rate is set to 29.97fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# making sure the detected scan type is set (detected: top field first)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_TOP) # tff
# Deinterlacing using QTGMC
clip = qtgmc.QTGMC(clip, Preset="Fast", TFF=True)# new fps: 29.97
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
clip = clip[::2] # selecting previously even frames
# set output frame rate to 29.97fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# output
clip.set_output()
itself looks fine to me, but Hybrid relies on all needed Vapoursynth filters&scripts to be installed. (calling the Vapoursynth Preview should show whether there are problems or not,..)

Cu Selur