I am new to python, this is my first real project, and I came to the checkpoint. I have a .wmv file, I use FFprobe to extract the duration in seconds from a .wmv file. When I run the following command in CMD:
ffprobe -i Video2.wmv -show_entries format=duration -v quiet -of csv="p=0"
I get a successful exit.
However, when I use os.system, like this:
os.system('ffprobe -i Video2.wmv -show_entries format=duration -v quiet -of csv="p=0"')
I get the following output:
'ffprobe' is not recognized as an internal or external command, operable program or batch file.
This is very confusing, and I could not find a solution to this exact problem on the Internet, any input would be greatly appreciated.
mattp341
source share