Shine 和 8hz-mp3

本文对比分析了两款MP3编码器shine与8hz-mp3的功能特性与编码质量。介绍了8hz-mp3的使用方法及其支持的采样率与比特率等参数,并指出其在质量上虽不及Fraunhofer编码器,但速度较快且完全免费。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

读完shine, 认为自己对MP3协议懂了个八九不离十了,沾沾自喜,  窃笑之。
一个网友问我8hz-mp3为什么编译不过去,在我的Eclipse+CDT+MinGW编译的呼啦转。 发现没问题,
WAV转一转MP3,比shine的质量好N多。
早就知道shine仅仅使用了long block, 翻开8hz-mp3, 人家是long block, short block都使用了,还没来得及细看。
其他部分二者都是大体一样,差别就在l3loop上有不同。而且差别不小。
才知道对MP3顶多也只是懂了个六七成,哪里是八九不离十。

8hz-mp3需要注意的看一看。

附上二者的readme


8hz-mp3 readme
-----------------------------------------------------------README---------------

Mon May 18 01:20:00 MET DST 1998

Contents
  What is 8hz-mp3 ?
  How to use it.
  Known misfeatures.
  How to contribute.
  Version history.
  Disclaimer.
  List of Contributors.

-----------------------------------------------------------What is 8hz-mp3 ?----
8hz-mp3 is the name for our MPEG audio encoder,

SoloH's project "MpegEnc" gave us the idea to also have a go at an free encoder,
  but with speed as our main goal, so we went at it.
  We did it to learn something and have some fun while doing so.
  It supports a number of platforms and will be ported to more eventually.
  We took the same official ISO source as SoloH did and we poked around in it
  for a couple of days. It's free as is his, but we target more platforms.
  The result seems not to be too bad (we think).

At this moment this encoder only supports MPEG I layer III.
  (but hey, what else would you want to encode anyway ??)
  This encoder seems to be reasonably fast and it's totally free...


-----------------------------------------------------------How to use it--------

This program reads windows .wav (RIFF-WAVE-MSPCM) sample-files.
  Only 16-Bit samples are supported.
  8hz-mp3 encodes a .mp3 file with the same channel mode as the .wav file has.
  (either mono or stereo)
 
|  8hz-mp3 1998 8Hz software
|  USAGE   : 8hz-mp3 [options] infile outfile
|  OPTIONS : -h            this help message
|            -b bitrate    set the bitrate, default 128kbit
|            -c            set copyright flag, default off
|            -o            set original flag, default off

  Valid samplerates are : 32000, 44100 and 48000Hz
  (eg, samples with other samplerates are rejected by the encoder.)
  Valid bitrates are : 32,40,48,56,64,80,96,112,128,160,192,224,256 and 320

For example :
|  8hz-mp3 -b 128 -c -o blah.wav blah.mp3
(This will encode the sample blah.wav into blah.mp3, with a bitrate of
 128kBit/sec with the 'copyright' and 'original' flags set to 'on')
The copyright and original flags do not add anything to the mp3 file, they
just let you specify the status of the music file.

-----------------------------------------------------------Known misfeatures----

These are the know misfeatures (bugs ?:)
  *It is known to crash. (but not often *phew*)
  *If you want the best quality, you should go with a Fraunhofer encoder.
   These really are the best, by far. Speed or no speed.
   Xing-engine based programs are blazing fast, but they cut-off at 16Khz,
   so they have way less work to do.
   8hz-mp3 is a nice go at something usefull, but quality wise it is under par.
   (Quality is on the same level as the other (ISO Source based) free encoder
    'MpegEnc' from SoloH:  http:www.isafeelin.org/SoloH)
  *Some residual debug output will from time to time be printed.

-----------------------------------------------------------How to contribute----

As it will be very exciting (and usefull :) to have the software on all kinds
  of machines/OS' and due to the many requests we have decided to put the
  source of the next version online, so everybody can port it to the platforms
  they desire.

We'd like to 'coordinate' a wider effort to get these ISO sources fast and
  better than they are now, many people have already mentioned they'd like to
  help. When the sources for v0.2 are available we'll be waiting for all your
  patches and updates to use them in the next version.

For more information read the deveopment page at : http://www.8hz.com/mp3/devel/

-----------------------------------------------------------Version History------

version 0.1b
  Removed all MPEG Layer I/II support,
  Removed all MPEG II support,
  Rearranged some routines,
  Optimised a little ( at least 40%, for intel based machines ).

version 0.11b (Microsoft windows 95/NT only)
  Hacked a simple GUI.

-----------------------------------------------------------Disclaimer-----------

This software is the result of the experimenting we've done with the
  original ISO sources, the primary goal of which was for us to learn.
 
These software programs are available to the user without any
  license fee or royalty on an "as is" basis. 

We disclaim all warranties and fitness for a particular purpose,
  in short "use at your own risk".

In no event we will accept liability for any incidental, punitive,
  or consequential damages of any kind whatsoever arising from the
  use of this program.

We do not represent or warrant that the programs furnished hereunder
  are free of infringement or any third-party patents, copyrights
  or trade secrets.

-----------------------------------------------------------List of Contributors-

The performance increase, WAVE support and 'uncluttering' of the code:
8hz-mp3: (general email: 8hz-mp3@8hz.com)

alex@8hz.com   (A.R. v. Ballegooy)
goran@8hz.com  (G. Dokic)


This is the list of contributors the documentation with the original
ISO sources gives. (These people know their stuff, Respect!)

Bill Aspromonte    Shaun Astarabadi    R. Bittner          Karlheinz Brandenburg
W. Joseph Carter   Jack Chang          Mike Coleman        Johnathan Devine
Ernst Eberlein     Dan Ellis           Peter Farrett       Jean-Georges Fritsch
Vlad Fruchter      Hendrik Fuchs       Bernhard Grill      Amit Gulati
Munsi Haque        Chuck Hsiao         Toshiyuki Ishino    Masahiro Iwadare
Earl Jennings      James Johnston      Leon v.d. Kerkhof   Don Lee
Mike Li            Yu-Tang Lin         Soren Neilsen       Simao F. Campos Neto
Mark Paley         Davis Pan           Tan Ah Peng         Kevin Peterson
Juan Pineda        Ernst F. Schroeder  Peter Siebert       Jens Spille
Sam Stewart        Al Tabayoyon        Kathy Wang          Franz-Otto Witte
Douglas Wong



--------------------------------------------------------------------------------
shine readme

Shine 0.1.4

This is a very minimalist implementation of MPEG Layer III
distributed under the GPL licence. It can be used as a
starting point for an encoder.

Gabriel Bouvigne
bouvigne@mp3-tech.org







评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值