I am converting the video into mp4(H.264 and aac codec) using ffmpeg in linux and try to run the video from server using HTML5. It doesnt work.But if I run the video in local, using wamp server its playing smoothly.
FFMpeg comment
ffmpeg -i inputfile.avi -sameq -acodec libfaac -ab 128kb -vcodec libx264 -b 1157kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 312×176 -title X outputfile.mp4
HTML 5 Coding
<!DOCTYPE HTML>
<html>
<body>
<video width="320" height="240" controls="controls">
<source src="testfile_mov.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</body>
</html>
I tested the content type with web sniffer.It gives the text/html.How can I play the HTML5 from my webserver.
In chrome I get the blank screen(Chrome from other sites HTML5 videos are playing.Chrome downloaded and installed today).And In safari its working.(Safari version 5.0.3)