Update 'README.md'

This commit is contained in:
Fierelier 2021-04-15 18:21:05 +00:00
parent 943bbd69fa
commit ebaa2d59d8
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
A TCP multi-broadcast media streaming server/client.
# Client
- `fstream-client.py 127.0.0.1:1337 watch fier 123 | ffplay -i - -fflags nobuffer -flags low_delay -infbuf -fast -framedrop` - Watch `fier`'s stream at `127.0.0.1:1337`, supplying `123` as a password, and pipe it into ffplay for playback.
- `ffmpeg -f dshow -audio_buffer_size 10 -i audio=virtual-audio-capturer -f gdigrab -framerate 30 -i desktop -vf scale=-1:480 -c:v libx264 -pix_fmt yuv420p -preset fast -tune zerolatency -c:a aac -bufsize 2M -maxrate 1M -f mpegts - | fstream-client.py 127.0.0.1:1337 broadcast fier 123` - Broadcast Windows desktop as `fier` to `127.0.0.1:1337`, supplying `123` as a password. Pipe the output from ffmpeg.
- `fstream-client.py 127.0.0.1:61920 watch fier 123 | ffplay -i - -fflags nobuffer -flags low_delay -infbuf -fast -framedrop` - Watch `fier`'s stream at `127.0.0.1:61920`, supplying `123` as a password, and pipe it into ffplay for playback.
- `ffmpeg -f dshow -audio_buffer_size 10 -i audio=virtual-audio-capturer -f gdigrab -framerate 30 -i desktop -vf scale=-1:480 -c:v libx264 -pix_fmt yuv420p -preset fast -tune zerolatency -c:a aac -bufsize 2M -maxrate 1M -f mpegts - | fstream-client.py 127.0.0.1:61920 broadcast fier 123` - Broadcast Windows desktop as `fier` to `127.0.0.1:61920`, supplying `123` as a password. Pipe the output from ffmpeg.
# Server Protocol
The protocol is currently in an early stage, and is bound to change.