Abrar Khan
Abrar Khan

Reputation: 175

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

Upvotes: 1

Views: 1554

Answers (1)

ketchupisred
ketchupisred

Reputation: 651

Interesting comment because there was an entire discussion (and possible answer) here: ffmpeg convert mov file to mp4 for HTML5 video tag IE9

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

Upvotes: 0

Related Questions