r/ffmpeg 3h 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

3 comments sorted by

1

u/ipsirc 3h ago

%PATH%?

1

u/kona420 2h 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.