MP4 -> M4A -> MP4 scripts
"N Sharp" <[email protected]>
| Newsgroups | gmane.comp.ipod.ephpod |
|---|---|
| Message-ID | <[email protected]> |
I don't know about y'all, but it got to be a pain switching my AAC files' extensions back and forth to use either WinAmp to play them or Ephpod to transfer them. So, I wrote a pair of Windows batch files to switch back and forth, depending on what application I'm running. All they do is search from the directory specified in the script, recursively, and rename the file extensions on all MP4/M4A files. --------------------------------------------------- ToM4A.bat --------------------------------------------------- @Echo off REM REM Batch file to convert all *.mp4 file extensions to *.m4a REM so that the files can be copied into EphPod and onto my iPod. REM REM Created by Neil Sharp REM Last updated on 2003/05/12 echo Converting AAC files to M4A file extensions for transferring to the iPod... FOR /R "C:\iPod Music Library\AAC" %%i IN (*.mp4) DO move /Y "%%i" "%%~pi%%~ni.m4a" --------------------------------------------------- --------------------------------------------------- ToMP4.bat --------------------------------------------------- @Echo off REM REM Batch file to convert all *.m4a file extensions to *.mp4 REM so that the files can be played in Quicktime, NeroMix or WinAmp. REM REM Created by Neil Sharp REM Last updated on 2003/05/12 echo Converting AAC files to MP4 file extensions for playing on the PC... FOR /R "C:\iPod Music Library\AAC" %%i IN (*.m4a) DO move /Y "%%i" "%%~pi%%~ni.mp4" --------------------------------------------------- Note that these work on my WinXP Pro system. They may or may not work on previous versions of Windows, due to the "/R" switch on the FOR command. Also, note that I use Nero to make my AAC files; therefore, renaming the extension is all that is needed. I would assume you could just add another line at the bottom to start WinAmp or Ephpod as well. Hope that helps someone else, Neil _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------ ephPod Mailing List FAQ and HomePage http://www.ephpod.com mailto:[email protected] to susbcribe mailto:[email protected] to unsusbcribe mailto:[email protected] the mailing-list itself