[FFmpeg-user] Batch file to convert New Edit

Michael Koch astroelectronic at t-online.de
Fri Sep 28 19:42:19 EEST 2018


Am 28.09.2018 um 18:30 schrieb esikcalabrese at verizon.net:
> I believe I'm getting closer.  It doesn't appear to get the 2nd variable.
>
> set /p filename="Enter Unconverted File Name: "
> set /p outputfilename="Enter Converted File Name: "
> CALL "C:\ffmpeg\bin\ffmpeg.exe" ffmpeg -i %filename% %outputfilename%
> pause

I did never use the CALL command. Try this:

set /p filename="Enter Unconverted File Name: "
set /p outputfilename="Enter Converted File Name: "
c:\ffmpeg\bin\ffmpeg -i %filename% %outputfilename%
pause


Michael



More information about the ffmpeg-user mailing list