简体   繁体   中英

ffmpeg Not converting some mov videos to mp4

I am using ffmpeg to convert videos, command works fine for all videos format including mov but it not converting some mov videos,i don't understand is it problem in mov video? although that video playing good on player The commands which i am trying :

$command = "$ffmpeg_path -i $video_path -acodec copy -ar 22050 -ab 32 -f mp4 -s 858x480 $mobile_video.mp4";

OR

$command="$ffmpeg_path -i $video_path -codec:v libx264 -preset slow -b:v 550k -maxrate 550k -bufsize 1100k -threads 0 -codec:a libfdk_aac -b:a 128k $mobile_video.mp4";

OR

$command="$ffmpeg_path -i $video_path -vcodec copy -acodec copy $mobile_video.mp4";

I try all these commands but some mov videos not converted to mp4

有趣的评论,因为这里有一个完整的讨论(可能的答案): ffmpeg将mov文件转换为HTML5视频标签IE9的mp4

ffmpeg -i input.mov -c:v libx264 -c:a libfaac -strict experimental output.mp4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM