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
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.
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 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.
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.
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:
- Ensure that Streaming → Web UI → Enabled is selected
- Choose a root folder containing your videos: Streaming → Web UI → Choose video folder.... The Web UI will only be allowed to list and select videos from this folder.
- Select Streaming → Web UI → Open in web browser, then open the URL from web browser's address bar with your mobile phone's browser (the mobile phone must be connected to the same network as the computer).
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.