IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
linux commandline...
Dezibel
post Jul 12 2002, 17:13
Post #1





Group: Members
Posts: 91
Joined: 7-March 02
Member No.: 1455



i need a linux guru...

i wrote an perl script to rip an cd and compress the files with flac on linux commandline.

my commandline for ripping is:
CODE
cdparanoia -X <tracknumber> <outfile.wav>

for compressing:
CODE
flac <outfile.wav>


now i want to pipe the cdparanoia stream directly to flac for faster ripping process.

CODE
cdparanoia -X <tracknumber> -
output the stream to stdout instead to an file. but how can i let flac read from stdin???

Dezibel

edit: problems with <code></code> tags
Go to the top of the page
+Quote Post
jcoalson
post Jul 12 2002, 18:16
Post #2


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



QUOTE
Originally posted by Dezibel

but how can i let flac read from stdin???


CODE
cdparanoia -X tracknumber - | flac -o filename.flac -


Josh
Go to the top of the page
+Quote Post
Dezibel
post Jul 12 2002, 18:33
Post #3





Group: Members
Posts: 91
Joined: 7-March 02
Member No.: 1455



QUOTE
Originally posted by jcoalson


CODE
cdparanoia -X tracknumber - | flac -o filename.flac -


Josh


...works fine!

thx smile.gif

Dezibel
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 12:51