1

(426 replies, posted in Using SVP)

subluminal wrote:

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 downloaded https://github.com/vapoursynth/vapoursy … R50.tar.gz from the repo's releases page instead of

git clone https://github.com/vapoursynth/vapoursynth.git

so...:

wget https://github.com/vapoursynth/vapoursynth/archive/R50.tar.gz
tar -xvzf R50.tar.gz
cd vapoursynth-R50/
./autogen.sh
./configure
make
sudo make install
cd ..

...and it worked!

2

(426 replies, posted in Using SVP)

Hi. I'm trying to move away from Windows and after the entire night installing dependencies, I managed to build mpv with VapourSynth enable.
Now I am getting this error and no amount of googling has given me any advice:

09:38:29.811 [i]: VideoPlayer: mpv [mpv] connected, waiting for the video info...
09:38:30.342 [i]: VideoPlayer: mpv 0.32.0-563-gdc24a437fb /via '/tmp/smplayer-mpv-3ba82'
09:38:30.875 [i]: Media: video looks like some kind of stream
09:38:30.875 [i]: Media: video 1280x720 [PAR 1.000] at 30.000 fps [constant] (via video player)
09:38:30.875 [i]: Media: codec type is h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10), YUV420P, BT.709 BT.1886
09:38:30.912 [i]: Playback: starting up...
09:38:30.919 [i]: Playback [f140068c]: resulting video frame 1280x720
09:38:30.919 [i]: Playback [f140068c]: 1 acceptible profiles, best is 'Automático' [0]
09:38:30.920 [i]: Playback [f140068c]: enabled while video is playing
09:38:30.921 [i]: Profile: using automatic profile #1 /film
09:38:30.933 [i]: Playback [f140068c]: playing at 60 [30 *2/1] 
09:38:31.180 [E]: Playback [f140068c]: VS - Script evaluation failed:
09:38:31.180 [E]: Playback [f140068c]: VS - Python exception: Cache: nodes foreign to this core passed as input, improper api usage detected
09:38:31.180 [i]: Playback [f140068c]: disabled while video is playing
09:38:31.185 [i]: Playback [f140068c]: deleted
09:38:31.180 [E]: Playback [f140068c]: VS - Script evaluation failed:
09:38:31.180 [E]: Playback [f140068c]: VS - Python exception: Cache: nodes foreign to this core passed as input, improper api usage detected

Is something wrong with SVP's generated script? I have no idea how VapourSynth's scripts work... Please, help me!

Further info:

Ubuntu 20.04

mpv

$ mpv
mpv 0.32.0-563-gdc24a437fb Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on Sat Jun 20 09:18:08 -03 2020
FFmpeg library versions:
   libavutil       56.31.100
   libavcodec      58.54.100
   libavformat     58.29.100
   libswscale      5.5.100
   libavfilter     7.57.100
   libswresample   3.5.100
FFmpeg version: 4.2.2-1ubuntu1

VapourSynth

$ vspipe --version
VapourSynth Video Processing Library
Copyright (c) 2012-2020 Fredrik Mellbin
Core R50
API R3.6
Options: -

python3 vapoursynth installed

$ python3 -m pip install vapoursynth
Requirement already satisfied: vapoursynth in ./.local/lib/python3.8/site-packages (50)