image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 21st, 2004, 04:11 PM
rbb rbb is offline
Registered User
 
Join Date: Oct 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
rbb is on a distinguished road
Convert mp4 to mp3

I am looking for a program to convert mp4's to mp3 via the command line. I can convert from m4p to mp4, with hymn, but I need to convert to mp3. This will be done from a shell script.
Reply With Quote
  #2  
Old October 21st, 2004, 08:08 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,670
Thanks: 1
Thanked 30 Times in 28 Posts
ElDiabloConCaca will become famous soon enough
Are you trying to convert true MP4 files, or AAC files?
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.4 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #3  
Old October 21st, 2004, 10:23 PM
rbb rbb is offline
Registered User
 
Join Date: Oct 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
rbb is on a distinguished road
Actually m4a files, but I found faad converts to wav, then lame for wave to mp3. I have a script that will convert m4a/mp4 to mp3 if any one wants it.
Reply With Quote
  #4  
Old October 22nd, 2004, 03:19 AM
diablojota's Avatar
Doctoral Student
 
Join Date: Apr 2002
Location: Tallahassee, FL
Posts: 862
Thanks: 0
Thanked 0 Times in 0 Posts
diablojota is on a distinguished road
Out of curiousity, why would you want to convert to mp3?
__________________
iMac G5 with iSight; 20"; 1.5GB RAM
MacBook Pro 15"
iPod Nano 1GB
3rd Generation 20gb iPod
Reply With Quote
  #5  
Old October 22nd, 2004, 05:36 AM
ora's Avatar
ora ora is offline
tech-nophile
 
Join Date: Nov 2003
Location: CH
Posts: 1,638
Thanks: 0
Thanked 0 Times in 0 Posts
ora is on a distinguished road
iTunes will covert AAC (which is m4a) to MP3. Just go to prefs->importing and set the encoder to mp3. Select the files in your library, then choose Advanced->Convert selection to mp3.

You'll lose some quality but it will get the job done in one step without going via wav.
__________________
--MBP 15" C2D 2.33Ghz, 2GB RAM, 160GB HD, glossy, OS 10.4.8
--PowerBook 12" 867Mhz, 640mb ram, 40gb HD, Combi, OS 10.4.7, 19" Acer widescreen LCD
--PowerMac G4 'Sawtooth' 400mhz 256mb RAM, 10gb HD, OS 10.3.9
--Mini-racked Lacie 80, 250 and 300GB Ext HDs, Lacie 16x DL DVD writer
Reply With Quote
  #6  
Old October 28th, 2004, 01:21 AM
Registered User
 
Join Date: Jan 2002
Location: San Jose
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
clc2112 is on a distinguished road
This is all confusing. Piggybacking off of RBB's question, can I convert the protected files within iTunes to MP3. Why? because my car stereo will pplay mp3's and I paid for the song so I should be able to do it. If this can be done what do i use to do it?

Thanks much
__________________
"A few guys with guns can ruin everything"
-N Peart
Reply With Quote
  #7  
Old October 28th, 2004, 01:21 PM
rbb rbb is offline
Registered User
 
Join Date: Oct 2004
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
rbb is on a distinguished road
Ok, found out how to do it. I want MP3's because the interface to my stereo uses only mp3's.

First, hymn, http://hymn-project.org/ goes from m4p to m4a (mp4).
faad, http://www.audiocoding.com/modules/mydownloads/, mp4 to wav
lame, http://lame.sourceforge.net/, wav to mp3.
Reply With Quote
  #8  
Old October 28th, 2004, 03:41 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,670
Thanks: 1
Thanked 30 Times in 28 Posts
ElDiabloConCaca will become famous soon enough
Hmm... well, if you've got a CD-RW handy, you can skip a step by burning the AAC files to a CD then re-ripping them as MP3. Might be a little slower though, but both ways degrade the sound quality.

I guess the moral is that you can't get a protected M4P into an unprotected format without loss of quality.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.4 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


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


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.