Skip to content

Instantly share code, notes, and snippets.

@itshaadi
Created March 17, 2018 13:38
Show Gist options
  • Save itshaadi/6988c75a2c529a56d0de6ba7a6d70500 to your computer and use it in GitHub Desktop.
Save itshaadi/6988c75a2c529a56d0de6ba7a6d70500 to your computer and use it in GitHub Desktop.
Streaming System Sound With VLC
@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
@itshaadi
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment