does ffmpeg-php have a silent setting or any way to keep it from displaying errors? the cl开发者_如何学Pythonosest I've seen were for running ffmpeg via command line in Linux.
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
精彩评论