Advertisement
Saijin_Naib

WAV 2 MP3 Encode

Jan 26th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. @ECHO OFF
  2. if [%1]==[] goto Quit
  3.  
  4. :loop
  5. set FilenameIn="%~n1.mp3"
  6. ECHO --------------------------------------------------------------------------------
  7. ECHO LAME MP3
  8. ECHO --------------------------------------------------------------------------------
  9. title Encoding "%~nx1" into MP3
  10. ECHO Encoding "%~n1"...
  11. "D:\\Users\\Brett Edmond Carlock\\My Utilities\\Multimedia Tools\\LAME\\lame.exe" --cbr -b 320 -m s -q 0 --noreplaygain %1
  12. ECHO Encoded "%~nx1" into "%~n1.mp3"
  13. title Encoded "%~nx1..." into MP3
  14.  
  15. ECHO.
  16. ECHO --------------------------------------------------------------------------------
  17. ECHO.
  18.  
  19. title Analyzing "%FileNameIn%" for Clipping
  20. ECHO --------------------------------------------------------------------------------
  21. ECHO MP3Gain Analysis
  22. ECHO --------------------------------------------------------------------------------
  23. ECHO Analyzing "%FileNameIn%"...
  24. "D:\\Users\\Brett Edmond Carlock\\My Utilities\\Multimedia Tools\\mp3GAIN\\mp3gain.exe" /r /p %FileNameIn%
  25. ECHO Analyzed "%FileNameIn%".
  26. title Analyziation of "FileNameIn%" complete.
  27.  
  28. ECHO.
  29. ECHO --------------------------------------------------------------------------------
  30. ECHO.
  31.  
  32. ECHO --------------------------------------------------------------------------------
  33. ECHO MP3Val File Integrity Check
  34. ECHO --------------------------------------------------------------------------------
  35. title Checking integrity of "%FileNameIn%"
  36. ECHO Checking "%FileNameIn%"...
  37. "D:\\Users\\Brett Edmond Carlock\\My Utilities\\Multimedia Tools\\MP3 Val\\mp3val.exe" -f -t %FileNameIn%
  38. ECHO Checked "%FileNameIn%"
  39. title Checking integrity of "%FileNameIn%" complete
  40.  
  41. shift
  42. if not [%1]==[] goto loop
  43.  
  44. :Quit
  45. title Encoding files into MP3 complete.
  46. ECHO.
  47. ECHO --------------------------------------------------------------------------------
  48. ECHO Encoding job complete.
  49. ECHO --------------------------------------------------------------------------------
  50. ECHO.
  51. Pause
  52. Exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement