VLC Bridge

by zuluwi
5
4
3
2
1
Score: 54/100

Description

Category: 3rd Party Integrations

The VLC Bridge plugin enhances your Obsidian experience by enabling seamless integration with VLC Player. It allows you to control VLC from within Obsidian, including opening videos and pasting timestamped links or snapshots directly into your notes. You can also manage subtitle files and create links that open specific video moments. This plugin supports Syncplay for synchronized video playback with multiple users. By offering these features, the plugin enables you to take notes and interact with videos without switching between apps, making it ideal for video-based content management in your Obsidian vault.

Reviews

No reviews yet.

Stats

23
stars
3,320
downloads
1
forks
789
days
221
days
221
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
10
total issues
3
open issues
7
closed issues
75
commits

README file from

Github

This plugin

  • Starts VLC Player with the Web Interface active and opens video addresses written in Obsidian URI format at the specified time,
  • Pastes timestamped link or snapshot from existing video into note
  • Allows you to control the player by sending request to the VLC Web Interface with commands,

so you can take notes from the video without losing focus from the Obsidian Editor.

Installation

Turn off Settings → Community plugins → Restricted mode, click Settings → Community plugins → Browse and search for "VLC Bridge" or open this link, then install and enable it.

Or:

With BRAT

  1. Install and activate BRAT by opening the obsidian://show-plugin?id=obsidian42-brat link or from Settings → Community plugins → Browse
  2. Install VLC Bridge by using the Add a beta plugin for testing command and then entering zuluwi/obsidian-vlc-bridge or by opening the link obsidian://brat?plugin=zuluwi/obsidian-vlc-bridge

Manual

  1. Download Latest version
  2. Create a new folder at <vault_location>/.obsidian/plugins
  3. Move the downloaded main.js and manifest.json files to this folder
  4. Turn off Settings → Community plugins → Restricted mode and enable VLC Bridge in Installed plugins.

Usage

[!important] To use the plugin,

  • for Windows, you must first select vlc.exe in the plugin settings from the location where VLC Media Player is installed,
  • for Linux and macOS, you must install the vlc command line on your system

and then set a port number

Opening Video

  • Using the Select a file to open with VLC Player command or by clicking on the icon in the sidebar
  • By clicking on a timestamp link you created with the plugin
  • or by dragging and dropping a video to the player you have already opened with the plugin

you can control VLC Player with the plugin for videos you open in these ways.

[!tip] If you want to be able to use the plugin when you open VLC yourself on your computer, you must save the parameters you set in the plugin settings in the VLC preferences

  1. Open Tools → Preferences → select "All" in "Show Settings" at the bottom-left corner → Interface → Main interfaces and check Web, then in Main interfaces → Lua set the password to vlcPassword in the Lua HTTP header
  2. select "Simple" in "Show Settings" at the bottom-left corner → Video → Video snapshots and set Directory to the folder you set in the plugin settings
  3. VLC Player uses port 8080 and this cannot be changed in the preferences, so you have to set the port to 8080 in the plugin settings.

Open the command palette (Ctrl+P) and use the command Paste timestamped link of current video to paste the timestamped link of the current video where the cursor is in the editor.

Link Syntax:

[{{Timestamp Linktext}}](obsidian://vlcBridge?mediaPath=<File URI>&subPath=<File URI or Absolute Path>&subDelay=<in seconds>&timestamp=<hh:mm:ss.ms or in seconds or percentage value>)

[!tip]

  • Check Pause video while pasting timestamp in Settings
  • You can add delay with Timestamp offset setting
  • In the Link templates settings you can set Timestamp linktext and a template for how to paste the link

If you want to include the subtitle link in the video link, instead of dragging the subtitle to the VLC Player, use the Add subtitles command to select the file and add it to the video, otherwise the plugin will not be able to access the existing subtitle in the player.

Add Snapshot Embed

Open the command palette (Ctrl+P) and use the Take and paste snapshot from video command to paste a snapshot of the current video with the timestamped link where the cursor is in the editor.

[!tip]

  • Check Pause video while pasting snapshot in Settings
  • If you want to open the exact frame in the snapshot with the timestamp link, enable Use percentile position instead of seconds as timestamp value in the link in Settings
  • In the Link templates settings you can set Snapshot linktext and a template for how to paste the snapshot embed

Transcript View

Open the command palette and use the Open transcript view command to view the subtitles with .srt, .vtt, or .ass extensions in the video you added using the Add subtitles command or opened with a link containing the subPath value, based on the transcript template you set in the settings.

Running Syncplay with plugin arguments

Syncplay is an application that connects to an online server to open the preferred player and synchronizes the connected players. If the syncplay command line is installed on your system, or in Windows by selecting Syncplay.exe from the plugin settings and clicking the Start Syncplay button, you can start Syncplay so that the plugin interacts with the VLC Player that the app will open.

[!tip] Create a shortcut with the url obsidian://vlcBridge-runSyncplay to open Obsidian and then Syncplay

Contribution

My knowledge of using Git and collaborative project management is very limited, and I only spend time on this plugin at long gaps. If you have new ideas about the plugin or additions you want to make, please feel free to fork the repository and release a new version. If these changes are related to issues in the repository, please feel free to redirect those who opened the issue to the versions you released. 🙏

Attributions

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
AI Transcriber
4 months ago by Musashino Software
AI-powered speech-to-text transcription using OpenAI GPT-4o and Whisper APIs
Autoplay & Loop
2 years ago by Zerkshop & Wapply
This Obsidian plugin auto reproduces content inside notes.
Cloudinary
3 years ago by Uday Samsani, Jordan Handy
Cloudinary plugin for content uploading and transformation.
Geulo
2 years ago by Junyoung Bang
Extension for pulling and syncing the videos that you liked in Youtube to Obsidian vault.
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
Media Extended
5 years ago by AidenLx
Transform your Obsidian into a powerful video note-taking tool. 🖇️🗂️⏯️
Media Slider
a year ago by Aditya Amatya
An obsidian plugin that helps to make slider for images, audios, videos, pdfs, markdown, etc in obsidian notes.
Memories
3 months ago by DIMFLIX
Plugin to display a gallery directly in a note.
mpv links
2 years ago by patsh90
Obisidian plugin for creating and using video links
Notion Video Embed
4 years ago by lastknightcoder
TikToker
2 months ago by ameyxd
Save TikTok videos as markdown notes with embedded content and metadata extraction.
Timestamp Notes
4 years ago by Julian Grunauer
This plugin allows side-by-side notetaking with videos. Annotate your notes with timestamps to directly control the video and remember where each note comes from.
YouTube Template
2 years ago by sundevista
📺 A plugin that would help you to fetch YouTube videos data into your vault.