Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 2.29 KB

readme-en.md

File metadata and controls

38 lines (22 loc) · 2.29 KB

obs-vlc-video-plugin

Modified VLC-plugin with Streamlink and hardware acceleration support for OBS Studio.

Features

  • Launch video stream via link to channel by local server from Streamline with additional parameters. Twitch and more.
  • Hardware acceleration support (move part of the load to the graphics card).
  • Custom UI

Install

Save backup of the files before install: vlc-video.dll, vlc-video.pdb. Default path C:\Program Files\obs-studio\obs-plugins\64bit.

  1. Install VLC Player
  2. Install Streamlink.
  3. Download archive in releases.
  4. Unpack archive to root folder of OBS Studio. Default path C:\Program Files\obs-studio.

Streamlink

Streamlink allows to receive a video stream via link to channel. For example, by link like https://www.twitch.tv/igorghk the plugin will create a new process in which to run the local server. It is also possible to use additional parameters: low latency, skip twitch ads, personal token and more.

Use the field Streamlink options to fine-tuning. Each parameter starts with -- and is separated by space. For example --hls-live-edge 1 --twitch-disable-ads. See Streamlink documentation.

libVLC

libVLC is library that the plugin uses to communicate with the VLC player. It can also be configured via the VLC options field. Their list is in the documentation. In particular parameters for hardware acceleration.

The each option looks like :key=value and is separated by space :avcodec-skip-frame=1 :avcodec-hw=any.

Build

The plugin has many dependencies that not provided here. In order to build .dll youself, place modified files to vlc-video folder from OBS Studio repository.

The get_free_port function requires Ws2_32.lib dependency. The path for Visual Studio: Project Properties > Linker > Input > Additional Dependencies.