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
User avatar
Colin66
Level 1
Level 1
Posts: 25
Joined: Fri Jul 11, 2014 6:26 am
Location: England

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

Postby Colin66 » 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.
e.g.

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.

MikeF90000
Level 2
Level 2
Posts: 86
Joined: Sun Jan 08, 2012 7:54 pm
Location: Southern California, USA

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

Postby MikeF90000 » 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 18 LTS - stable, easily configurable goodness.

User avatar
Flemur
Level 12
Level 12
Posts: 4220
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

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

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

audacity and vlc can convert lossless .wma to .flac
Mint 18.1 Xfce/fluxbox/pulse-less - Xubuntu 16.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
MtnDewManiac
Level 6
Level 6
Posts: 1212
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

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

Postby MtnDewManiac » 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

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.

Nippon
Level 1
Level 1
Posts: 25
Joined: Wed Jan 19, 2011 6:55 pm
Location: Japan
Contact:

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

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

Why don't you try Soundconverter - Simple audio files converter, eg. from ogg to mp3
www.mintnext.blogspot.com

User avatar
Quexos
Level 2
Level 2
Posts: 64
Joined: Wed Jul 29, 2015 9:49 pm

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

Postby Quexos » 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

For FLAC
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

User avatar
phd21
Level 12
Level 12
Posts: 4126
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Postby phd21 » 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 KDE 17.3 & 18.1, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

ytene
Level 3
Level 3
Posts: 109
Joined: Sat Mar 16, 2013 3:10 pm

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

Postby ytene » 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...

User avatar
DrHu
Level 17
Level 17
Posts: 7554
Joined: Wed Jun 17, 2009 8:20 pm

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

Postby DrHu » Thu Apr 21, 2016 2:39 pm

https://community.linuxmint.com/softwar ... dconverter
http://soundconverter.org/
--avconv was already mentioned, this is another one available

User avatar
phd21
Level 12
Level 12
Posts: 4126
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Postby phd21 » Thu Apr 21, 2016 2:57 pm

Hi Everyone,

I just read your post and the good replies to it. Here are my newer thoughts on this as well.

It seems like this post's thread has been resurrected.

There are some really great and easy to use utilities (programs) for this: SoundConverter, SoundKonverter with a "k" is even better, "sound-juicer", "Format Junkie", "Curlew", etc... And, as was previously mentioned some of the music players, like Amarok, can easily do this as well.

If you have not installed "ubuntu-restricted-extras", do that too.

It could not hurt and would probably help to have a current version of "FFmpeg", which a lot of programs use for audio and video. "FFmpeg" is a Cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.
To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one:

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg


Hope this helps ...
Last edited by phd21 on Sun May 15, 2016 6:47 pm, edited 1 time in total.
Phd21: Mint KDE 17.3 & 18.1, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Wild Penguin
Level 2
Level 2
Posts: 83
Joined: Sat Dec 13, 2014 10:58 am

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

Postby Wild Penguin » Tue Apr 26, 2016 6:54 am

FulciLives wrote:
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.

I thought godsotherhand might have made a typo, and meant to write mp3/ogg to wav instead of wav to flac... otherwise it doesn't make much sense what he is saying, and it would fit the context, as there is the other user who was for some reason doing the conversion (from lossy to wav), which still stumps me a little bit.

But your post summarizes quite well the difference between lossy / lossless. It seldom (if ever) makes sense to re-convert from a lossy format!
When I'm drunk, I change my desktop language to German.

User avatar
Portreve
Level 5
Level 5
Posts: 712
Joined: Mon Apr 18, 2011 12:03 am
Location: Florida

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

Postby Portreve » Sun May 15, 2016 6:39 pm

While I do not have any WMAs, my go-to transcoder in LM is Sound Converter. Because I also deal with source material (tracks from CDs, for example) I use EasyTAG to add album art and all the relevant metadata.

I love both those programs.
Everything is in hand. With this tapestry... and with patience, there is nothing one cannot achieve.

No hamsters were harmed in the authoring of this post.

Ryan_Stevens
Level 1
Level 1
Posts: 11
Joined: Thu Apr 13, 2017 6:46 am

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

Postby Ryan_Stevens » Fri Apr 14, 2017 2:36 am

For Video, Audio, and Picture convert any format I'm using Format Factory. It's genuinely unbelievable programming for video, audio, and picture converter.I'm using this item it is uncommon programming for me and I like this software.Only one programming I can convert any format.

User avatar
phd21
Level 12
Level 12
Posts: 4126
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Postby phd21 » Fri Apr 14, 2017 11:18 am

Hi "Ryan_Stevens",

This is an older post that has been updated.

Linux Mint 18.x users can update "ffmpeg" using the link below, Linux Mint 17.x can still use the other instructions.
http://tipsonubuntu.com/wp-content/uploads/2016/11/ffmpeg-icon.jpg

To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one:

sudo add-apt-repository ppa:jonathonf/ffmpeg-3
sudo apt update
sudo apt install ffmpeg libav-tools x264 x265


The Linux applications that have already been mentioned (ie: SoundKonverter, Sound Converter, etc...) in this post's replies can easily and quickly convert most audio formats into other audio formats. There are many other excellent Linux applications that can convert multimedia files (video, audio, etc...) into other formats as well, like "Curlew", "WinFF", "FF Multi Converter", Selene, transmageddon, etc... "Converseen" is a superb image converter.

Another excellent audio converter and CD ripper is "freac" which runs perfectly well in Linux Mint.
https://www.freac.org/

Another post with more information
https://forums.linuxmint.com/viewtopic.php?f=48&t=237647&hilit=freac

The application "Format Factory" you mentioned appears to be a MS Windows application, so how are you running that in Linux Mint?
Phd21: Mint KDE 17.3 & 18.1, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde


Return to “Software & Applications”

Who is online

Users browsing this forum: No registered users and 55 guests