Fedora Linux Support Community & Resources Center
  #1  
Old 21st May 2011, 05:36 AM
Mazate Offline
Registered User
 
Join Date: Apr 2011
Location: Phoenix, AZ
Posts: 76
linuxfirefox
WMA to MP3

Hola

I have some old WMA files that were originally purchased on Amazon as MP3's and windows media player converted them to WMA's. Now I've installed the free codec for MP3 in Rhythmbox and I want to use those old WMA's but I have no idea how to convert them back. 1) Since I bought them originally in MP3 format, are there any issues with converting them back? How do I do it?

Thanks!
Reply With Quote
  #2  
Old 21st May 2011, 07:35 AM
JohnJasonJordan Offline
Registered User
 
Join Date: Mar 2007
Location: Portland USA left coast
Posts: 254
linuxfedorafirefox
Re: WMA to MP3

Quote:
Originally Posted by Mazate View Post
Hola

I have some old WMA files that were originally purchased on Amazon as MP3's and windows media player converted them to WMA's. Now I've installed the free codec for MP3 in Rhythmbox and I want to use those old WMA's but I have no idea how to convert them back. 1) Since I bought them originally in MP3 format, are there any issues with converting them back? How do I do it?
Use lame. You'll need to study up on how to use it, as it has a ton of options.
__________________
I like things that start with "lin*," so I use Linux and my major is linguistics.
Reply With Quote
  #3  
Old 21st May 2011, 07:43 AM
oldcpu Offline
Registered User
 
Join Date: Jan 2009
Location: Europe
Posts: 241
linuxsusefirefox
Re: WMA to MP3

Assuming you have ffmpeg installed, you could try somethiing like :
Code:
ffmpeg -i "input-file.wma" -acodec libmp3lame -ab 160k -ac 2 -ar 44100 "output-file.mp3"
where 'input-file.wma' is your test wma input file and 'output-file.mp3' is the test mp3 encoded output file.

or
Code:
ffmpeg -i "input-file.wma" -acodec mp3 -ab 160k -ac 2 -ar 44100 "output-file.mp3"
and assuming one of those lines worked (lets assume the one with 'libmp3lame' ), you could put all your .wma in one directory, and try:

Code:
for i in *.wma; do ffmpeg -i $i -acodec libmp3lame -ab 160k -ac 2 -ar 44100 ${i%.wma}.mp3; done

Last edited by oldcpu; 21st May 2011 at 07:56 AM.
Reply With Quote
  #4  
Old 21st May 2011, 07:58 AM
Dangermouse Offline
Administrator - (On Leave)
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 50
Posts: 3,868
linuxfirefox
Re: WMA to MP3

This may be of help it enables you right click on a wma file and convert it to mp3
http://www.dnmouse.org/autoten/fedor...ght-click.html
Reply With Quote
  #5  
Old 21st May 2011, 08:46 AM
leigh123linux
Guest
 
Posts: n/a
linuxredhatfirefox
Re: WMA to MP3

Quote:
Originally Posted by Dangermouse View Post
This may be of help it enables you right click on a wma file and convert it to mp3
http://www.dnmouse.org/autoten/fedor...ght-click.html

Or

Code:
su
yum install nautilus-sound-converter

right click on the files and select convert and choose .wav
Reply With Quote
  #6  
Old 21st May 2011, 09:16 AM
vertextao Offline
Registered User
 
Join Date: Sep 2010
Location: China
Posts: 75
linuxchrome
Re: WMA to MP3

Buy MP3!!!In my region,It's all free! Google offers us genuine music totally free,maybe not available in your country.
But here's a place your can get high quality music from all over the world for free, but its a website in simplified Chinese.

http://www.verycd.com/sto/music/
__________________
[SIGPIC][/SIGPIC]
Reply With Quote
  #7  
Old 21st May 2011, 04:44 PM
Mazate Offline
Registered User
 
Join Date: Apr 2011
Location: Phoenix, AZ
Posts: 76
windows_xp_2003firefox
Re: WMA to MP3

So many options...

Can I assume that there are no legal issues in converting these to MP3 since they were originally purchased as MP3 files and probably have no DRM on them? Some of them also came from CD's.
Reply With Quote
  #8  
Old 22nd May 2011, 08:44 AM
oldcpu Offline
Registered User
 
Join Date: Jan 2009
Location: Europe
Posts: 241
linuxfirefox
Re: WMA to MP3

I should have also mentioned the application audenc, specifically designed for batch audio conversions.
Reply With Quote
  #9  
Old 22nd May 2011, 09:02 AM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,998
linuxfirefox
Re: WMA to MP3

Or use Sound Exchange (sox) - a veritable Swiss Army Knife for sound.
Reply With Quote
  #10  
Old 22nd May 2011, 10:20 AM
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 726
linuxfedorafirefox
Re: WMA to MP3

Another one that is very simple to use is "audio-convert-mod" and is available from the repos
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
Reply With Quote
  #11  
Old 3rd March 2016, 11:42 AM
DaveP Offline
Registered User
 
Join Date: Oct 2004
Location: UK
Posts: 92
linuxchrome
Re: WMA to MP3

Quote:
Originally Posted by flyingfsck View Post
Or use Sound Exchange (sox) - a veritable Swiss Army Knife for sound.
But not for WMA files?
Reply With Quote
  #12  
Old 3rd March 2016, 01:22 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 36
Posts: 4,280
linuxfirefox
Re: WMA to MP3

If the ffmpeg command seems a little bit 'too much to memorize', you could try my VHS (wrapper around ffmpeg, link in signature):

By default, non-video files are encoded to mp3, so this 'extension' part "-e mp3" could be left out (also if you changed the default audio codec to whatever your preference is).
Code:
vhs /path/to/*wma

# Or to encode all WMA and MP3 files from a folder to flac, at 256kb audio bitrate
vhs -e flac -b a256 /path/to/*{wma,mp3}
hth
__________________
EFI Cheatsheet :: http://forums.fedoraforum.org/showthread.php?t=298546
Video Handler Script (VHS) (mass re-encode videos, screenrecorder, console music/webradio player, ...) :: http://forums.fedoraforum.org/showthread.php?t=299182
Windows 8+ & Fedora 20+ Dualboot :: http://forums.fedoraforum.org/showthread.php?t=298161
Reply With Quote
  #13  
Old 3rd March 2016, 02:41 PM
antikythera Offline
Community Manager
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 2,614
windows_98_nt_2000chrome
Re: WMA to MP3

Quote:
Originally Posted by Mazate View Post
Hola

I have some old WMA files that were originally purchased on Amazon as MP3's and windows media player converted them to WMA's. Now I've installed the free codec for MP3 in Rhythmbox and I want to use those old WMA's but I have no idea how to convert them back. 1) Since I bought them originally in MP3 format, are there any issues with converting them back? How do I do it?

Thanks!
audacity has a nice batch processing script system. However, why not re-download the MP3 files from Amazon? I know they can only be downloaded singularly in Linux but if you have Windows installed, download them all again in one hit in that and transfer them to the Linux partition afterwards.
__________________
Fedora 23 MATE 1.15.1 GTK+3¦Gigabyte GA-AM1M-S2H, Athlon 5350, 8GB Corsair Vengeance CML8GX3M2A1600C9 LP Kit (XMP mode), Seagate ST1000DM003, HL-DT-ST DVDRAM GH24NSB
Reply With Quote
Reply

Tags
mp3, wma

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 04:53 (Friday, 26-08-2016)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat