Convert Youtube Videos Into MPG Format



To begin with, you will need to download the Youtube video that you want. There are a number of ways in which you can do this. The most popular ones are to use the online service Vixy. there are also a number of diffrwent Firefox addons that you can use to download the video of your choice. a few of my favriout addons to do this are either Fast Video Downloader", or VidoDownloader

If you are not a fan of Firefox, then you can always use this handy little program called Youtube-dl. To install this, run the following command:

sudo apt-get install youtube-dl

Then to download the video that you need:
youtube-dl http://YOUTUBE_VIDEO-URL

Now that you have your Youtube video downloaded, you can now convert it.
To do this, you will need the ffmpeg package installed:
sudo apt-get install ffmpeg

To convert your flash file, you will need to do something like this:
ffmpeg -i FlashVideo.flv -ab 56 -ar 22050 -b 500 -s 320x240 FlashVideo.mpg

So what does all this mean?
The FlashVideo.flv is the name of your flash file.
-b : video bit rate. The default bit rate is 200. So you will only need to include this if you want a different bit rate
-ab : audio bit rate. the default is 64
-ar : sample rate. This default for this is 44100 Hz
-s : Frame Size. the format of this is Width x Height. The default is set to 160x128

This can be used for Youtube, Google Videos, and many of the other popular video hosting sites (as long as the format is .flv)




Share your views...

3 Respones to "Convert Youtube Videos Into MPG Format"

James said...

Love chrome.

http://shop.cafepress.com/design/23434596

Linux clothes!


25 January 2009 15:08
Anonymous said...

Hi,

Where are these downloaded flv files stored by default and can you change that if needed?


19 January 2010 13:45
DVD Burning said...

Excellent addons! I will try to check if it'll work on my end.


7 October 2010 14:58

Post a Comment

 

About Me

Hey! I'm Jam, a part time web developer / blogger form the UK. I have a love for anything involving Artificial Intelligence, and robotics.

I'm also quite a fan of Ubuntu Linux! And I'm guessing you are since you're here? If you would like to contribute your own posts to this blog, then please get in touch!

Thinking about getting your own website? Click on the below link for great prices, and great designs!

Jam1e.co.uk

Our Partners

Would you like to see your link here? Contact us to find out how!

© 2010 Jam's Ubuntu Linux Blog All Rights Reserved Thesis WordPress Theme Converted into Blogger Template by Hack Tutors.info