Simply trying to extract frames from a video file using ffmpeg in a .bat file and it doesn't work:
ffmpeg -i video.mp4 -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 tmp_frames/frame%08d.jpg
The error message:
Unable to find a suitable output format for '.\tmp_frames\frameC:\Test' .\tmp_frames\frameC:\Test: Invalid argument
This command works fine in PowerShell by itself, but running it as a batch file yields the above error.
Any ideas on how to fix this in the batch file?