Answer the question
In order to leave comments, you need to log in
Is there npm for video?
I've been looking for a module for getting metadata from a video file for an hour already. Is there any way to get this data, or is it only in audio? Thanks in advance.
I found ffmetadata, there on their website, there seem to be video files, but when I try to use the module, I get an error:
{ Error: spawn ffmpeg ENOENT
at exports._errnoException (util.js:1050:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn ffmpeg',
path: 'ffmpeg',
spawnargs:
[ '-i',
ReadStream {
_readableState: [Object],
readable: true,
domain: null,
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
path: 'file.mp4',
fd: null,
flags: 'r',
mode: 438,
start: undefined,
end: undefined,
autoClose: true,
pos: undefined,
bytesRead: 0 },
'-f',
'ffmetadata',
'pipe:1' ] }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question