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)