Linux Video Conversion

ubuntu

I have recently made the transition from Windows to the latest Ubuntu distro. After being a long time Micro$oft user/abuser I figured it was time :)

As a result I am finding that things are much different now that I am on this platform and recently came up against converting a *.mp4 video to multiple other formats for use in embedding it in a web page.

As a result, I wanted to make sure that I got these out here for all to use in case they ever need an easy place to find it. (actually, it’s just so I can remember what to do LOL)

So, in order to get a video to play across most browsers you need to first convert the movies into the following formats:

  1. MP4
  2. OGV
  3. WEBM
  4. SWF

To do so in Linux (more over Ubuntu) run the following commands in Shell…  just make sure to add in the path to the original file and output files…  oh yeah, also make sure you have the following installed:  ffmpeg and ffmpeg2theora

Here are the commands for each:

MP4 to SWF

MP4 to WEBM

 MP4 to OGG

And here is the proper embed code (obviously change the height/width and add some style as you see fit):

 

WHAT PEOPLE ARE SAYING

Our clients have spoken... now it's your turn... let us know what you think and you could win a year of FREE hosting! Yes, conditions do apply

  • Kevin's exceptional programming skills helped ISI offer a unique value added service to our existing customers. His knowledge in web based database driven applications gave us the edge we needed in the market to put us ahead of the rest. I know if ISI ever decided to grow in that direction again, Kevin would be welcomed back with open arms.
  • Kevin is an honest and pleasant person to be around. He can make you laugh when you're having a bad day and go back to work 2 seconds later and be as professional as he was before he showed that he cared. He has great coding skills and would be an asset to any development team that he joins and will make work morale increase at the same time.
  • Kevin is an asset to any team that is truly focused on results. His strong industry knowledge, ability to create and implement solutions, while maintaining the highest degree of professionalism makes Kevin an asset to any organization.
  • Kevin was absolutely fantastic through this entire project! We had a few tedious tasks that he took care of immediately. We couldn't be happier with the project results and recommend him to anyone needing his services. A++++++ in my book!
  • Loved working with y'all on our little webdesignproject. I look forward to working with you in the future.

Kevin's exceptional programming skills helped ISI offer a unique value added service to our existing customers. His knowledge in web based database driven applications gave us the edge we needed in the market to put us ahead of the rest. I know if ISI ever decided to grow in that direction again, Kevin would be welcomed back with open arms.

Mark Nudelman - Sr Cloud QA Engineer - TechOps (OneCloud)