QUOTE
Originally posted by Gecko
I was pondering the same question myself only recently! But rather than having a seperate proggy that does the job for me, I'd much prefer to just know the commandline since I can then use it (like all the other coding stuff) in my little file commander.
A basic commandline would be the following:
mppdec file.mpc - | lame --alt-preset 128 - file.mp3
(this is off the top of my head but I think that's right)
The program I wrote basically allows you to drag files onto it and it will execute a commandline similar to the above for each file in the list...
QUOTE
Originally posted by Gecko
Why does it take so long? I mean mppdec is very fast!
I think the reason that it takes long is because you are decoding and encoding at the same time. Obviously LAME is more of a bottleneck than mppdec, and there is probably some overhead from everything going through stdout and back through stdin... I suspect it'd be faster if it just decoded to WAV first and then encoded from the WAV, but I'm not sure if that's what people want...