1 (edited by Elliot 13-01-2017 11:50:05)

Topic: SVTube not working on SVP4Linux

Hi!

I have successfully installed SVP4Linux on my Ubuntu 14.04 machine.
Interpolating local files to 60FPS works perfectly, but I cannot seem to get SVTube to work.

I have also  successfully installed libpython3.5 which seems to be a prerequisite to get it working.

Copying a Youtube or source link of any kind is simply not picked up.
When I click on the option at the top of the SVTube menu, "Show video formats window", a small window pops up saying "Waiting for URL of online video",  which instantly disappears when I left or right click anywhere on the screen.
I have attached a screenshot of that window as it is closing for no reason.

Can you help me figure out the problem?

Post's attachments

snapshot1.png 219.66 kb, 170 downloads since 2017-01-13 

Re: SVTube not working on SVP4Linux

do you see any errors in SVP's log?

3 (edited by Elliot 13-01-2017 15:39:50)

Re: SVTube not working on SVP4Linux

These are the log entries regarding SVTube.
Have you heard other Linux Users raise this issue, as I could not find anything about the matter on google or this forum.
I use Lubuntu 14.04.

16:12:56.009 : Extensions: found svptube 2.0.0.97 ...
16:12:56.009 : Settings: loading tube.cfg OK
16:12:56.013 : Tube: initializing youtube_dl...
16:12:56.079 : Main: initialization completed in 371 ms
16:12:56.355 : Tube: youtube_dl ready
16:13:32.124 : QXcbClipboard: Selection request should be caught before

There is definitely a problem with the clipboard recognition, but then there is also the issue with the SVTube window instantly closing when I left or right click.

Re: SVTube not working on SVP4Linux

I'll check with Lubuntu 16.04 later

5 (edited by Elliot 14-01-2017 11:32:47)

Re: SVTube not working on SVP4Linux

Small Update:

I was listening to some music on Youtube and all of a sudden SVTube randomly played one single link.
The small window still crashes the instant I click and I was unable to replicate that with any other video.
The window now displays  that specific video in all kinds of formats, resolutions and quality settings as expected from youtube-dl. I have attached a screenshot of it again.

Post's attachments

snap1.png 197.02 kb, 193 downloads since 2017-01-13 

Re: SVTube not working on SVP4Linux

> The small window still crashes the instant I click

it doesn't "crashes" but hides itself when goes out of focus

Re: SVTube not working on SVP4Linux

Ok, but why is it not picking up any links from the clipboard?
Have you experienced the same problem on 16.04?
If that function of SVTube does not work on Linux, is there a way to manually force SVP to play links?

Thanks for your efforts!

8 (edited by Elliot 14-01-2017 11:32:59)

Re: SVTube not working on SVP4Linux

Update:

I have managed to play Youtube Videos with SVP by launching a pseudo-gui instance of mpv with this argument "--input-ipc-server=/tmp/mpvsocket" and having SVP detect the stream.
You need the latest version of youtube-dl from the web8 repository and add these options as arguments or in the mpv.conf for max quality and proper initialization.
"ytdl=yes
ytdl-format=bestvideo+bestaudio/best"

After thorough research on multiple Ubuntu platforms I can confirm that SVTube is broken on SVP4Linux.
Where can I submit a bug report?

Re: SVTube not working on SVP4Linux

> Where can I submit a bug report?
SVP menu - Information - Send problem report...

Re: SVTube not working on SVP4Linux

Works on a fresh Lubuntu 16.04 install


> After thorough research on multiple Ubuntu platforms I can confirm that SVTube is broken on SVP4Linux.

this's just not true

Re: SVTube not working on SVP4Linux

If you got it working, could you please elaborate on the steps you took to set it up?
Then I must be missing something.

Re: SVTube not working on SVP4Linux

installed Lubuntu 16.04 from the official image into VirtualBox, added mediainfo and Qt libs via apt-get and ran SVP's installer
that's it

13 (edited by Elliot 14-01-2017 17:39:18)

Re: SVTube not working on SVP4Linux

You installed libqt via apt-get?
I got the executable install script from the site suggested by the SVP4Linux install guide: https://www.qt.io/download-open-source/

Please state the repository you installed libqt from.
Also, did you have to use this fix to start SVP, as the gui doesn't launch just by clicking on SVP?
"LD_LIBRARY_PATH=/opt/qt55/lib ./SVPManager"

You also had to install vapoursynth etc. from the djcj repository, right? Please answer a little more in depth.

Was it 64bit or 32bit Lubuntu 16.04?

Re: SVTube not working on SVP4Linux

> Please state the repository you installed libqt from.

default 16.04 repo already contains Qt 5.5.1

> LD_LIBRARY_PATH=/opt/qt55/lib

not needed for 16.04

> You also had to install vapoursynth etc

since all I wanted was to check if SVPtube works - I don't need mpv/vapoursynth at all.

> Was it 64bit or 32bit Lubuntu 16.04?

there's no 32-bit version of SVP 4 Linux wink

===

Well, if you've installed Qt downloaded from qt.io then it's 5.7.1
May be (just may be!) 5.7.1 has some issues in QClipboard with some Linux DMs
I'll check

Re: SVTube not working on SVP4Linux

Ok, I just tried exactly what you said, but it failed the same way as it did with qt.io

I installed libqt from the default repo on  Lubuntu 16.04
sudo apt-get install qt5-default qttools5-dev-tools

I installed vapoursynth and mpv in order to have it interpolate a Youtube video, but again SVTube did not pick up any links from  the clipboard.

What else did you do, or did you install additional libqt packages?

Re: SVTube not working on SVP4Linux

> What else did you do, or did you install additional libqt packages?

just nothing

do you see the same error in SVP's log?

17 (edited by Elliot 14-01-2017 21:12:30)

Re: SVTube not working on SVP4Linux

No errors.
When you tried it, did SVTube actually pick up a link from the clipboard?

Re: SVTube not working on SVP4Linux

> When you tried it, did SVTube actually pick up a link from the clipboard?

I won't answer this big_smile

Re: SVTube not working on SVP4Linux

ok, I see it
there's some issue with clipboard contents updates

when I copy the link from host system - it always works in the virtual machine
however when I copy the link from web browser opened in VM - SVPtube often fails to notice that clipboard has changed
pasting the link to some other app and/or touching SVP's menu occasionally helps hmm

Re: SVTube not working on SVP4Linux

So there is a problem with SVTube.
Have you determined the reason for this and will it be fixed with the next update?

The fact that it works in the virtual machine must serve as some kind of hint what the problem is in the host environment.

Re: SVTube not working on SVP4Linux

> Have you determined the reason for this and will it be fixed with the next update?

stay tuned

22 (edited by Elliot 15-01-2017 12:40:52)

Re: SVTube not working on SVP4Linux

Forget that SVTube nonsense, I believe the way I have now discovered to stream Youtube videos with SVP is more conveniant anyways.

For other linux users, just create a .desktop file that executes "mpv pseudo-gui --profile=test"

Then add profile test to the mpv.conf
with the ytdl and input entries I mentioned in the post above.

Use vapoursynth and mpv compiled with vapoursynth from the djcj repo.

If you drag any youtube video into that mpv instance, SVP will pick it up and interpolate.

No need to wait for SVTube to get fixed.

I do find it weird though, that a normal instance of mpv that is opened via "open a file with mpv" from the SVP menu, cannot stream dragged Youtube videos and crashes immediately.

Re: SVTube not working on SVP4Linux

fixed in rev.101

+ plus added authentication via cookies file (required by Crunchyroll now)


> Forget that SVTube nonsense, I believe the way I have now discovered to stream Youtube videos with SVP is more conveniant anyways.

if all you need is YT videos w/o subtitles you probably right