From: Tim-Philipp Müller Date: Sat, 23 Mar 2013 13:11:02 +0000 (+0000) Subject: flacenc: add more example pipelines X-Git-Tag: 1.19.3~509^2~5996 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83f9cfb9282d3c7c0ac1d6ee9781820f78c0345e;p=platform%2Fupstream%2Fgstreamer.git flacenc: add more example pipelines --- diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index a681138..1bd033a 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -22,13 +22,20 @@ * * flacenc encodes FLAC streams. * FLAC - * is a Free Lossless Audio Codec. + * is a Free Lossless Audio Codec. FLAC audio can directly be written into + * a file, or embedded into containers such as oggmux or matroskamux. * * * Example launch line * |[ * gst-launch-1.0 audiotestsrc num-buffers=100 ! flacenc ! filesink location=beep.flac - * ]| + * ]| Encode a short sine wave into FLAC + * |[ + * gst-launch-1.0 cdparanoiasrc mode=continuous ! queue ! audioconvert ! flacenc ! filesink location=cd.flac + * ]| Rip a whole audio CD into a single FLAC file, with the track table saved as a CUE sheet inside the FLAC file + * |[ + * gst-launch-1.0 cdparanoiasrc track=5 ! queue ! audioconvert ! flacenc ! filesink location=track5.flac + * ]| Rip track 5 of an audio CD and encode it losslessly to a FLAC file * */