From 23cdff62ea756f45a3ae4b6dd7f9b35c0d7c140c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 25 May 2009 23:58:37 +0100 Subject: [PATCH] docs: fix cdparanoia example pipeline in gst-launch man page --- tools/gst-launch.1.in | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tools/gst-launch.1.in b/tools/gst-launch.1.in index 53efd88924..e24965626e 100644 --- a/tools/gst-launch.1.in +++ b/tools/gst-launch.1.in @@ -272,14 +272,19 @@ Plays a .WAV file that contains raw audio data (PCM). Convert a .WAV file containing raw audio data into an Ogg Vorbis or mp3 file .B - gst\-launch cdparanoia ! lame ! filesink location=cd.mp3 + gst\-launch cdparanoiasrc mode=continuous ! audioconvert ! lame ! id3v2mux ! filesink location=cd.mp3 .br rips all tracks from compact disc and convert them into a single mp3 file -Using \fBgst\-inspect\fR(1), it is possible to discover settings for cdparanoia -that will tell it to rip individual tracks. Alternatively, you can use an URI -and gst-launch will find an element (such as cdparanoia) that supports that -protocol for you, e.g.: +.B + gst\-launch cdparanoiasrc track=5 ! audioconvert ! lame ! id3v2mux ! filesink location=track5.mp3 +.br +rips track 5 from the CD and converts it into a single mp3 file + +Using \fBgst\-inspect\fR(1), it is possible to discover settings like the above +for cdparanoiasrc that will tell it to rip the entire cd or only tracks of it. +Alternatively, you can use an URI and gst-launch will find an element (such as +cdparanoia) that supports that protocol for you, e.g.: .B gst\-launch cdda://5 ! lame vbr=new vbr-quality=6 ! filesink location=track5.mp3