Skip to content

Instantly share code, notes, and snippets.

@pschichtel
Created May 18, 2019 14:26
Show Gist options
  • Save pschichtel/afd2b7c0e97a6e4c6f6e7c2a37a0f76c to your computer and use it in GitHub Desktop.
Save pschichtel/afd2b7c0e97a6e4c6f6e7c2a37a0f76c to your computer and use it in GitHub Desktop.
Simple script to play the video from a capture card
#!/bin/bash
device=/dev/video2
amixer -c stk1160mixer sset Line unmute cap
vlc -vvv --color --input-slave=alsa://pulse --live-caching=300 \
--v4l2-standard=PAL --deinterlace-mode=yadif \
--video-filter=deinterlace "v4l://${device}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment