0
I would like to compress down a live video and send it two different RTMP Server at once via ffmpeg without pushing it to two local outputs.
My Code looks like
live on;
meta copy;
record off;
sync 40ms;
hls off;
allow play all;
dash off;
publish_notify on;
wait_key on;
# Down Compress
exec_static ffmpeg -hide_banner -loglevel warning -i rtmp://localhost/inputstream -c:v libx264 -preset slow -c:a aac -c:a copy
-b:v 3500k
-bufsize 3500k
-maxrate 3500k
-rc-lookahead 30
-f flv rtmp://localhost/livedebug 2>>/var/log/ffdebug.log;
}
if i add:
-f flv rtmp://localhost/livedebug -f rtmp://localhost/test2 >>/var/log/ffdebug.log;
my log for the second output stays empty