Thanks Michael for the recommendation. Spaces removed; however, same error.
set /p filename="Enter Unconverted File Name: " set /p outputfilename="Enter Converted File Name: " CALL "C:\ffmpeg\bin\ffmpeg.exe" "C:\ffmpeg\bin\ffmpeg -i %filename% %outputfilename%" pause Kirk Calabrese, MA,CMT, Network+ Certified Professional IT Consultant -----Original Message----- From: ffmpeg-user <[email protected]> On Behalf Of Michael Koch Sent: Friday, September 28, 2018 9:47 AM To: [email protected] Subject: Re: [FFmpeg-user] Batch file to convert Am 28.09.2018 um 15:20 schrieb [email protected]: > Thank you Michael: > > Based on new information, I have revised the script with the following. It > seems to be working a bit better; however, still not there yet. Below is the > new script with output below: > > > set /p filename = "Enter Unconverted File Name: " > set /p outputfilename= "Enter Converted File Name: " > CALL "C:\ffmpeg\bin\ffmpeg.exe" "C:\ffmpeg\bin\ffmpeg -i %filename% > %outputfilename%" > pause > > > > > > C:\Users\Kirk Calabrese\Desktop>set /p filename = "Enter Unconverted File > Name: " > Enter Unconverted File Name: Robinson.WAV > > C:\Users\Kirk Calabrese\Desktop>set /p outputfilename= "Enter Converted File > Name: " > Enter Converted File Name: robinsonconverted.wav > > C:\Users\Kirk Calabrese\Desktop>CALL "C:\ffmpeg\bin\ffmpeg.exe" > "C:\ffmpeg\bin\ffmpeg -i robinsonconverted.wav" As you can see here, the input filename is missing in the command string. Try removing the space characters left and right of = in the set commands. Please note that you have no space character left of = in the second set command. This may be the difference why this line works. Michael _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
