Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th March 2009, 16:01   #1  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
mp3HD - a new lossless audio codec

I don't believe this...

Quote:
mp3HD Overview
  • mp3HD is a lossless audio codec (100% bit-exact replica of CD tracks)
  • Backward Compatible to mp3
  • File extension .mp3
  • Bitrates for music approximately 500 to 900 kbps rates (similar to other lossless codecs), depending on genre
  • Embedded mp3 track and the mp3HD file share the same id3 metadata
  • Encoding parameters (e.g. bit rate), ancillary data and meta data of embedded mp3 track are under control



The following tools are avaialble immediately for your tests:
  • * Encoding
    o Command-line encoder
    * Decoding (to wav)
    o Command-line decoder
    * Playing
    o Plug-in for Winamp (for Winamp 5.5 and above)
    * Platforms
    o Win32 (Microsoft Windows XP, 2000, NT 4, Me/98), Vista
    o Linux32
    * Support
    o CD audio (PCM): 44.1, 48 kHz sampling rate, 16 bit/sample
    * Software Downloads Page
http://www.all4mp3.com/Learn_mp3_hd_1.aspx


Code:
******************************************************************************
*                                                                            *
*                      mp3HD Commandline Encoder V1.4.0                      *
*                            (Evaluation Version)                            *
*                                                                            *
*                               Revision 1007                                *
*                              Build Jan 30 2009                             *
*                                                                            *
*                        (c) 2007 - 2009 Thomson S.A.                        *
*                       (c) 1996 - 2009 Fraunhofer IIS                       *
*                            All rights reserved.                            *
*                                                                            *
*       This software and/or program is protected by copyright law and       *
*         international treaties. Any reproduction or distribution of        *
*        this software and/or program, or any portion of it, may result      *
*       in severe civil and criminal penalties, and will be prosecuted       *
*                 to the maximum extent possible under law.                  *
*                                                                            *
******************************************************************************

Usage: ./mp3hdEncoder [-if infile] [-of outfile] [-br Birate] [options]

-if infile:
        A 1 channel or 2 channel wave input file.
-of outfile:                                     
        The destination mp3HD bitstream file.    
-br Bitrate                                      
        The MP3 bitrate in bits/sec              

[options]:
-mode <0-5>
        Encoder mode (0 = CBR, 1 = VBR highest quality, 5 = VBR lowest
        bit rate) <default: CBR>
        For all VBR modes the bitrate switch '-br' has to be set to '0'
        VBR mode 5 is disabled for infiles with 48 kHz samplerate.
-id3in id3File
        The id3File can contain an ID3V1.x and an ID3V2.3 or an ID3V2.4 tag.
        The ID3 tags are copied into the mp3HD file.
        The ID3V2.X tag has to be at the beginning of the file.
        The ID3V1.x tag has to be at the end of the file.
Add ID3 tags directly:
  (Ignored in combination with the "-id3in" option)
        -Title "[title string]"
        -Artist "[artist string]"
        -Album "[album string]"
        -Track "[track number]"
        -Length "[length in ms]"
        -Year "[year string]"
        -Genre "[content type]"
        -Encoder "[encoded by ..]"
        -Encoder_Settings "[encoder name and settings]"
        -pic jpegFile
             The jpegFile must contain an jpeg picture.
             The picture is copied into the mp3HD file.
-com "[Text]"
        Adds a comment text into the mp3HD info frame.
-quiet
        Standard output of only one line

Example:   ./mp3hdEncoder -br 128000 -if test.wav -of test.mp3

Last edited by Kurtnoise; 19th March 2009 at 16:13.
Kurtnoise is offline   Reply With Quote
Old 19th March 2009, 16:35   #2  |  Link
HymnToLife
Ubuntu French Roast
 
HymnToLife's Avatar
 
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
Ran a quick test on Beethoven's Fifth, not very impressive.

Source WAV: 336 MB
FLAC (default settings): 142 MB
mp3HD: 175 MB

It is also much slower... The backward-compatibility might be interesting, though, anyone tried to use that in an AVI?
__________________
Code:
Copy Protection:  A clever method of preventing incompetent pirates from
		   stealing software and legitimate customers from using it.
From http://www.gnu.org/fun/jokes/software.terms.html

Last edited by HymnToLife; 19th March 2009 at 16:38.
HymnToLife is offline   Reply With Quote
Old 19th March 2009, 16:46   #3  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Backward comactibilty here is only good thing i think. i don't know why they still force old technologies like DTS/AC3 and now MP3.
shon3i is offline   Reply With Quote
Old 19th March 2009, 17:17   #4  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
With regard to backwards compatibility, is it set up to be two streams like TrueHD+AC3?
Inspector.Gadget is offline   Reply With Quote
Old 19th March 2009, 18:03   #5  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Quote:
Originally Posted by Inspector.Gadget View Post
With regard to backwards compatibility, is it set up to be two streams like TrueHD+AC3?
Ya, it seems like you can encode to mp3HD and use it on external mp3 players, at least the ones I've tried, but there is about a second delay before the file starts playing.

If it decodes to wav in external players but is about half the size of the original CD this could be pretty interesting for people playing on mp3 players that don't support other lossless formats.

If it decodes the mp3 in external players it would be nice to be able to extract the mp3 from the mp3HD at least. However I don't see how this could be any more beneficial then encoding from a smaller lossless file except for saving the time to encode.
turbojet is offline   Reply With Quote
Old 19th March 2009, 18:40   #6  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Well, thus far in my extremely unscientific testing, decoded MP3-HDs are bit-identical to the original WAVs from which they were created. FYI, foobar2000 reports an mp3-HD encoded with -br 192000 as "192 VBR" even though as far as I know this encoder uses CBR where -br is specified.
Inspector.Gadget is offline   Reply With Quote
Old 19th March 2009, 18:50   #7  |  Link
Alex-Kid
Antronio's DV ambassador
 
Alex-Kid's Avatar
 
Join Date: Mar 2006
Location: Santiago, Chile
Posts: 115
Interesting. Specially for lossless audio movies.

Quote:
o Plug-in for Winamp (for Winamp 5.5 and above)
Why should I use any other plug-in if it's backward compatible to mp3? I hope this refers to and encoding plug-in.
Alex-Kid is offline   Reply With Quote
Old 19th March 2009, 20:01   #8  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
It might be encoding plugin too, I don't use winamp and I don't feel like testing it out.

But if it's only a decoding plugin it could be that it plays lossless while other mp3 plugins play it as a lossy mp3.

It's kind of strange because it has the lossy mp3 headers but the size doesn't match the headers at all since it's lossless.

I wish there was some documentation on how it's decoded. It would either really spark my interest or write it off.
turbojet is offline   Reply With Quote
Old 19th March 2009, 20:21   #9  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Do we really need more lossless audio formats?

We already have like 20-30 of them.
Dark Shikari is offline   Reply With Quote
Old 19th March 2009, 20:30   #10  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
A lossless format that's considerably smaller then pcm and can play can play virtually everywhere? Yes, at least I do!

I'm not sure that's what this is though.

This could be something completely different from the rest, otherwise I'd say nope.

Last edited by turbojet; 19th March 2009 at 20:34.
turbojet is offline   Reply With Quote
Old 19th March 2009, 20:37   #11  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by turbojet View Post
A lossless format that's considerably smaller then pcm and can play can play virtually everywhere?
You mean FLAC? Or APE? Or SLS? Or ALS? Or ALAC? Or WMA9 Lossless? Or MLP? Or PAC? Or LA? Or Real Lossless? Or DTS-HD Master Audio? Or TTA? Or OptimFrog? Or Shorten? Or RK? Or LiteWave? Or TAK? Or PCA? Or Dakx? Or WavPack? Or...


I did say there were too many formats...
Dark Shikari is offline   Reply With Quote
Old 19th March 2009, 20:39   #12  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Outside of FLAC which has a little hardware support, those formats won't even play outside your computer. At least on your typical DVD/CD player or your portable mp3 player.

But according to this "Existing MP3 players will read only the standard MP3 information; only MP3HD players will benefit from the additional lossless information stored in the file." If this is true it will lose my interest.

However if MP3hd players start selling and there becomes a decent selection I may be interested again.

Then you could almost compare this to BD's that play in standard dvd players. Which I think would have been a huge hit from the gitgo, even if they started retailing now at current BD prices I still think it would give BD a big boost.

Last edited by turbojet; 19th March 2009 at 20:49.
turbojet is offline   Reply With Quote
Old 19th March 2009, 21:29   #13  |  Link
menno
Nero AG engineer
 
menno's Avatar
 
Join Date: Aug 2002
Posts: 118
Note that the "backwards compatible with MP3" means that it is lossy on normal MP3 decoders. You need a mp3HD decoder to actually have it decode as lossless. This is simply the MP3 version of HD AAC (MPEG-4 SLS).
menno is offline   Reply With Quote
Old 19th March 2009, 22:07   #14  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
Quote:
Originally Posted by menno View Post
Note that the "backwards compatible with MP3" means that it is lossy on normal MP3 decoders. You need a mp3HD decoder to actually have it decode as lossless. This is simply the MP3 version of HD AAC (MPEG-4 SLS).
exactly, rather than to improve support for the AAC, they improve the old formats

LC-AAC = MP3
HE-AAC = MP3Pro
HD-AAC=MP3HD

Quote:
Originally Posted by Dark Shikari
I did say there were too many formats...
You forgot TrueHD
shon3i is offline   Reply With Quote
Old 19th March 2009, 22:09   #15  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by shon3i View Post
You forgot TrueHD
No, I said MLP.
Dark Shikari is offline   Reply With Quote
Old 19th March 2009, 22:16   #16  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
sorry i don't see it
shon3i is offline   Reply With Quote
Old 20th March 2009, 14:08   #17  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,668
I can certainly see the benefit of this technology with portable players: you get "normal" MP3 quality when played in the portable player and CD-quality when played on the PC, using the same file.
So it's not that bad an idea (why encode everything twice?).
It's also welcome because not many portable players support AAC decoding.

BUT! I don't see any benefit with movies. Movies usually come with 5.1 soundtracks, which are smaller in the AC3 form than a losslessly compressed stereo file, so...
__________________
AMD Athlon X2 QL-60 (1.9GHz) - 3GB DDR2-667 - ATi Radeon HD 3200 - Windows 7 Ultimate 32-bit
Encode to Vorbis at ultra high speed using SSE3 multithreaded encoder by Lancer!
DJ Bobo is offline   Reply With Quote
Old 20th March 2009, 14:17   #18  |  Link
HymnToLife
Ubuntu French Roast
 
HymnToLife's Avatar
 
Join Date: Apr 2006
Location: Bordeaux, France
Posts: 191
Quote:
Originally Posted by DJ Bobo View Post
So it's not that bad an idea (why encode everything twice?).
Since both the resulting file size and the encoding time are larger, the benefits of having to encode just once are not obvious... Not to mention that the mp3HD stream will be useless when you will store the file on your MP3 player, but will still eat a lot of diskspace.
__________________
Code:
Copy Protection:  A clever method of preventing incompetent pirates from
		   stealing software and legitimate customers from using it.
From http://www.gnu.org/fun/jokes/software.terms.html

Last edited by HymnToLife; 20th March 2009 at 14:20.
HymnToLife is offline   Reply With Quote
Old 20th March 2009, 15:23   #19  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by HymnToLife View Post
Since both the resulting file size and the encoding time are larger, the benefits of having to encode just once are not obvious... Not to mention that the mp3HD stream will be useless when you will store the file on your MP3 player, but will still eat a lot of diskspace.
I agree. For my own encoding I'll just encode to flac and mp3. It doesn't take that long and I've no desire to fill up my mp3 player with lossless files.

That said I can imagine this might have an application in the music download market. If you can offer a single mp3 track that will satisfy those looking for lossless quality (a fairly small market) as well as allowing standard mp3 compatibility for everyone else then it could yet be a winner.
TinTime is offline   Reply With Quote
Old 20th March 2009, 15:30   #20  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,668
Quote:
Originally Posted by HymnToLife View Post
but will still eat a lot of diskspace.
This is the downside of course.
May be they can come up with a tool that can copy only the compressed part on the fly?
I guess that would make everybody happy.
__________________
AMD Athlon X2 QL-60 (1.9GHz) - 3GB DDR2-667 - ATi Radeon HD 3200 - Windows 7 Ultimate 32-bit
Encode to Vorbis at ultra high speed using SSE3 multithreaded encoder by Lancer!
DJ Bobo is offline   Reply With Quote
Reply

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


All times are GMT +1. The time now is 20:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.