找了一個ffmpeg支持h264編碼的,php調(diào)用exec利用ffmpeg轉(zhuǎn)碼時間過長,CPU使用率超過80%,問如何解決。轉(zhuǎn)碼命令 另外不知道這里面參數(shù)的含義是什么?$command='..\ffmpeg\bin\ffmpeg.exe -i ' . $file . '.' . $ext . ' -vcodec libx264 -vprofile main -preset slow -b:v 400k -maxrate 400k -bufsize 800k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -ab 128k ' .$file . '.mp4';
- 2 回答
- 0 關(guān)注
- 1177 瀏覽
添加回答
舉報(bào)
0/150
提交
取消