Skip to content

Instantly share code, notes, and snippets.

@JanWerder
Created November 8, 2021 13:50
Show Gist options
  • Select an option

  • Save JanWerder/ac4e73e26c53909eda504eec069c6e28 to your computer and use it in GitHub Desktop.

Select an option

Save JanWerder/ac4e73e26c53909eda504eec069c6e28 to your computer and use it in GitHub Desktop.
Powershell: Normalize all OPUS files in a folder
//Uses Powershell & ffmpeg
Get-ChildItem $args[0] -Filter *.opus |
Foreach-Object {
ffmpeg -y -i "$($_.FullName)" -af loudnorm "$($_.FullName)._.opus"
Move-Item -Force -Path "$($_.FullName)._.opus" -Destination "$($_.FullName)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment