Help - Search - Members - Calendar
Full Version: mppdec request: log errors to a logfile
Hydrogenaudio Forums > Lossy Audio Compression > MPC
SometimesWarrior
I'm not sure how hard this would be to implement, but it would be nice to have mppdec log errors to a logfile, similarly to how mppenc can log its command-prompt output using --stderr. If I was a programmer, I could build a quick hack that would solve all my problems (and maybe world hunger while I was at it), but right now I'm dependent on someone more skilled than me to help me find a solution.

What I want to do is recursively decode all my MPC's to /dev/null and see if any have sync errors. Perhaps there's already a feature for this that I don't know about, but AFAIK it hasn't been discussed on these forums.

Does anyone know how I should do this?
Frank Klemm
QUOTE
Originally posted by SometimesWarrior
I'm not sure how hard this would be to implement, but it would be nice to have mppdec log errors to a logfile, similarly to how mppenc can log its command-prompt output using --stderr. If I was a programmer, I could build a quick hack that would solve all my problems (and maybe world hunger while I was at it), but right now I'm dependent on someone more skilled than me to help me find a solution.

What I want to do is recursively decode all my MPC's to /dev/null and see if any have sync errors. Perhaps there's already a feature for this that I don't know about, but AFAIK it hasn't been discussed on these forums.

Does anyone know how I should do this?


RTFM of your OS.

Windows/DOS:
mppdec --scale 0 /dev/null 2> logfile

Linux/Unix:
mppdec --scale 0 / /dev/null 2> logfile
SometimesWarrior
QUOTE
Originally posted by Frank Klemm
RTFM of your OS.

Windows/DOS:
mppdec --scale 0  /dev/null 2> logfile
Doh! I was using the line mppdec *.mpc /dev/null > logfile.log. I didn't include the 2 (although I've logged things from the prompt before without having to put a 2 in there, such as dir > dirlist.txt).

Well, thanks for the info. I'll write a letter to Microsoft and ask them to include more detailed documentation with the next service pack, including a whole help topic describing how to decode and log all of the user's .mpc files 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.