bearbear12345

Convert all FLACs in directory to MP3

Oct 16th, 2015
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.18 KB | None | 0 0
  1. @echo off
  2. for %%f in (*.flac) do (
  3.   setlocal enabledelayedexpansion
  4.   set vstr=%%f
  5.   set vstr=!vstr:flac=!
  6.   ffmpeg -i "!vstr!flac" -ab 320k -map_metadata 0 "!vstr!mp3"
  7.   endlocal
  8. )
Advertisement
Add Comment
Please, Sign In to add comment