This file contains hidden or 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
| #!/bin/bash | |
| # Update on 2024/05/29 | |
| # 1. use wget to fetch latest frp version when curl was not installed | |
| # 2. Remind users that frp will be run in non-root user | |
| # 3. Add CI | |
| # | |
| # Update on 2024/04/13 | |
| # 1. Improved OS compatibility: try wget and then curl for downloading files. | |
| # | |
| # Update on 2024/01/26 |
This file contains hidden or 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
| # If the server has ffmpeg: | |
| ## For the server: | |
| ffmpeg -f fbdev -i /dev/fb0 -f avi pipe:1 | nc -l -p 1234 | |
| ## For the viewer: | |
| nc 127.0.0.1 1234 | ffplay -i pipe:0 | |
| # If the server doesn't have ffmpeg: | |
| ## For the server: | |
| sudo cat /dev/fb0 | nc -l -p 1234 | |
| ## For the viewer (replace 1920x1080 with the server's resolution): |