doc: update README
This commit is contained in:
parent
add511e3dd
commit
dcc1376dce
56
README.md
56
README.md
@ -8,11 +8,11 @@
|
|||||||
Octoplex is a live video restreamer for the terminal.
|
Octoplex is a live video restreamer for the terminal.
|
||||||
|
|
||||||
* Restream RTMP/RTMPS to unlimited destinations
|
* Restream RTMP/RTMPS to unlimited destinations
|
||||||
* Broadcast using OBS and other standard tools
|
* Broadcast using OBS or any standard tool
|
||||||
* Add and remove destinations while streaming
|
* Add and remove destinations on-the-fly
|
||||||
* Automatic reconnections
|
* Automatic reconnections on drop
|
||||||
* Terminal user interface with real-time container metrics and health status
|
* Terminal UI with live metrics and health status
|
||||||
* Built on FFmpeg, Docker and other proven free software
|
* Powered by FFmpeg, Docker & other open source tools
|
||||||
|
|
||||||
## How it works
|
## How it works
|
||||||
|
|
||||||
@ -70,11 +70,43 @@ Launch the `octoplex` binary.
|
|||||||
$ octoplex
|
$ octoplex
|
||||||
```
|
```
|
||||||
|
|
||||||
### Connecting with OBS
|
### Restreaming with OBS
|
||||||
|
|
||||||
To connect with OBS, configure it to stream to `rtmp://localhost:1935/live`.
|
#### RTMP
|
||||||
|
|
||||||

|
Use the following OBS stream configuration:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
#### RTMPS
|
||||||
|
|
||||||
|
Or to connect with RTMPS:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
:warning: Warning: OBS may not accept self‑signed certificates.
|
||||||
|
|
||||||
|
If you see the error
|
||||||
|
|
||||||
|
> "The RTMP server sent an invalid SSL certificate."
|
||||||
|
|
||||||
|
then either install a CA‑signed cert for your RTMPS host, or import your
|
||||||
|
self‑signed cert into your OS’s trusted store. See the
|
||||||
|
[configuration](#Configuration) section below.
|
||||||
|
|
||||||
|
### Restreaming with FFmpeg
|
||||||
|
|
||||||
|
#### RTMP
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ffmpeg -i input.mp4 -c copy -f flv rtmp://localhost:1935/live
|
||||||
|
```
|
||||||
|
|
||||||
|
#### RTMPS
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ffmpeg -i input.mp4 -c copy -f flv rtmps://localhost:1936/live
|
||||||
|
```
|
||||||
|
|
||||||
### Subcommands
|
### Subcommands
|
||||||
|
|
||||||
@ -86,7 +118,7 @@ None|Launch the terminal user interface
|
|||||||
`version`|Print the version
|
`version`|Print the version
|
||||||
`help`|Print help screen
|
`help`|Print help screen
|
||||||
|
|
||||||
### Configuration file
|
### Configuration
|
||||||
|
|
||||||
Octoplex stores configuration state in a simple YAML file. (See [above](#subcommands) for its location.)
|
Octoplex stores configuration state in a simple YAML file. (See [above](#subcommands) for its location.)
|
||||||
|
|
||||||
@ -100,9 +132,9 @@ sources:
|
|||||||
mediaServer:
|
mediaServer:
|
||||||
streamKey: live # defaults to "live"
|
streamKey: live # defaults to "live"
|
||||||
host: rtmp.example.com # defaults to "localhost"
|
host: rtmp.example.com # defaults to "localhost"
|
||||||
tls: # optional. If RTMPS is enabled, defaults to a
|
tls: # optional TLS settings; RTMPS support is automatic.
|
||||||
cert: /etc/mycert.pem # self-signed keypair corresponding to the host
|
cert: /etc/mycert.pem # If you omit cert/key, a self-signed keypair will be
|
||||||
key: /etc/mykey.pem # key.
|
key: /etc/mykey.pem # generated using the `host` value above.
|
||||||
rtmp:
|
rtmp:
|
||||||
enabled: true # defaults to false
|
enabled: true # defaults to false
|
||||||
ip: 127.0.0.1 # defaults to 127.0.0.1
|
ip: 127.0.0.1 # defaults to 127.0.0.1
|
||||||
|
BIN
assets/obs2.png
Normal file
BIN
assets/obs2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Loading…
x
Reference in New Issue
Block a user