I have used FFMPEG command to convert flv video file to mp4 and use html5 video tag and play video in browser. But after the video is converted to mp4 using ffmpeg it does n
I think this is way off the answer you are looking for, but you really need to try Miro Video Converter.
I've used it in several projects and the video works great on Firefox, Opera, Chrome, Internet Explorer. And also works on mobile devices.
A beautiful, simple way to convert almost any video to MP4, WebM (vp8), Ogg Theora, or for Android, iPhone, and iPad. Batch conversion, custom sizing, and more!
100% Free and open-source.
Combine it with video.js and your done!
This is the HTML I use for it:
<video id="video" class="video-js vjs-default-skin" width="960" height="540">
<source src="http://www.domain.com/video.mp4" type='video/mp4' />
<source src="http://www.domain.com/video.webm" type='video/webm' />
<source src="http://www.domain.com/video.ogv" type='video/ogg' />
</video>
I have had similar problems - when combining png/mp3 from one collection, all went fine, but combining jpg/mp3 from another collection couldn't be played in browser but everything worked fine in vlc. I had already found that -pix_fmt was the issue and it worked when re-combining the png collection but not when re-combining the jpg collection, UNLESS using -vf scale as well.