![]() |
|
Think about Loose Coupling | |
PerlMonks |
Executing program with arguments from cgi scriptby natol44 (Sexton) |
on Jan 24, 2021 at 17:27 UTC ( #11127377=perlquestion: print w/replies, xml ) | Need Help?? |
natol44 has asked for the wisdom of the Perl Monks concerning the following question:
Greetings! I need to run ffmpeg from a CGI script, of course with arguments: Video to process, watermark to add, etc, and output file. I put all this in one variable: my $order = "$ffmpeg -i $video -i $watermark parameters etc $output"; with $ffmpeg is the program's address, $video the video address etc. then I tried with system "$order"; and `$order`; Nothing works. If I write the output content of $order in the SSH command line, it works. Where am I wrong? Thank you!
Back to
Seekers of Perl Wisdom
|
|