Categories:


- System -

- Internet -

- Video -

- Audio -

- Pictures -

- Other -


HOW TO install Ubuntu - complete guide

List of everyday used applications (in process)








HOW TO get mp3 file from youtube



Open the video on youtube you wish to get mp3 file from. Wait for the video to load completely. Go to Places>Home Folder in upper left corner. Where it says Location type:

/tmp

This is the temporary folder and here you will see a file called FlashACK23K or something similar. If you have many files like this search for the right one (open each one to find the right one if preview not working). Click on it ONCE. Then press F2 on your keyboard. Now press CTRL+C to copy the name of the file. Press ESC to leave the file name unchanged. Right click on the background of the folder, not on any of the files in /tmp. And Click on

Open in Terminal

If you don't have this option. Open terminal (Upper left corner -> Applications -> Accessories -> Terminal ) and type:

sudo apt-get install nautilus-open-terminal

Now you will get that option next time you log on, but while in terminal simply type:

cd /tmp

Now type:

ffmpeg -i nameOfFileInTmpFolder -ac 2 -ar 44100 -ab 320 ~/Desktop/nameOfSong.mp3

You can get name of file in temp folder by using F2 as described before, and pasting it in terminal with CTRL+SHIFT+INSERT.

If ffmpeg is not working type this in terminal:

sudo apt-get install lame ffmpeg

Then try again the ffmpeg command.
ac - channel number
ar - sample rate
ab - bitrate

You can change ab from 320 to 64 to get smaller mp3 file. Of course the quality will decrease too. After ffmpeg completes you can find your song on your Desktop.


If you think getting video from /tmp is ugly you can always install the DownloadHelper plugin for Firefox.


You can leave a comment at the homepage.



SEARCH



  • Ubuntu official

  • Ubuntuguide, helps you start using Ubuntu

  • Order latest Ubuntu cd at your doorstep, for FREE


  • If you have problems installing programs with 'apt-get' or 'aptitude' be sure you have enabled universe repositories.
    Click here to see how to enable them.