Skip to content

Instantly share code, notes, and snippets.

@nimaid
Last active June 8, 2020 02:19
Show Gist options
  • Select an option

  • Save nimaid/7de48a5f055ccf594d38cb235d54bf13 to your computer and use it in GitHub Desktop.

Select an option

Save nimaid/7de48a5f055ccf594d38cb235d54bf13 to your computer and use it in GitHub Desktop.
A helper script to launch VLC optimized for playback to a VCR for recording
#!/bin/bash
pkill -f vlc
vlc \
--aspect-ratio 3:2 \
--no-qt-bgcone \
--no-osd \
--start-paused \
--play-and-pause \
--no-qt-fs-controller \
--audio-filter compressor \
--mouse-hide-timeout=0 \
"$1" >/dev/null 2>&1 &
xdotool search --sync --onlyvisible --name "VLC media player" \
windowfocus \
key F11 \
key CTRL+H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment