Is there an application that allows me to extract the audio from a MP4 or FLV video file and store it as an MP3 file for use in a portable media player?
|
You can do the same in 12.04 by using several software. Using WinFF
Using VLC
Using command line
To Just extract audioCheck these answer |
|||||||||||||||||||||
|
|
you can do it using ffmpeg. Install ffmpeg using following command:
The package libavcodec-unstripped-52 is available in Multiverse repo, so you will need to enable it.
The -i option in the above command is simple: it is the path to the input file. The second option -f mp3 tells ffmpeg that the ouput is in mp3 format. The third option i.e -ab 192000 tells ffmpeg that we want the output to be encoded at 192Kbps and -vn tells ffmpeg that we dont want video. The last param is the name of the output file. |
|||||||||||||||||||||
|
|
soundconverter is another tool that can convert audio formats and also video to audio only: or via the terminal:
|
|||||
|
|
It is very easy to do with WinFF (install it), which is a GUI for ffmpeg.
Done. Screenshot:
|
|||
|
|
|
Audacity can also open a flv file and export it as mp3, flac and other formats
My favorite way is to use
In fact the audio in a flv (and mp4) file is in |
||||
|
|
|
soundconverter It can be installed in the Software Center (by clicking the above link) or by running these commands in a Terminal (Ctrl+Alt+T):
|
|||||||||
|
|
You can convert your media files using VLC player. Load a media file => to convert: Menubar > Media > Convert/Save. |
|||||
|
|
Transmageddon You can also use Transmagedon Video Converter to convert video file to sound file. Or in trminal:
To convert to MP4, you have to select in Can convert to
|
||||
|
|
|
I used VLC media player to convert a .flv file to a .mp4/mp3 file. Audacity failed at even loading the complete file. It could load only the first 8 seconds and I could export the audio. But, VLC was the fastest! Let every other piece of software be! |
|||
|
|
|
mkvtoolnix is a good package, it can extract by tracks, chapters or specific timings at the same time.
You want to extract TrackID 2 by each chapters (assume the long video)
You get numbered files, output_audio001, output_audio002... Then convert each audio file to mp3 |
|||
|
|
protected by Community♦ Jul 8 '13 at 18:29
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?











mp4andflvvideo files containaacaudio. To have that audio asmp3is easy, but there may be some problems converting between lossy formats. The input and output bit-rates have to be considered. See the discussions in the different answers under this question. Maybe the best solution would be to keep the audio inaacformat, that is in them4acontainer - more here – cipricus Aug 30 '13 at 9:40mp4andflvvideo files can contain sound in many formats includingaacandmp3. For example the FLV container specification mentions no less than 15 types of supported sound codecs/types. – Octavian Naicu Oct 26 '15 at 15:25aacinmp4tomp3inmp3) OR just copy it over to the new container (mp3inmp4tomp3inmp3). – Octavian Naicu Oct 28 '15 at 12:06