I am using version of ffmpeg 1.2.3 in php . It successfully converts the video to mp4 which i can play using flv player but when i add this video to html5 video tag it doest work properly.
The Command is
shell_exec("/usr/bin/ffmpeg -i /var/www/html/vid/upload/inputfile.wmv -s 500x400 -strict -2 /var/www/html/vid/mp4videos/outputfile.mp4 2>&1");
HTML CODE
<video width="100%" height="100%" controls><source src="mp4videos/outputfile.mp4" type="video/mp4"></video>