Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

batch file to convert wav/flac to alac

Featured Replies

I have created the following batch file to use ffmpeg to convert flac/wav files to /m4a files that can be played on my ipod... I will later use this script as a template to convert files to flac, wav, mp3, etc.

Anyways, when I run this script, and i drag 2 files onto the batch file (example 1.flac and 2.flac) they both output a filename of 1.m4a instead of 1.m4a and 2.m4a. Thus, I can only convert one file at a time. Is there anyway to fix this so that the output filename will be the same as the input for seperate files?

for %%A in (%*) DO (ffmpeg -i %1 -acodec alac "%~dpn1".m4a)
pause

Anyways, when I run this script, and i drag 2 files onto the batch file (example 1.flac and 2.flac) they both output a filename of 1.m4a instead of 1.m4a and 2.m4a. Thus, I can only convert one file at a time. Is there anyway to fix this so that the output filename will be the same as the input for seperate files?

for %%A in (%*) DO (ffmpeg -i %1 -acodec alac "%~dpn1".m4a)
pause

Try this:

FOR %%A IN (%*) DO ffmpeg -i "%%~A" -acodec alac "%%~dpnA.m4a"

  • Author

Try this:

FOR %%A IN (%*) DO ffmpeg -i "%%~A" -acodec alac "%%~dpnA.m4a"

success! Thank you so much.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.