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

2019-07-29 Thread Reindl Harald
Am 29.07.19 um 18:36 schrieb Peter B.: > On 29/07/2019 15:48, Reindl Harald wrote: >> >> 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

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

2019-07-29 Thread Peter B.
On 29/07/2019 15:48, Reindl Harald wrote: > > 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

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

2019-07-29 Thread Reindl Harald
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

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

2019-07-29 Thread Peter B.
On 29/07/2019 04:48, Jim DeLaHunt wrote: > On 2019-07-27 11:33, Peter B. wrote: >> …[snip]… I was also wondering if all of the information PHP wiki >> article is still >> up-to-date, since it was last modified 5 years ago? >> >> …[snip]… >> # Links: >> [1] https://trac.ffmpeg.org/wiki/PHP … > >

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

2019-07-28 Thread Jim DeLaHunt
On 2019-07-27 11:33, Peter B. wrote: …[snip]… I was also wondering if all of the information PHP wiki article is still up-to-date, since it was last modified 5 years ago? …[snip]… # Links: [1] https://trac.ffmpeg.org/wiki/PHP … Perhaps this represents an opportunity for you to easily improve

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

2019-07-27 Thread Reindl Harald
Am 27.07.19 um 22:19 schrieb Peter B.: > I'm aware of PHP's shortcomings, but this is not a web application and > it only runs locally. forgot: so matter what, your webserver *never* excutes such stuff directly so it's always some sort of crojob or systemd service starting with "while(true)" no

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

2019-07-27 Thread Reindl Harald
Am 27.07.19 um 22:19 schrieb Peter B.: > Thanks for your replies! :) > > On 27/07/2019 21:18, Reindl Harald wrote: >>> https://www.php.net/manual/en/function.putenv.php >> but how does it matter anyways? > > Sure I found putenv before, but as I said: It felt a bit unnecessarily > complicated

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

2019-07-27 Thread Peter B.
Thanks for your replies! :) On 27/07/2019 21:18, Reindl Harald wrote: >> https://www.php.net/manual/en/function.putenv.php > but how does it matter anyways? Sure I found putenv before, but as I said: It felt a bit unnecessarily complicated ("overkill"), so I thought I'd better ask. > you are

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

2019-07-27 Thread Reindl Harald
Am 27.07.19 um 21:14 schrieb Reindl Harald: > > > Am 27.07.19 um 20:33 schrieb Peter B.: >> However, "-report" only allows setting the filename by environment >> variable - which might be a problem in some PHP environments, and it >> somehow seems overkill to me... > >

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

2019-07-27 Thread Reindl Harald
Am 27.07.19 um 20:33 schrieb Peter B.: > However, "-report" only allows setting the filename by environment > variable - which might be a problem in some PHP environments, and it > somehow seems overkill to me... https://www.php.net/manual/en/function.putenv.php

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

2019-07-27 Thread Reindl Harald
Am 27.07.19 um 20:45 schrieb Paul B Mahol: > For the reasons, PHP is dead and insecure don't drink and post! PHP is dead? on which planet? PHP itself is only unsecure as every other programming language when the programmer is an clueluess idiot, and yes: every language has it's pitfulls you

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

2019-07-27 Thread Paul B Mahol
On Sat, Jul 27, 2019 at 8:33 PM Peter B. wrote: > Hi everyone! > > I'd like to call FFmpeg from PHP, and I'm very grateful for all the > information in the Wiki [1]! > It feels like the "-report" option [2] that writes a logfile seems like > the more straightforward way to write the output to a

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

2019-07-27 Thread Peter B.
Hi everyone! I'd like to call FFmpeg from PHP, and I'm very grateful for all the information in the Wiki [1]! It feels like the "-report" option [2] that writes a logfile seems like the more straightforward way to write the output to a file rather than redirecting stdout/stderr. However,