Fastest way to concatenate list of audio files of different format?
ffmpeg -i a.mp3 -i b.wav -i c.mp3 -i d.aac -i e.mp3 -i f.mp3 -filter_complex concat=n=4:v=0:a=1[a] -map [a] -codec:a libmp3lame -b:a 256k vout.mp3
This is the command I'm using currently to concatenate a list of audio files. Is there any faster way to merge songs using ffmpeg ?
ffmpeg
add a comment |
ffmpeg -i a.mp3 -i b.wav -i c.mp3 -i d.aac -i e.mp3 -i f.mp3 -filter_complex concat=n=4:v=0:a=1[a] -map [a] -codec:a libmp3lame -b:a 256k vout.mp3
This is the command I'm using currently to concatenate a list of audio files. Is there any faster way to merge songs using ffmpeg ?
ffmpeg
add a comment |
ffmpeg -i a.mp3 -i b.wav -i c.mp3 -i d.aac -i e.mp3 -i f.mp3 -filter_complex concat=n=4:v=0:a=1[a] -map [a] -codec:a libmp3lame -b:a 256k vout.mp3
This is the command I'm using currently to concatenate a list of audio files. Is there any faster way to merge songs using ffmpeg ?
ffmpeg
ffmpeg -i a.mp3 -i b.wav -i c.mp3 -i d.aac -i e.mp3 -i f.mp3 -filter_complex concat=n=4:v=0:a=1[a] -map [a] -codec:a libmp3lame -b:a 256k vout.mp3
This is the command I'm using currently to concatenate a list of audio files. Is there any faster way to merge songs using ffmpeg ?
ffmpeg
ffmpeg
asked Jan 11 at 7:02
Lins LouisLins Louis
1012
1012
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
No, there is no faster way.
Since you are concatenating files with different codecs and containers, you have to pass the audio through a concat filter, which requires re-encoding.
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
add a comment |
Try a different encoder. If you prefer MP3 try shine. From the shine website:
shine is a blazing fast mp3 encoding library implemented in
fixed-point arithmetic. The library can thus be used to performe super
fast mp3 encoding on architectures without a FPU, such as armel, etc..
It is also, however, also super fast on architectures with a FPU!
You can see some benchmarks on the same site.
You'll need to install shine, configure ffmpeg with --enable-libshine, and use it with -c:a libshine.
Quality per bitrate may not be as good as LAME, but mobile users won't care or notice.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f1393050%2ffastest-way-to-concatenate-list-of-audio-files-of-different-format%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
No, there is no faster way.
Since you are concatenating files with different codecs and containers, you have to pass the audio through a concat filter, which requires re-encoding.
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
add a comment |
No, there is no faster way.
Since you are concatenating files with different codecs and containers, you have to pass the audio through a concat filter, which requires re-encoding.
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
add a comment |
No, there is no faster way.
Since you are concatenating files with different codecs and containers, you have to pass the audio through a concat filter, which requires re-encoding.
No, there is no faster way.
Since you are concatenating files with different codecs and containers, you have to pass the audio through a concat filter, which requires re-encoding.
answered Jan 11 at 7:45
slhckslhck
160k47445467
160k47445467
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
add a comment |
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
Thanks for your reply. I'm currently developing an android app with FFmpeg integrated. for concatenating 2 audio file my phone taking about 5 minutes with this command. But another app already in the play store doing the same in a minute with FFmpeg. So, I think I have to improve my coding side to improve encoding speed.
– Lins Louis
Jan 11 at 9:04
add a comment |
Try a different encoder. If you prefer MP3 try shine. From the shine website:
shine is a blazing fast mp3 encoding library implemented in
fixed-point arithmetic. The library can thus be used to performe super
fast mp3 encoding on architectures without a FPU, such as armel, etc..
It is also, however, also super fast on architectures with a FPU!
You can see some benchmarks on the same site.
You'll need to install shine, configure ffmpeg with --enable-libshine, and use it with -c:a libshine.
Quality per bitrate may not be as good as LAME, but mobile users won't care or notice.
add a comment |
Try a different encoder. If you prefer MP3 try shine. From the shine website:
shine is a blazing fast mp3 encoding library implemented in
fixed-point arithmetic. The library can thus be used to performe super
fast mp3 encoding on architectures without a FPU, such as armel, etc..
It is also, however, also super fast on architectures with a FPU!
You can see some benchmarks on the same site.
You'll need to install shine, configure ffmpeg with --enable-libshine, and use it with -c:a libshine.
Quality per bitrate may not be as good as LAME, but mobile users won't care or notice.
add a comment |
Try a different encoder. If you prefer MP3 try shine. From the shine website:
shine is a blazing fast mp3 encoding library implemented in
fixed-point arithmetic. The library can thus be used to performe super
fast mp3 encoding on architectures without a FPU, such as armel, etc..
It is also, however, also super fast on architectures with a FPU!
You can see some benchmarks on the same site.
You'll need to install shine, configure ffmpeg with --enable-libshine, and use it with -c:a libshine.
Quality per bitrate may not be as good as LAME, but mobile users won't care or notice.
Try a different encoder. If you prefer MP3 try shine. From the shine website:
shine is a blazing fast mp3 encoding library implemented in
fixed-point arithmetic. The library can thus be used to performe super
fast mp3 encoding on architectures without a FPU, such as armel, etc..
It is also, however, also super fast on architectures with a FPU!
You can see some benchmarks on the same site.
You'll need to install shine, configure ffmpeg with --enable-libshine, and use it with -c:a libshine.
Quality per bitrate may not be as good as LAME, but mobile users won't care or notice.
answered Jan 11 at 18:27
lloganllogan
25.4k54679
25.4k54679
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f1393050%2ffastest-way-to-concatenate-list-of-audio-files-of-different-format%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