Posts: 13
Threads: 3
Joined: Jun 2018
Hallo,
ich bin von einer Hybrid-Version aus dem Jahr 2023 unter Ubuntu 22.04 auf das aktuelle Hybrid unter 24.04 gewechselt. Ich nutze für die Konvertierung von *.sup zu *.idx die durch Hybrid mitgelieferte Version von BDsup2sub++ (1.0.3) mit
Hybrid/bdsup2sub++ --resolution keep -o output.idx input.sup
Unter 24.04 kommt da die Meldung
Quote:Speicherzugriffsfehler (Speicherabzug geschrieben)
Nutze ich die Datei aus dem alten Hybrid einfach unter Ubuntu 24.04 wird alles korrekt umgerechnet. Beide sind die Version 1.0.3. Was hat es mit dem Fehler auf sich?
Posts: 11.414
Threads: 63
Joined: May 2017
Keine Ahnung.

Baue die Pakete mit
https://github.com/Selur/HybridDeploy unter Ubuntu 22.04.
Eventuell müsste man BDSup2Sub++
https://github.com/Selur/BDSup2SubPlusPlus neu unter Ubuntu 24.04 bauen.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 11.414
Threads: 63
Joined: May 2017
Kann das Problem nachstellen:
selur@buildhybrid:~/workspace/HybridDeploy/tools$ ./bdsup2sub++ --resolution keep ~/TITLE_1_0_lang_en.idx ~/TITLE_1_0_lang_en.sup
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Speicherzugriffsfehler (Speicherabzug geschrieben)
selur@buildhybrid:~/workspace/HybridDeploy/tools$ QT_QPA_PLATFORM=wayland ./bdsup2sub++ --resolution keep ~/TITLE_1_0_lang_en.idx ~/TITLE_1_0_lang_en.sup
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
Speicherzugriffsfehler (Speicherabzug geschrieben)
scheint ein Fehler in bdsup2sub++ zu sein. :/
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 11.414
Threads: 63
Joined: May 2017
Yesterday, 14:09
(This post was last modified: Yesterday, 14:14 by Selur.)
DOH, der Aufruf ist falsch!

Anstatt:
Hybrid/bdsup2sub++ --resolution keep -o output.idx input.sup
müsste es:
Hybrid/bdsup2sub++ --resolution keep -o output.idx -o input.sup
sein.
Laut dem SourceCode:
ret += BDSUP2SUB;
if (forcedResolution != QString("auto")) {
ret += QString(" --resolution ") + forcedResolution;
}
else {
ret += QString(" --resolution ") + subResolution;
}
ret += QString(" --output ") + FileHelper::addQuotes(out);
ret += SPACE + FileHelper::addQuotes(input);
Macht Hybrid die calls auch richtig.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 13
Threads: 3
Joined: Jun 2018
Mit 2x Output, also 2x "-o"?
Ich bekomme die Fehlermeldung auch wenn ich --help aufrufe.
bin/Hybrid/bdsup2sub++ --help
Speicherzugriffsfehler (Speicherabzug geschrieben)
Posts: 11.414
Threads: 63
Joined: May 2017
Yesterday, 20:14
(This post was last modified: Yesterday, 20:20 by Selur.)
Sorry, nein. Nur beim Output ein '-o':
bdsup2sub++ [options] -o outfile infile
Options:
-h, --help List options
--load-settings Set to load settings stored in INI file.
--resolution x Set resolution to 480, 576, 720 or 1080. Default: 576.
Supported values: keep, ntsc=480, pal=576, 1440x1080.
--fps-source x Synchronize source frame rate to <x>. Default: auto.
Supported values: 24p=23.976, 25p=25, 30p=29.967.
--fps-target x Convert the target frame rate to <x>. Default: keep.
Supported values: 24p=23.976, 25p=25, 30p=29.967.
--delay x Set delay in ms. Default: 0.0.
--filter x Set the filter to use for scaling. Default: bilinear.
Supported values: bilinear, triangle, bicubic, bell,
b-spline, hermite, lanczos3, mitchell.
--palette-mode x Palette mode: keep, create, dither. Default: create.
--minimum-time x Set the minimum display time in ms. Default: 500.
--merge-time x Set max time diff to merge subs in ms. Default: 200.
--move-in-ratio x Move captions from inside screen ratio <x>.
--move-out-ratio x Move captions from outside screen ratio <x>.
--move-y-origin x Move captions from the original vertical position.
Supported values: up, down.
--move-y-offset x Set optional +/- offset to move captions by.
--move-x x Move captions horizontally from specified position.
Supported values: left, right, center, origin.
--move-x-offset x Set optional +/- offset to move captions by.
--crop-y x Crop the upper/lower n lines. Default: 0
--alpha-crop x Set the alpha cropping threshold. Default: 10
--scale-x x Scale captions horizontally by factor. Default 1.0.
--scale-y x Scale captions vertically by factor. Default 1.0.
--no-export-palette Do not export palette file.
--export-palette Export target palette in PGCEdit format.
--forced-only Export only forced subtitles.
--force-all x Set or clear the forced flag for all subpictures.
Supported values: set/clear.
--swap Swap Cr/Cb components.
--no-fix-invisible Do not fix zero alpha frame palette.
--fix-invisible Fix zero alpha frame palette.
--no-verbose Switch off verbose console output mode.
--verbose Switch on verbose console output mode.
--log-to-stderr Switch to change progress output to standard error.
Options only for SUB/IDX or SUP/IFO as target:
--alpha-thr x Set alpha threshold 0..255. Default 80.
--med-low-thr x Set luminance low/med threshold 0..255.
--med-hi-thr x Set luminance med/hi threshold 0..255.
--language x Set language to <n>. Default: de (Vobsub Only).
--palette-file x Load palette file <n>. Overrides default palette.
Output:
-o x, --output x Specify output file.
Wildcard support:
Use "*" for any character and "?" for one character in the source name
Use exactly one "*" in the target file name.
Example:
bdsup2sub++ --resolution 720 --fps-target 25p -o dvd_*.sub 'movie* 1?.sup'
Versuch mal mit dem neuen Release, da habe ich die das Programm auch neu gebaut und zumindest unter 22.04 lief es ohne Probleme.
Cu Selur
Ps.: Mit
solle man auch sehen können ob eventuell eine Abhändigkeit fehlt.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.