Unzip the flv video file in Ubuntu10.10 and capture the audio mp3.

Source: Internet
Author: User
Tags flv file gstreamer
A common method on the Internet is to use mecoder. Ffmpeg is also useful. In fact, you can use mplayer, but mplayer is not installed by default. Gnomemplayer, mplayer, And the firefox plug-in gecko-player of mplayer (used to replace the Integrated Audio player of windowsmediaplayer in internetexplorer playback webpage. However, codec must be fully installed, especially win32c.

A common method on the Internet is to use mecoder.

Ffmpeg is also useful.

In fact, you can use mplayer, but mplayer is not installed by default. Gnome mplayer, mplayer, And the firefox plug-in gecko-player of mplayer (used to replace the function of windows media player to play the integrated audio player on the internet explorer webpage. However, codec must be fully installed, especially win32codec and ffmpeg. mp3 decoder such as fluendo or replacement, lame, gstreamer-uugly, gstreamer-uugly-multiverse, gstreamer-good and bad, of course these are installed. Some systems are called w32codec)

This command is only available in command line mode. Gnome is used by Ubuntu by default, and kde has never been tried. Start gnome-terminal

Run the cd command to enter the folder where the flv file is located.
. For example, my flv file is 360000028.flv.
Then the command line,
Sudo mplayer-dumpaudio 360000028.flv-dumpfile 360000028133
A prompt is displayed on the command line interface. My mplayer is version 1.0 rc4.
After that, the FLV folder will generate the file named 360000028133. Play the video.

However, there is a problem. Although the extracted mp3 files are quick, the estimation of the playback progress will be distorted.
This problem also occurs in gadgets with similar functions in windows.

However, if you do not drag the progress bar to play the video, it is not a problem. Normal playback is okay. Dragging the progress bar of the Media Player may cause the player to terminate abnormally.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.