Open Boris-Sachet opened 2 years ago
Hey @Boris-Sachet
I'm new here, but I ran into this immediately as well. The problem was that ffmpeg (and ffprobe) weren't installed on my system.
This Python package is just a wrapper for the crazy commands for ffmpeg on the command line, it doesn't actually install ffmpeg as a program on your computer.
I'm on a Mac, so I just ran ran brew install ffmpeg
on the command line, and then ran the following code in iPython:
import ffmpeg
details = ffmpeg.probe('test.mp4')
And it worked perfectly.
Hope this helps!
Hi, I was making a small python 3.8 script to sort photos and videos according to their metadata on my Synology NAS (working on DSM 7.0), overall it works well on ubuntu but it fails on the NAS with this error :
I've been searching everywhere for help on this issue, I saw this post and tried the solutions but I still got the error on any video I try to read metadata from.
ffmpeg is installed and so are ffmpeg-python and ffprobe-python
Here's my test code: