Crash DVD encoding and Vapoursynth - 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: Crash DVD encoding and Vapoursynth (/thread-3438.html) |
Crash DVD encoding and Vapoursynth - Devilman1 - 15.10.2023 I try to encode a DVD to mkv and as usual I use vapoursynth and x264, but it crashed when it starts the 1st pass. I don't have this problem when I'm encoding blu-ray. I haven't applied any filter or crop to the DVD, only mkv tagging for audio and subtitle that I already extracted and converted to srt. If I try to test the script I receive an error message, but I have the same problem when testing script of blu-ray. It's a new installation of Hybrid from scratch that I'm using. Thanks RE: Crash DVD encoding and Vapoursynth - Selur - 15.10.2023 Read the sticky, provide proper data. DVD is tricky since neither Avisynth nor Vapoursynth has proper DVD parsing, so if your source isn't the first title, DGIndex&Co will fail. Also, Hybrid is not able to process encrypted content. (German laws do not allow any circumvention of encryption, even for private use. Since I live in Germany, I'm bound by those laws and Hybrid will not be able to handle encrypted content.) Assuming you are allowed to do that using MakeMKV and rewrapping the DVD/BluRay into a mkv before processing with Hybrid should help. If neither Avisynth nor Vapoursynth are used, Hybrid will use mplayer to handle DVDs and ffmpeg to handle Blu-rays, to know what is happening I need proper details. (first line in my reply) Cu Selur RE: Crash DVD encoding and Vapoursynth - Devilman1 - 15.10.2023 It's the first title of the DVD and is already decrypted on my HDD. DGindexNV can parse the files without any problem and also extracting the audio tracks. Subtitle Workshop extracted the subtitle and then I converted them to .srt. I add the DebugOutput RE: Crash DVD encoding and Vapoursynth - Selur - 15.10.2023 x264 "C:\Audio-video App\Hybrid\64bit\Vapoursynth\vspipe.exe" "D:\DVD\VIDEO_TS\2023-10-15@18_15_17_7210\encodingTempSynthSkript_2023-10-15@18_15_17_7210_0.vpy" - -c y4m | "C:\Audio-video App\Hybrid\64bit\x264.exe" --preset veryfast --pass 1 --bitrate 963 --profile high --direct auto --b-adapt 0 --sync-lookahead 12 --ratetol 2.00 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --aq-mode 0 --sar 64:45 --qpfile "D:\DVD\VIDEO_TS\2023-10-15@18_15_17_7210\Scusi dov'è il west AC3.ITA.ENG_1_2023-10-15@18_15_17_7210_06.qp" --non-deterministic --range tv --stats "D:\DVD\VIDEO_TS\2023-10-15@18_15_17_7210\Scusi dov'è il west AC3.ITA.ENG_1_2023-10-15@18_15_17_7210_07.stats" --demuxer y4m --input-range tv --fps 25/1 --output-depth 8 --output NUL - x264 output: y4m [error]: bad sequence header magic Looking at the Vapoursynth script used: # Imports Quote:DGindexNV can parse the files without any problem and also extracting the audio tracks.Okay, since you didn't tell Hybrid to use DGDecNV, it is not using it, but normal DGIndex&DGDecode. You can tell Hybrid to use DGDecNV, by enabling "Filtering->Vapoursynth->Misc->Source->Use DGDeNV when available". Cu Selur RE: Crash DVD encoding and Vapoursynth - Devilman1 - 15.10.2023 Quote:I don't see any issue with the script. => Does the Vapoursynth Preview work, or does it show an error?It doesn't start. This is the error: Failed to initialize VapourSynth environment! but it did the same also with the previous encode that went fine and so I was not paying attention to it. I activate DGindexNV and now is crashing at this point. RE: Crash DVD encoding and Vapoursynth - Selur - 15.10.2023 Quote:but it did the same also with the previous encode that went fine and so I was not paying attention to it.Normally, if the Vapoursynth Preview does not work, neither does the encoding if Vapoursynth is used. => looking at the debug output at this point is uninteresting until the Vapoursynth Preview works, since it uses the same environment the encode uses. (Assuming Vapoursynth actively gets used.) Quote:Failed to initialize VapourSynth environment!Usually happens if something is wrong with the Vapoursynth setup. A few common things that could cause this:
Cu Selur RE: Crash DVD encoding and Vapoursynth - Devilman1 - 15.10.2023 I just did a brand new Hybrid installation without changing anything and I don't have a syste Vapoursynth installation and I don't understand while the encoding of blu-ray had worked before even with the same error message. The creation of the dgi index failed when launched from Hybrid but not when manually launched, that is also strange. RE: Crash DVD encoding and Vapoursynth - Selur - 15.10.2023 If your source wasn't interlaced, and you didn't use any additional filters, Hybrid will not use Vapoursynth (unless specificly told), so my guess is that your previous encode didn't use Vapoursynth. To be sure you use the same files I use, I'll compile a new dev version and send you a link via pm (in ~15min). Make sure to deinstall Hybrid completely, with settings before using this version to make sure no old stuff is interfering. Cu Selur RE: Crash DVD encoding and Vapoursynth - Devilman1 - 15.10.2023 In the previous encode I was only using crop, that I don't know if it's a filter or not. RE: Crash DVD encoding and Vapoursynth - Selur - 15.10.2023 Just crop (or letterbox or simple resize) can be done without Vapoursynth, thus I bet Vapoursynth wasn't used. Cu Selur |