x264 encoding error. - 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: x264 encoding error. (/thread-2995.html) Pages:
1
2
|
RE: x264 encoding error. - hjatsu - 18.08.2024 Ah, sorry for too broad of a test case. And too bad they don't crash on your end, definitely something funky about my hardware or Windows then. Maybe tomorrow I can try the jobs on a completely different machine, or on this same machine using the Linux version.. After trying those test jobs a few times, this was my best result when I tried running them all in parallel instead of sequentially. Sequentially they usually all failed: (18.08.2024, 11:04)Selur Wrote: => Does the Vapoursynth Preview work fine?Yes, I have not come across any issues there. Scrolling and even playback work just fine through all parts of the source. Checked the debug log too and only thing resembling an error was this and it appears before any scrolling has been done in the window: 2024.08.18 - 20:51:57_Windows 11 Version 23H2 (64bit)_2024.08.14.1 - level 9: Preview::indexingIsFinished 'VAPOURSYNTHPREVIEW' ignored,.. (18.08.2024, 11:04)Selur Wrote: (horribly slow due to QTGMC(Input=clip, Preset="Very Slow"), but it worked fine. No clue why you would use 'Very Slow' on such a source)Still getting to know QTGMC I quess, just thought "Very Slow" would give the best quality deint result. (Or if you mean wasting all that processing to such a TV program I understand, but this was just a sample I could share publicly, as other are family videos). QTGMC was what led me to Hybrid really, as my initial plan was to simply ffmpeg the VOBs using its simple deint filters but unfortunately I learned there are more advanced ways...and down the rabbithole I am now! (18.08.2024, 11:04)Selur Wrote: Out of curiosity (I doubt this has anything to do with the crash): That's about it really. For a couple clips I have used Color > Tweak too. In x264 encoding settings I've limited the thread count (avoiding heat issues) and extended the lookaheads to 120 frames. (Attempted to use EZDenoise, but after some tests found that HQDN3D looked the best.) (18.08.2024, 11:04)Selur Wrote: are you using for Hybrid to think the output should be 720x576?Ah, that is one thing I forgot in these test jobs: I noticed that after I add a source to Hybrid, I always need to go and touch the Crop setting (just click any of the arrows) even though they are remembered there from previous job, or otherwise the x264 tab (and I guess now Vapoursynt too) has the source resolution instead of the correct, cropped resolution. So in all of my actual jobs I have not had that fallback/resize line, just checked a previous job file. (18.08.2024, 11:04)Selur Wrote: Ps.: side note about the source filtering: ChromaShiftSP with x=2 and SpotLess with temporal radius 3 and some deblocking and dehaloing should be applied.Thanks! Will for sure test those filters out too. And AV software has been disabled for all my tests lately. But yeah, I guess I'll continue testing on a totally different platform instead of this machine to try and isolate the issue better. Will keep this thread updated. Thanks again for all the effort, really sorry to keep bothering you! RE: x264 encoding error. - hjatsu - 19.08.2024 Good news, sort of.. I did not have time to test on another hardware yet but I did some more tests with the current one, based on the hypothesis of crash happening at around the x264 lookahead value, so when input material is ending. Here are my results, all repeatable at least 3/3 times: --sync-lookahead 200 --rc-lookahead 200 --sync-lookahead 10 --rc-lookahead 10 --sync-lookahead 10 --rc-lookahead 200 --sync-lookahead 200 --rc-lookahead 10 Example of all the encode arguments: tool: C:\Program Files\Hybrid\64bit\x264.exe Then I proceed to test if OpenCL is to be blamed, so tried this: # Deinterlacing using QTGMC # Deinterlacing using QTGMC And the result was that the test jobs FINISHED successfully 6/6. So using CPU for everything seems to be the trick?! Decided to also test with the iGPU, so modified the OpenCL jobs a little by pointing the device param to my Intel Iris Xe instead of Nvidia RTX 3500: # Deinterlacing using QTGMC So my take from this is that the issue must be either: - Vapoursynth/QTGMC OpenCL implementation - GPU drivers (unlikely because iGPU crashes too) - Something in my system interfering with all GPU operations (no idea if even possible and what this could be) This finding does not fully explain the crashes I observed with the initial jobs, when I was using the latest stable version that was unable to recognize my RTX 3500. But based on this test session, my only option is to just use CPU for everything I guess...? RE: x264 encoding error. - Selur - 20.08.2024 When using QTGMC, using openCL only triggers Hybrid to use NNEDI3CL https://github.com/dubhater/vapoursynth-nnedi3 instead of normal nnedi3. My guess is something with the opencl drivers is amiss. Try using the NVIDIA studio drivers for your gpu, if the latest do not work also try older versions. Cu Selur RE: x264 encoding error. - hjatsu - 20.08.2024 Can confirm the test jobs run 6/6 without any hiccups in OpenCL mode in another machine (Win10, Intel Core i9-9900K & NVIDIA Quadro RTX 4000, same AV software but not disabled). Will continue to experiment with the drivers then. Thanks! |