-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Script I use:
import { concat } from 'node-ffmpeg-concat';
await concat({
output: 'test.mp4',
videos: ['01.01_img.mp4', '01.01.mp4', '01.02_img.mp4', '01.02.mp4'],
transition: {
name: 'directionalWipe',
duration: 500,
},
});
console.log('Finished');The error I'm getting (on different frames):
PS D:\MyPath> node .\script.mjs
D:\MyPath\node_modules\fluent-ffmpeg\lib\processor.js:180
handleExit(new Error('ffmpeg exited with code ' + code));
^
Error: ffmpeg exited with code 4294967268: frame= 4834 fps= 29 q=-0.0 Lsize=N/A time=00:03:13.88 bitrate=N/A speed=1.16x
video:39155400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
at ChildProcess. (D:\MyPath\node_modules\fluent-ffmpeg\lib\processor.js:180:22)
at ChildProcess.emit (node:events:508:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Node.js v24.10.0
PS D:\MyPath> node .\script.mjs
D:\MyPath\node_modules\fluent-ffmpeg\lib\processor.js:180
handleExit(new Error('ffmpeg exited with code ' + code));
^
Error: ffmpeg exited with code 4294967268: frame= 4789 fps= 61 q=-0.0 Lsize=N/A time=00:03:12.04 bitrate=N/A speed=2.44x
video:38790900kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
at ChildProcess. (D:\MyPath\node_modules\fluent-ffmpeg\lib\processor.js:180:22)
at ChildProcess.emit (node:events:508:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Node.js v24.10.0
Due to the different frames, I guess there is some kind of timeout. Is that possible?
Some details about the error would be useful, e.g., the ffmpeg version, which file was being processed, the actual command that ffmpeg was provided. I mean debug data when the error is thrown.
Nevertheless, I am glad that the project is under development!