Skip to content

Instantly share code, notes, and snippets.

@auyongcheemeng
Created May 9, 2020 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auyongcheemeng/9f5af7c317e97fe10acca2442ef27e84 to your computer and use it in GitHub Desktop.
Save auyongcheemeng/9f5af7c317e97fe10acca2442ef27e84 to your computer and use it in GitHub Desktop.
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