Musepack Forums

Musepack Forums (https://forum.musepack.net/index.php)
-   Development (https://forum.musepack.net/forumdisplay.php?f=11)
-   -   return values of mppdec (https://forum.musepack.net/showthread.php?t=139)

cow_2001 14 February 2005 10:55 am

return values of mppdec
 
Hi, I want to incorporate mppdec in a simple script to help someone to convert *.mpc file to *.wav so he then can burn that as a music cd.
What are the return values of mppdec in different situations?

Thank you for your time.

xmixahlx 14 February 2005 05:57 pm

you didn't include OS... so...

on a unix platform using a shell script:

(1) you can pipe mppdec to cdrecord

(2.1) or just recursively decode to wav, then burn with cdrecord *wav

Code:


#!/bin/sh

for file in *mpc

do

 nice --adjustment=15 mppdec --wav "$file" .

done

(2.2) or use the old example in mppdec --help

Code:


mppdec --prev *.mpc . && cdrecord -v -dao dev=sony -audio *.wav

(3) or #2.1 + gui (k3b, etc)


later


All times are GMT. The time now is 06:02 pm.

Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2019, vBulletin Solutions Inc.