Bitfocus AS
logo
logo
Bitfocus AS
logo
logo
Sign upSign in

Loading...

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers

© 2026 Bitfocus AS. All rights reserved.

  1. Connections
  2. VideoLAN - VLC

VideoLAN

VLC

Communityv2.7.1Updated 4 months agoPlaybackVideo
DocumentationReport an issueView on GitHub

Documentation

VLC Media Player vlc

VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols.

You can find it here: <a href="https://www.videolan.org/vlc/index.html" title="VLC">videolan.org</a>


Contributions for maintenance and development of this open source module are always welcome https://github.com/sponsors/istnv


IMPORTANT UPDATE!

If you used this module prior to the feedback and variables version, the Play ID has changed! The prior versions sometimes worked by starting the playlist at number 3. This version retrieves the current playlist from VLC and numbers from 1 at the top.The first item in the list is always number 1 which means if you click the heading and sort the list, number 1 is still the first one on the list.

VLC does not generate an error if you enter a Play ID that is not in the playlist. It will play the active item as if the Play ID was not there.

Due to the nature of the feedback and play list synchronization, the module status shows ERROR if VLC is not running yet. This is normal. It is to let you know that buttons may not work as expected. The status will automatically change to OK when you start VLC.

Configuration

If you can successfully connect to VLC with a browser, this module will work. Enter the same information from the URL.

SettingDescription
Target IP/HOSTEnter the address of the VLC computer. You can enter 127.0.0.1 if Companion is running on the same computer. You may enter a Host name if there is a valid DNS server on the network
Target PortEnter the port VLC is listening for HTTP/REST commands. Default port for VLC is 8080.
PasswordEnter the password if required to interact with VLC
Increase timer resolutionEnable for better response and countdown timer accuracy. Disable if companion or playback is bogged down.
Number of clip names to reserveEnter how many slots to reserve for clip names. Maximum is 50 <sup>[1]</sup>
Display · for empty clips?Enable to replace empty clip name with · (bullet). Otherwise leave name blank.

[1]: Companion displays $NA when a dynamic variable is not set. The playback clip names for VLC are dynamic so if your playlist has 5 items, entering $(vlc:pname_6) will show $NA. By reserving a certain number of clip names, the module will add blank (or bullet) entries for those clips that are not in the VLC playlist. Warning: If you send VLC a command to Play an empty ID, it will ignore the ID and act like a simple Play command.

Actions

ActionDescription
PlayPlay the last active item
Play IDPlay a specific item from the playlist. If ID does not exist, this command acts like a simple Play command.
StopStop playback
Pause / ResumeToggle pause. If state is 'stopped' then play current item. If no current item then play the 1st item.
Seek ToSet playback to a particular position in the current item. See below for options.
Audio DelayAdjust audio delay (in ms) to synchronize audio and video **
NextJump to next item
PreviousJump to previous item
Full ScreenToggle full screen
LoopToggle playlist looping mode (cancels repeat mode)
ShuffleToggle playlist shuffle (random) mode
RepeatToggle item repeat mode (cancels loop mode)
Clear PlaylistClear all items from Playlist
Delete IDDelete item with ID from Playlist
VolumeAdjust VLC playback volume. Can be Absolute (0-320) or Relative (+1, -5) **
Set Playback RateSet or adjust playback playback rate. Must be larger than 0. 100 is normal speed. Add +/- to adjust by percentage. **
Add ItemAdd item to Playlist **
Add and PlayAdd item to Playlist and Play **
Delete IDDelete a specific item from the playlist

Note: All toggle style actions have options to set On, Off, or Toggle

** These actions accept dynamic variables for their options.


The Seek To Where option accepts values of the form:
      [+ or -][{int}{H or h}:][{int}{M or m or '}:][{int}{nothing or S or s or "}] or [+ or -]{int}%
      (values between [ ] are optional, values between {} are mandatory)
   Examples:
      1000 : seek to the 1000th second
      -10% : seek 10% backward
      +1H:2M : seek 1 hour and 2 minutes forward

Variables available

VariableDescription
$(INSTANCENAME:r_stat)Playback Status Character: "⏵" if running, "⏸" if paused, "⏹" if stopped
$(INSTANCENAME:r_id)VLC ID of the Playing Item
$(INSTANCENAME:r_name)Name of the Playing Item
$(INSTANCENAME:r_num)Playlist Number of the Playing Item
$(INSTANCENAME:r_time)Remaining Time for Playing Item, variable size
$(INSTANCENAME:r_left)Remaining Time for Playing Item, variable (obsolete: use r_time) size
$(INSTANCENAME:r_hhmmss)Remaining time for Playing Item as "HH:MM:SS"
$(INSTANCENAME:r_hh)Hours left for Playing Item
$(INSTANCENAME:r_mm)Minutes left for Playing Item
$(INSTANCENAME:r_ss)Seconds left for Playing Item
$(INSTANCENAME:l_time)Length of Playing Item, variable size
$(INSTANCENAME:l_hhmmss)Length Of Playing Item, "HH:MM:SS"
$(INSTANCENAME:l_hh)Length Of Playing Item, Hours
$(INSTANCENAME:l_mm)Length Of Playing Item, Minutes
$(INSTANCENAME:l_ss)Length Of Playing Item, Seconds
$(INSTANCENAME:l_time)Elapsed time for Playing Item, variable size
$(INSTANCENAME:e_hhmmss)Elapsed time for Playing Item as "HH:MM:SS"
$(INSTANCENAME:e_hh)Elapsed time Hours for Playing Item
$(INSTANCENAME:e_mm)Elapsed time Minutes for Playing Item
$(INSTANCENAME:e_ss)Elapsed time Seconds for Playing Item
$(INSTANCENAME:pname_{num})Title of the Playlist Item {num}. Limited to 20 characters. If longer this will display the first 10 and the last 10 characters of the title.
$(INSTANCENAME:v_ver)Version of VLC attached
$(INSTANCENAME:v_num)Number of items loaded in current playlist
$(INSTANCENAME:vol)Current volume value (0-320)
$(INSTANCENAME:volp)Current volume percent (Value of 256 is 100%)
$(INSTANCENAME:rate)Current playback speed as percent
$(INSTANCENAME:adelay)Current audio delay (ms)

To use these, replace INSTANCENAME with the label/name of your connection label

Feedback available

FeedbackDescription
Color for Player StateChange button colors for Player State (Stopped, Paused, Playing)
Color for Loop ModeChange button colors when in Loop Playlist Mode
Color for Repeat ModeChange button colors when in Repeat Item Mode
Color for Shuffle ModeChange button colors when in shuffle (random) play Mode
Color for Full Screen ModeChange button colors when player is Full Screen

Configuring VLC

Open the Tools-->Preferences window.

On the Main Interfaces page, Check 'Web' option box, higlighted in red.

setup1

On the Main Interfaces-->Lua page, set the password for Companion access.

setup2

Note: VLC must be closed and restarted for the password to take effect.

Details

Manufacturer
VideoLAN
Product
VLC
Latest Version
v2.7.1
Authors
Håkon Nessjøen
John A Knight Jr
Contributors
istnv(87)
Julusian(17)
JeffreyDavidsz(14)
krocheck(10)
McHauge(4)

Open Issues and Requests

patrichard#129 [Feature]: Hide password by default on connection configuration pagegefiltafish22#111 [Feature]: Volume Fadegefiltafish22#110 [BUG] VLC keeps losing connectioncorbimos#97 Open Network Stream via companion

To file a new issue, you need to sign up for a user on GitHub.

Go to GitHub issues →

In other news

Buttons v1.8 Main with text

Buttons v1.8

October 2, 2026

Buttons v1.8 IBC award win

Bitfocus wins IBC2026 Best of Show Award for latest Buttons enhancements

September 21, 2026

Buttons v1.8 grey background

Biggest functionality boost yet makes Buttons the perfect platform for broadcast and media management

September 10, 2026

Vivid Buttons on screen

Bitfocus Buttons makes complex OB production feel simple

August 10, 2026

View all news →