php+ffmpeg判斷視頻編碼格式是否h264?

<?php // 定義 FFmpeg的路徑,最好在網站的全局配置文件裏定義好 // 另外,重定向符號在FreeBSD等csh系統中爲 >& define('KC_FFMPEG_PATH', '/usr/local/bin/ffmpeg -i "%s" 2>&1'); function video_info($file) { ob_start(); passthru(sprintf(
相關文章
相關標籤/搜索