1.检查php环境是否禁用shell_exec函数
2.检查是否安装ffmpeg ffmpeg -version
我执行的是 "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 " . escapeshellarg($videoPath);
但返回的是null,结果是需要获取ffprobe全路径 which ffprobe
1.检查php环境是否禁用shell_exec函数
2.检查是否安装ffmpeg ffmpeg -version
我执行的是 "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 " . escapeshellarg($videoPath);
但返回的是null,结果是需要获取ffprobe全路径 which ffprobe