Linux can use mencoder to extract the audio in the video

  
Everyone is accustomed to using Windows system. Because Linux is a bit professional after all. Most of our ordinary people have limited expertise in computers. In Windows, we usually use the conversion software or playback software to save the audio in the video. Under Linux, you can use mencoder to extract the audio from the video. Let's take a look at the way to separate audio from video in Linux:

Step 1, first install mencoder. For Ubuntu, there is mencoder in the software repository, you can directly enter the following command to install

Sudo apt-get install mencoder

Step 2, enter
at the command line

mencoder -oac MP3lame -ovc copy -of rawaudio video file -o audio file

where video file Is the path to your video source file, the audio file is the name of the file you want to output. The audio file format extracted by this command is MP3 format.

Copyright © Windows knowledge All Rights Reserved