LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2006, 08:26 PM   #1
morghanphoenix
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 0
Application to change the bitrate for MP3 files.


I have about 40 gigs of MP3 files that were encoded between 256 & 320 bitrates and I'm almost out of space. I've only gone through a third of my music collection that fit in my space before, but it was all done at 128 then, so I'm looking for something that can take a typical iTunes style music folder and convert all the files bitrates to save space. It would be best if it could handle the contents of subfolders because they go three levels deep (MUSIC/ARTIST/ALBUM/files.mp3) but I could handle lumping them all into one folder for conversion if necessary. Okay, maybe I should go to sleep now, been up too long and I'm rambling.
 
Old 09-21-2006, 08:40 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
I have done a couple such projects and got help here. The last post is a few links to other times I got additional similar help.
 
Old 09-21-2006, 09:19 PM   #3
morghanphoenix
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, all my searches got me was mBox which I got installed but can't get to load. I really hate installing from source, eveytime I see a file ending in tar I get the sudden urge to start chain smoking.
 
Old 09-21-2006, 09:36 PM   #4
morghanphoenix
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Original Poster
Rep: Reputation: 0
on seccond though

My recent attempts only reinforce the idea that I'm command line/script retarded, any program suggestions?
 
Old 09-22-2006, 07:04 AM   #5
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,135

Rep: Reputation: 277Reputation: 277Reputation: 277
download ffmpeg, and run this script in each directory:

Code:
for i in *.mp3; do \
ffmpeg -i "$i" -acodec mp3 -ac 2 -ab 192 "${i%mp3}mp3"; \
done
beside the 'ab' is the bitrate you want.

this is just a basic conversion script, so you're going to be left with both the source and destination files - someone with scripting savvy may be able to tweak it so that it recurses and deletes original files, but it's a start.

i would also think that 'sound converter' would accomplish the same thing with a gui...

cheers,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I find out the bitrate of an mp3? redhatman Linux - Newbie 4 11-22-2013 06:30 PM
Reduce MP3 bitrate lumpfish Linux - Software 5 10-26-2009 06:17 AM
mp3 bitrate converter bird603568 Slackware 10 08-13-2006 11:56 PM
Script to change mp3 icons by bitrate? jms830 Linux - General 1 04-27-2006 03:34 PM
change default mp3 application... batfastad Linux - Newbie 2 12-20-2004 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration