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

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

Postby Colin66 on Sun Aug 10, 2014 7:26 am

A method using ffmpeg was described earlier in this thread.
The package ffmpeg is no longer available from the Mint 17 repositories.
You have to install the package libav-tools and then use the command "avconv" in place of "ffmpeg"
The parameters used with avconv seem to be the same as those used with ffmpeg.
Code: Select all
avconv -i someFile.flv -t actualLength -ss startDelay -vn -acodec copy outFile.m4a

This will extract a .m4a (aac codec) music file from a downloaded Youtube flash video file with the same sound quality as in the original file.
"startDelay" is the time in seconds after the video begins before the audio actually starts.
"actualLength" is the final required length of the .m4a file in seconds.
i.e. these 2 values allow cropping off the start and end of original file.
User avatar
Level 1
Level 1
Posts: 14
Joined: Fri Jul 11, 2014 6:26 am
Location: England

Linux Mint is funded by ads and donations.

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

Postby MikeF90000 on Mon Nov 17, 2014 10:19 pm

Due to some annoying limitations of various apps, I've gotten into the habit of using the 'chains' feature of Audacity.

- Add a new simple chain procedure using File/Edit Chains, call it say 'wma2flac'.
- Insert two steps in this order: Normalize and ExportFLAC. Click OK to save the chain. Note - the Import command is not yet working, not sure why.
- Delete and/or save any open audio files.
- Run File/Apply Chain, select 'wma2flac', select files to convert, click Open and watch the conversions.

Job done!
Use the Panels, Luke! (not just the Whisker Menu)
XFCE and Linux Mint 17 LTS - stable, easily configurable goodness.
Level 2
Level 2
Posts: 66
Joined: Sun Jan 08, 2012 7:54 pm
Location: California, USA

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

Postby Flemur on Wed Nov 19, 2014 1:47 pm

audacity and vlc can convert lossless .wma to .flac
Mint 17.3 Xfce/fluxbox/pulse-less - Xubuntu 15.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
User avatar
Level 8
Level 8
Posts: 2384
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

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

Postby MtnDewManiac on Fri Oct 09, 2015 6:39 am

Flemur wrote:audacity and vlc can convert lossless .wma to .flac

And, at least with VLC (IDK about Audacity, but I wouldn't be surprised), it looks pretty simple. I didn't install any kind of codec pack, yet when I selected the convert option, .FLAC was one of the (audio) choices on the list.

VLC: it plays, it streams, it converts, it chops, it dices - no, wait... you still need kitchen tools for some of those. But still, lol... :P

Mint 17.1 Xfce 4.12.
If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
User avatar
Level 6
Level 6
Posts: 1061
Joined: Fri Feb 22, 2013 5:18 pm

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

Postby Nippon on Tue Oct 20, 2015 6:20 am

Why don't you try Soundconverter - Simple audio files converter, eg. from ogg to mp3
Level 1
Level 1
Posts: 25
Joined: Wed Jan 19, 2011 6:55 pm
Location: Japan

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

Postby Quexos on Mon Nov 16, 2015 2:56 am

Just FYI: If you want a music player like Foobar2000 on Linux, I've found DeadBeef to be the ticket, and it can convert formats by simple right click > convert.

sudo add-apt-repository ppa:starws-box/deadbeef-player
sudo apt-get update
sudo apt-get install deadbeef

To add support for converting formats with it:

For AAC (this one didn't work for me)
sudo apt-get install faac

sudo apt-get install flac

For MP3
sudo apt-get install lame

For Ogg Vorbis
sudo apt-get install vorbis-tools

Quicker one time install of all four of those:
sudo apt-get install faac flac lame vorbis-tools
Level 2
Level 2
Posts: 55
Joined: Wed Jul 29, 2015 9:49 pm

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

Postby phd21 on Mon Nov 16, 2015 3:28 am

Hi Everyone,

FYI: The wonderful Amarok music player can easily convert .wma to .flac and other formats too.

Just click the Home folder icon in the upper left of Amarok, click "Files" (the built-in file manager), browse to your files, select folders and or files, right click, "Copy to collection", that will automatically bring up the options to convert your audio files from one format to another; the advanced button on this screen, also has various options for each of the formats as well.
Phd21: Mint 17.3 KDE, 32bit, Awesome, IBM Netvista,P4 2.4ghz,2gb Ram,250gb hdd, Video2:AMD RV280,Radeon 9200 PRO-DVI, Lightscribe.
Why I use KDE?:
User avatar
Level 6
Level 6
Posts: 1463
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Postby ytene on Thu Dec 24, 2015 2:26 pm

I am not sure if it still works the same way, but I came across a useful solution for converting CD Audio [.wav] to MPEG4 [Lossless] Audio [as used by iTunes] - and vice-versa- which comes in the form of mplayer...

mplayer -ao pcm:file=targetfile.wav sourcefule.m4a

I always found this to be quick and effective and to allow conversion between different audio formats. Haven't tried it in quite a while now, but if you are looking for something that you could automate, or script via a command line [for example iterating through multiple files] then you might find that this or something like it will do the job...
Level 2
Level 2
Posts: 62
Joined: Sat Mar 16, 2013 3:10 pm

Linux Mint is funded by ads and donations.

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 15 guests