Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Benno Senoner <sbenno@gardena.net>
To: linux-sound@vger.kernel.org
Subject: Re: Multimedia compression
Date: Sat, 17 Jun 2000 16:57:23 +0000	[thread overview]
Message-ID: <marc-linux-sound-96126233430028@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-96119149930040@msgid-missing>

On Fri, 16 Jun 2000, paco@hydrofunk.org wrote:
> There's something called SHORTEN that does lossless compression of .WAV
> files. It produces .SHN files that are roughly 1/2 the size of the .WAV,
> but... you can't play a SHN file (yet).  You have to decompress it to a
> WAV and listen to it that way.  So, it's good for up/down-loading music
> and for archiving music.
> 
> You can whip up a little script to play CDs full of SHN files.  I did.  It
> just decompresses the SHN off of a CD and pipes the output directly to
> "play" so that I can keep twice the music on a single CD.

I tried shorten some time ago:

when using lossy compression you can achieve 1:4 - 1:5 but on soft passages
the sound is very crappy.

OTOH, when using lossless compression the gain is sometime minimal,
only 20% if you are unlucky.
Not much for my taste.

I prefer to use MPEG Layer 2 ( MP2) at 384kbit (lossy) which outperforms all MP3
based codecs even 320kbit. 

Do you think that in future it will be possible to squeeze out even more
redundancy out of PCM audio using lossless compression ?
( 1:3 - 1:5 would be really cool, but I think there will be no hope ...
audio is just too unpredictable.

OTOH, one way to achieve great compression with little distorsion would be 
decomposing the audio stream in it's elementary "instruments", like
drumset , guitars ,violines , bass etc, and then code a sort of MIDI-like file
(very short) with the "samples" stored in the stream only once.

I think MP4-SAOL is a step in that direction.

Perhaps John Lazzaro could give us more insights regarding this field.

I know that the goal will be "statistically indistinguishable from CD" sound,
just like AAC 128kbit or  MP3  > 160-192kbit  does. ( no folks, those believing
MP3 128kbit = TRUE CD quality are completely FOOLISH),
but I am just curious what the achievable compression ratio will be , when
compressing a typical pop, rock, techno, classical  song using structured
audio.
Will 1:20 , 1:30 be possible in future ?

cheers,
Benno.

  parent reply	other threads:[~2000-06-17 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-16 21:35 Multimedia compression Sergey
2000-06-16 21:55 ` paco
2000-06-16 21:56 ` paco
2000-06-17 16:57 ` Benno Senoner [this message]
2000-06-20 17:08 ` paco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-96126233430028@msgid-missing \
    --to=sbenno@gardena.net \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox