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
node.js ffmpeg
add a comment |
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
node.js ffmpeg
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 swappingaddInput('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
add a comment |
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
node.js ffmpeg
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
node.js ffmpeg
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 swappingaddInput('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
add a comment |
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 swappingaddInput('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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%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
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
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