LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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

View Poll Results: What (non mp3) audio format do you prefer ?
.aac 3 9.68%
.mp4 2 6.45%
.ogg 19 61.29%
.flac 12 38.71%
.mpc 0 0%
.au 0 0%
Multiple Choice Poll. Voters: 31. You may not vote on this poll

Reply
 
LinkBack Search this Thread
Old 08-29-2009, 03:21 AM   #1
action_owl
Member
 
Registered: Jan 2009
Location: 127.0.0.1
Distribution: Fedora, CentOS, NetBSD
Posts: 115

Rep: Reputation: 17
Lightbulb BEST GNU audio format ?


I am looking to convert my entire .mp3 collection over
to something more GNU friendly, any suggestions?
What are my options?
Attached Images
File Type: jpg casette.jpg (18.6 KB, 2 views)
 
Old 08-29-2009, 03:26 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Check out Ogg..

http://en.wikipedia.org/wiki/Ogg

It lists several codecs for different applications (audio/video) that are FOSS.

http://en.wikipedia.org/wiki/Vorbis (for audio)
 
Old 08-29-2009, 03:56 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Mmm, the title is confusing and inexact.

I am not expert in licenses and legal stuff, but I *think* that formats themselves are not licensed under the GNU or anything. We can talk about formats that are not encumbered by patents though, and mp4 (which is in your list, is not one of them, since it's a variant of mpeg just like mp3).

Besides that there's an issue that you might not have considered. Mp3 is a lossy format, which means that the original soundtrack cannot be recovered by decoding the mp3 file. Quality is lost on the encoding process to achieve higher compression ratios, like in jpeg. Ogg/vorbis is yet another lossy format. It doesn't matter if it's superior to mp3. When the files were compressed as mp3, they lost some quality, and if you decode them and recode them as ogg, you will be losing another bit of quality. So, recoding your whole collection using the mp3 files as a starting point might not be a good idea.

Being that said, nothing stops you from using the original source (in case that the music was ripped from cdaudio disks) and coding them as ogg this time. Ogg/vorbis would be my choice for regular audio files when I can stand a lossy format.

When the higher quality is a must then lossy formats are out of the question, and in that case I'd use flac. Flac files contain all the original information, just compressed, like if you zip a wav file. You can always restore the original sample from a flac file, unlike with mp3 or ogg. You could decode all your mp3's and recode them as flac, and they will be exactly the same quality, but flac files can take a lot of space. It depends on a number of parameters, and the bitrate that you chose for mp3, but in general terms, an mp3 file can take 1/10 to 1/5 the original size of the file, while flac files usually will take 1/2 of the original size. That means that a 700mb cdaudio will fit in approximately 350 mb or so. This is just a rough rule, you'll have to check yourself.

I won't vote because both flac and ogg are very different and you haven't given any criteria. I'd say ogg for general purpose, when the storage capacity is limited, and flac when quality matters.

Last edited by i92guboj; 08-29-2009 at 04:33 AM. Reason: typos
 
Old 08-29-2009, 04:07 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Quote:
Originally Posted by i92guboj View Post
...Mp3 is a lousy format, which means that the original soundtrack cannot be recovered by decoding the mp3 file.
FTR, lousy means bad. (i.e. You lousy scoundrel!) pronounced LOWZY

You mean lossy (pronounced LAWSEE), which means it loses data.
 
Old 08-29-2009, 04:30 AM   #5
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by action_owl View Post
I am looking to convert my entire .mp3 collection over
to something more GNU friendly, any suggestions?
What are my options?
You shouldn't convert your mp3s to anything. Mp3 is a lossy format which means that if you trancode the files the sound quality will get much worst. I recommend you prefer non lossy formats from now on like flac.
 
Old 08-29-2009, 04:32 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by Admiral Beotch View Post
FTR, lousy means bad. (i.e. You lousy scoundrel!) pronounced LOWZY

You mean lossy (pronounced LAWSEE), which means it loses data.
Thanks for the correction, you always learn something each day. I'll try to remember that, I'll also correct the post above

But hey, mp3 is somewhat lousy as well anyway hehehe
 
Old 08-29-2009, 04:34 AM   #7
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
hehe. No worries. I rather like mis-speaks like this. They are fun.
 
Old 08-29-2009, 04:45 AM   #8
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 259
Blog Entries: 1

Rep: Reputation: 35
converting .mp3 to .flac files is an offence as far as the license is concerned.

and why the hell do you want to convert .mp3 files when you can directly play it.
 
  


Reply

Tags
audio, format, gnu, mp3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PLEASE HELP! GNU INSTALLATION-->gr-audio-jack not found??? Kwame_Martin Programming 6 08-07-2009 05:53 AM
Need help with audio problems in debian GNU/Linux icebyte Linux - Hardware 2 05-04-2006 12:03 PM
gnu error format alaios Programming 5 08-21-2005 11:27 PM
Audio - uncompressed file format Beuzekom Linux - Software 3 02-10-2004 08:53 AM


All times are GMT -5. The time now is 02:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration