Fedora Linux Support Community & Resources Center
  #1  
Old 11th October 2012, 12:08 PM
cyborg's Avatar
cyborg Offline
Registered User
 
Join Date: Apr 2004
Location: Brackley, England
Age: 22
Posts: 180
linuxfirefox
Best audio format for compressed quality

Not really a Fedora, or even Linux based question (and even "Programming" is questionable), but I digress.

I'm helping out a community online radio station that is recording each show for a "listen again" feature that I've put onto their website. Currently these are in MP3 format as that's what their streaming software kicks out when the show is marked as finished. These are around 50MB each for an hour's worth which isn't bad going, but I was wondering if there is any better format for this that anyone could recommend? I've never done much work with audio files, I just dump MP3 onto my player and save things in Ogg when recorded in the past.

If it's anything like images, I'm assuming there are lossy and lossless formats etc.
__________________
[joe@host]
Reply With Quote
  #2  
Old 11th October 2012, 01:51 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: Best audio format for compressed quality

I'm no music listener but from the little I do listen (actually I listen more to speeches than music) mp3 is pretty bad.
For music I hear that flac http://en.wikipedia.org/wiki/Flac ,which is a compressed lossless format, is pretty good.
For talk there are formats targeted for that like speex http://en.wikipedia.org/wiki/Speex but don't know if a generic mp3 player reproduces that.
Online radios use a lot aac http://en.wikipedia.org/wiki/Aac because it has both better compression and better quality than mp3.
Reply With Quote
  #3  
Old 11th October 2012, 02:08 PM
cyborg's Avatar
cyborg Offline
Registered User
 
Join Date: Apr 2004
Location: Brackley, England
Age: 22
Posts: 180
linuxfirefox
Re: Best audio format for compressed quality

Quote:
Originally Posted by secipolla View Post
I'm no music listener but from the little I do listen (actually I listen more to speeches than music) mp3 is pretty bad.
For music I hear that flac http://en.wikipedia.org/wiki/Flac ,which is a compressed lossless format, is pretty good.
For talk there are formats targeted for that like speex http://en.wikipedia.org/wiki/Speex but don't know if a generic mp3 player reproduces that.
Online radios use a lot aac http://en.wikipedia.org/wiki/Aac because it has both better compression and better quality than mp3.
Thanks, I'll look at FLAC. It think it's similar to .ogg, so I'll have an experiment and post my results.
__________________
[joe@host]
Reply With Quote
  #4  
Old 11th October 2012, 03:53 PM
Dutchy Offline
Registered User
 
Join Date: Aug 2011
Posts: 695
linuxfirefox
Re: Best audio format for compressed quality

FLAC will give you only bigger files but with better (lossless) quality.
I would go for aac (not open but good compression), ogg (open but a little bit worse compression wise) or opus (open, best of both worlds but very new).

The problem with all these audio formats is compatibility (your visitors need to be able to play the files), so you'll probably also need to take that into consideration.
Reply With Quote
  #5  
Old 11th October 2012, 04:13 PM
BBQdave's Avatar
BBQdave Offline
Gnome-gasmic by choice!
 
Join Date: Aug 2011
Location: North Carolina
Age: 45
Posts: 1,029
linuxfirefox
Re: Best audio format for compressed quality

Quote:
Originally Posted by cyborg View Post
Thanks, I'll look at FLAC. It think it's similar to .ogg, so I'll have an experiment and post my results.
I am curious what you determine. Though for compression and sound quality, I would go with Ogg Vorbis
__________________
On quest for blue smoke and red rings...
Reply With Quote
  #6  
Old 11th October 2012, 04:52 PM
cyborg's Avatar
cyborg Offline
Registered User
 
Join Date: Apr 2004
Location: Brackley, England
Age: 22
Posts: 180
linuxfirefox
Re: Best audio format for compressed quality

Quote:
Originally Posted by Dutchy View Post
FLAC will give you only bigger files but with better (lossless) quality.
I would go for aac (not open but good compression), ogg (open but a little bit worse compression wise) or opus (open, best of both worlds but very new).

The problem with all these audio formats is compatibility (your visitors need to be able to play the files), so you'll probably also need to take that into consideration.


I have an embedded player which can read almost anything, so no worries there! These aren't meant for download.
__________________
[joe@host]
Reply With Quote
  #7  
Old 11th October 2012, 09:40 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,446
linuxfirefox
Re: Best audio format for compressed quality

FLAC is not really similar to ogg, it's bit perfect to the original wav file that was used to make it. Ogg (actually the sound format is "vorbis", ogg is the container the vorbis goes in) on the other hand is lossy depending on what compression/quality factor you use.

So when you play a song via flac, it's effectively bitwise identical to the wav file that came from the CD. You can even test if the flac file has been corrupted at any time since it was created by checking it with the "flac -t" command and option:
Quote:
$ flac -t songtitle.flac
songtitle.flac: ok
So "ok" means the checksum in the flac file matched what was computed

There's some people that claim that flac's don't sound as good as wav but that's pretty controversial. Explaining such a quality reduction requires resorting to the extra work the cpu does uncompressing the file adds some EMI noise to the computer or maybe the fact that the cpu is slightly more busy in the flac case means some process timing gets sloppier making more jitter (which is a term for variation in timing in audio) at getting the music stream to the DAC (the component that converts the digital format back to analog for your speakers)

Last edited by marko; 11th October 2012 at 09:50 PM.
Reply With Quote
  #8  
Old 11th October 2012, 11:54 PM
Penguinclaw's Avatar
Penguinclaw Offline
Registered User
 
Join Date: Jul 2009
Location: UK
Posts: 142
linuxfirefox
Re: Best audio format for compressed quality

Personally for quality I'd recommend Flac. Okay they are bigger files but with TB hard-drives this is less of an issue. In fact I've converted my entire cd collection to Flac and connected my pc to my hifi via an M-audio soundcard and the quality is very good. I'm also blessed with a Samsung "mp3" player that plays Flac

Having said that I don't know much about internet radio which I guess has a certain bandwidth thus making the use of Flac, perhaps, not so useful. In that case I guess AAC may be a better choice or of course Ogg Vorbis; don't forget you can alter the bit rate of your recordings to ensure you get a good balance between quality and size.
__________________
OSS - the way forward
Reply With Quote
  #9  
Old 12th October 2012, 12:52 AM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 857
linuxopera
Re: Best audio format for compressed quality

For such tasks low bitrates with good quality are much more important than lossless audio compression. Probably the best choice is Vorbis or AAC. There is also a new emerging audio format, which is said to have even an better quality/filesize ration. But Opus is not widely supported yet Opus audio codec is now an Internet Standard, wikipedia

Last edited by Fenrin; 12th October 2012 at 01:05 AM.
Reply With Quote
Reply

Tags
audio, compressed, format, quality

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
invalid compressed format (err=1) Installation Error linuxgroups Installation and Live Media 0 31st October 2007 06:36 PM
invalid compressed format (err = 1) Gaspode Using Fedora 3 9th February 2007 01:20 PM
invalid compressed format (err=2), FC6 D_U EOL (End Of Life) Versions 6 17th November 2006 08:56 PM
invalid compressed format err=1 in fc3 binodc EOL (End Of Life) Versions 1 2nd April 2005 12:31 PM
Invalid compressed format (err=2) patrickhays Installation and Live Media 1 10th March 2005 03:15 AM


Current GMT-time: 12:57 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat