Am 27.09.2018 um 22:30 schrieb Michael Koch:
Am 27.09.2018 um 21:33 schrieb [email protected]:
Any suggestions in a batch file which would take 2 user defined variables to convert an audio file?  I have drafted the below which so far does not work.



echo off

set /p filename = "Enter Unconverted File Name: "

set /p outputfilename= "Enter Converted File Name: "

cd "c:\ffmpeg\bin"

START ffmpeg -i %filename% %outputfilename:

pause


after outputfilename, replace : by %

Is your input file in the c:/ffmpeg/bin directory?
If not, then ffmpeg won't find it.

If you have the input file in the same directory where you have the batch file, remove the cd command and then write:

c:/ffmpeg/bin/ffmpeg -i %filename% %outputfilename%

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".

Reply via email to