1 (edited by linuxdakota 02-08-2018 19:07:53)

Topic: SVP only work when launch from linux terminal [FIXED]

My operating system is Debian Strech, and I compile the latest versions of vapoursynth and mpv from the source code with mpv with support to vapoursynth,
when I launch a video from the SVP file manager does not work, nor opening a video from SVP,
but when I open the terminal and write $ mpv 001.mp4
SVP works.
and when SVP is launched from the terminal and I open a video from SVP
SVP It works.
this is log of the problem that shows in the terminal when lauch a video with double click:

"[vapoursynth] Could not initialize VapourSynth scripting.
[user_filter_wrapper] Creating filter 'vapoursynth' failed."

I just want that when I double click on a video, SVP works without launching the terminal ..
I would like to know if you know of any solution to my problem I would appreciate it.
I attached a video of my desktop with the demonstration of the problem .. watch in full screen

https://youtu.be/NsLhGbgqoz4

Re: SVP only work when launch from linux terminal [FIXED]

probably Terminal adds/changes some environment variables on launch that makes Vapoursynth workable? I mean, PATH and PYTHONPATH at the first place.

Re: SVP only work when launch from linux terminal [FIXED]

this is my .bashrc
https://i.imgur.com/jPU113I.png

Re: SVP only work when launch from linux terminal [FIXED]

so your Vapoursynth installation requires PYTHONPATH to be set to that "python3.5" path

Re: SVP only work when launch from linux terminal [FIXED]

ok. it was fixed, the system does not start with the bashrc file, that's why only the environment variables worked from the terminal, I created a .profilerc file and I wrote the environment variables inside it, I restarted the system and it worked, I hope this helps to others with a similar problem ...