Convert a folder of MP3s to lower bitrate MP3s

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mlind1
New Cone
New Cone
Posts: 2
Joined: 16 Feb 2014 21:18

Convert a folder of MP3s to lower bitrate MP3s

Postby mlind1 » 16 Feb 2014 21:33

I have hundreds of MP3s in a folder that I want to convert to a lower bitrate. Is there an easy way to use VLC media player for that? If not, does anyone have other suggestions?

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Convert a folder of MP3s to lower bitrate MP3s

Postby kodela » 16 Feb 2014 23:09

@ECHO OFF

REM transcode mp3-files to mp3-files with bitrate 96

FOR %%a IN (*.mp3) DO "C:\Program Files (x86)\VideoLAN\vlc\vlc.exe" -I dummy -vvv %%a --sout=#transcode{vcodec=none,acodec=mpga,ab=96,channels=2,samplerate=44100}:std{access=file,mux=raw,dst="%%a.mp3"} vlc://quit

Lotesdelere
Cone Master
Cone Master
Posts: 9896
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Convert a folder of MP3s to lower bitrate MP3s

Postby Lotesdelere » 17 Feb 2014 10:01

Or use dedicated tools like LameXP or TAudioConverter which will also copy tags, if any.

However, it's a bad idea to convert from MP3 to MP3 (lossy to lossy), you will lose a lot of quality, you'd better reencode from the original source to MP3 (lossless to lossy).

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Convert a folder of MP3s to lower bitrate MP3s

Postby kodela » 17 Feb 2014 18:42

Yes, it is a bad idea!

mlind1
New Cone
New Cone
Posts: 2
Joined: 16 Feb 2014 21:18

Re: Convert a folder of MP3s to lower bitrate MP3s

Postby mlind1 » 17 Feb 2014 19:35

@ECHO OFF

REM transcode mp3-files to mp3-files with bitrate 96

FOR %%a IN (*.mp3) DO "C:\Program Files (x86)\VideoLAN\vlc\vlc.exe" -I dummy -vvv %%a --sout=#transcode{vcodec=none,acodec=mpga,ab=96,channels=2,samplerate=44100}:std{access=file,mux=raw,dst="%%a.mp3"} vlc://quit


Wow - thanks for the quick reply! I'm a newb and I don't know scripting well, so I just want to check with you that there's not another more newb-friendly way of doing it. If not, where do I put in the string the URL for the folder where my music is located?

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Convert a folder of MP3s to lower bitrate MP3s

Postby kodela » 18 Feb 2014 23:32

where do I put in the string the URL for the folder where my music is located?
You created and start the script file in the folder where your music is located.

Important:
The line with the command (FOR%% a IN ... vlc ://quit) can not have a line break!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 35 guests