IPB

Welcome Guest ( Log In | Register )

11 Pages V   1 2 3 > »   
Reply to this topicStart new topic
new Open Source mp3 Encoder from Helix Community
kurtnoise
post Jul 14 2005, 07:48
Post #1





Group: Members
Posts: 326
Joined: 26-June 02
From: Aix-en-Provence
Member No.: 2400



I just read this info from Karl here in Doom9

QUOTE
We have open sourced our MP3 encoder under the RPSL/RCSL. It has been checked it in under datatype/mp3/codec/encoder

You can build it with the following example configuration in the ribosome build system:

CODE
bif: helix
target: datatype_mp3_codec_encoder
profile: helix-client-all-defines SYSTEM_ID=linux-2.2-libc6-gcc32-i586



Documentation is available here:
http://datatype.helixcommunity.org/2005/mp3enc.doc

Source is here:
https://helixcommunity.org/viewcvs/.../codec/encoder/


Could be great if someone can try to build a binary for windows at least....maybe John33 biggrin.gif


--------------------
http://www.unite-video.com/phpbb/viewtopic.php?t=5412 :: An overview of all lossless Audio Formats (in french language ;-)
Go to the top of the page
+Quote Post
john33
post Jul 14 2005, 08:21
Post #2


xcLame and OggDropXPd Developer


Group: Developer
Posts: 3726
Joined: 30-September 01
From: Bracknell, UK
Member No.: 111



The source code link is broken, it's: https://helixcommunity.org/viewcvs/cgi/view.../codec/encoder/
I'll look at it, but there doesn't seem to be a simple d/l or anonymous CVS access, as yet, so it looks like grabbing a file at a time!!


--------------------
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 08:29
Post #3





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



What's RPSL/RCSL license, briefly?
Go to the top of the page
+Quote Post
john33
post Jul 14 2005, 09:22
Post #4


xcLame and OggDropXPd Developer


Group: Developer
Posts: 3726
Joined: 30-September 01
From: Bracknell, UK
Member No.: 111



You can d/l the doc and the source (including the RPSL licence text) from: http://homepage.ntlworld.com/jfe1205/helix_mp3enc.zip smile.gif

I've not attempted any kind of build, as yet, this is just copied from the Helix CVS.


--------------------
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/
Go to the top of the page
+Quote Post
Latexxx
post Jul 14 2005, 09:34
Post #5


A/V Moderator


Group: Members
Posts: 858
Joined: 12-May 03
From: Finland
Member No.: 6557



QUOTE (john33 @ Jul 14 2005, 09:21 AM)
The source code link is broken, it's: https://helixcommunity.org/viewcvs/cgi/view.../codec/encoder/
I'll look at it, but there doesn't seem to be a simple d/l or anonymous CVS access, as yet, so it looks like grabbing a file at a time!!
*

You need a free registration at helixcommunity.org to be able to acces their cvs server. More information: https://common.helixcommunity.org/2004/devdocs/quickstart
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 14:37
Post #6





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



I beg one of my friend to compile a windows binary of this mp3 coder for me, and here it is:

http://www.hydrogenaudio.org/forums/index....showtopic=35540

Hope someone with good ear can evaluate this coder.

This post has been edited by Enig123: Jul 14 2005, 14:37
Go to the top of the page
+Quote Post
guruboolez
post Jul 14 2005, 15:17
Post #7





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



I could add this encoder in my next tests smile.gif
I could make it work, but unfortunately I haven't found yet the magic formula to use it directly with foobar2000. Help would be appreciated smile.gif For batch encodings (with PCM source only), I'm using Speek's Wav2Gogo (mp3enc.exe must be renamed as gogo.exe).

This encoder have a nice VBR scale (from 0 to 150).
Some points are obscure to me:

QUOTE
mode      Select encoding mode: mode-0 stereo=0 mode-1 stereo=1 dual=2 mono=3.

nsbstereo
          Applies to mode-1 stereo mode only.  Number of subbands to
          encode in independent stereo.  Valid values are 4, 8, 12, and 16.
          The encoder limits choices to valid values.  The encoder
          will make a default selection if nsbstereo = -1.
          Valid values for Layer III are 3-32.

filter_select
          Selects input filtering:  no filter = 0,  DC blocking
          filter = 1.


I'd say that quality is (clearly) inferior to LAME but speed could make this encoder more attractive.

This post has been edited by guruboolez: Jul 14 2005, 15:18
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 15:25
Post #8





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



QUOTE (guruboolez @ Jul 14 2005, 10:17 PM)
I could add this encoder in my next tests smile.gif


Thank you guru.

QUOTE
I'd say that quality is (clearly) inferior to LAME but speed could make this encoder more attractive.
*



I don't know all the options neither.

This coder is not considered stronger than LAME, but I'm afraid a lot of people want to know how good it can be.

As for the speed, a asm-enabled compile may be more faster (this compile didn't use asm code).

This post has been edited by Enig123: Jul 14 2005, 15:28
Go to the top of the page
+Quote Post
DigitalDictator
post Jul 14 2005, 15:31
Post #9





Group: Members
Posts: 313
Joined: 9-August 02
From: SoFo
Member No.: 3002



At the other forum they asked if this was the Xing encoder. Since it was Karl Lillevold who announced it, it may well be the case. Does anybody know? I couldn't open the .zip file and try it out.
Go to the top of the page
+Quote Post
rjamorim
post Jul 14 2005, 15:36
Post #10


Rarewares admin


Group: Members
Posts: 7515
Joined: 30-September 01
From: Brazil
Member No.: 81



QUOTE (DigitalDictator @ Jul 14 2005, 11:31 AM)
At the other forum they asked if this was the Xing encoder. Since it was Karl Lillevold who announced it, it may well be the case. Does anybody know? I couldn't open the .zip file and try it out.
*


Better wait to hear it from Karl himself. I couldn't see any XING headers in the sources, but considering the big amount of assembly code in there, I would suppose it is.

I'm trying to compile it with ASM, but they don't even mention what assembler you should be using! Hopefully it's MASM...

This post has been edited by rjamorim: Jul 14 2005, 15:38


--------------------
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 15:36
Post #11





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



DigitalDictator, I have tried to download it @ HA with success. Your problem may be solved by clear the cache of your browser.

As we all know, Real bought Xing's mp3 encoder, so this coder have great possibility to be right the Real tweaked Xing. But this question is supposed to be answered by Karl himself.
Go to the top of the page
+Quote Post
guruboolez
post Jul 14 2005, 15:39
Post #12





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



The VBR mode sounds interesting. I've encoded 35 samples (from Roberto's listening tests) with -V50, and average bitrate was ~127 kbps (but with huge difference between samples). Quality was very interesting (forgot my previous comment about relative quality compared to LAME: serious testing is needed), and I'd say that it should be wise to give at least a try to this encoder.


About VBR and bitrate, it seems that some software have problems to calculate the bitrate. foobar2000 for example evaluate the bitrate at 80 kbps for each samples ?? MisterQuestionMan is also fooled. Only Encspot gives me reliable (I suppose) results. Also funny to see encspot detect three different encoders :
- Gogo (> 3.0) most often
- Lame (old) or m3e
- Xing (new)

http://foobar2000.net/divers/temp/RealEncspot.html
http://foobar2000.net/divers/temp/RealMQM.html
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 15:43
Post #13





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



QUOTE (guruboolez @ Jul 14 2005, 10:39 PM)
About VBR and bitrate, it seems that some software have problems to calculate the bitrate. foobar2000 for example evaluate the bitrate at 80 kbps for each samples ?? MisterQuestionMan is also fooled. Only Encspot gives me reliable (I suppose) results. Also funny to see encspot detect three different encoders :
- Gogo (> 3.0) most often
- Lame (old) or m3e
- Xing (new)

http://foobar2000.net/divers/temp/RealEncspot.html
http://foobar2000.net/divers/temp/RealMQM.html
*


I also tried the vbr mode, after 'fix MP3 header' by foobar2000, the bitrate shows OK. This problem may due to the hush compile that cannot handle vbr-header right.

Note: The encoded mp3 is recognized as 'Xing (new)' by Encspot only when there's no short-block used.

This post has been edited by Enig123: Jul 14 2005, 15:53
Go to the top of the page
+Quote Post
Synthetic Soul
post Jul 14 2005, 16:08
Post #14





Group: Super Moderator
Posts: 4887
Joined: 12-August 04
From: Exeter, UK
Member No.: 16217



QUOTE (guruboolez @ Jul 14 2005, 03:17 PM)
I could make it work, but unfortunately I haven't found yet the magic formula to use it directly with foobar2000. Help would be appreciated smile.gif

Parameters: %s %d -V50
Highest BPS mode supported: 16


The BPS had me beat for a while. smile.gif


--------------------
I'm on a horse.
Go to the top of the page
+Quote Post
guruboolez
post Jul 14 2005, 16:09
Post #15





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



Just tried with my collection of 150 samples. Average bitrate for -V50 setting is 122 kbps. Lowest bitrate happened with sample S26 (66 kbps) and highest one with sample A03 (250 kbps). Wow! That's VBR ! This last sample is now detected by Encspot as a Fhg (fastenc) source laugh.gif
Anyway, this sample proves if needed that a short-block switching algorithm is present, and is working:

long block = 15,2%
short block = 84,8% !!


I'm typing this message while listening the 150 samples, and the output gallery is far from being crappy. Some samples sound bad (solo harpsichord, percussions) but in average the encoder seems to be useable at this bitrate (not for archiving of course). I'm currently on my notebook I my judgment could be fooled by the poor output of the AC97 component; but on a weak DAP situation is not different.
Ah... I'm listening to piano, and pre-echo could also be annoying (S27 - S36 marimba too). Ringing on S30...
Well, it's MP3 at 123 kbps on average smile.gif
Go to the top of the page
+Quote Post
guruboolez
post Jul 14 2005, 16:12
Post #16





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



QUOTE (Synthetic Soul @ Jul 14 2005, 04:08 PM)
Parameters: %s %d -V50
Highest BPS mode supported: 16


The BPS had me beat for a while. smile.gif


headbang.gif

It works fine now, thanks a lot!
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 16:14
Post #17





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



Edit: sorry, it seems there's no need to recompile for now

This post has been edited by Enig123: Jul 14 2005, 16:22
Go to the top of the page
+Quote Post
guruboolez
post Jul 14 2005, 16:16
Post #18





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



QUOTE (Enig123 @ Jul 14 2005, 03:43 PM)
I also tried the vbr mode, after 'fix MP3 header' by foobar2000, the bitrate shows OK. This problem may due to the hush compile that cannot handle vbr-header right.


Solution: Just add -X or -X2 to the commandline to solve the problem.

From mp3enc.exe -Help:

CODE
X         MPEG compatable Xing header, -X2 with/TOC
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 16:36
Post #19





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



Yeah. Parameter should be "Parameters: %s %d -V50 -X" to get correct vbr-header.
Go to the top of the page
+Quote Post
Enig123
post Jul 14 2005, 16:43
Post #20





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



Tomorrow, there will be a asm-enabled binary available.
Go to the top of the page
+Quote Post
guruboolez
post Jul 14 2005, 17:05
Post #21





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



I found a bug:

-V0 -X => no XING header
-V0 -X2 => no XING header

-V0 with 150 classical samples => 96 kbps and therefore could potentially be used in my next test with this group of sample.
Go to the top of the page
+Quote Post
karl_lillevold
post Jul 14 2005, 17:37
Post #22


RealNetworks Sr. Codec Engineer


Group: Developer (Donating)
Posts: 89
Joined: 12-June 03
From: Seattle
Member No.: 7151



[this is (almost) copied from my reply on doom9]:

If someone were to contribute standalone makefiles, or bugfixes, especially ones that on Win32 will include the i386 asm code, I am sure that would be most appreciated. I can check them into CVS (after a code review on the proper Helix mailing list).

Yes, this is based on the (infamous) Xing encoder, but it has been much improved from its early days, and does not suffer from the well known problems it had. This encoder was never included in any stand-alone Win32 Xing encoder app, but has been shipping with RealPlayer for a few years.

AFAIK, after these improvements, it was also licensed to a large h/w electronics manufacturer who chose it after extensive quality tests.

This post has been edited by karl_lillevold: Jul 14 2005, 18:39


--------------------
Sr. Codec Engineer (video) | RealNetworks Codec Group | helixcommunity.org
This information is provided "AS IS" with no warranties, grants no rights, and reflects my personal opinion.
Go to the top of the page
+Quote Post
Enig123
post Jul 15 2005, 02:33
Post #23





Group: Members
Posts: 208
Joined: 11-April 02
Member No.: 1749



New compile with asm enabled and several bug-fixes.

Please check.

http://www.hydrogenaudio.org/forums/index....64&#entry313464
Go to the top of the page
+Quote Post
guruboolez
post Jul 15 2005, 06:14
Post #24





Group: Members (Donating)
Posts: 3474
Joined: 7-November 01
From: Strasbourg (France)
Member No.: 420



QUOTE (Enig123 @ Jul 15 2005, 02:33 AM)
Please check.

Youp, -V0 -X is fixed on my side.
I don't know what kind of miracle the asm compile could do, but encoding speed is now much faster! Thanks for this update smile.gif
Go to the top of the page
+Quote Post
Gabriel
post Jul 15 2005, 10:27
Post #25


LAME developer


Group: Developer
Posts: 2950
Joined: 1-October 01
From: Nanterre, France
Member No.: 138



Once again, a way more readable source code than Lame.
To me this is very interesting, in the same category as the 3gpp AAC encoder.
Go to the top of the page
+Quote Post

11 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th April 2014 - 00:35