LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2014, 06:38 PM   #1
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Rep: Reputation: 10
Using "Sound Converter"


Evening:

I've installed "SoundConverter" and need either a tutorial on it's use, or perhaps, someone could answer this for me :

When I opened 'SoundConverter" it looked pretty straigtforward, however, I wanted to convert a .wma to FLAC and I couldn't get the program to do so. I guess, at this point, I wouldn't know how to convert any file. Perhaps someone would answer this: VLC plays .wma files in MSWindows, why NOT in Linux? Any help would be appreciated!

RICK
 
Old 01-17-2014, 08:16 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Hi

assuming your main aim is to play wma

vlc can play wma files as per sample link
http://www.nch.com.au/acm/sample.wma

that suggests to me, maybe Ubuntu does not have the correct codecs?
or you do not have the correct number of packages or
vlc for ubuntu has been compiled without w32 codec support?

use a terminal commnand and compare my results maybe you are missing a package?

Code:
dpkg -l | grep vlc
ii  libvlc5                                 2.1.2-2                        i386         multimedia player and streamer library
ii  libvlccore7                             2.1.2-2                        i386         base library for VLC and its modules
ii  vlc                                     2.1.2-2                        i386         multimedia player and streamer
ii  vlc-data                                2.1.2-2                        all          Common data for VLC
ii  vlc-nox                                 2.1.2-2                        i386         multimedia player and streamer (without X support)
ii  vlc-plugin-pulse                        2.1.2-2                        i386         PulseAudio plugin for VLC
ignore my version numbers
 
Old 01-17-2014, 08:24 PM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
if on the other hand, you really want to get into sound conversions I highly recommend you look at installing sox

Code:
sudo su
apt-get update
apt-get install sox libsox-fmt-all
that last one helps give you all these formats

Quote:
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud mp2 mp3 nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl sln smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa xi
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa ao oss ossdsp pulseaudio
 
Old 01-17-2014, 08:29 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
next sox can on-the-conversion change bit rates etc

but its really simple to convert

Code:
sox kylie.mp3 kylie.flac

(lets look at the specs)
--------input file specs seen with
file kylie.mp3 
kylie.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 192 kbps, 44.1 kHz, JntStereo

------output with no change in specs
file kylie.flac 
kylie.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 8666496 samples
 
Old 01-17-2014, 08:46 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
have not found an extensive wiki but
http://www.thegeekstuff.com/2009/05/...e-audio-files/

looks ok

Code:
man sox
gives you the full monty
 
Old 01-18-2014, 02:23 AM   #6
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by 69Rixter View Post
When I opened 'SoundConverter" it looked pretty straigtforward, however, I wanted to convert a .wma to FLAC and I couldn't get the program to do so. I guess, at this point, I wouldn't know how to convert any file. Perhaps someone would answer this: VLC plays .wma files in MSWindows, why NOT in Linux? Any help would be appreciated!
If you dont have the libaries instralled to play .wma, sound converter cant decode them, so cant play them.

There can be other issues, like DRMed .wma files.

BTW, convertering a lossy codec (like .wma) to lossless is pointless. You wont gain any quality, you'll just have bigger files. While lossy-lossy conversions tend to lose a little quality, its not noticable in most cases. So if you must convert your .wma files, ogg vorbis would probably be a better choice.

*edit- assuming that you are using ubuntu, this link should help to add wma support-

https://help.ubuntu.com/community/RestrictedFormats

Quote:
Originally Posted by aus9 View Post
if on the other hand, you really want to get into sound conversions I highly recommend you look at installing sox
Any particular reason to use sox? Apart from the possible output (which doesnt matter IMO, who needs to convert to obscure formats, and you can probably get most or all of them with soundconverter anyway) and that its command line (which is fine if it floats your boat, though personally I'd rather have a simple GUI in some cases, like this)

AFAIK soundconverter uses sox as a backend for some conversions anyway

Last edited by cascade9; 01-18-2014 at 02:24 AM.
 
Old 01-18-2014, 08:15 AM   #7
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
once a sox man always a sox man

what can I say?
 
Old 01-18-2014, 05:49 PM   #8
Zirbert
LQ Newbie
 
Registered: Oct 2010
Distribution: Ubuntu Studio
Posts: 13

Rep: Reputation: 0
Sound Converter won't convert a few formats for me, either, so I installed SoundKonverter (different program, despite the dangerously similar name), and it seems to handle the ones that Sound Converter doesn't.


As for the question raised of why one might convert wma (or lossy aac, etc.) to FLA, here's an example. I have a portable audio player that plays FLAC and mp3, but not aac or wma. I want to play the files in that player, and don't want to increase transcode losses by converting to mp3, so FLAC wins by default.

Last edited by Zirbert; 01-18-2014 at 08:08 PM. Reason: Typo.
 
Old 01-18-2014, 07:00 PM   #9
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
69Rixter

in reading my own reply I realised, only today DOH, that vlc defaults to alsa output

it might be a quick fix

ensure that you install ..... vlc-plugin-pulse

open up vlc go to preferences and pulldown and choose pulseaudio

good luck
 
Old 01-19-2014, 02:20 AM   #10
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Fair enough aus9.

Quote:
Originally Posted by Zirbert View Post
As for the question raised of why one might convert wma (or lossy aac, etc.) to FLA, here's an example. I have a portable audio player that plays FLAC and mp3, but not aac or wma. I want to play the files in that player, and don't want to increase transcode losses by converting to mp3, so FLAC wins by default.
I'd never convert from wma to flac, I perfer to keep all lossless files actually lossless. Sure, there may be a tiny amount of extra data loss from a lossy->lossy transcode, but at least you've got reasonable sized files and no 'fake lossless' files.

You could always just rerip the tracks. You do own the original CDs, right?

Last edited by cascade9; 01-19-2014 at 02:21 AM.
 
Old 01-19-2014, 12:00 PM   #11
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
.wma conversion/play

To All Whom Replied:

Thanx everyone. Getting a lot of information. Now, I need to decipher it.

To: aus9:

Thank You for all the info. OK, let me better define my intent. First, when I discovered Ubuntu/Linux/VLC would not play .wma's, then I'd have to say "My intent would be to convert the files". That said, should there be a set of "commands" I could run that allows play of .wma, then, no need for conversion. I'm a bit confused. You stated you wouldn't convert .wma to FLAC because of lossy vs.lossless. Correct me if I'm wrong...are not both files lossless? I do understand the "size" matters issue concerning 'portable players" being vital (and to females..I guess), but, I'm not concerned. These files are going to my HDD.( and it's BIG enough..if any females are montoring this post) And your right in stating .wma's are a bit smaller than FLAC's. Now, the reason for wanting to convert .wma's to FLAC's was because I couldn't play wma's in Linux. So, now I understand, I can solve this issue either way...according to the previous threads(BTW..what's difference between thread, post, and a reply or question???)(being fecious!!). So, OK, with info I just gave you, coupled with information forwarded, let's say I want to be able to play wma's and go from there.
Much Appreciated:
Rick
 
Old 01-19-2014, 12:52 PM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
WMA files are only lossless if you chose them to be when you ripped or converted the original tracks. Otherwise it's just another lossy format like MP3, Ogg or others.
To either play or convert the files you need the right CODECs. cascade9 gave you a link telling you how to install what you need so that you should be able to play WMA files.
To convert them you would then just select them as input files in SoundConverter, change the settings to output into your CODEC of choice (FLAC if they really are lossless WMA or Ogg if they're not would be my particular choice) then run.
On looking into this I did see mention of problems playing lossless WMA under Ubuntu so it is possible there are problems.
 
Old 01-19-2014, 05:53 PM   #13
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
actaully I think you might be quoting from other replies than mine in talking about loss of quality versus compression versus what you can play.

Being an older male, what can I say? giggles ---- I suggest you look at the info in post 11 that is,
you were searching for a linux distro that easily played wmas

----but you claim its almost all of Linux....where I have already proved with vlc on my (debian) system thats not the case
------so its an *buntu thing

I am not interested in a Debian versus the *buntu debate per se, only that your assumptions are wrong.

2) Leaping ahead from the link supplied by cascade9....just follow these steps

Code:
sudo su 
apt-get update
apt-get install ubuntu-restricted-extras vlc-plugin-pulse
the first line allows you to ignore prefacing the remaining lines with sudo
second line updates your package available list
third line installs stuff

######### alternative folder to direct download assuming no geoblocking

or click on links ---choose 32 bit or 64 bit and click to download it
http://mirror.internode.on.net/pub/u...ricted-extras/

http://mirror.internode.on.net/pub/u...niverse/v/vlc/
---scroll down to vlc-plugin-pulse* area and choose 32 bit or 64 bit etc

to know what version to download alternative way match your vlc number as per the output of

Code:
dpkg -l | grep vlc
3) which ever way you download the restricted files and the vlc plugin
run vlc and configure it to have pulseaudio as the output setting

tools -> preferences -> click LH icon for audio -> see RH pane says output>....click the pulldown and choose pulseaudio audio output

---play a wma and report if you have success pls

if you do, you can also mark this post as solved -----I assume you no longer wish to convert as per your reply

good luck

Last edited by aus9; 01-19-2014 at 05:54 PM.
 
Old 01-19-2014, 06:22 PM   #14
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Evening:

aus9; OK, I'm not sure what reply your refering to, but it's possible. And, I stand corrected, I should amend my post to say Ubuntu and it's derivitives are devoid of the ability to play .wma's.

cascade9: OK, I won't convert if I can install proper add-ons/codecs/programs to be able to play wma's. And, all my wma's were ripped in lossless. Been that way for a few years now.

273: Please read response to cascade9.

To: All Whom Replied:

Thank You for your replies/help. Although I'm not exactly a newbie, I sound like it because I've been searching all the wrong sites seeking answers. Had I known about this site earlier, believe me, I'd had been here long ago and you'd probably NOT be hearing from me now. I've received more help and instructions(I mean besides being told to "go to hell") in this last week, than I have in 2 yrs prowling other sites.

My Hats Off To You All!!!
RICK
 
Old 01-19-2014, 06:29 PM   #15
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
EVERYONE:

OK, should've posted this long ag! My sincere apologies. #1.distro: Ubuntu 12.04.3. #2. HP 2000-210US 64bit.

RICK
 
  


Reply

Tags
multimedia, music



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing the Enlightenment Sound Daemon (aka "esd" aka "esound") jgombos Debian 4 03-30-2010 02:33 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Sound problem with "alsamixer" or "alsaconf" or sth else maybe... Mikuda Linux - Games 4 05-01-2004 11:09 AM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration