I am running a local (Windows) Nginx server for RTMP purposes. The output from OBS is send to multiple platforms (Facebook, Youtube) with the help of Nginx.
I would like to add a watermark to the outputstream, so I've tried to call ffmpeg in the conf-fie of Nginx.
For one reason ffmpeg is not getting the input from Nginx.
Anyone who can get me on track?
rtmp {
server {
listen 1935;
application origin {
live on;
meta copy;
exec ffmpeg -i rtmp://localhost/origin/$name -c:v libx264 -c:a copy -s 640x480 rtmp://a.rtmp.youtube.com/live2/XXXXXXXX;
}
application live {
live on;
meta copy;
}
}
}
I would like to add a watermark to the outputstream, so I've tried to call ffmpeg in the conf-fie of Nginx.
For one reason ffmpeg is not getting the input from Nginx.
Anyone who can get me on track?
rtmp {
server {
listen 1935;
application origin {
live on;
meta copy;
exec ffmpeg -i rtmp://localhost/origin/$name -c:v libx264 -c:a copy -s 640x480 rtmp://a.rtmp.youtube.com/live2/XXXXXXXX;
}
application live {
live on;
meta copy;
}
}
}