I searched everywhere here and on google - there is no valid team that works for IE9. some like IE9 something is missing. Everything I tried worked everywhere: chrome, safari, mobile device, etc ... I need one command that will convert it, and I can use it in each device to support mp4 in the HTML5 tag.
I use the following commands:
ffmpeg -i movie.mov -vcodec copy -acodec copy out.mp4 ffmpeg -i movie.mov -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -b:a 128k -pix_fmt yuv420p outa.mp4 ffmpeg -i movie.mov -b:V 1500k -vcodec libx264 -preset fast -g 30 adel.mp4 ffmpeg -i movie.mov -acodec aac -strict experimental -ac 2 -ab 160k -vcodec libx264 -preset slow -f mp4 -crf 22 lamlam.mp4 ffmpeg -i movie.mov -acodec aac -strict experimental -ac 2 -ab 160k -vcodec libx264 -preset slow -profile:v baseline -level 30 -maxrate 10000000 -bufsize 10000000 -f mp4 -threads 0 adiel.mp4
etc. again, all these commands produce a valid mp4 file that works on chrome, safari, etc .... and works even when I run them in the windows themselves using the window media player. When I put this file in the video tag (I use http://videojs.com/ ) in IE9, it does not work!
<div class="vidoco-content" style="margin-top: 20px;"> <video id="divVid" class="video-js vjs-default-skin vidoco-center" controls preload="none" width="600" height="400" poster="<?php echo(DOMAIN); ?>static/test.jpg"> <source src="<?php echo(DOMAIN); ?>static/out.mp4" type="video/mp4" /> </video>
If I use the miro video converter software to convert the same mov file to mp4, it will convert perfectly and I can play it in IE9! miro converter also uses embedd ffmpeg inside it, so I'm sure this is only an indication of the correct ffmpeg command and parameters. In my apache htaccess, I set the correct mime types for my files, and I see that this is really correct when searching in IE developer tools:
AddType audio/aac .aac AddType audio/mp4 .mp4 .m4a AddType audio/mpeg .mp1 .mp2 .mp3 .mpg .mpeg AddType audio/ogg .oga .ogg AddType audio/wav .wav AddType audio/webm .webm AddType video/mp4 .mp4 .m4v AddType video/ogg .ogv AddType video/webm .webm
I have been struggling with this for a long time, so any help would be greatly appreciated.
Thank!
internet-explorer-9 html5-video ffmpeg video codec
Adidi Mar 20 '13 at 13:21 2013-03-20 13:21
source share