I tried the following method on my Debian system and it works.
Create the file
#!/bin/bash echo $@ >> /tmp/ffmpeg.log ARGS=$@ #ARGS=$(echo "$ARGS" | sed 's/-s 1280x720/-s 854x480/') exec /usr/bin/ffmpeg $ARGS
and set the execute permissions
chmod 755 /usr/local/bin/ffmpeg
echoline is only to watch what is coming from Jibri
- Customize the ARGS value according to your needs. For example the commented
sedline changes the resolution from
- You can add some parameters too. For example you can add multiple stream destinations.