Musepack Forums  

Go Back   Musepack Forums > Main > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 14 February 2005, 10:55 am   #1
cow_2001
Member
 
Join Date: Feb 2005
Posts: 1
Default 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.
cow_2001 is offline   Reply With Quote
Old 14 February 2005, 05:57 pm   #2
xmixahlx
Musepack developer
 
xmixahlx's Avatar
 
Join Date: Nov 2004
Location: seattle, washington usa
Posts: 111
Send a message via ICQ to xmixahlx
Default

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
__________________
-xmixahlx, the one they call "mike"
http://xmixahlx.com -|- http://rarewares.org
xmixahlx is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My return to using MPC... Gow General 11 01 July 2006 01:02 am
Determining maximum/minimum values on decode Bob Tech 1 23 January 2006 07:25 pm
Preferred mppdec version? crazee_canuck MPC for UNIX 3 01 May 2005 06:19 am
compile error mppdec dkraft MPC for UNIX 3 28 February 2005 06:49 pm


All times are GMT. The time now is 05:18 am.


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