ref: 8aaeeb16fab9270b49c9f5c2329e135cad5f9a34
parent: 96dae8c3993f40aef4aec95ad035b0d34d756950
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Aug 13 07:47:48 EDT 2021
update readme
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
# rtmp
-RTMP streaming for Plan 9.
+RTMP streaming for Plan 9. Tested with Twitch and PeerTube.
## Usage (until I write a manpage)
- video/hj264 -f 10 /dev/screen | video/rtmp rtmp://....
+ video/hj264 -f 25 /dev/screen | video/rtmp -a ... rtmp://....
For how to use `rtmp` with Twitch, refer to the documentation they
provide. All you need is the correct RTMP URL. Preferably of a
@@ -16,7 +16,9 @@
[audio/aacenc](https://git.sr.ht/~ft/aacenc) is installed. Then run
this (change according to your preferences):
- video/hj264 -f 10 /dev/screen | video/rtmp -a <{audio/aacenc </dev/audio} rtmp://....
+ video/hj264 -f 25 /dev/screen | video/rtmp -a <{audio/aacenc </dev/audio} rtmp://....
+
+Twitch does not require an audio stream to be present. PeerTube seems to require it, so in case you don't want to stream audio to PeerTube, it's possible to use silence by passing `/dev/zero` instead of `/dev/audio`.
For audio loopback you can do the following: