Help - Search - Members - Calendar
Full Version: Clips on decoded mpc files
Hydrogenaudio Forums > Lossy Audio Compression > MPC
grbmusic
I'm trying mpc and after compress an album with standard and extreme preset and xlevel and then I decoded to wav just to compare with the original wav amd the files decoded are clipped. Now I decrease the wav file for 1 db (Normalize -1 dB) and the wav decoded was a -0,2 dB) for almost files that I encoded. The originals wav files of the album (Santana - Shaman) that I encoded are between -0,2 to 0 dB.
Questions:
1º) What's wrong?
2º) Shoud I try some scalefacor to compress with mpc?
3º) It's this normal with mpc? Just as mp3 aps
4º) any suggestions?
headbang.gif
kotrtim
dry.gif What version of decoder you are using? [Download mppdec 1.93j]
Clipping?
yes, ohmy.gif but at bitrate below 100 kbit/s!!!???

Edit : MPC is already well tuned and it's quite ok to use only "--quality" & "--xlevel"


Musepack.org recommend using "--insane --minSMR 0" over "--xtreme"

biggrin.gif http://www.musepack.org/

Check this:

biggrin.gif http://www.hydrogenaudio.org/forums/index....=ST&f=11&t=1927


I'm not sure about this................
Information provided by me might be wrong
ErikS
This is a well known problem with all lossy encoding schemes. You should try replaygain, which comes together with mppdec. It will analyze your files and put some extra info about the levels in the file header, so that upon playback you can choose to play it without any clipping. Then the volume of this track will be lower than on the original, but without the extra clipping. Instead you could turn up the volumeknob on your amplifier to compensate for this.

A second alternative would be to try the foobar2000 player which uses softer clipping than the hard clipping you would hear in other players. This will probably be much less audible. But the best solution would be a combination of replaygain and the foobar2k player.
CiTay
QUOTE(kotrtim @ Dec 22 2002 - 07:31 AM)
Musepack.org recommend using "--insane --minSMR 0" over "--xtreme"

Totally outdated. This comes from a time where "--insane" didn't use any lowpassing.
grbmusic
QUOTE(kotrtim @ Dec 22 2002 - 03:31 AM)
dry.gif What version of decoder you are using?  [Download mppdec 1.93j]
Clipping?
yes,  ohmy.gif but at bitrate below 100 kbit/s!!!???


I'm using mppdec 1.93 and the wav decoded from the mpc files are clipped, 180 to 220 kb/s (bitrate), I'm using --quality 6/7 --level
grbmusic
QUOTE(ErikS @ Dec 22 2002 - 05:44 AM)
This is a well known problem with all lossy encoding schemes. You should try replaygain, which comes together with mppdec. It will analyze your files and put some extra info about the levels in the file header, so that upon playback you can choose to play it without any clipping. Then the volume of this track will be lower than on the original, but without the extra clipping. Instead you could turn up the volumeknob on your amplifier to compensate for this.

Replaygain lows the levels to much, the wavs resulting are -9 dB and the audio cd resulting is very quieter. I'm burn the mpc files to audio cd, with no clips and the same loudness that the original cd. I can't hear the clips anyway, I'm just to see it in the wav editor (sound forge)
grbmusic
QUOTE(ErikS @ Dec 22 2002 - 05:44 AM)
A second alternative would be to try the foobar2000 player which uses softer clipping than the hard clipping you would hear in other players. This will probably be much less audible. But the best solution would be a combination of replaygain and the foobar2k player.

I can't use foobar2000 becouse I'm using win98 in my computer mad.gif
grbmusic
B) Anyway, I find a solution, I will low the levels of the wav files by 1dB before encode to mpc. The wav decoded resulting is about -0.1 to -0.3 dB. tongue.gif

NOTE: yes, I know folks, my english sucks, it's horrible, I'm sorry but I'm from Argentina, I'm just started to learn to speak english but I speak spanish perfectly!!! laugh.gif laugh.gif
Volcano
QUOTE
Anyway, I find a solution, I will low the levels of the wav files by 1dB before encode to mpc.


Mhhh... you shouldn't really do that. That still doesn't guarantee that your files won't clip when encoded to MPC.

I think you should be able to prevent the clipping by selecting "ReplayGain Off | ClipProtect title/album based" in the MPC Winamp plugin, or by using --gain 0 --prev (for title based ClipProtect) or --gain 1 --prev (for album based ClipProtect) with MPPDEC.

I still find it hard to understand why 89dB average volume is "too quiet"... smile.gif
vasya_pupkin
QUOTE(grbmusic @ Dec 25 2002 - 07:00 AM)
I can't use foobar2000 becouse I'm using win98 in my computer mad.gif

check http://foobar2000.hydrogenaudio.org

it is already supports w98 wink.gif
smok3
is there a command in mppdec that will apply the calculated scale automagicaly if clipping is found (without any additional questions that is)?
Volcano
You mean, apply the replaygain as soon as clipping is found? I don't think so (if that's what you really meant) - it wouldn't really make any sense as far as I'm concerned. blink.gif

But there is --gain 0/1 --prev (as mentioned above) which will enable only the clipping protection, meaning that all files should be scaled down just below the point at which they would clip.
smok3
i didnt meant that, and i dont understand the --gain 0/1 --prev thingy, i guess that would work only when rg is calculated for the file?

what iam looking for is a --scale thingy, but sort of --autoscale wink.gif (there is no rg info)
Volcano
QUOTE(smok3 @ Jan 12 2003 - 04:15 PM)
i didnt meant that, and i dont understand the --gain 0/1 --prev thingy, i guess that would work only when rg is calculated for the file?

Yes. It's the same as enabling ClipProtect (title/album based) in the Winamp plugin.


QUOTE
what iam looking for is a --scale thingy, but sort of --autoscale wink.gif   (there is no rg info)


Hmm... anybody want to write a MAD decoder for MPC? wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.