Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ffmpeg script for resampling ALAC to 44.1kHz sample rate (windows batch)
:: ffmpeg script for resampling ALAC to 44.1kHz sample rate
IF NOT EXIST resample-input\NUL mkdir resample-input
IF NOT EXIST resample-output\NUL mkdir resample-output
for %%a in ("resample-input\*.m4a") do ffmpeg -y -i "%%a" -vn -c:a alac -ar 44100 "resample-output\%%~na.m4a"
@echo off
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment