![]() |
[BUG] SVT-AV1 not working with vapoursynth inputs (Arch Linux) - 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: [BUG] SVT-AV1 not working with vapoursynth inputs (Arch Linux) (/thread-4021.html) Pages:
1
2
|
SVT-AV1 not working with vapoursynth inputs (Arch Linux) - Inky1003 - 25.02.2025 I use Hybrid 2024.12.21.1 in Arch Linux. It was compiled from AUR earlier today, 2025/02/25, UTC-3 time. It seems that SVT-AV1 refuses to encode vspipe outputs. Tried to encode with x264, and it worked. Tried to encode with SVT-AV1 and without vapoursynth, worked. Vapoursynth and SVT-AV1 gives a blank file. Also, no errors are thrown. Tested with both SVT-AV1-PSY (the first try) and main SVT-AV1 (to make sure It's not SVT-AV1-PSY guys fault). Step by step guide: 1. Have a working Arch Linux with Hybrid installed. 2. Open a video file (I used an interlaced source) 3. Use SVT-AV1 as video encoder 4. Enable Vapoursynth in the Filtering guide (I also enabled QTGMC) 5. Start the job It should tell "finished", when in fact no frames were written, and the file is empty. Debug file: [attachment=3006] Long time no see! Inky RE: SVT-AV1 not working with vapoursynth inputs - Selur - 25.02.2025 Hybrid uses: "/usr/bin/vspipe" "/tmp/2025-02-25@15_50_50_1010/encodingTempSynthSkript_2025-02-25@15_50_50_1010_0.vpy" - -c y4m | "/usr/bin/ffmpeg" -y -loglevel fatal -noautorotate -nostdin -threads 8 -f yuv4mpegpipe -i - -an -sn -pix_fmt yuv420p10le -strict -1 -fps_mode passthrough -f yuv4mpegpipe - | "/usr/bin/SvtAv1EncApp" --input stdin --width 720 --height 480 --fps-num 60000 --fps-denom 1001 --input-depth 10 --profile 0 --tile-rows 0 --tile-columns 0 --progress 2 --rc 0 --crf 20 --mbr 5000 --aq-mode 2 --preset 6 --matrix-coefficients 5 --color-range 0 --output "/tmp/2025-02-25@15_50_50_1010/2025-02-25@15_50_50_1010_03.av1" Does the Vapoursynth Preview work? There is no error and SvtAV1 report it is finished with the encoding. (exit code 0) Are you sure your SvtAV1 version works properly? Does calling: "/usr/bin/vspipe" "/tmp/2025-02-25@15_50_50_1010/encodingTempSynthSkript_2025-02-25@15_50_50_1010_0.vpy" - -c y4m | "/usr/bin/SvtAv1EncApp" --input stdin --width 720 --height 480 --fps-num 60000 --fps-denom 1001 --input-depth 10 --profile 0 --tile-rows 0 --tile-columns 0 --progress 2 --rc 0 --crf 20 --mbr 5000 --aq-mode 2 --preset 6 --matrix-coefficients 5 --color-range 0 --output "/tmp/2025-02-25@15_50_50_1010/2025-02-25@15_50_50_1010_03.av1" Might be some change in SvtAv1 3.x that is causing the problem. Cu Selur Ps.: Will look at it tomorrow. (too groggy today) RE: SVT-AV1 not working with vapoursynth inputs - Inky1003 - 25.02.2025 The vapoursynth preview doesn't works because there is no package for vsPreview. Also, tried to use vsedit-previewer with no success. It expects only a filename and no "dash" options. Yes, both the SVT-AV1 implementations work just fine in FFMPEG. Also, they work fine in Hybrid without Xsynths. Quote:Does calling: Just realized that the vpy file didn't even generated... But then how did x264 encoded? Also, It's not doing that anymore for some strange reason... So the problem seems to be the vpy file not being generated. RE: SVT-AV1 not working with vapoursynth inputs - Selur - 25.02.2025 Did a quick test with a build of SvtAv1EncApp I created on Saturday (SVT-AV1 v3.0.0 (release)). Works fine here. My build does not report all the memory related output yours does. Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v2.3.0-dirty Atm. I suspect, that it's either an issue with your SvtAV1 build (I would recommend trying 2.3.0 or 3.0.0) or with the Vapoursynth script. => I'll create a new SvtAv1EncApp build tomorrow and will test with that build. Cu Selur RE: SVT-AV1 not working with vapoursynth inputs - Selur - 25.02.2025 Quote:So the problem seems to be the vpy file not being generated.According to the log it was created and clean up later. Created skript /tmp/2025-02-25@15_50_50_1010/encodingTempSynthSkript_2025-02-25@15_50_50_1010_0.vpy: 2025.02.25 - 15:50:52_Arch Linux (64bit)_2024.12.21.1 - level 9: 2025-02-25@15_50_50_1010_04_cleanUp: "/tmp/2025-02-25@15_50_50_1010/encodingTempSynthSkript_2025-02-25@15_50_50_1010_0.vpy" Quote:The vapoursynth preview doesn't works because there is no package for vsPreview.vsViewer code is available over at https://github.com/Selur/vsViewer. Since there are other Arch users out there, someone can probably help. Quote:Yes, both the SVT-AV1 implementations work just fine in FFMPEG.FFmpeg uses the library not SvtAv1EncApp. Cu Selur RE: SVT-AV1 not working with vapoursynth inputs - Inky1003 - 25.02.2025 But did it encoded something? Because It blames no frames, just like my tests: SUMMARY --------------------------------- Channel 1 -------------------------------- Also, the vpy is not being generated, even for x264. I'm not sure why It worked earlier, but It's not generating the vpy for x264 also. RE: SVT-AV1 not working with vapoursynth inputs (Arch Linux) - Selur - 25.02.2025 Yes, I get: SUMMARY --------------------------------- Channel 1 -------------------------------- Quote:Also, the vpy is not being generated, even for x264. I'm not sure why It worked earlier, but It's not generating the vpy for x264 also.Like I wrote, according to the logs it is. It's just deleted. Try enabling "Config->Containers->General->Keep intermediate files" to keep the intermediate files. Cu Selur Ps.: going to bed now. ![]() RE: SVT-AV1 not working with vapoursynth inputs (Arch Linux) - Inky1003 - 25.02.2025 Quote:FFmpeg uses the library not SvtAv1EncApp. Arch Linux replaces svt-av1 package when installing svt-av1-psy. They are considered incompatible. That said, If I have SVT-AV1-PSY, there is automatically no main SVT-AV1 available. About the vpy file: It's being generated, but still for some reason the same problems occur (again). I think maybe because Hybrid is not generating them at /tmp? Debug files: [attachment=3007] RE: SVT-AV1 not working with vapoursynth inputs (Arch Linux) - Selur - 26.02.2025 Does vspipe "/run/media/inky/vhs_antigo/VHS_AV1/encodingTempSynthSkript_2025-02-25@18_30_16_7310_0.vpy" /dev/null -c y4m --progress Since you don't have vsViewer, can you open the vpy file in vsedit-previewer and preview it? Cu Selur RE: SVT-AV1 not working with vapoursynth inputs (Arch Linux) - Inky1003 - 26.02.2025 vspipe in that command blames a module that does not exist in Python... Quote:Script evaluation failed: |