How can I convert videos (flv, wmv, mov, m2v, etc..) to mp4 format ?

Actually, I'm trying to embedd videos in my web application (on a web browser), but to play them (flv, wmv, mov, m2v, etc..), user needs to add plugin (vlc, wmp, etc). But HTML video tags plays mp4 videos without any plugin. So, I'm trying to convert all the videos in MP4 format and embedd them using video tag.

Any kind of help would be highly appreciated.

Well, it's certainly possible to write a program that converts anything to anything else, if you know the data formats and how to map one to the other.
But it's a hell of a lot of work to do yourself. Far better to determine a narrower subset of needed conversions and purchase or otherwise attain from external sources software that can do the conversions for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.