Help - Search - Members - Calendar
Full Version: MPC Switches
Hydrogenaudio Forums > Lossy Audio Compression > MPC
kotrtim
Anyone knows how or when to use these switches? Thanks for your help!

--nmt x
--tmn x
--pns x
--xlevel
--verbose
floyd
i'm not sure what nmt or tmn are, but i know it isn't recommended to tweak them anymore.

pns is used at lower bitrates. Unless you are encoding at <128 kpbs you shouldn't need to use it. I don't encode such low bitrates so i'm not sure if it is just a simple switch, or if you can enter a numeric value.

xlevel is used to prevent some forms of clipping. use it.

verbose probably gives you more details when you encode, though i've never used it.
DoomAxe
did some googling:

http://rc55.grooblehonk.co.uk/users/mgan/mpc.html

-----

copy & paste ->

--nmt x
[x can be: 0 to 99; recommended: 6 to 16]
sets minimum smr (signal to mask ratio) for pure noisy sound. mpc encoder calculates a masking threshold. noisy sound has high masking ratio. subband coder like mpc works by adding noise (quantization error) to each subband. you can increase the quantization resolution (less quantization noise, higher bitrate) by raising smr.

this noise should be of course below the masking threshold, so that it would be inaudible. sometimes quantization noise however is not inaudible, because tonality estimation (which calculates the tonality and "noisiness" of sound) may conclude that a noisy sound is more noisier than it really is. this will mean that the masking threshold will be higher than it should be. encoder concludes that more noise can be masked than really can, and this will result audible noise (distortion). this happens because quantization resolution (bitrate) is lower than it should be in order for the noise to be inaudible. but, you can compensate this by raising smr for pure noisy sound (nmt). it will increase the quantization resolution for noisy sound.

--tmn x
[x can be: 0 to 99; recommended: 22 to 32]
sets minimum smr for pure sinusoidal sound. sinusoidal sound is very tonal (not noisy). this means that it does not have much masking capability. quantization resolution (bitrate) must be high enough so that tonal sound is encoded without audible noise. of course in normal music there is both noisy and tonal sound, so the masking threshold will be calculated accordingly. also different resolutions of quantization can be assigned to the different frequency regions.

----

I don't use these...
markusk
The quality values or presets take care of nmt & tmn -values so there's no real need to tinker with those.

--verbose provides some more info about encoding setting and such info. It shows all those neat nmt, tmn and other settings which will be used during encoding; only useful if you are into this sort of information. It does not effect the output of the encoding process but just displays more information.

--xlevel offers increased clipping prevention during encoding but if the cd is badly mastered then even this method will fail. The use of --xlevel is recommended. It has been said that the future SV8 will fix the encoder clipping problem for good.
westgroveg
I wanted to create a MPC Log with the final result for each file but the only way I found to do it is --stderr, getting results of every second of the encode, can anyone help?.
CiTay
QUOTE(westgroveg @ Dec 29 2002 - 11:48 PM)
I wanted to create a MPC Log with the final result for each file but the only way I found to do it is --stderr, getting results of every second of the encode, can anyone help?.

Hm, there's also "--displayupdatetime n"

n=0 fast display
n<0 display update every |n| seconds, no header line
n>0 display update every |n| seconds, with header line
Pri3st
If you are on Win2k or you have a decent command prompt type --longhelp. You will find a switch that appends all the information in a file.

Sorry I don't know the exact name of the switch and I can't read it because I am on win98 and the command prompt doesn't let me to scroll up. Neither the 4DOS.
westgroveg
Basically I just want (If Possible) no update just a display of the final:

%|avg.bitrate| speed|play time (proc/tot)| CPU time (proc/tot)| ETA
Canar
QUOTE(Pri3st @ Dec 29 2002 - 11:37 PM)
If you are on Win2k or you have a decent command prompt type --longhelp. You will find a switch that appends all the information in a file.

Sorry I don't know the exact name of the switch and I can't read it because  I am on win98 and the command prompt doesn't let me to scroll up. Neither the 4DOS.

If you're not on Win2K, try "mppenc --longhelp | more", and that'll paginate it all nicely.
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.