IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
Lossless mp3
ge0rgieee
post Mar 3 2008, 01:30
Post #1





Group: Members
Posts: 2
Joined: 3-March 08
Member No.: 51741



Will we ever see an option where we can encode a song to mp3 format and have it be lossless?

Since mp3 format is one of the most wildly used formats I'm surprised there isn't an option for lossless comprerssion. It sucks having only ALAC as the only option for lossless compression for the iPod.
Go to the top of the page
+Quote Post
m_l
post Mar 3 2008, 01:34
Post #2





Group: Members
Posts: 90
Joined: 14-December 07
From: space
Member No.: 49531



If you have iPod which is supported by Rockbox you are not forced to use ALAC.
Go to the top of the page
+Quote Post
ge0rgieee
post Mar 3 2008, 01:58
Post #3





Group: Members
Posts: 2
Joined: 3-March 08
Member No.: 51741



the battery life, stability and possibility of bricking my ipod kinda turn me away from rockbox
Go to the top of the page
+Quote Post
pdq
post Mar 3 2008, 02:06
Post #4





Group: Members
Posts: 3305
Joined: 1-September 05
From: SE Pennsylvania
Member No.: 24233



QUOTE (ge0rgieee @ Mar 2 2008, 20:30) *
Will we ever see an option where we can encode a song to mp3 format and have it be lossless?

Since mp3 format is one of the most wildly used formats I'm surprised there isn't an option for lossless comprerssion. It sucks having only ALAC as the only option for lossless compression for the iPod.

No, that is not possible.
Go to the top of the page
+Quote Post
Soap
post Mar 3 2008, 02:06
Post #5





Group: Members
Posts: 1001
Joined: 19-November 06
Member No.: 37767



QUOTE (ge0rgieee @ Mar 2 2008, 19:58) *
the battery life, stability and possibility of bricking my ipod kinda turn me away from rockbox

Battery life is greatly improved now. Better than stock on 1st, 2nd, and 3rd gen iPods. Possibly better than stock on 4ths as well - don't have solid tests on that. at least 80% of stock on Video and Nano.

Stability - depends on your usage pattern. Varies from very good to near perfect.

Bricking - about frickin' impossible on the iPods - very well designed by Apple on this. No cases of bricked iPods due to Rockbox.


--------------------
Creature of habit.
Go to the top of the page
+Quote Post
Ipodiot
post Mar 3 2008, 02:54
Post #6





Group: Members
Posts: 17
Joined: 4-January 08
Member No.: 50134



QUOTE (pdq @ Mar 2 2008, 20:06) *
QUOTE (ge0rgieee @ Mar 2 2008, 20:30) *

Will we ever see an option where we can encode a song to mp3 format and have it be lossless?

Since mp3 format is one of the most wildly used formats I'm surprised there isn't an option for lossless comprerssion. It sucks having only ALAC as the only option for lossless compression for the iPod.

No, that is not possible.

----------
Why is it not possible?

Is there a supernatural force that stops the programmers of LAME from putting in a switch that does this?
Go to the top of the page
+Quote Post
gaekwad2
post Mar 3 2008, 02:59
Post #7





Group: Members
Posts: 127
Joined: 11-April 06
Member No.: 29396



QUOTE (Ipodiot @ Mar 3 2008, 02:54) *
Is there a supernatural force that stops the programmers of LAME from putting in a switch that does this?

No, just the small problem that the resulting file wouldn't be an mp3 anymore (and definitely wouldn't play in your iPod).

Moderation: Please keep quotations at a reasonable level. Only quote what you're replying to, and save my scrollwheel some wear.

This post has been edited by JensRex: Mar 6 2008, 10:18
Go to the top of the page
+Quote Post
Ipodiot
post Mar 3 2008, 03:01
Post #8





Group: Members
Posts: 17
Joined: 4-January 08
Member No.: 50134



QUOTE (gaekwad2 @ Mar 2 2008, 20:59) *
No, just the small problem that the resulting file wouldn't be an mp3 anymore (and definitely wouldn't play in your iPod).

Why couldn't it be an mp3? Can one not turn a wav file into an mp3 without making the mp3 lossy? Just make it into the mp3 file structure?

Moderation: Please keep quotations at a reasonable level. Only quote what you're replying to, and save my scrollwheel some wear.

This post has been edited by JensRex: Mar 6 2008, 10:17
Go to the top of the page
+Quote Post
joeshrubbery
post Mar 3 2008, 03:54
Post #9





Group: Members
Posts: 59
Joined: 9-July 04
Member No.: 15236



QUOTE
Why couldn't it be an mp3? Can one not turn a wav file into an mp3 without making the mp3 lossy? Just make it into the mp3 file structure?


It's just not that simple.

First, wouldn't what you propose just be a PCM audio track with an MP3 header? It wouldn't exactly be 'compressed' much if at all... (as MP3 compression in inherently LOSSY, thus applying it at all makes the output NOT LOSSLESS)

Second, any 'lossless' mp3 would be WAAAY over the 320kbps max bitrate. Almost all decoders choke on files with bitrates higher than 320, the official specs decree that as the format's max bitrate for standard files so that's the highest bitrate most decoders are designed to ever expect to see. The so-called 'free-format' MP3 files with bitrates greater than 320 never caught on because, among other issues, barely anything could actually PLAY them. I'm sorry, but your dreams of super-high bitrate MP3s with near universal playback support already crashed and burned years ago.

This post has been edited by joeshrubbery: Mar 3 2008, 04:23
Go to the top of the page
+Quote Post
Bourne
post Mar 3 2008, 04:39
Post #10





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:51
Go to the top of the page
+Quote Post
DVDdoug
post Mar 4 2008, 21:35
Post #11





Group: Members
Posts: 2441
Joined: 24-August 07
From: Silicon Valley
Member No.: 46454



QUOTE
...the resulting file wouldn't be an mp3 anymore...
Right! There is some information on how the MP3 encoder works here. The encoder works by analyzing the "sound" rather than the data. Lossless CODECs analyze and compress the underlying data. Once you understand something about how the encoder/decoder works, you can see why it's impossible to make a lossless MP3 CODEC that accurately reconstructs the bytes in a WAV (or other PCM) file.

QUOTE
Is there a supernatural force that stops the programmers of LAME from putting in a switch that does this?
Yes! laugh.gif It's called MPEG (The Motion Pictures Expert Group). They control the MP3 spec.* They could change the spec, but all MP3 players would require new software/firmware in order to play the new files.

LAME is open-source, so if you knew how to program you could add a lossless option to a version LAME. But, the resulting file would not be MP3.



* The specification is controlled by MPEG, but the patent/licensing rights are owned and controlled by private entities Fraunhofer & Thomson.

This post has been edited by DVDdoug: Mar 4 2008, 21:39
Go to the top of the page
+Quote Post
Bourne
post Mar 4 2008, 23:24
Post #12





Group: Banned
Posts: 735
Joined: 19-March 06
Member No.: 28599



-

This post has been edited by Bourne: Apr 2 2008, 03:51
Go to the top of the page
+Quote Post
ZinCh
post Mar 5 2008, 13:45
Post #13





Group: Members
Posts: 171
Joined: 28-September 06
Member No.: 35705



trolling imo ;D
Go to the top of the page
+Quote Post
SamHain86
post Mar 5 2008, 15:16
Post #14





Group: Members
Posts: 432
Joined: 1-January 07
From: Luebeck, DE
Member No.: 39196



QUOTE (Bourne @ Mar 3 2008, 04:39) *
I also like the Lossless-MP3 idea, perhaps the introduction of a hybrid one.
A hybrid MP3 and lossless correction file would be difficult, if not impossible, because the way MP3 changes the waveform of the audio so that what you hear sounds mostly like the original. The hybrid-lossless system implemented in WavPack is possible only because WavPack lossy files are close enough to the original waveform, IIRC.



For more information, see this thread here: http://www.hydrogenaudio.org/forums/index....8&hl=hybrid .
QUOTE (pdq)
The reason that wavpack hybrid works is that its lossy file is a very close approximation to the waveform of the original, so the difference between the original and the lossy is a bunch of very small values that compress very well.

Lossy codecs like mp3, on the other hand, don't necessarily produce something whose waveform is close to the original, only that it sounds close to the original. The difference between the waveforms can be quite large, and therefore not very compressible. [link to quote]


This post has been edited by SamHain86: Mar 5 2008, 15:19


--------------------
OP can't edit initial post when a solution is determined :'-(
Go to the top of the page
+Quote Post
Nick E
post Mar 5 2008, 15:32
Post #15





Group: Members
Posts: 232
Joined: 7-October 06
Member No.: 36057



QUOTE (DVDdoug @ Mar 4 2008, 14:35) *
Yes! laugh.gif It's called MPEG (The Motion Pictures Expert Group). They control the MP3 spec.* They could change the spec, but all MP3 players would require new software/firmware in order to play the new files.


And why would the MPEG, since they've moved on anyway to stuff that will go in an MP4 container -- MPEG-4 ALS and MPEG-4 SLS?

http://en.wikipedia.org/wiki/Audio_Lossless_Coding

http://en.wikipedia.org/wiki/MPEG-4_SLS

And, from the end-users' standpoint, yet another lossless format would be a pointless addition since they already have the well-established and widely-used FLAC format:

http://flac.sourceforge.net/comparison.html

Most would be uninterested in anything else.
Go to the top of the page
+Quote Post
pdq
post Mar 5 2008, 16:30
Post #16





Group: Members
Posts: 3305
Joined: 1-September 05
From: SE Pennsylvania
Member No.: 24233



Okay so the original question, why not a lossless mp3, is not practical. But let's also say that if it were practical then there could be some real benefits to it. If people did not have to replace any of their existing hardware or learn new tools or terminology, but simply, as storage became cheaper and cheaper, start getting and encoding mp3's that did not compromise the original sound in the slightest. This would be a painless transition.

Of course, in an ideal world music would simply be piped into our heads without an physical medium at all.
Go to the top of the page
+Quote Post
SamHain86
post Mar 5 2008, 18:25
Post #17





Group: Members
Posts: 432
Joined: 1-January 07
From: Luebeck, DE
Member No.: 39196



QUOTE (pdq @ Mar 5 2008, 16:30) *
Okay so the original question, why not a lossless mp3, is not practical. But let's also say that if it were practical then there could be some real benefits to it. If people did not have to replace any of their existing hardware or learn new tools or terminology, but simply, as storage became cheaper and cheaper, start getting and encoding mp3's that did not compromise the original sound in the slightest. This would be a painless transition.
...? huh.gif We've determined it is impractical, so where is this world where it would be practical that you started to describe?



QUOTE (pdq @ Mar 5 2008, 16:30) *
Of course, in an ideal world music would simply be piped into our heads without an physical medium at all.
I think just before we got to the solar system with this ideal world on the other side of the galaxy, there would be the planet where pre-installed standard media players--like Windows Media Player and iTunes--would support off-hand but still popular codecs like FLAC, Vorbis, and WavPack, as well as other archival setups, like CUE and *-images.

This post has been edited by SamHain86: Mar 7 2008, 17:01


--------------------
OP can't edit initial post when a solution is determined :'-(
Go to the top of the page
+Quote Post
DOS386
post Mar 8 2008, 08:23
Post #18





Group: Members
Posts: 64
Joined: 16-June 07
Member No.: 44412



QUOTE (Ipodiot @ Mar 2 2008, 20:01) *
Why couldn't it be an mp3? Can one not turn a wav file into an mp3 without making the mp3 lossy? Just make it into the mp3 file structure?


NO.

1. MP3 was designed as lossy and heavily relies on transformations that are lossy ... no way to "remove the loss"
2. You "can" hack LAME to "remove the loss" - but it's pointless, you will get either a uncompressed WAV with wrong header/frames, or a FLAC or WAVPACK with wrong header, or whatever broken file, but it definitely won't play in any "MP3 player"
3. Seems you don't know what "MP3" is: it is a proprietary and lossy audio compression algorithm
4. There is also digital audio beyond MP3 beer.gif
5. If you need lostless, why don't you use just FLAC, WAVPACK or TAK ? All those are free and open source (TAK hopefully soon), unlike MP3
6. You should "push" the audio player (not "MP3-player") manufacturers to add support for FLAC, WAVPACK, TAK and OGG VORBIS, rather than LAME devels to "remove the loss" shock1.gif

Bourne wrote:

QUOTE
Lossless formats are nothing but data compressors just like ZIP/RAR.


If "nothing" else, they are considerably smarter and compress better ... remember that WiNZip 13 just uses WAVPACK ... thus the "good" results are due to the WAVPACK algorithm, not the Deflate (standard of ZIP) algorithm shock1.gif


--------------------
/\/\/\/\/\/\
Go to the top of the page
+Quote Post
j7n
post Mar 8 2008, 15:52
Post #19





Group: Members
Posts: 809
Joined: 26-April 04
Member No.: 13720



RAR (and I think ACE, UHA too) included "multimedia" compression well before WinZip.

This post has been edited by j7n: Mar 8 2008, 15:52
Go to the top of the page
+Quote Post
Porcus
post Mar 26 2012, 16:38
Post #20





Group: Members
Posts: 1779
Joined: 30-November 06
Member No.: 38207



Necromancing an old thread.


As far as I understand, mp3 is defined in terms of what an mp3 file should decode to, not how an encoder should achieve such a file. Has no-one made a 'proof of concept' encoder which for sufficiently low information content, encodes losslessly?


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
lvqcl
post Mar 26 2012, 18:05
Post #21





Group: Developer
Posts: 3208
Joined: 2-December 07
Member No.: 49183



Any encoder will compress silence losslessly.
Go to the top of the page
+Quote Post
Nessuno
post Mar 26 2012, 18:19
Post #22





Group: Members
Posts: 422
Joined: 16-December 10
From: Palermo
Member No.: 86562



QUOTE (lvqcl @ Mar 26 2012, 18:05) *
Any encoder will compress silence losslessly.


When you got nothing, you got nothing to lose... laugh.gif


--------------------
... I live by long distance.
Go to the top of the page
+Quote Post
Porcus
post Mar 26 2012, 18:52
Post #23





Group: Members
Posts: 1779
Joined: 30-November 06
Member No.: 38207



:-P


Oh, it could be worse. Think of all the terrible musicians who have failed miserably at showing off their technical skills to John Cage's 4'33".

This post has been edited by Porcus: Mar 26 2012, 18:52


--------------------
One day in the Year of the Fox came a time remembered well
Go to the top of the page
+Quote Post
Andavari
post Mar 26 2012, 21:08
Post #24





Group: Members
Posts: 935
Joined: 3-June 02
From: USA
Member No.: 2204



QUOTE (lvqcl @ Mar 26 2012, 12:05) *
Any encoder will compress silence losslessly.

And I bet nobody can ABX the difference, unless they have those "golden E.T. ears." laugh.gif


--------------------
Complexity of incoherent design.
Go to the top of the page
+Quote Post
felix26591
post Mar 26 2012, 23:06
Post #25





Group: Members
Posts: 24
Joined: 17-May 09
From: Panama
Member No.: 69900



For an ipod, why not just use AAC, a bitrate of 160kb will probably sound lossless to your ears, and the file is much smaller.

Leave the ALAC or flac files on your computer and convert your collection to AAC.

Apart from that you really can't do much about your lossless MP3. As many have mentioned before it's just not possible.
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
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: 17th April 2014 - 14:39