[FFmpeg-user] Batch file to convert
Michael Koch
astroelectronic at t-online.de
Fri Sep 28 16:47:19 EEST 2018
Am 28.09.2018 um 15:20 schrieb esikcalabrese at verizon.net:
> 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
More information about the ffmpeg-user
mailing list