I run the ffmpeg command in PHP shell_exec () to convert multiple videos to a list. In any case, to determine if an error occurred during the conversion of the video (or at least make sure that it completed the conversion completely)?
I do not want to stop converting other videos if an error occurs, as well as the ability to record errors.
<?php shell_exec('ffmpeg -i downloads/flv/file1.flv -vcodec libvpx -acodec libvorbis downloads/webm/file1.webm'); if(error) {
source share