[FFmpeg-user] Batch conversion LUFS to multiple audio formats

Carl Zwanzig cpz at tuunq.com
Mon Mar 28 20:40:11 EEST 2022


Not an ffmpeg question, but...

On 3/28/2022 9:15 AM, CMG DiGiTaL wrote:
> I tried:
> FOR %%a %%e IN (*.*) DO (
>    SET "filename=%%~na"
>    SET "extension=%%~xe"
> 
> The FOR command looks like it doesn't accept two variables!

Nope, it doesn't. I think you could make the set '(*.mp3 *mp4 *.wav)' etc. 
I'd use this to just get files that are expected to contain audio (otherwise 
you have to look at each file's contents to see if it's valid audio, and 
that adds complexity).

This is all documented at 
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/for

z!


More information about the ffmpeg-user mailing list