jsalita
jsalita

Reputation: 57

ffmpeg-php silent setting

does ffmpeg-php have a silent setting or any way to keep it from displaying errors? the closest I've seen were for running ffmpeg via command line in Linux.

Upvotes: 1

Views: 735

Answers (1)

user336242
user336242

Reputation:

Not that I'm aware of, but as a sort if work around you could install your own error handler which could catch and sort your ffmpeg errors. It's cleaner than using the @ symbol and has worked for me in the past.

http://php.net/manual/en/function.set-error-handler.php

Upvotes: 1

Related Questions