Created
March 17, 2018 13:38
-
-
Save itshaadi/6988c75a2c529a56d0de6ba7a6d70500 to your computer and use it in GitHub Desktop.
Streaming System Sound With VLC
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 | |
set vlc="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" | |
start "" %vlc% --qt-start-minimized dshow:// :dshow-vdev=none :dshow-adev="Stereo Mix (Realtek High Definition Audio)" :live-caching=10 :sout=#transcode{vcodec=none,acodec=vorb,ab=500,channels=2,samplerate=44100}:http{dst=:8080/audiostream.ogg} :sout-keep:dshow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after executing this file visit
127.0.0.1:8080/audiostream.ogg
and if your windows machine is connected to a network, you can visit the IP address of your machine on other devices. (eg: streaming spotify with a free account on your phone)