[FFmpeg-user] Batch file to convert
esikcalabrese at verizon.net
esikcalabrese at verizon.net
Thu Sep 27 23:45:31 EEST 2018
Yes it is there. I can convert by command line but just can't get the batch to work. I replaced : with " and the screen flashed a 2nd command prompt flashed, closed and back to enter any key to continue. Nothing happened.
Kirk Calabrese, MA,CMT, Network+ Certified Professional
IT Consultant
-----Original Message-----
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of Michael Koch
Sent: Thursday, September 27, 2018 4:42 PM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] Batch file to convert
Am 27.09.2018 um 22:30 schrieb Michael Koch:
> Am 27.09.2018 um 21:33 schrieb esikcalabrese at verizon.net:
>> 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
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list