1

I would like to compile ffmpeg with fixed arguments, ie: ffmpeg -i rtsp://localhost/live -vcodec copy -acodec copy -f flv rtmp://remotehost/live

I can't for security reasons call it from an external script, this must be included in the ffmpeg binary. Prblem is that the source codes are very big , so do u know a simple way to do that ?

Tx

2
  • why my questions is disabled ? is this not computing ? Commented Mar 7, 2020 at 16:50
  • I think this is actually on topic. But it really seems like an XY problem (xyproblem.info). If you can run a random binary (which you compiled) on a system it does not make sense that you cannot control its arguments.
    – slhck
    Commented Mar 10, 2020 at 14:52

0

Browse other questions tagged .