Error: ffmpeg exited with code 1: Option framerate not found











up vote
0
down vote

favorite












Error: ffmpeg exited with code 1: Option framerate not found.
I am adding audio with images but getting error,Please help me



ffmpeg().addInput(__dirname + "/images/FullSizeRender-%1d.jpg")
.complexFilter([
// " -framerate 1",
{
filter: "zoompan",
options: {
x: "iw/2-(iw/zoom/2)",
y: "ih/2-(ih/zoom/2)",
z: "if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0040))",
d: "125",
s: "200x200"
}
}])
// here we will give the audio path
.addInput('audio path')
.addInputOption(["-framerate 1" ])
.addOutputOption(["-c:v libx264", "-r 30", "-pix_fmt yuv420p"])
.addOption("-crf", 26)
.format("mp4")
.videoBitrate("1024k")
.videoCodec("mpeg4")
.on("error", function (er) {
console.log("error occured: " + er.message, er);

})
.on("end", function (data) {
console.log("created video has been completed");

new ffmpeg({
source: finalVideoPath,
nolog: true,
})
.mergeAdd(__dirname + "/video/video.mp4")
.mergeAdd(__dirname + "/video/video2.mp4")
.mergeToFile(margeVideoPath, function (data) {
console.log("marge video", data);
});

setTimeout(() => {
//UploadVideoS3(margeVideoPath);
}, 10000);

}).save(finalVideoPath);


I am adding audio with images but getting error,Please help me










share|improve this question
























  • addInputOption(["-framerate 1" ]) belongs to the first input (image) not the audio. However, zoompan will override that. What are you trying to do?
    – Gyan
    Nov 19 at 13:11










  • @Gyan I have created a video with images successfully but I am creating a video with images and also want to add audio where i can do change for this solution.please help me
    – Pramod Gehlot
    Nov 19 at 13:18












  • Don't know how node.js wrapper works but it could be as simple as swapping addInput('audio path') .addInputOption(["-framerate 1" ])
    – Gyan
    Nov 19 at 13:31












  • @Gyan i have swapped getting different - Error: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0
    – Pramod Gehlot
    Nov 19 at 13:34

















up vote
0
down vote

favorite












Error: ffmpeg exited with code 1: Option framerate not found.
I am adding audio with images but getting error,Please help me



ffmpeg().addInput(__dirname + "/images/FullSizeRender-%1d.jpg")
.complexFilter([
// " -framerate 1",
{
filter: "zoompan",
options: {
x: "iw/2-(iw/zoom/2)",
y: "ih/2-(ih/zoom/2)",
z: "if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0040))",
d: "125",
s: "200x200"
}
}])
// here we will give the audio path
.addInput('audio path')
.addInputOption(["-framerate 1" ])
.addOutputOption(["-c:v libx264", "-r 30", "-pix_fmt yuv420p"])
.addOption("-crf", 26)
.format("mp4")
.videoBitrate("1024k")
.videoCodec("mpeg4")
.on("error", function (er) {
console.log("error occured: " + er.message, er);

})
.on("end", function (data) {
console.log("created video has been completed");

new ffmpeg({
source: finalVideoPath,
nolog: true,
})
.mergeAdd(__dirname + "/video/video.mp4")
.mergeAdd(__dirname + "/video/video2.mp4")
.mergeToFile(margeVideoPath, function (data) {
console.log("marge video", data);
});

setTimeout(() => {
//UploadVideoS3(margeVideoPath);
}, 10000);

}).save(finalVideoPath);


I am adding audio with images but getting error,Please help me










share|improve this question
























  • addInputOption(["-framerate 1" ]) belongs to the first input (image) not the audio. However, zoompan will override that. What are you trying to do?
    – Gyan
    Nov 19 at 13:11










  • @Gyan I have created a video with images successfully but I am creating a video with images and also want to add audio where i can do change for this solution.please help me
    – Pramod Gehlot
    Nov 19 at 13:18












  • Don't know how node.js wrapper works but it could be as simple as swapping addInput('audio path') .addInputOption(["-framerate 1" ])
    – Gyan
    Nov 19 at 13:31












  • @Gyan i have swapped getting different - Error: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0
    – Pramod Gehlot
    Nov 19 at 13:34















up vote
0
down vote

favorite









up vote
0
down vote

favorite











Error: ffmpeg exited with code 1: Option framerate not found.
I am adding audio with images but getting error,Please help me



ffmpeg().addInput(__dirname + "/images/FullSizeRender-%1d.jpg")
.complexFilter([
// " -framerate 1",
{
filter: "zoompan",
options: {
x: "iw/2-(iw/zoom/2)",
y: "ih/2-(ih/zoom/2)",
z: "if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0040))",
d: "125",
s: "200x200"
}
}])
// here we will give the audio path
.addInput('audio path')
.addInputOption(["-framerate 1" ])
.addOutputOption(["-c:v libx264", "-r 30", "-pix_fmt yuv420p"])
.addOption("-crf", 26)
.format("mp4")
.videoBitrate("1024k")
.videoCodec("mpeg4")
.on("error", function (er) {
console.log("error occured: " + er.message, er);

})
.on("end", function (data) {
console.log("created video has been completed");

new ffmpeg({
source: finalVideoPath,
nolog: true,
})
.mergeAdd(__dirname + "/video/video.mp4")
.mergeAdd(__dirname + "/video/video2.mp4")
.mergeToFile(margeVideoPath, function (data) {
console.log("marge video", data);
});

setTimeout(() => {
//UploadVideoS3(margeVideoPath);
}, 10000);

}).save(finalVideoPath);


I am adding audio with images but getting error,Please help me










share|improve this question















Error: ffmpeg exited with code 1: Option framerate not found.
I am adding audio with images but getting error,Please help me



ffmpeg().addInput(__dirname + "/images/FullSizeRender-%1d.jpg")
.complexFilter([
// " -framerate 1",
{
filter: "zoompan",
options: {
x: "iw/2-(iw/zoom/2)",
y: "ih/2-(ih/zoom/2)",
z: "if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0040))",
d: "125",
s: "200x200"
}
}])
// here we will give the audio path
.addInput('audio path')
.addInputOption(["-framerate 1" ])
.addOutputOption(["-c:v libx264", "-r 30", "-pix_fmt yuv420p"])
.addOption("-crf", 26)
.format("mp4")
.videoBitrate("1024k")
.videoCodec("mpeg4")
.on("error", function (er) {
console.log("error occured: " + er.message, er);

})
.on("end", function (data) {
console.log("created video has been completed");

new ffmpeg({
source: finalVideoPath,
nolog: true,
})
.mergeAdd(__dirname + "/video/video.mp4")
.mergeAdd(__dirname + "/video/video2.mp4")
.mergeToFile(margeVideoPath, function (data) {
console.log("marge video", data);
});

setTimeout(() => {
//UploadVideoS3(margeVideoPath);
}, 10000);

}).save(finalVideoPath);


I am adding audio with images but getting error,Please help me







node.js ffmpeg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 at 13:08









Gyan

29.8k22464




29.8k22464










asked Nov 19 at 12:54









Pramod Gehlot

104211




104211












  • addInputOption(["-framerate 1" ]) belongs to the first input (image) not the audio. However, zoompan will override that. What are you trying to do?
    – Gyan
    Nov 19 at 13:11










  • @Gyan I have created a video with images successfully but I am creating a video with images and also want to add audio where i can do change for this solution.please help me
    – Pramod Gehlot
    Nov 19 at 13:18












  • Don't know how node.js wrapper works but it could be as simple as swapping addInput('audio path') .addInputOption(["-framerate 1" ])
    – Gyan
    Nov 19 at 13:31












  • @Gyan i have swapped getting different - Error: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0
    – Pramod Gehlot
    Nov 19 at 13:34




















  • addInputOption(["-framerate 1" ]) belongs to the first input (image) not the audio. However, zoompan will override that. What are you trying to do?
    – Gyan
    Nov 19 at 13:11










  • @Gyan I have created a video with images successfully but I am creating a video with images and also want to add audio where i can do change for this solution.please help me
    – Pramod Gehlot
    Nov 19 at 13:18












  • Don't know how node.js wrapper works but it could be as simple as swapping addInput('audio path') .addInputOption(["-framerate 1" ])
    – Gyan
    Nov 19 at 13:31












  • @Gyan i have swapped getting different - Error: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0
    – Pramod Gehlot
    Nov 19 at 13:34


















addInputOption(["-framerate 1" ]) belongs to the first input (image) not the audio. However, zoompan will override that. What are you trying to do?
– Gyan
Nov 19 at 13:11




addInputOption(["-framerate 1" ]) belongs to the first input (image) not the audio. However, zoompan will override that. What are you trying to do?
– Gyan
Nov 19 at 13:11












@Gyan I have created a video with images successfully but I am creating a video with images and also want to add audio where i can do change for this solution.please help me
– Pramod Gehlot
Nov 19 at 13:18






@Gyan I have created a video with images successfully but I am creating a video with images and also want to add audio where i can do change for this solution.please help me
– Pramod Gehlot
Nov 19 at 13:18














Don't know how node.js wrapper works but it could be as simple as swapping addInput('audio path') .addInputOption(["-framerate 1" ])
– Gyan
Nov 19 at 13:31






Don't know how node.js wrapper works but it could be as simple as swapping addInput('audio path') .addInputOption(["-framerate 1" ])
– Gyan
Nov 19 at 13:31














@Gyan i have swapped getting different - Error: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0
– Pramod Gehlot
Nov 19 at 13:34






@Gyan i have swapped getting different - Error: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 3 on filter Parsed_concat_0
– Pramod Gehlot
Nov 19 at 13:34



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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',
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%2fstackoverflow.com%2fquestions%2f53375112%2ferror-ffmpeg-exited-with-code-1-option-framerate-not-found%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53375112%2ferror-ffmpeg-exited-with-code-1-option-framerate-not-found%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

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

Refactoring coordinates for Minecraft Pi buildings written in Python