Open shoestrong opened 1 year ago
Cannot read properties of null (reading 'streams') [FF] Creator production error. FFEvent { type: 'error', pos: 'preProcessing', error: "Cannot read properties of null (reading 'streams')" } node:events:491 throw er; // Unhandled 'error' event
When using FFVideo, such an error occurs, how should I solve it.
I use the example in https://github.com/tnfe/FFCreator/blob/master/examples/video.js is also such an error
node: v14.20.0 ffmpeg version 5.1-tessus Copyright (c) 2000-2022 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) mac: macOS Monterey 12.4 / Intel
I ran into this and it was because the path video1 was incorrect:
video1
const fvideo = new FFVideo({ path: video1,
Make sure this is a path that starts with your project's root.
When using FFVideo, such an error occurs, how should I solve it.
I use the example in https://github.com/tnfe/FFCreator/blob/master/examples/video.js is also such an error
node: v14.20.0 ffmpeg version 5.1-tessus Copyright (c) 2000-2022 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) mac: macOS Monterey 12.4 / Intel