How to extract the audio from an mp4 video to a mp3 file?
I'd like to extract the audio from an mp4 video. Is there a software for Ubuntu, which does the job?
sound mp3 mp4
add a comment |
I'd like to extract the audio from an mp4 video. Is there a software for Ubuntu, which does the job?
sound mp3 mp4
4
possible duplicate of How can I extract audio from MP4 or FLV video files?
– Takkat
Oct 21 '14 at 21:27
add a comment |
I'd like to extract the audio from an mp4 video. Is there a software for Ubuntu, which does the job?
sound mp3 mp4
I'd like to extract the audio from an mp4 video. Is there a software for Ubuntu, which does the job?
sound mp3 mp4
sound mp3 mp4
edited Oct 21 '14 at 19:34
Sylvain Pineau
48.4k16104149
48.4k16104149
asked Oct 21 '14 at 18:11
empedokles
1,526113355
1,526113355
4
possible duplicate of How can I extract audio from MP4 or FLV video files?
– Takkat
Oct 21 '14 at 21:27
add a comment |
4
possible duplicate of How can I extract audio from MP4 or FLV video files?
– Takkat
Oct 21 '14 at 21:27
4
4
possible duplicate of How can I extract audio from MP4 or FLV video files?
– Takkat
Oct 21 '14 at 21:27
possible duplicate of How can I extract audio from MP4 or FLV video files?
– Takkat
Oct 21 '14 at 21:27
add a comment |
3 Answers
3
active
oldest
votes
I think that the most detailed answer with several options can be found here:
How can I convert audio from MP4 or FLV video files to mp3?
add a comment |
You can use ffmpeg
:
ffmpeg -i /PATH/TO/INPUT.mp4 /PATH/TO/OUTPUT.mp3
If it is not installed, you can install it with:
sudo apt-get install ffmpeg
You can find a help page on using ffmpeg here, or by running ffmpeg --help
or man ffmpeg
. On some versions of ubuntu it is sometimes called avconv
, which is largely similar in functionality.
For the above commands, you use the Terminal, which can be accessed by opening it from the dash/launcher, or by pressing Ctrl+Alt+T.
2
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Useavconv
with same terminology instead.
– Takkat
Oct 21 '14 at 21:30
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
2
At a guessffmpeg -i in.mp4 -vn -c:a copy out.m4a
-vn
removes the video andc:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g.ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).
– Wilf
Aug 6 '15 at 18:01
add a comment |
If you don't want to use the terminal and you don't have any real demands to do the job, you can always use VLC player to do this, which is probably installed in your distribution.
- Open VLC player.
- From the menu bar, please select "Media" and then "Convert/Save".
- Click "Add" and select your file.
- Click "Convert/Save".
- You should then select "Audio - MP3", enter a name in the "Destination File" and then click "Start".
Your file should converted to MP3 format in no time.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f539878%2fhow-to-extract-the-audio-from-an-mp4-video-to-a-mp3-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think that the most detailed answer with several options can be found here:
How can I convert audio from MP4 or FLV video files to mp3?
add a comment |
I think that the most detailed answer with several options can be found here:
How can I convert audio from MP4 or FLV video files to mp3?
add a comment |
I think that the most detailed answer with several options can be found here:
How can I convert audio from MP4 or FLV video files to mp3?
I think that the most detailed answer with several options can be found here:
How can I convert audio from MP4 or FLV video files to mp3?
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Oct 21 '14 at 20:22
sboda
43028
43028
add a comment |
add a comment |
You can use ffmpeg
:
ffmpeg -i /PATH/TO/INPUT.mp4 /PATH/TO/OUTPUT.mp3
If it is not installed, you can install it with:
sudo apt-get install ffmpeg
You can find a help page on using ffmpeg here, or by running ffmpeg --help
or man ffmpeg
. On some versions of ubuntu it is sometimes called avconv
, which is largely similar in functionality.
For the above commands, you use the Terminal, which can be accessed by opening it from the dash/launcher, or by pressing Ctrl+Alt+T.
2
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Useavconv
with same terminology instead.
– Takkat
Oct 21 '14 at 21:30
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
2
At a guessffmpeg -i in.mp4 -vn -c:a copy out.m4a
-vn
removes the video andc:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g.ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).
– Wilf
Aug 6 '15 at 18:01
add a comment |
You can use ffmpeg
:
ffmpeg -i /PATH/TO/INPUT.mp4 /PATH/TO/OUTPUT.mp3
If it is not installed, you can install it with:
sudo apt-get install ffmpeg
You can find a help page on using ffmpeg here, or by running ffmpeg --help
or man ffmpeg
. On some versions of ubuntu it is sometimes called avconv
, which is largely similar in functionality.
For the above commands, you use the Terminal, which can be accessed by opening it from the dash/launcher, or by pressing Ctrl+Alt+T.
2
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Useavconv
with same terminology instead.
– Takkat
Oct 21 '14 at 21:30
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
2
At a guessffmpeg -i in.mp4 -vn -c:a copy out.m4a
-vn
removes the video andc:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g.ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).
– Wilf
Aug 6 '15 at 18:01
add a comment |
You can use ffmpeg
:
ffmpeg -i /PATH/TO/INPUT.mp4 /PATH/TO/OUTPUT.mp3
If it is not installed, you can install it with:
sudo apt-get install ffmpeg
You can find a help page on using ffmpeg here, or by running ffmpeg --help
or man ffmpeg
. On some versions of ubuntu it is sometimes called avconv
, which is largely similar in functionality.
For the above commands, you use the Terminal, which can be accessed by opening it from the dash/launcher, or by pressing Ctrl+Alt+T.
You can use ffmpeg
:
ffmpeg -i /PATH/TO/INPUT.mp4 /PATH/TO/OUTPUT.mp3
If it is not installed, you can install it with:
sudo apt-get install ffmpeg
You can find a help page on using ffmpeg here, or by running ffmpeg --help
or man ffmpeg
. On some versions of ubuntu it is sometimes called avconv
, which is largely similar in functionality.
For the above commands, you use the Terminal, which can be accessed by opening it from the dash/launcher, or by pressing Ctrl+Alt+T.
edited Jul 2 '18 at 11:46
answered Oct 21 '14 at 18:31
Wilf
21.2k1066128
21.2k1066128
2
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Useavconv
with same terminology instead.
– Takkat
Oct 21 '14 at 21:30
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
2
At a guessffmpeg -i in.mp4 -vn -c:a copy out.m4a
-vn
removes the video andc:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g.ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).
– Wilf
Aug 6 '15 at 18:01
add a comment |
2
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Useavconv
with same terminology instead.
– Takkat
Oct 21 '14 at 21:30
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
2
At a guessffmpeg -i in.mp4 -vn -c:a copy out.m4a
-vn
removes the video andc:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g.ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).
– Wilf
Aug 6 '15 at 18:01
2
2
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Use
avconv
with same terminology instead.– Takkat
Oct 21 '14 at 21:30
At present ffmpeg can not be installed easily on Ubuntu >= 14.04. Use
avconv
with same terminology instead.– Takkat
Oct 21 '14 at 21:30
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
How can I keep the original audio data without re-compressing it? I have an mp4 file with aac audio.
– ygoe
Aug 6 '15 at 17:22
2
2
At a guess
ffmpeg -i in.mp4 -vn -c:a copy out.m4a
- vn
removes the video and c:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g. ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).– Wilf
Aug 6 '15 at 18:01
At a guess
ffmpeg -i in.mp4 -vn -c:a copy out.m4a
- vn
removes the video and c:a copy
copies the audio track over. mp3 is a different format so it would need to be re-compressed (with e.g. ffmpeg -i in.mp4 -vn -ab 250k out.mp3
).– Wilf
Aug 6 '15 at 18:01
add a comment |
If you don't want to use the terminal and you don't have any real demands to do the job, you can always use VLC player to do this, which is probably installed in your distribution.
- Open VLC player.
- From the menu bar, please select "Media" and then "Convert/Save".
- Click "Add" and select your file.
- Click "Convert/Save".
- You should then select "Audio - MP3", enter a name in the "Destination File" and then click "Start".
Your file should converted to MP3 format in no time.
add a comment |
If you don't want to use the terminal and you don't have any real demands to do the job, you can always use VLC player to do this, which is probably installed in your distribution.
- Open VLC player.
- From the menu bar, please select "Media" and then "Convert/Save".
- Click "Add" and select your file.
- Click "Convert/Save".
- You should then select "Audio - MP3", enter a name in the "Destination File" and then click "Start".
Your file should converted to MP3 format in no time.
add a comment |
If you don't want to use the terminal and you don't have any real demands to do the job, you can always use VLC player to do this, which is probably installed in your distribution.
- Open VLC player.
- From the menu bar, please select "Media" and then "Convert/Save".
- Click "Add" and select your file.
- Click "Convert/Save".
- You should then select "Audio - MP3", enter a name in the "Destination File" and then click "Start".
Your file should converted to MP3 format in no time.
If you don't want to use the terminal and you don't have any real demands to do the job, you can always use VLC player to do this, which is probably installed in your distribution.
- Open VLC player.
- From the menu bar, please select "Media" and then "Convert/Save".
- Click "Add" and select your file.
- Click "Convert/Save".
- You should then select "Audio - MP3", enter a name in the "Destination File" and then click "Start".
Your file should converted to MP3 format in no time.
answered Oct 21 '14 at 19:09
nikaltipar
594413
594413
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f539878%2fhow-to-extract-the-audio-from-an-mp4-video-to-a-mp3-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
4
possible duplicate of How can I extract audio from MP4 or FLV video files?
– Takkat
Oct 21 '14 at 21:27