Last active
June 5, 2024 18:50
-
-
Save philippgitpush/091d882cc83abbe46ef3da65ba570f93 to your computer and use it in GitHub Desktop.
Script for quickly starting VLC to view the video feed from a capture device, such as the Elgato Game Capture HD60 S+, with settings for aspect ratio and low latency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd "C:\Program Files\VideoLAN\VLC" | |
set /p include_audio=Include audio? (Y/N): | |
if /i "%include_audio%"=="Y" ( | |
start "" vlc.exe --no-qt-privacy-ask --no-qt-updates-notif --no-video-title-show dshow:// :dshow-vdev="Game Capture HD60 S+" :dshow-adev="Digital Audio Interface (Game Capture HD60 S+)" :live-caching=120 :dshow-aspect-ratio=16\:9 | |
) else ( | |
start "" vlc.exe --no-qt-privacy-ask --no-qt-updates-notif --no-video-title-show dshow:// :dshow-vdev="Game Capture HD60 S+" :dshow-adev=none :live-caching=0 :dshow-aspect-ratio=16\:9 | |
) | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment