Last active
April 26, 2023 12:15
-
-
Save jfacorro/5129e1854faf66ae634e265b87cca73e to your computer and use it in GitHub Desktop.
Cast X server to chromecast
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
# https://github.com/thibauts/node-castv2-client | |
# https://github.com/thibauts/node-castv2 | |
sudo apt-get install xserver-xorg-core | |
sudo apt-get install xvfb | |
sudo apt-get install scrot | |
sudo apt-get install libav-tools | |
# https://weblog.lkiesow.de/20160215-raspberry-pi-screen-mirroring/ | |
avconv -f x11grab -s 1024x768 -i :0.0 -c:v mpeg4 -f mpegts udp://192.168.0.8:8888 | |
# With a nice HTTP server | |
ffmpeg -f x11grab -s 1024x768 -i :0.0 -c:v mpeg4 -listen 1 -f mpegts http://192.168.0.11:8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment