开发者

ffmpeg-php silent setting

开发者 https://www.devze.com 2022-12-18 12:08 出处:网络
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,

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号