1 (edited by Portaljacker 18-07-2016 05:07:13)

Topic: SVPTube not detecting links

I bought my license for SVP specifically to use SVPTube for Crunchyroll and Funimation anime streams, but I can't seem to get either to trigger SVPTube. It works on Youtube and a bunch of other sites, but not those two (also Twitch & GiantBomb, though those two do 60fps streams on the site, I was more just testing if they worked). I'm sure there's other sites that probably have similar issues due to the need to authenticate for streams. I'd rather avoid installing livestreamer since this is the entire reason I bought a license...

Side-note: On Escapist when I try to grab Zero Punctuation videos all it grabs is the advertisement...

Edit: I can see in some of the .py files for each supported site there's password and username fields, filling those out didn't work though...

Edit 2: I tried copying links to non-sub required vidoes on the Crunchyroll homepage and it detects, but then MPC-BE says failed to render the file.

Re: SVPTube not detecting links

Twitch: m3u8 streams are currently disabled by default, but you can enable them via SVP's configuration: tube.ydl.protocols = "http,rtmp,m3u8"

Crunchyroll streams are in RTMP protocol so the video player / codecs have to support it. For example mpv plays it just fine...

Funimation doesn't work because it's protected with captcha o_O

11:18:49.868 [W]: Tube: py-error: ERROR: Access to funimation.com is blocked by CloudFlare. Please browse to http://www.funimation.com/, solve the reCAPTCHA, export browser cookies to a text file, and then try again with --cookies YOUR_COOKIE_FILE.

3 (edited by Portaljacker 19-07-2016 03:48:20)

Re: SVPTube not detecting links

I just realized I never motioned my player. I'm using MPC-BE.

So I can get crunchyroll running using livestreamer, but then I don't have seeking, and if I set it to hls passthrough I don't get controls while on Twitch vods I do.

I can only get SVPTube to recognize crunchyroll videos if they're not subscription required, but then they don't play. (Failed to render file).

Funimation works as long as the video doesn't require a subscription.

Inside the funimation.py file of the extension it has 3 test links:
http://www.funimation.com/shows/air/vid … ial/breeze
http://www.funimation.com/shows/hacksig … /role-play
http://www.funimation.com/shows/attack- … ub-preview

The bottom 2 work, and the last one supports 1080p and seeking (2nd supports syncing too).

There has to be some way to grab the credentials then store them, so that when SVPTube tries again they get recognized.

For Livestreamer you have to put an argument for username and password the 1st time, then it stores those credentials for future use.

Re: SVPTube not detecting links

I've made moderate progess! I made a config file for youtube-dl to use, and manually ran it from the extension folder. I had it load a cookie file for authentication. I was able to successfully download a file from Funimation that played and everything, and get the media from Crunchyroll, but not download.

Here's the results on the command line:

C:\Program Files (x86)\SVP 4\extensions\tube\youtube_dl>python __main__.py http://www.funimation.com/shows/danganronpa-3/videos/official/despair-arc-1-hello-again-hopes-peak-high-school
[Funimation] despair-arc-1-hello-again-hopes-peak-high-school: Downloading webpage
[Funimation] despair-arc-1-hello-again-hopes-peak-high-school: Downloading m3u8 information
[Funimation] despair-arc-1-hello-again-hopes-peak-high-school: Downloading m3u8 information
[Funimation] despair-arc-1-hello-again-hopes-peak-high-school: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 143
[download] Destination: Danganronpa 3 - The End of Hope’s Peak High School - 1 - Despair Arc 1 - Hello Again, Hope’s Peak High School-33861.mp4
[download] 100% of 756.30MiB in 03:40
WARNING: 33861: malformated aac bitstream. Install ffmpeg or avconv to fix this automatically.

C:\Program Files (x86)\SVP 4\extensions\tube\youtube_dl>python __main__.py http://www.crunchyroll.com/fatestay-night/episode-24-unlimited-blade-works-664495
[Crunchyroll] 664495: Downloading webpage
[Crunchyroll] 664495: Downloading media info for 360p
[Crunchyroll] 664495: Downloading media info for 480p
[Crunchyroll] 664495: Downloading media info for 720p
[Crunchyroll] 664495: Downloading media info for 1080p
[Crunchyroll] 664495: Downloading media info
[download] Destination: Fate_stay night Episode 24 – Unlimited Blade Works-664495.flv
ERROR: RTMP download detected but "rtmpdump" could not be run. Please install it.

SVPTube still doesn't detect either link though.

It looks like Funimation uses m3u8 like twitch does. (which btw, now twitch streams work in today's update, but vod links don't get detected)
So the main issue is getting it to recognize the authentication like it did when I used it manually.

I'm not sure why Livestreamer works for Crunchyroll in MPC-BE and not SVPTube, but it seems like they grab the stream as an hls stream, and not rtmp.

Re: SVPTube not detecting links

MPC-BE doesn't support RTMP protocol!

>  I had it load a cookie file for authentication. I was able to successfully download a file from Funimation that played and everything

Here's a big issue with all that credentials stuff.
Even if SVPtube will allow user to enter credentials for some site, and will successfully extract all the links then it'll stuck at the playback stage, because the video player doesn't have options neither to insert a cookie file nor to add some specific HTTP headers to the request. So there's a big chance that the link simply won't be playable.

6 (edited by Victolabs 26-07-2016 04:31:14)

Re: SVPTube not detecting links

I got crunchyroll to work on my computer using quickstreamer and livestreamer, my videoplayer is MPC-HC. Here is a video of it working: https://my.mixtape.moe/ylnpxg.mp4

After you fully install both quickstreamer and live streamer you need to edit some configs in the livestreamer app data folder. (Credit to dlr5668)

Open the run dialog by pressing the windows key and r at the same time, type in %appdata% then hit enter. Find a folder called livestreamer and open it, inside will be a few files. Open the one called livestreamerrc with your favorite text editor. Then paste this in:

# MPlayer2
player=C:\Program Files (x86)\SVP 4\mpv64\mpv.exe

# Use this if you want to transport the stream to the player via a named pipe.
#player-fifo

# Use this if you want to transport the stream to the player via HTTP.
#player-http

# Use this if you want Livestreamer to only pass a URL to your player and
# let it handle the transport of the stream itself.
player-passthrough=http,hls,rtmp

# By default Livestreamer will close the player when stream is over.
# Use this option to let the player stay or close itself instead.
#player-no-close

# Use this option if you want Livestreamer to keep trying to access
# the stream even if it goes offline or disconnects. Your player must
# support HTTP and its playlist should be set to repeat mode.
#player-continuous-http

# Show console output from the video player
#verbose-player

# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe
# should be specified here.
rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe

# Log level, default is info
#loglevel=debug

# Number of threads to use when streaming HLS streams
hls-segment-threads=3

# Number of threads to use when streaming HDS streams
#hds-segment-threads=1

Hashtag the mpv line and then point the mpc-hc line to your mpc-hc executable. But we are still not done! We need to install a library via the mpc-hc maintenance tool, I don't remember which one you need to install exactly so i'll just post what i have installed: http://prntscr.com/bxkatx http://prntscr.com/bxkazq. Should be smooth sailing from there. Enjoy! big_smile

EDIT: This only works on free videos on crunchy roll, not paid ones.

7 (edited by Portaljacker 26-07-2016 05:12:05)

Re: SVPTube not detecting links

I ended up making a batch file for Crunchyroll actually:

@ECHO OFF

set URL=%1

IF NOT [%2]==[] (
    set qual=%2
) ELSE (
    set qual=high
)

IF NOT [%3]==[] (
    set pass=--player-passthrough %3
) ELSE (
    set pass=%3
)

set command=livestreamer %URL% %qual% --player="C:\Program Files (x86)\MPC-BE\mpc-be.exe" %pass%

@echo %command%
%command%

This works for paid videos, since the first time you run livestreamer on a Crunchyroll URL, you can set a username and password parameter, and it'll save them, so next time you don't need to type them.

Basically you open the prompt at the desktop where the batch file is and call it with the URL as the 1st argument. If you want to use a quality other than high (720p) you need to specify it, and I added a parameter for passthrough if you want to choose an option, but it doesn't work for Crunchyroll, but if I use this script with a Twitch link I can get hls passthrough to work. Unfortunately for now you need to put the 2nd parameter if you want the 3rd, since I made this script quick and dirty.

It works though! Now I just wish I could get funimation working without having to use youtube-dl to download the full file first...

Re: SVPTube not detecting links

the 2nd link (http://www.crunchyroll.com/fatestay-nig … rks-664495) has a region lock BTW
it shows me "Sorry, this video is not available in your region due to licensing restrictions."

Re: SVPTube not detecting links

Crunchyroll subscriptions now works in SVPtube 2 rev.89 wink

Re: SVPTube not detecting links

Chainik wrote:

Crunchyroll subscriptions now works in SVPtube 2 rev.89 wink

Awesome! I still need to switch my video players since the streams aren't supported, but that's fine, I still have my script anyway.

The better news is Funimation works! The only issue there is there's about 14 options and they don't have labels. But that's fine, at least it works now!

The other good news is they added Windows 10 apps for both sites so if I don't want to use SVP and madVR I'm covered there too.

Re: SVPTube not detecting links

Hey !

I re-up this topic because i have the same problem with SVPtube 2 :

If don't enter the auth data I can watch videos from crunchyroll with SVPtube, but when I enter the auth data, SVPtube doesn't detect links from crunchyroll.

Re: SVPTube not detecting links

You need cookies file and UA string for the Crunchyroll to work. NOT the username/password pair!

13 (edited by Yaaa 04-05-2017 20:53:48)

Re: SVPTube not detecting links

Chainik wrote:

You need cookies file and UA string for the Crunchyroll to work. NOT the username/password pair!

Yup i have enter these two without my username/pass and it's not working


EDIT : I have tried with an another site like Crunchyroll, ADN and I have the same problem.

Re: SVPTube not detecting links

You probably do something wrong.
SVP's log should show some error message...

Re: SVPTube not detecting links

Okay so I have tried with Firefox instead of Chrome and.. It's working ! I don't know why... Maybe because with firefox it's not the same cookies.txt and UA ?