[FFmpeg-user] Calling FFmpeg from PHP: How to set logfile? (report)

Reindl Harald h.reindl at thelounge.net
Mon Jul 29 16:48:41 EEST 2019

Am 29.07.19 um 11:51 schrieb Peter B.:
> Just to be noted:
> This use case is merely using PHP as scripting language instead of e.g.
> BASH. No Apache, no webserver, just PHP locally. This also means that
> I'm not running FFmpeg execution in the background, because there's no
> user waiting for a webpage to refresh.

completly irrelevant, the ffmpeg binary don't care from where it was called

"using PHP as scripting language instead of e.g. BASH" - besides that
PHP implicitly starts /bin/sh in the bckground which is the reason why
you can forbid exec() and friends with
"InaccessiblePaths=-/usr/bin/bash" in a webserver unit :-)

More information about the ffmpeg-user mailing list