mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
docs: fix cdparanoia example pipeline in gst-launch man page
This commit is contained in:
parent
91f901975a
commit
23cdff62ea
1 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue