To add subtitles to video#
- drag and drop
.srt or .vtt file onto video - to sync subtitles go to
window > track syncronization > subtitles track sync - can also use
h and j keys during playtime to delay subtitles
Launch vlc from terminal#
- open terminal and execute
code ~/.zshrc - add alias by adding the following to the file
alias vlc=/Applications/VLC.app/Contents/MacOS/VLC
- save and close the file and run the following in terminal
source ~/.zshrc
- restart terminal session and run
vlc to ensure it worked
Wiki
Make a shortcut to play a radio station/a stream#
- make
xyz.sh using following command in terminal
$ code xyz.sh
- add the following code to it and save it
#!/bin/bash
/Applications/VLC.app/Contents/MacOS/VLC -I rc "https://stream.radiojar.com/nhq0vcqwuueuv?_=644092"
- change the mod of the file to make it executable
$ chmod +x xyz.sh
Increase Video buffer while sreaming#
- press
cmd + , and then `show all - go to
stream output and increase stream output muxer caching to the amount of video to buffer eg. 5000ms = 5s