FFMPEG - Problems mixing multiple audios until one hour has elapsed. AMIX and ADELAY












0















I use ffmpeg to mix audios. I need my final file to last one hour, so I create a while in PHP that will increment the incoming audio. In the end I have a huge command, I execute the same in the terminal but I am given "Killed" after executing the ffmpeg command.



my server is an EC2 on AWS, t2.medium with 4 GB of RAM, CPU with two core



ulimit - a:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31534
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31534
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


return from ffmpeg:

  amix -> Stream # 0: 0 (libmp3lame)
Press [q] to stop, [?] For help
Output # 0, mp3, to 'uploads / products / 18_01_2019_melodia.mp3':
  Metadata:
    TCON: Other
    TSSE: Lavf57.83.100
    Stream # 0: 0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
    Metadata:
      Encoder: Lavc57.107.100 libmp3lame
Killed 5888kB time = 00: 06: 26.56 bitrate = 124.8kbits / s speed = 6.7x









share|improve this question




















  • 1





    Missing full uncut ffmpeg output, like ffmpeg version.

    – Paul B. Mahol
    Jan 18 at 10:52











  • Ffmpeg version is version 3.4

    – Marcos Ricardo
    Jan 27 at 11:21











  • I do not understand why it does not work on the server and my machine works. The only difference is the version of ffmpeg that is 4.1

    – Marcos Ricardo
    Jan 27 at 11:25
















0















I use ffmpeg to mix audios. I need my final file to last one hour, so I create a while in PHP that will increment the incoming audio. In the end I have a huge command, I execute the same in the terminal but I am given "Killed" after executing the ffmpeg command.



my server is an EC2 on AWS, t2.medium with 4 GB of RAM, CPU with two core



ulimit - a:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31534
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31534
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


return from ffmpeg:

  amix -> Stream # 0: 0 (libmp3lame)
Press [q] to stop, [?] For help
Output # 0, mp3, to 'uploads / products / 18_01_2019_melodia.mp3':
  Metadata:
    TCON: Other
    TSSE: Lavf57.83.100
    Stream # 0: 0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
    Metadata:
      Encoder: Lavc57.107.100 libmp3lame
Killed 5888kB time = 00: 06: 26.56 bitrate = 124.8kbits / s speed = 6.7x









share|improve this question




















  • 1





    Missing full uncut ffmpeg output, like ffmpeg version.

    – Paul B. Mahol
    Jan 18 at 10:52











  • Ffmpeg version is version 3.4

    – Marcos Ricardo
    Jan 27 at 11:21











  • I do not understand why it does not work on the server and my machine works. The only difference is the version of ffmpeg that is 4.1

    – Marcos Ricardo
    Jan 27 at 11:25














0












0








0








I use ffmpeg to mix audios. I need my final file to last one hour, so I create a while in PHP that will increment the incoming audio. In the end I have a huge command, I execute the same in the terminal but I am given "Killed" after executing the ffmpeg command.



my server is an EC2 on AWS, t2.medium with 4 GB of RAM, CPU with two core



ulimit - a:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31534
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31534
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


return from ffmpeg:

  amix -> Stream # 0: 0 (libmp3lame)
Press [q] to stop, [?] For help
Output # 0, mp3, to 'uploads / products / 18_01_2019_melodia.mp3':
  Metadata:
    TCON: Other
    TSSE: Lavf57.83.100
    Stream # 0: 0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
    Metadata:
      Encoder: Lavc57.107.100 libmp3lame
Killed 5888kB time = 00: 06: 26.56 bitrate = 124.8kbits / s speed = 6.7x









share|improve this question
















I use ffmpeg to mix audios. I need my final file to last one hour, so I create a while in PHP that will increment the incoming audio. In the end I have a huge command, I execute the same in the terminal but I am given "Killed" after executing the ffmpeg command.



my server is an EC2 on AWS, t2.medium with 4 GB of RAM, CPU with two core



ulimit - a:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31534
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31534
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


return from ffmpeg:

  amix -> Stream # 0: 0 (libmp3lame)
Press [q] to stop, [?] For help
Output # 0, mp3, to 'uploads / products / 18_01_2019_melodia.mp3':
  Metadata:
    TCON: Other
    TSSE: Lavf57.83.100
    Stream # 0: 0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp (default)
    Metadata:
      Encoder: Lavc57.107.100 libmp3lame
Killed 5888kB time = 00: 06: 26.56 bitrate = 124.8kbits / s speed = 6.7x






audio ffmpeg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 18 at 10:39









Ahmed Ashour

1,3201715




1,3201715










asked Jan 18 at 10:06









Marcos RicardoMarcos Ricardo

1




1








  • 1





    Missing full uncut ffmpeg output, like ffmpeg version.

    – Paul B. Mahol
    Jan 18 at 10:52











  • Ffmpeg version is version 3.4

    – Marcos Ricardo
    Jan 27 at 11:21











  • I do not understand why it does not work on the server and my machine works. The only difference is the version of ffmpeg that is 4.1

    – Marcos Ricardo
    Jan 27 at 11:25














  • 1





    Missing full uncut ffmpeg output, like ffmpeg version.

    – Paul B. Mahol
    Jan 18 at 10:52











  • Ffmpeg version is version 3.4

    – Marcos Ricardo
    Jan 27 at 11:21











  • I do not understand why it does not work on the server and my machine works. The only difference is the version of ffmpeg that is 4.1

    – Marcos Ricardo
    Jan 27 at 11:25








1




1





Missing full uncut ffmpeg output, like ffmpeg version.

– Paul B. Mahol
Jan 18 at 10:52





Missing full uncut ffmpeg output, like ffmpeg version.

– Paul B. Mahol
Jan 18 at 10:52













Ffmpeg version is version 3.4

– Marcos Ricardo
Jan 27 at 11:21





Ffmpeg version is version 3.4

– Marcos Ricardo
Jan 27 at 11:21













I do not understand why it does not work on the server and my machine works. The only difference is the version of ffmpeg that is 4.1

– Marcos Ricardo
Jan 27 at 11:25





I do not understand why it does not work on the server and my machine works. The only difference is the version of ffmpeg that is 4.1

– Marcos Ricardo
Jan 27 at 11:25










0






active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395694%2fffmpeg-problems-mixing-multiple-audios-until-one-hour-has-elapsed-amix-and-ad%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395694%2fffmpeg-problems-mixing-multiple-audios-until-one-hour-has-elapsed-amix-and-ad%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix