parent
0c8b2083ca
commit
e1d32797d7
@ -1,3 +1,8 @@ |
||||
# distributary |
||||
|
||||
A simple program that accepts RTMP streams and then restreams them directly to other services. I use it to record at a higher rate but stream to target services at the rate they want. It's also useful for streaming to multiple sites. |
||||
A simple program that accepts RTMP streams and then restreams them directly to other services. I use it to record at a higher rate but stream to target services at the rate they want. It's also useful for streaming to multiple sites. |
||||
|
||||
## Prototypes |
||||
|
||||
I have two PowerShell scripts that run ffmpeg in a way that works. There's also a way to use unix |
||||
sockets which might be better, but we'll start with this first. See `prototypes/` for more. |
||||
|
@ -0,0 +1,9 @@ |
||||
$youtube='' |
||||
$twitter='' |
||||
$twitch='' |
||||
|
||||
$youtube_br='9M' |
||||
$twitter_br='9M' |
||||
$twitch_br='7M' |
||||
|
||||
ffmpeg -listen 1 -i rtmp://192.168.254.146/ -bufsize 3000k -maxrate $twitch_br -flags +global_header -c:v libx264 -preset veryfast -tune zerolatency -g:v 60 -vb $twitch_br -c:a copy -f flv $twitch -maxrate $twitter_br -bufsize 3000k -flags +global_header -c:v libx264 -preset veryfast -tune zerolatency -vb $twitter_br -c:a copy -f flv $twitter |
@ -0,0 +1,9 @@ |
||||
$youtube='' |
||||
$twitter='' |
||||
$twitch='' |
||||
|
||||
$youtube_br='9M' |
||||
$twitter_br='9M' |
||||
$twitch_br='7M' |
||||
|
||||
ffmpeg -listen 1 -i rtmp://192.168.254.146/ -bufsize 3000k -maxrate $twitch_br -flags +global_header -c:v libx264 -preset veryfast -tune zerolatency -g:v 60 -vb $twitch_br -c:a copy -f flv $twitch |
Loading…
Reference in new issue