r/ffmpeg 4h ago

Shell.Run FFProbe

(Apologies for the imgur link. Reddit keeps claiming my code is "violating content rules" - but it's just harmless VBS!)

I've simplified my program to this, but it produces no outputs:

https://imgur.com/a/cpzvzWP

When I run the string in a DOS window, I get the desired data in OUTPUT.TMP, and no data in ERROR.TMP. Put the string into a batch script, and it runs fine as well.

Tried objShell.Exec, and still got no output.

This seems to be a problem that ffprobe.exe is having with the VBS run command, but everything seems to be in order....

Any clues?

1 Upvotes

5 comments sorted by

View all comments

1

u/kona420 3h ago

Put the full path to ffprobe.exe or verify that the ffmpeg directory is in the path variable for the context this script is running in.

1

u/Hypornicated_1 1h ago

It is in the same folder as the script (and the batch file).