Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to convert a Video to MP3?

I am using 12.04 . I have found a question that have the solution

How to convert a Video to MP3?

But when i tried the answer i got this problem .

subbu@subbu-300E4Z-300E5Z-300E7Z:~$ sudo apt-get install ffmpeg libavcodec-unstripped-52.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libavcodec-unstripped-52.
E: Couldn't find any package by regex 'libavcodec-unstripped-52.'
share|improve this question

marked as duplicate by Jorge Castro, Geppettvs D'Constanzo, Mik, Jjed, jokerdino Sep 29 '12 at 15:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

To whoever has voted to reopen this: Can you explain why this should not be considered a duplicate of that question? (It seems to me that this should be merged, rather than reopened.) – Eliah Kagan Oct 1 '12 at 20:53
@EliahKagan yup! thats me. Reason : he got an Error and no solution for that . – Raja Oct 7 '12 at 13:39

Open vlc media player. Then file - convert/save and select the video file you need. Then add the destination (should be example.mp3 file). Choose the profile: audio - mp3 so you save only the sound of the video. Good luck.

share|improve this answer
Learnt something new about wonderful VLC media player. Thanks you. – Mantosh Kumar Dec 8 '14 at 1:59
Great idea. Thank you. – chuyenvien94 Feb 27 at 11:29

You can do that with Audacity.

Audacity is a multi-track audio editor for Linux/Unix, MacOS and Windows. It is designed for easy recording, playing and editing of digital audio. Audacity features digital effects and spectrum analysis tools. Editing is very fast and provides unlimited undo/redo.

Supported file formats include Ogg Vorbis, MP2, MP3, WAV, AIFF, and AU.1

To download and install click the image below.

Install via the software center

1Source:Ubuntu Apps Directory

For more help, this YouTube video shows how to use Audacity to perform the conversion.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.