Maybe give this a try?
https://github.com/yt-dlp/yt-dlp
Or if you prefer,
https://github.com/ytdl-org/youtube-dl
Use the binary which can be updated by just youtube-dl -vU. You may need to change the permissions and symlink it though.
You are not logged in. Please login or register.
SmoothVideo Project → Posts by subluminal
Pages 1
Maybe give this a try?
https://github.com/yt-dlp/yt-dlp
Or if you prefer,
https://github.com/ytdl-org/youtube-dl
Use the binary which can be updated by just youtube-dl -vU. You may need to change the permissions and symlink it though.
You can do this using mpv. I've done this in the past.
Simply generate a vapoursynth python script by running a similar resolution+bitrate+framerate video.
In my Linux system it's generated in this directory. /home/myusername/.local/share/SVP4/scripts
Just add this either in CLI(with --) or in config file
vf-add=vapoursynth=/path/to/your/svp-script.py
And you're done !
Do you have an ICD Loader installed?
What is the output of
ls /etc/OpenCL/vendors
Ideally, you should use OpenCL only using AMDGPU Pro/rocm. And everything else ( OpenGL, Vulkan etc ) using Mesa.
rocm may or may not support your GPU. AMDGPU Pro should. I mean OpenCL support. But AMDGPU Pro can be buggy. Look at the comments here. This is for Polaris though.
https://aur.archlinux.org/packages/opencl-amd/
What was the error you got with mpv in Linux Mint 20? What was the vapoursynth and mpv version?
Installing amd's proprietary driver in Mint would cause far more harm than good. In Linux Mesa in general not only outperforms amd's own closed-source drivers but also is far easier to install. For opencl you need an icd loader. Did you try and install mesa-opencl-icd? For amd gpus, you need mesa and mesa icd, that's pretty much it. Also, mesa should already have been installed when you installed Mint 20 or LMDE4.
And, seifenchef, why did you install svp in /root directory? Your user doesn't have permission to run any binaries in /root, only root does. That's why that error is popping up.
Built against R50 vapoursynth branch and SVP is working flawlessly again, thanks a million @Chainik and @LinuxBaby.
The relevant portions of the mpv verbose log.
[user_filter_wrapper] Setting option 'buffered-frames' = '4' (flags = 0)
[user_filter_wrapper] Setting option 'concurrent-frames' = '5' (flags = 0)
[vapoursynth] using 5 concurrent requests.
[vf] User filter list:
[vf] vapoursynth (vapoursynth.00)
[vf] [vapoursynth] 640x480 yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[vapoursynth] initializing...
[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: Cache: nodes foreign to this core passed as input, improper api usage detected
[vapoursynth]
[vapoursynth] Traceback (most recent call last):
[vapoursynth] File "src/cython/vapoursynth.pyx", line 2241, in vapoursynth.vpy_evaluateScript
[vapoursynth] File "src/cython/vapoursynth.pyx", line 2242, in vapoursynth.vpy_evaluateScript
[vapoursynth] File "/home/sayan/.local/share/SVP4/scripts/d0001550.py", line 56, in <module>
[vapoursynth] smooth = interpolate(clip)
[vapoursynth] File "/home/sayan/.local/share/SVP4/scripts/d0001550.py", line 30, in interpolate
[vapoursynth] input_um = clip.resize.Point(format=vs.YUV420P8,dither_type="random")
[vapoursynth] File "src/cython/vapoursynth.pyx", line 2071, in vapoursynth.Function.__call__
[vapoursynth] File "src/cython/vapoursynth.pyx", line 763, in vapoursynth.mapToDict
[vapoursynth] File "src/cython/vapoursynth.pyx", line 2069, in vapoursynth.Function.__call__
[vapoursynth] vapoursynth.Error: Cache: nodes foreign to this core passed as input, improper api usage detected
[vapoursynth]
[vapoursynth] destroying VS filters
[vapoursynth] all requests terminated
mpv: ../video/filter/vf_vapoursynth.c:598: destroy_vs: Assertion `!p->in_node_active' failed.
Aborted (core dumped)
I am getting the same error message as LinuxBaby.
VS - Script evaluation failed:
VS - Python exception: Cache: nodes foreign to this core passed as input, improper api usage detected
I am getting a vapoursynth script evaluation error in normal playback using mpv in Kubuntu 20.04. I compiled zimg, vapoursynth, ffmpeg and mpv yesterday (Using your guide in SVP:Linux section) and compilation went without a hitch. However SVP doesn't work. It was working fine the last time I compiled, about a month ago. Something has changed in vapoursynth or mpv that has broken SVP.
@Chainik, Any suggestions?
SVP works perfectly in MX Linux, my 2nd distro. And I'm current in MX so I can't paste the log. Will do so when I'm in Kubuntu.
P.S. The website guide should perhaps also mention enabling openssl and nonfree as ffmpeg options for online stream playback??
Pages 1
SmoothVideo Project → Posts by subluminal
Powered by PunBB, supported by Informer Technologies, Inc.