Instruction on how to convert lossless .wma to .flac

Questions about applications and software
Forum rules
Before you post please read how to get help

Instruction on how to convert lossless .wma to .flac

Postby Lantesh on Sat May 02, 2009 8:46 pm

I had some lossless .wma files that I wanted to convert to .flac, but Sound Converter was giving me issues and couldn't accomplish the task. So I did some digging and found a way to do on the Ubuntu forums. I thought I'd pass along this info in case it might help someone else. Here is the link to the original post I found the info at:
Code: Select all
http://ubuntuforums.org/showthread.php?t=54821

And here is my clarified version of these original instructions:
How to convert wma audio files to flac:

Step 1: In Terminal enter the command
Code: Select all
sudo apt-get install mpg321 vorbis-tools

Step 2: Then in synaptic find and install "nautilus-script-manager" and "nautilus-script-audio-convert"
Step 3: In Terminal enter the command
Code: Select all
nautilus-script-manager enable ConvertAudioFile

Step 4: Now right click on the wma audio file in Nautilus and you will see a "Scripts" option with a "ConvertAudioFile" option. Use this to convert the wma to wav.
Step 5: Now use the program Sound Converter to convert the wav to flac.

This was the easiest method I could find, and worked really well. I'm sure there are other methods to accomplish the same task as well, and if you've got one post it up. The more info we can share with each other the better.
Lantesh
Level 6
Level 6
 
Posts: 1219
Joined: Sat Apr 12, 2008 1:02 pm

Linux Mint is funded by ads and donations.
 

Re: Instruction on how to convert lossless .wma to .flac

Postby Husse on Mon May 04, 2009 3:01 pm

Interesting - I'll make this sticky
I get questions about this now and then
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Instruction on how to convert lossless .wma to .flac

Postby Lantesh on Tue May 05, 2009 11:14 am

Husse, great idea making this a sticky. This is really useful for lossless tracks that someone might have ripped in Windows Media Player, and now no longer has the original CD's. That was exactly my situation. I had ripped some of my CD's as .wma lossless several years ago. Two of those CD's left along with an old girlfriend. Using this method allowed me to maintain the music in true lossless quality, but dump the Microsoft proprietary format. 8)
Lantesh
Level 6
Level 6
 
Posts: 1219
Joined: Sat Apr 12, 2008 1:02 pm

Re: Instruction on how to convert lossless .wma to .flac

Postby dequire on Tue Sep 08, 2009 4:33 pm

Another easy way that I did this was using SoundConverter. Worked like a charm. http://soundconverter.berlios.de/

The sound conversion application for the GNOME environment. It reads anything the GStreamer library can read (Ogg Vorbis, AAC, MP3, FLAC, WAV, AVI, MPEG, MOV, M4A, AC3, DTS, ALAC, MPC, Shorten, APE, SID, etc...), and writes WAV, FLAC, MP3, AAC, and Ogg Vorbis files.

SoundConverter aims to be simple to use, and very fast. Thanks to its multithreaded design, it will use as many cores as possible to speed up the conversion. It can also extract the audio from videos.


I especially like the multi-core support and that fact that you can convert not only individual files but also entire folders.
They'll all look at me and say,
Hey look at him! I'll never live that way.
But that's okay -
They're just afraid to change.
- Shannon Hoon

The Blue Mint
dequire
Level 4
Level 4
 
Posts: 479
Joined: Mon Aug 24, 2009 1:28 pm
Location: Ohio

Re: Instruction on how to convert lossless .wma to .flac

Postby dequire on Fri Oct 09, 2009 7:09 pm

I agree it is useful. Thanks for sharing. This should be moved to the How-To's section.
They'll all look at me and say,
Hey look at him! I'll never live that way.
But that's okay -
They're just afraid to change.
- Shannon Hoon

The Blue Mint
dequire
Level 4
Level 4
 
Posts: 479
Joined: Mon Aug 24, 2009 1:28 pm
Location: Ohio

Re: Instruction on how to convert lossless .wma to .flac

Postby nadir on Fri Oct 09, 2009 8:11 pm

i mostly use pacpl, its cli but got a simple syntax. I use it to convert ogg,mp3 and flac to wav, but i think it supports wma too:
http://pacpl.sourceforge.net/
(its in the repos, i just added the link to give some info)

syntax i use is:
pacpl --to wav --outputdir . *flac
(convert all flac-files in the current directory to wav and save the result here, in the working directory (.) )

--
the side/page says it may also be embedded into the gui (amorak,konqueror etc). i didnt know that.
nadir
Level 3
Level 3
 
Posts: 143
Joined: Fri Oct 02, 2009 2:25 pm

Re: Instruction on how to convert lossless .wma to .flac

Postby alex30 on Fri Sep 24, 2010 12:40 am

it works of the compression i know and it is good
alex30
Level 1
Level 1
 
Posts: 6
Joined: Wed Sep 22, 2010 1:43 am

Re: Instruction on how to convert lossless .wma to .flac

Postby godsotherhand on Sat Apr 23, 2011 5:52 pm

why would you convert wav to flac? you dont get the quality back..
godsotherhand
Level 4
Level 4
 
Posts: 271
Joined: Tue Mar 22, 2011 12:43 pm

Re: Instruction on how to convert lossless .wma to .flac

Postby newmobilesco on Tue Apr 26, 2011 7:23 am

Thanks buddy
newmobilesco
Level 1
Level 1
 
Posts: 3
Joined: Sun Apr 17, 2011 3:40 am

Re: Instruction on how to convert lossless .wma to .flac

Postby david2 on Fri Oct 28, 2011 10:56 pm

Hello there, I have same problem...
david2
Level 1
Level 1
 
Posts: 1
Joined: Fri Oct 28, 2011 10:16 pm

Re: Instruction on how to convert lossless .wma to .flac

Postby LRC on Sun Feb 12, 2012 11:28 pm

nadir wrote:i mostly use pacpl, its cli but got a simple syntax. I use it to convert ogg,mp3 and flac to wav, but i think it supports wma too:
http://pacpl.sourceforge.net/
(its in the repos, i just added the link to give some info)
syntax i use is:
Code: Select all
pacpl --to wav --outputdir .  *flac

(convert all flac-files in the current directory to wav and save the result here, in the working directory (.) )

I did a huge batch of .wma files for a friend a couple of years back (think 700+ CDs ripped and stored on an external HDD). I used ffmpeg, surprisingly enough.
Were you doing the same, having copied them into your ~/Music folder:

Code: Select all
find ~/Music -name '*.wma' -exec ffmpeg -i '{}' -f flac '{}.flac' \; -exec rename 's/\.wma\.flac$/\.flac/' '{}.flac' \;

You end up with .flac files, all in the same directories as the originals.
To zap the originals at the same time, add -exec rm '{}' \; to the end of the command. Do remember to do a trial run with a duplicated album directory and make sure everything plays fine.

From looking on the Ubuntu forums, wma support may still not yet be present in 64-bit versions of ffmpeg; but you can always boot from a 32-bit CD or DVD to do the conversion work.

This method has the advantage of going straight from wma to flac. Unless you're an audiophile, the sensible next move is to convert to high-bitrate ogg. If you're dealing with a huge collection (and, this was a huge collection - you could put it on random play, 24hrs a day, and never hear the same track twice in a month) the command-line method is the one I'd recommend. You can leave a terminal window minimised chomping through all of the tracks whilst you use the machine for other stuff.
— Old, scary-looking geek at your dis-service. Bailing out of Airship Ubuntu; pilot took wrong drugs!
Trying Mint 9, 12 in VMs — Looking for Mint Studio (hint)
"That which does not kill you has made a tactical error" — Maxim 35
User avatar
LRC
Level 1
Level 1
 
Posts: 14
Joined: Sun Feb 12, 2012 1:41 am
Location: Scotland

Re: Instruction on how to convert lossless .wma to .flac

Postby FulciLives on Sun Apr 01, 2012 7:17 am

godsotherhand wrote:why would you convert wav to flac? you dont get the quality back..

FLAC is known as LOSSLESS COMPRESSION.

That means you get a compressed file and thus a smaller size than the WAV file but absolutely NO audio quality is lost.

In fact if you compress a WAV to FLAC and then from FLAC to WAV the new WAV is 100% identical to the original WAV

MP3 and AAC and OGG are LOSSY COMPRESSION in that the file is compressed in such a way that audio quality is lost and it can then never be regained (from that file).

Anyway that is why FLAC is so popular. Smaller size yet no loss in quality. I should point out that FLAC will never be as small in file size as MP3 or AAC or OGG but it is smaller than the WAV while giving the same quality as the WAV
User avatar
FulciLives
Level 1
Level 1
 
Posts: 38
Joined: Fri Jun 22, 2007 2:34 am
Location: Pittsburgh, PA USA

Re: Instruction on how to convert lossless .wma to .flac

Postby harryshine on Wed Apr 04, 2012 9:37 pm

Thank you for sharing.
I tried to do this job before but never suceed.
Your instruction is useful. :D
harryshine
Level 1
Level 1
 
Posts: 3
Joined: Wed Apr 04, 2012 9:28 pm

Re: Instruction on how to convert lossless .wma to .flac

Postby Zorba on Tue Dec 04, 2012 3:03 am

FF Multi Converter is what you're looking for. FF Multi Converter is a simple graphical application that enables you to convert audio, video, image and document files between all popular formats, using and combining other programs. It uses ffmpeg for audio/video files, unoconv for document files and PythonMagick library for image file conversions. Common conversion options for each file type are provided. Recursive conversions are available too.

Features: * Conversions for several file formats. * Very easy to use interface. * Access to common conversion options. * Options for saving and naming files. * Recursive conversions

FF Multi Converter 1.4.0 is the latest version that has been released recently bringing more improvements and adding support for more file formats. Multi-Converter is a simple GUI that allows users to convert between many file formats such as audio, video, document and image formats.


FF-Multi-Converter 1.4.0 Installation

To install FF-Multi-Converter 1.4.0 on Linux Mint 13 (Maya) or older or Ubuntu 12.10/12.04 or older, open the terminal and run the following commands:

sudo add-apt-repository ppa:ffmulticonverter/stable
sudo apt-get update
sudo apt-get install ffmulticonverter

For other non Debian-systems, you can install FF-Multi-Converter 1.4.0 from source with these commands:

cd /tmp && wget -O ffmulticonverter-1.4.0.tar.gz http://goo.gl/k7sXZ


tar -xzvf ffmulticonverter-1.4.0.tar.gz && cd ffmulticonverter-1.4.0


sudo ./setup.py install

User avatar
Brahim
Level 2
Level 2

Posts: 67
Joined: Tue May 29, 2012 10:12 pm
Location: Mahdia Tunisia
Image
User avatar
Zorba
Level 8
Level 8
 
Posts: 2336
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Instruction on how to convert lossless .wma to .flac

Postby Brianivander on Fri Dec 07, 2012 12:52 am

Brahim wrote:FF Multi Converter is what you're looking for. FF Multi Converter is a simple graphical application that enables you to convert audio, video, image and document files between all popular formats, using and combining other programs. It uses ffmpeg for audio/video files, unoconv for document files and PythonMagick library for image file conversions. Common conversion options for each file type are provided. Recursive conversions are available too.

Features: * Conversions for several file formats. * Very easy to use interface. * Access to common conversion options. * Options for saving and naming files. * Recursive conversions

FF Multi Converter 1.4.0 is the latest version that has been released recently bringing more improvements and adding support for more file formats. Multi-Converter is a simple GUI that allows users to convert between many file formats such as audio, video, document and image formats.


FF-Multi-Converter 1.4.0 Installation

To install FF-Multi-Converter 1.4.0 on Linux Mint 13 (Maya) or older or Ubuntu 12.10/12.04 or older, open the terminal and run the following commands:

sudo add-apt-repository ppa:ffmulticonverter/stable
sudo apt-get update
sudo apt-get install ffmulticonverter

For other non Debian-systems, you can install FF-Multi-Converter 1.4.0 from source with these commands:

cd /tmp && wget -O ffmulticonverter-1.4.0.tar.gz http://goo.gl/k7sXZ


tar -xzvf ffmulticonverter-1.4.0.tar.gz && cd ffmulticonverter-1.4.0


sudo ./setup.py install

User avatar
Brahim
Level 2
Level 2

Posts: 67
Joined: Tue May 29, 2012 10:12 pm
Location: Mahdia Tunisia


I've tried to install ffmulticonverter. But this is what I got when I type sudo apt-get install ffmulticonverter:
Code: Select all
$ sudo apt-get install ffmulticonverter
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


Any help? thanks !
Brianivander
Level 1
Level 1
 
Posts: 8
Joined: Thu Nov 22, 2012 12:21 pm

Re: Instruction on how to convert lossless .wma to .flac

Postby Zorba on Fri Dec 07, 2012 3:06 am

by Brianivander on Fri Dec 07, 2012 12:52 am
I've tried to install ffmulticonverter. But this is what I got when I type sudo apt-get install ffmulticonverter:

Code: Select all
$ sudo apt-get install ffmulticonverter
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?



Any help? thanks !


This means the apt is busy. You cannot install 2 packages at the same time. If this is the case, than close the software/synaptic/terminal and
keep only one instance of terminal open( run only one command line at a time) and retry the installation. If this doesn't fix the issue than try this:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update


"Open Sesame" lock unlocked!! Now you can install your favourite software Ali Baba!!! :D
Image
User avatar
Zorba
Level 8
Level 8
 
Posts: 2336
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Instruction on how to convert lossless .wma to .flac

Postby mfluder on Wed Feb 13, 2013 11:10 am

How about using Winff. It is a frontend for FFMPEG and is found in the ubuntu repository. You need to create a preset for flac, but it works great once you do that. In the last few days I have converted many files including: MP4 to FLAC and FLAC to OGG/MP3.
mfluder
Level 2
Level 2
 
Posts: 58
Joined: Wed Feb 06, 2013 9:10 am

Re: Instruction on how to convert lossless .wma to .flac

Postby ipiklu.ninja91 on Sun Feb 17, 2013 3:10 am

But this method what you have written is for Nautilus File Explorer. On Linux mint 14 cinnamon, I have nemo.
Will it work on mine as well?
ipiklu.ninja91
Level 1
Level 1
 
Posts: 8
Joined: Thu Sep 20, 2012 9:35 am

Re: Instruction on how to convert lossless .wma to .flac

Postby Hoser Rob on Sat Feb 23, 2013 10:42 am

This may be a shot in the dark, but have you installed ubuntu-restricted-extras?

It should be one of the first things you do after installing ubuntu or any of the ubuntu based mint releases anyway.

If you're using debian based mint disregard this.
Hoser Rob
Level 3
Level 3
 
Posts: 116
Joined: Sat Dec 15, 2012 8:57 am

Re: Instruction on how to convert lossless .wma to .flac

Postby nasair on Fri May 30, 2014 2:30 pm

As most above have mentioned there other otherways. I personally still use FooBar2000 for all of my audio converting needs
nasair
Level 2
Level 2
 
Posts: 74
Joined: Fri Jan 17, 2014 12:17 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 29 guests