View previous topic :: View next topic |
Author |
Message |
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Sat Jun 23, 2007 1:23 pm Post subject: mp3 -> audio cd from commandline? |
|
|
Hi,
I want to convert a bunch of mp3 files to audio cds. It should be a oneliner including cdrecord and mplayer/mencoder. So far I want convert to .wav with:
Code: | mplayer -vc dummy -vo null -af volume=0,resample=44100:0:1 -ao pcm:waveheader:file="file1.wav" file1.anyformat |
According to the cdrecord man page I need a .inf file if I want to pipe the output directly:
Code: | mplayer SOMEOPTIONS INFILES | cdrecord SOMEOTHEROPTIONS |
How can I achiev this?
/BR |
|
Back to top |
|
|
tuam l33t
Joined: 04 May 2004 Posts: 765 Location: CGN, Germany
|
Posted: Sun Jun 24, 2007 2:30 pm Post subject: |
|
|
I think your one-liner should be calling a script. It could convert all files to wavs and then create the CD.
I'm not sure if it's worth the pain to try and create a cue file - and you will need to create at least one file anyways.
Also, that one-liner would be rather long, and have many semicolons...
FF,
Daniel _________________ Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard |
|
Back to top |
|
|
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Sun Jun 24, 2007 2:31 pm Post subject: |
|
|
Think so, too :/ So I have to use my old script |
|
Back to top |
|
|
|