I have a batch file containing lines like these:
ffmpeg -i "D:\input.mpg" -ss 00:00:00 -to 00:00:26 -c:v copy -c:a copy "D:\output 001.mp4"
ffmpeg -i "D:\input.mpg" -ss 00:00:24 -to 00:01:30 -c:v copy -c:a copy "D:\output 002.mp4"
The purpose of these lines is to extract specified excerpts from input.mpg. For instance, the first command is supposed to extract the first 26 seconds from input.mpg and place that excerpt in a file called output1.mp4.
When I run that batch file, the command window just keeps repeating the first command, as if I had typed ECHO in front of it and ran it inside a FOR loop. Why isn't CMD running the FFmpeg command?