Streaming in high frame rate with SVPcast
SVPcast converts a video into high frame rate and then streams it via HLS (HTTP Live Streaming) protocol. It can also control some TV boxes in order to pass them a HLS stream URL and start playback automatically, including:
- Google Chromecast (note that Chromecast 1st and 2nd Gen. can only play 720p/60 fps. See Supported Media for Google Cast)
- Google Cast-enabled TVs and TV boxes
- Apple TV via AirPlay protocol
There's a deep integration with SVPlayer for Android / Android TV / iOS / Apple TV: more details.
Also you can manually open a HLS stream URL in your favorite Android or iOS video player (a good example is MX Player) and enjoy 60 fps video right on your mobile.
Installation
To add SVPcast, select it during the installation of SVP, or install it using the Maintain SVP 4 application (see the Additional Components section). In SVP 4 Mac, it is necessary to mark the Main menu option Application settings → Additional options → Extensions → svpcast.
After that, the Streaming sub-menu is displayed in the SVP Main menu.
You must pre-install mpv with Vapoursynth support on computers running macOS or Linux.
Please note that you must allow SVP to go through system's firewall for SVPcast to work. See the Firewall section below for details.
Streaming to AppleTV from Windows: install Bonjour Print Services for Windows and ensure the Bonjour Service is running.
SVPcast Usage
Streaming requires a lot of hardware resources because it needs to do both motion interpolation and video encoding at the same time, and do it in real time. This's why it's highly recommended to use a hardware-accelerated video encoder available in almost any modern hardware: Intel CPUs (QuickSync encoder), NVIDIA video cards (NVENC encoder) or latest AMD video cards (AMF encoder). You can choose an encoder to use from the Streaming → Video encoder menu.
To stream a video file:
- Click Streaming → Stream a video file... in the main menu,
- Choose a video, then a SVP Streaming window will open:
- Select some options:
- a device to stream to, or just a HTTP Live Stream (HLS) option to open a stream via network from a mobile phone, for example.
- an audio track and an optional subtitles track,
- a video profile to use for the frame interpolation.
- Click the Play button to start streaming.
While streaming, you can abort it or seek to the desired position in the video. Note that seeking can be very slow due to the buffering on the target device. For example, Apple TV can buffer up to 1 minute of the video stream so you will wait that minute after you move the slider in SVP's window.
The time position shown in the window is NOT the time you see on the TV! It's the encoder's position that can be up to 1.5 minute ahead of what you see on the screen.
When streaming to Apple TV or Chromecast you can additionally pause streaming with the Pause / Resume button. Volume controls are only available when streaming to Chromecast.
Subtitles styles
There're a few options to control subtitles size, position, etc. To adjust subtitles, open All settings and navigate to the cast.subs section.
- cast.subs.ass_ignore - ignore ASS styles, ASS subtitles will be rendered as the usual SRT. See --no-sub-ass mpv's option.
- cast.subs.font_size - relative font size (default value is 55). See --sub-font-size mpv's option.
- cast.subs.margin_y - relative top and bottom screen margin for the subs. See --sub-margin-y mpv's option.
You can specify any other mpv options, space-separated, in cast.mpv_args value.
Tips and tricks
- Move mouse over the QR-code image to show a larger QR code containing URL of the current stream.
- If you want to define a specific video profile for streaming, add a Video player = cast condition to the profile.
- You can re-stream a web stream from SVPtube without downloading it: see Video player -> Stream via SVPcast option in SVPtube's menu.
Web UI
A mobile-optimized Web UI is available via the web-server running on TCP port 9900. You can change the port number in SVP's All settings: see cast.server.port value.
To use Web UI:
- Turn on Streaming → Web UI → Enabled.
- Choose a folder containing your videos, it will act like a "home folder" in the Web UI: Streaming → Web UI → Choose video folder.... The Web UI will only be allowed to list and select videos from this folder.
- Open [1] shortcut address with your mobile phone's browser, it will redirect the browser to the local IP address of your computer. The mobile phone must be connected to the same network as the computer!
"Dynamic DNS" service
Consider your computer running SVP has a local network address, something like "192.168.3.154". You can open a Web UI using the following address - "http://192.168.3.154:9900" - but it isn't always easy to remember. Moreover it can easily change on next reboot. Using the "Dynamic DNS" service you can just put https://www.svp-team.com/cast to bookmarks.
How it works?
- No information about your videos is sent to our server and nobody can access them from the outside world! This is only a redirection service.
- SVP periodically sends requests to the svp-team.com server containing only your external and local IPs network addresses. No other information is sent!
- When you open the shortcut URL, server-side script takes the local IP address associated with the current external IP, end redirects your browser or video player to that address.
- https://www.svp-team.com/cast -> redirects to the Web UI page
- https://www.svp-team.com/cast/svp.m3u8 -> redirects to the M3U8 video stream, you can open this address in a video player
If you have more than one computer running SVPcast and need access to both of them, specify unique computer names via cast.server.ddns.name in All settings. Then open https://www.svp-team.com/cast/name1 or https://www.svp-team.com/cast/name2 and so on.
Firewall
You must allow SVP to go through system's firewall for SVPcast to work. To check that firewall settings are correct:
- From SVP main menu launch Streaming → Web UI → Open in web browser.
- Try to open the URL shown in the address bar (e.g. "http://192.168.1.15:9900") on your smartphone connected to the same home network.
- If the page doesn't open then you must alter your firewall settings.
If you're using only built-in Windows Defender Firewall:
- In Search window type "firewall" and launch Allow an app through Windows Firewall
- Click Change settings
- Find SVP 4 Pro and ensure that both the leftmost checkbox and the private checkbox are checked, then click OK.
Issues
- Chromecast suddenly hangs on video buffering: ensure you have no more than 12M set under Bandwidth limit. If it hangs with 12M selected, try 10M instead.
- AppleTV won't appear in the "Stream to" list:
- ensure you have Bonjour service installed;
- if you have Oracle VirtualBox installed: you may need to disable the "VirtualBox NDIS6 Bridged Networking Driver" in the network adapter's properties for Bonjour discovery to work correctly.