get-video-duration: Could not find ffprobe executable
this could be an issue with dependencies not up to date, or within the ffprobe package itself. I am running into an error saying Could not find ffprobe executable. Not sure if this has been addressed yet or I am the first to tell you.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 18 (5 by maintainers)
I had this issue also, everything worked fine on windows… But when I ran on an azure ubuntu agent I got the error about not finding the ffprobe executable.
I also have @ffmpeg-installer/ffmpeg and fluent-mpeg installed and am ultimately chopping up some cypress videos with ffmpeg commands. I was using get-video-duration in this process.
Incidentally I got a similar message when trying to use ffprobe directly to get the video duration (some maybe the problem lies elsewhere):
Ultimately I got around the problem by using a different module, node-video-lib to get video durations and everything is working again (this doesnt use ffmpeg/ffprobe).
I dont know if this helps anybody.
I spent a lot of time trying to resolve it so would love to know what is actually going on here
I bumped get-video-duration down a version and things have been working file. currently running on
3.0.2it worked with the last update 👌
My bad, I thought I had published v4.1.0 to NPM already 😓
I just released it
hi @Sumolari is there any chance of publishing v4.1.0 on the npm registry?
Yes, @paintoshi 's method worked for me. In my case I was using this in a Next.js app. I’m also deploying my app with Docker so I just added the following line to my Dockerfile, and then it would move the binary (which I also installed separately from @ffprobe-installer) into the place where the next app looks for it.