diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-12-14 11:09:46 +0900 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-12-15 10:30:49 +0000 |
commit | 7c42ba97d7ca394c0a2db097a65d3a895f6b5605 (patch) | |
tree | 73f5fe91d76f3c53888bc0ba0ff474ca9edf92c2 /ext | |
parent | ea54d2aaabf8b9ac398884bc281582003a5278e0 (diff) | |
download | gstreamer-plugins-bad-7c42ba97d7ca394c0a2db097a65d3a895f6b5605.tar.gz |
plugins-bad: Fix example pipelines
rename gst-launch --> gst-launch-1.0
replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**)
fix caps in examples
https://bugzilla.gnome.org/show_bug.cgi?id=759432
Diffstat (limited to 'ext')
48 files changed, 71 insertions, 71 deletions
diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c index 442b20f12..44566d182 100644 --- a/ext/assrender/gstassrender.c +++ b/ext/assrender/gstassrender.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=/path/to/mkv ! matroskademux name=d ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink d. ! queue ! ffdec_h264 ! videoconvert ! r. d. ! queue ! "application/x-ass" ! assrender name=r ! videoconvert ! autovideosink + * gst-launch-1.0 -v filesrc location=/path/to/mkv ! matroskademux name=d ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink d. ! queue ! ffdec_h264 ! videoconvert ! r. d. ! queue ! "application/x-ass" ! assrender name=r ! videoconvert ! autovideosink * ]| This pipeline demuxes a Matroska file with h.264 video, MP3 audio and embedded ASS subtitles and renders the subtitles on top of the video. * </refsect2> */ diff --git a/ext/chromaprint/gstchromaprint.c b/ext/chromaprint/gstchromaprint.c index 7c0522175..b7217a64b 100644 --- a/ext/chromaprint/gstchromaprint.c +++ b/ext/chromaprint/gstchromaprint.c @@ -32,7 +32,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -m uridecodebin uri=file:///path/to/song.ogg ! audioconvert ! chromaprint ! fakesink + * gst-launch-1.0 -m uridecodebin uri=file:///path/to/song.ogg ! audioconvert ! chromaprint ! fakesink * ]| * </refsect2> */ diff --git a/ext/curl/gstcurlbasesink.c b/ext/curl/gstcurlbasesink.c index b47f2467d..58397a1dc 100644 --- a/ext/curl/gstcurlbasesink.c +++ b/ext/curl/gstcurlbasesink.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line (upload a JPEG file to an HTTP server)</title> * |[ - * gst-launch filesrc location=image.jpg ! jpegparse ! curlsink \ + * gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlsink \ * file-name=image.jpg \ * location=http://192.168.0.1:8080/cgi-bin/patupload.cgi/ \ * user=test passwd=test \ diff --git a/ext/curl/gstcurlfilesink.c b/ext/curl/gstcurlfilesink.c index d2865407b..b4aa1747b 100644 --- a/ext/curl/gstcurlfilesink.c +++ b/ext/curl/gstcurlfilesink.c @@ -29,7 +29,7 @@ * <title>Example launch line (upload a JPEG file to /home/test/images * directory)</title> * |[ - * gst-launch filesrc location=image.jpg ! jpegparse ! curlfilesink \ + * gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlfilesink \ * file-name=image.jpg \ * location=file:///home/test/images/ * ]| diff --git a/ext/curl/gstcurlftpsink.c b/ext/curl/gstcurlftpsink.c index fde69b801..92b5c4e08 100644 --- a/ext/curl/gstcurlftpsink.c +++ b/ext/curl/gstcurlftpsink.c @@ -29,7 +29,7 @@ * <title>Example launch line (upload a JPEG file to /home/test/images * directory)</title> * |[ - * gst-launch filesrc location=image.jpg ! jpegparse ! curlftpsink \ + * gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlftpsink \ * file-name=image.jpg \ * location=ftp://192.168.0.1/images/ * ]| diff --git a/ext/curl/gstcurlhttpsink.c b/ext/curl/gstcurlhttpsink.c index 3660f5be9..a50a057e4 100644 --- a/ext/curl/gstcurlhttpsink.c +++ b/ext/curl/gstcurlhttpsink.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line (upload a JPEG file to an HTTP server)</title> * |[ - * gst-launch filesrc location=image.jpg ! jpegparse ! curlhttpsink \ + * gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlhttpsink \ * file-name=image.jpg \ * location=http://192.168.0.1:8080/cgi-bin/patupload.cgi/ \ * user=test passwd=test \ diff --git a/ext/curl/gstcurlsftpsink.c b/ext/curl/gstcurlsftpsink.c index 5b544f087..939ebd8b9 100644 --- a/ext/curl/gstcurlsftpsink.c +++ b/ext/curl/gstcurlsftpsink.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line (upload a file to /home/john/sftp_tests/)</title> * |[ - * gst-launch filesrc location=/home/jdoe/some.file ! curlsftpsink \ + * gst-launch-1.0 filesrc location=/home/jdoe/some.file ! curlsftpsink \ * file-name=some.file.backup \ * user=john location=sftp://192.168.0.1/~/sftp_tests/ \ * ssh-auth-type=1 ssh-key-passphrase=blabla \ diff --git a/ext/curl/gstcurlsmtpsink.c b/ext/curl/gstcurlsmtpsink.c index 7de1ddfb1..40ab01605 100644 --- a/ext/curl/gstcurlsmtpsink.c +++ b/ext/curl/gstcurlsmtpsink.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line (upload a JPEG file to an SMTP server)</title> * |[ - * gst-launch filesrc location=image.jpg ! jpegparse ! curlsmtpsink \ + * gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlsmtpsink \ * file-name=image.jpg \ * location=smtp://smtp.gmail.com:507 \ * user=test passwd=test \ diff --git a/ext/daala/gstdaaladec.c b/ext/daala/gstdaaladec.c index 0cf4f63da..085685c6d 100644 --- a/ext/daala/gstdaaladec.c +++ b/ext/daala/gstdaaladec.c @@ -33,7 +33,7 @@ * <refsect2> * <title>Example pipeline</title> * |[ - * gst-launch -v filesrc location=videotestsrc.ogg ! oggdemux ! daaladec ! xvimagesink + * gst-launch-1.0 -v filesrc location=videotestsrc.ogg ! oggdemux ! daaladec ! xvimagesink * ]| This example pipeline will decode an ogg stream and decodes the daala video. Refer to * the daalaenc example to create the ogg file. * </refsect2> diff --git a/ext/daala/gstdaalaenc.c b/ext/daala/gstdaalaenc.c index 77ab0b26d..705c7e697 100644 --- a/ext/daala/gstdaalaenc.c +++ b/ext/daala/gstdaalaenc.c @@ -33,7 +33,7 @@ * <refsect2> * <title>Example pipeline</title> * |[ - * gst-launch -v videotestsrc num-buffers=1000 ! daalaenc ! oggmux ! filesink location=videotestsrc.ogg + * gst-launch-1.0 -v videotestsrc num-buffers=1000 ! daalaenc ! oggmux ! filesink location=videotestsrc.ogg * ]| This example pipeline will encode a test video source to daala muxed in an * ogg container. Refer to the daaladec documentation to decode the create * stream. diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index 22dd3d70a..db8ef1732 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -29,7 +29,7 @@ * <para> * Standalone: this mode will take complete control of the monitor forcing * <ulink url="http://www.directfb.org/">DirectFB</ulink> to fullscreen layout. - * This is convenient to test using the gst-launch command line tool or + * This is convenient to test using the gst-launch-1.0 command line tool or * other simple applications. It is possible to interrupt playback while * being in this mode by pressing the Escape key. * </para> @@ -77,7 +77,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v videotestsrc ! dfbvideosink hue=20000 saturation=40000 brightness=25000 + * gst-launch-1.0 -v videotestsrc ! dfbvideosink hue=20000 saturation=40000 brightness=25000 * ]| test the colorbalance interface implementation in dfbvideosink * </refsect2> */ diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c index c1f12c50b..767b6bfc3 100644 --- a/ext/dts/gstdtsdec.c +++ b/ext/dts/gstdtsdec.c @@ -26,10 +26,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch dvdreadsrc title=1 ! mpegpsdemux ! dtsdec ! audioresample ! audioconvert ! alsasink + * gst-launch-1.0 dvdreadsrc title=1 ! mpegpsdemux ! dtsdec ! audioresample ! audioconvert ! alsasink * ]| Play a DTS audio track from a dvd. * |[ - * gst-launch filesrc location=abc.dts ! dtsdec ! audioresample ! audioconvert ! alsasink + * gst-launch-1.0 filesrc location=abc.dts ! dtsdec ! audioresample ! audioconvert ! alsasink * ]| Decode a standalone file and play it. * </refsect2> */ diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 31130450e..6804cbfd4 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -27,7 +27,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc wave=sine num-buffers=100 ! audioconvert ! faac ! matroskamux ! filesink location=sine.mkv + * gst-launch-1.0 audiotestsrc wave=sine num-buffers=100 ! audioconvert ! faac ! matroskamux ! filesink location=sine.mkv * ]| Encode a sine beep as aac and write to matroska container. * </refsect2> */ diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 65a3f8950..8197ca56d 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -27,10 +27,10 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch filesrc location=example.mp4 ! qtdemux ! faad ! audioconvert ! audioresample ! autoaudiosink + * gst-launch-1.0 filesrc location=example.mp4 ! qtdemux ! faad ! audioconvert ! audioresample ! autoaudiosink * ]| Play aac from mp4 file. * |[ - * gst-launch filesrc location=example.adts ! faad ! audioconvert ! audioresample ! autoaudiosink + * gst-launch-1.0 filesrc location=example.adts ! faad ! audioconvert ! audioresample ! autoaudiosink * ]| Play standalone aac bitstream. * </refsect2> */ diff --git a/ext/gl/gstglbumper.c b/ext/gl/gstglbumper.c index 5820fac36..9fdb4a079 100644 --- a/ext/gl/gstglbumper.c +++ b/ext/gl/gstglbumper.c @@ -27,7 +27,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch -v videotestsrc ! glupload ! glbumper location=normalmap.bmp ! glimagesink + * gst-launch-1.0 -v videotestsrc ! glupload ! glbumper location=normalmap.bmp ! glimagesink * ]| A pipeline to test normal mapping. * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * </refsect2> diff --git a/ext/gl/gstgldeinterlace.c b/ext/gl/gstgldeinterlace.c index 2d48749c5..bd0eff05d 100644 --- a/ext/gl/gstgldeinterlace.c +++ b/ext/gl/gstgldeinterlace.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch videotestsrc ! glupload ! gldeinterlace ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! gldeinterlace ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * </refsect2> diff --git a/ext/gl/gstgldifferencematte.c b/ext/gl/gstgldifferencematte.c index 8ffcf9b93..6304c6dff 100644 --- a/ext/gl/gstgldifferencematte.c +++ b/ext/gl/gstgldifferencematte.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch videotestsrc ! glupload ! gldifferencemate location=backgroundimagefile ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! gldifferencemate location=backgroundimagefile ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * </refsect2> diff --git a/ext/gl/gstgleffects.c b/ext/gl/gstgleffects.c index cf4de6e8f..5c906fc7c 100644 --- a/ext/gl/gstgleffects.c +++ b/ext/gl/gstgleffects.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch videotestsrc ! glupload ! gleffects effect=5 ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! gleffects effect=5 ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * </refsect2> diff --git a/ext/gl/gstglfilterreflectedscreen.c b/ext/gl/gstglfilterreflectedscreen.c index bacb8f3af..fb1533890 100644 --- a/ext/gl/gstglfilterreflectedscreen.c +++ b/ext/gl/gstglfilterreflectedscreen.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch videotestsrc ! glupload ! glfilterreflectedscreen ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! glfilterreflectedscreen ! glimagesink * ]| * </refsect2> */ diff --git a/ext/gl/gstglfiltershader.c b/ext/gl/gstglfiltershader.c index 510dcc44a..12a8a9a93 100644 --- a/ext/gl/gstglfiltershader.c +++ b/ext/gl/gstglfiltershader.c @@ -27,7 +27,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch videotestsrc ! glupload ! glshader location=myshader.fs ! glimagesink + * gst-launch-1.0 videotestsrc ! glupload ! glshader location=myshader.fs ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * </refsect2> diff --git a/ext/gl/gstglstereosplit.c b/ext/gl/gstglstereosplit.c index 798810725..456d9f032 100644 --- a/ext/gl/gstglstereosplit.c +++ b/ext/gl/gstglstereosplit.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch videotestsrc ! glstereosplit name=s ! queue ! glimagesink s. ! queue ! glimagesink + * gst-launch-1.0 videotestsrc ! glstereosplit name=s ! queue ! glimagesink s. ! queue ! glimagesink * ]| * FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required. * </refsect2> diff --git a/ext/gl/gstgltestsrc.c b/ext/gl/gstgltestsrc.c index 9916c65de..bcf8fb962 100644 --- a/ext/gl/gstgltestsrc.c +++ b/ext/gl/gstgltestsrc.c @@ -33,7 +33,7 @@ * <title>Example launch line</title> * <para> * <programlisting> - * gst-launch -v gltestsrc pattern=smpte ! glimagesink + * gst-launch-1.0 -v gltestsrc pattern=smpte ! glimagesink * </programlisting> * Shows original SMPTE color bars in a window. * </para> diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c index 5a82ade5f..7d1472f9f 100644 --- a/ext/gl/gstgltransformation.c +++ b/ext/gl/gstgltransformation.c @@ -26,16 +26,16 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch gltestsrc ! gltransformation rotation-z=45 ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation rotation-z=45 ! glimagesink * ]| A pipeline to rotate by 45 degrees * |[ - * gst-launch gltestsrc ! gltransformation translation-x=0.5 ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation translation-x=0.5 ! glimagesink * ]| Translate the video by 0.5 * |[ - * gst-launch gltestsrc ! gltransformation scale-y=0.5 scale-x=0.5 ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation scale-y=0.5 scale-x=0.5 ! glimagesink * ]| Resize the video by 0.5 * |[ - * gst-launch gltestsrc ! gltransformation rotation-x=-45 ortho=True ! glimagesink + * gst-launch-1.0 gltestsrc ! gltransformation rotation-x=-45 ortho=True ! glimagesink * ]| Rotate the video around the X-Axis by -45° with an orthographic projection * </refsect2> */ diff --git a/ext/kate/gstkatedec.c b/ext/kate/gstkatedec.c index 8748498e0..c61d5142f 100644 --- a/ext/kate/gstkatedec.c +++ b/ext/kate/gstkatedec.c @@ -61,14 +61,14 @@ * <para> * This explicitely decodes a Kate stream: * <programlisting> - * gst-launch filesrc location=test.ogg ! oggdemux ! katedec ! fakesink silent=TRUE + * gst-launch-1.0 filesrc location=test.ogg ! oggdemux ! katedec ! fakesink silent=TRUE * </programlisting> * </para> * <para> * This will automatically detect and use any Kate streams multiplexed * in an Ogg stream: * <programlisting> - * gst-launch playbin uri=file:///tmp/test.ogg + * gst-launch-1.0 playbin uri=file:///tmp/test.ogg * </programlisting> * </para> * </refsect2> diff --git a/ext/kate/gstkateenc.c b/ext/kate/gstkateenc.c index a48ea1e2c..d88914a8d 100644 --- a/ext/kate/gstkateenc.c +++ b/ext/kate/gstkateenc.c @@ -62,7 +62,7 @@ * <para> * This encodes a DVD SPU track to a Kate stream: * <programlisting> - * gst-launch dvdreadsrc ! dvddemux ! dvdsubparse ! kateenc category=spu-subtitles ! oggmux ! filesink location=test.ogg + * gst-launch-1.0 dvdreadsrc ! dvddemux ! dvdsubparse ! kateenc category=spu-subtitles ! oggmux ! filesink location=test.ogg * </programlisting> * </para> * </refsect2> diff --git a/ext/kate/gstkateparse.c b/ext/kate/gstkateparse.c index 86657b87e..99ea0c85a 100644 --- a/ext/kate/gstkateparse.c +++ b/ext/kate/gstkateparse.c @@ -41,14 +41,14 @@ * <title>Example pipelines</title> * <para> * <programlisting> - * gst-launch -v filesrc location=kate.ogg ! oggdemux ! kateparse ! fakesink + * gst-launch-1.0 -v filesrc location=kate.ogg ! oggdemux ! kateparse ! fakesink * </programlisting> * This pipeline shows that the streamheader is set in the caps, and that each * buffer has the timestamp, duration, offset, and offset_end set. * </para> * <para> * <programlisting> - * gst-launch filesrc location=kate.ogg ! oggdemux ! kateparse \ + * gst-launch-1.0 filesrc location=kate.ogg ! oggdemux ! kateparse \ * ! oggmux ! filesink location=kate-remuxed.ogg * </programlisting> * This pipeline shows remuxing. kate-remuxed.ogg might not be exactly the same diff --git a/ext/kate/gstkatetag.c b/ext/kate/gstkatetag.c index b7d88ed66..e280917bc 100644 --- a/ext/kate/gstkatetag.c +++ b/ext/kate/gstkatetag.c @@ -44,20 +44,20 @@ * </para> * <title>Example pipelines</title> * <para> - * This element is only useful with gst-launch for modifying the language + * This element is only useful with gst-launch-1.0 for modifying the language * and/or category (which are properties of the stream located in the kate * beginning of stream header), because it does not support setting the tags * on a #GstTagSetter interface. Conceptually, the element will usually be * used like: * <programlisting> - * gst-launch -v filesrc location=foo.ogg ! oggdemux ! katetag ! oggmux ! filesink location=bar.ogg + * gst-launch-1.0 -v filesrc location=foo.ogg ! oggdemux ! katetag ! oggmux ! filesink location=bar.ogg * </programlisting> * </para> * <para> * This pipeline will set the language and category of the stream to the * given values: * <programlisting> - * gst-launch -v filesrc location=foo.ogg ! oggdemux ! katetag language=pt_BR category=subtitles ! oggmux ! filesink location=bar.ogg + * gst-launch-1.0 -v filesrc location=foo.ogg ! oggdemux ! katetag language=pt_BR category=subtitles ! oggmux ! filesink location=bar.ogg * </programlisting> * </para> * </refsect2> diff --git a/ext/kate/gstkatetiger.c b/ext/kate/gstkatetiger.c index cdc4c3196..6b2677c6d 100644 --- a/ext/kate/gstkatetiger.c +++ b/ext/kate/gstkatetiger.c @@ -63,7 +63,7 @@ * This pipeline renders a Kate stream on top of a Theora video multiplexed * in the same stream: * <programlisting> - * gst-launch \ + * gst-launch-1.0 \ * filesrc location=video.ogg ! oggdemux name=demux \ * demux. ! queue ! theoradec ! videoconvert ! tiger name=tiger \ * demux. ! queue ! kateparse ! tiger. \ diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 02bb1795c..df06693b9 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -37,9 +37,9 @@ * |[ * (padsp) listplugins * (padsp) analyseplugin cmt.so amp_mono - * gst-launch -e filesrc location="$myfile" ! decodebin ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,rate=48000,channels=1" ! wavenc ! filesink location="testin.wav" + * gst-launch-1.0 -e filesrc location="$myfile" ! decodebin ! audioconvert ! audioresample ! "audio/x-raw,format=S16LE,rate=48000,channels=1" ! wavenc ! filesink location="testin.wav" * (padsp) applyplugin testin.wav testout.wav cmt.so amp_mono 2 - * gst-launch playbin uri=file://"$PWD"/testout.wav + * gst-launch-1.0 playbin uri=file://"$PWD"/testout.wav * ]| Decode any audio file into wav with the format expected for the specific ladspa plugin to be applied, apply the ladspa filter and play it. * </refsect2> * @@ -48,7 +48,7 @@ * <refsect2> * <title>Example LADSPA line with this plugins</title> * |[ - * gst-launch autoaudiosrc ! ladspa-cmt-so-amp-mono gain=2 ! ladspa-caps-so-plate ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! tee name=myT myT. ! queue ! autoaudiosink myT. ! queue ! audioconvert ! goom ! videoconvert ! xvimagesink pixel-aspect-ratio=3/4 + * gst-launch-1.0 autoaudiosrc ! ladspa-cmt-so-amp-mono gain=2 ! ladspa-caps-so-plate ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! tee name=myT myT. ! queue ! autoaudiosink myT. ! queue ! audioconvert ! goom ! videoconvert ! xvimagesink pixel-aspect-ratio=3/4 * ]| Get audio input, filter it through CAPS Plate and TAP Stereo Echo, play it and show a visualization (recommended hearphones). * </refsect2> * @@ -82,7 +82,7 @@ * <refsect2> * <title>Example Filter/Effect/Audio/LADSPA line with this plugins</title> * |[ - * gst-launch filesrc location="$myfile" ! decodebin ! audioconvert ! audioresample ! ladspa-calf-so-reverb decay-time=15 high-frq-damp=20000 room-size=5 diffusion=1 wet-amount=2 dry-amount=2 pre-delay=50 bass-cut=20000 treble-cut=20000 ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! autoaudiosink + * gst-launch-1.0 filesrc location="$myfile" ! decodebin ! audioconvert ! audioresample ! ladspa-calf-so-reverb decay-time=15 high-frq-damp=20000 room-size=5 diffusion=1 wet-amount=2 dry-amount=2 pre-delay=50 bass-cut=20000 treble-cut=20000 ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! autoaudiosink * ]| Decode any audio file, filter it through Calf Reverb LADSPA then TAP Stereo Echo, and play it. * </refsect2> * </listitem> @@ -90,19 +90,19 @@ * <refsect2> * <title>Example Source/Audio/LADSPA line with this plugins</title> * |[ - * gst-launch ladspasrc-sine-so-sine-fcac frequency=220 amplitude=100 ! audioconvert ! autoaudiosink + * gst-launch-1.0 ladspasrc-sine-so-sine-fcac frequency=220 amplitude=100 ! audioconvert ! autoaudiosink * ]| Generate a sine wave with Sine Oscillator (Freq:control, Amp:control) and play it. * </refsect2> * <refsect2> * <title>Example Source/Audio/LADSPA line with this plugins</title> * |[ - * gst-launch ladspasrc-caps-so-click bpm=240 volume=1 ! autoaudiosink + * gst-launch-1.0 ladspasrc-caps-so-click bpm=240 volume=1 ! autoaudiosink * ]| Generate clicks with CAPS Click - Metronome at 240 beats per minute and play it. * </refsect2> * <refsect2> * <title>Example Source/Audio/LADSPA line with this plugins</title> * |[ - * gst-launch ladspasrc-random-1661-so-random-fcsc-oa ! ladspa-cmt-so-amp-mono gain=1.5 ! ladspa-caps-so-plate ! tee name=myT myT. ! queue ! autoaudiosink myT. ! queue ! audioconvert ! wavescope ! videoconvert ! autovideosink + * gst-launch-1.0 ladspasrc-random-1661-so-random-fcsc-oa ! ladspa-cmt-so-amp-mono gain=1.5 ! ladspa-caps-so-plate ! tee name=myT myT. ! queue ! autoaudiosink myT. ! queue ! audioconvert ! wavescope ! videoconvert ! autovideosink * ]| Generate random wave, filter it trhough Mono Amplifier and Versatile Plate Reverb, and play, while showing, it. * </refsect2> * </listitem> @@ -110,7 +110,7 @@ * <refsect2> * <title>Example Sink/Audio/LADSPA line with this plugins</title> * |[ - * gst-launch autoaudiosrc ! ladspa-cmt-so-amp-mono gain=2 ! ladspa-caps-so-plate ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! tee name=myT myT. ! audioconvert ! audioresample ! queue ! ladspasink-cmt-so-null-ai myT. ! audioconvert ! audioresample ! queue ! goom ! videoconvert ! xvimagesink pixel-aspect-ratio=3/4 + * gst-launch-1.0 autoaudiosrc ! ladspa-cmt-so-amp-mono gain=2 ! ladspa-caps-so-plate ! ladspa-tap-echo-so-tap-stereo-echo l-delay=500 r-haas-delay=500 ! tee name=myT myT. ! audioconvert ! audioresample ! queue ! ladspasink-cmt-so-null-ai myT. ! audioconvert ! audioresample ! queue ! goom ! videoconvert ! xvimagesink pixel-aspect-ratio=3/4 * ]| Get audio input, filter it trhough Mono Amplifier, CAPS Plate LADSPA and TAP Stereo Echo, explicitily anulate audio with Null (Audio Output), and play a visualization (recommended hearphones). * </refsect2> * </listitem> diff --git a/ext/libvisual/visual-gl.c b/ext/libvisual/visual-gl.c index 88b44196d..85c91e04b 100644 --- a/ext/libvisual/visual-gl.c +++ b/ext/libvisual/visual-gl.c @@ -27,7 +27,7 @@ * <refsect2> * <title>Examples</title> * |[ - * gst-launch -v audiotestsrc ! libvisual_gl_lv_flower ! glimagesink + * gst-launch-1.0 -v audiotestsrc ! libvisual_gl_lv_flower ! glimagesink * ]| * </refsect2> */ diff --git a/ext/mpg123/gstmpg123audiodec.c b/ext/mpg123/gstmpg123audiodec.c index aa8598c05..cfd017ea3 100644 --- a/ext/mpg123/gstmpg123audiodec.c +++ b/ext/mpg123/gstmpg123audiodec.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch filesrc location=music.mp3 ! mpegaudioparse ! mpg123audiodec ! audioconvert ! audioresample ! autoaudiosink + * gst-launch-1.0 filesrc location=music.mp3 ! mpegaudioparse ! mpg123audiodec ! audioconvert ! audioresample ! autoaudiosink * ]| Decode and play the mp3 file * </refsect2> */ diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index b109d1833..ae50bea2f 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -35,7 +35,7 @@ * <refsect2> * <title>Example pipeline</title> * |[ - * gst-launch -v videotestsrc num-buffers=1000 ! mpeg2enc ! mplex ! filesink location=videotestsrc.mpg + * gst-launch-1.0 -v videotestsrc num-buffers=1000 ! mpeg2enc ! mplex ! filesink location=videotestsrc.mpg * ]| This example pipeline will encode a test video source to an * MPEG1 elementary stream and multiplexes this to an MPEG system stream. * <para> diff --git a/ext/openal/gstopenalsink.c b/ext/openal/gstopenalsink.c index 1fa1c6574..74f58e44d 100644 --- a/ext/openal/gstopenalsink.c +++ b/ext/openal/gstopenalsink.c @@ -34,13 +34,13 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch audiotestsrc ! audioconvert ! volume volume=0.5 ! openalsink + * gst-launch-1.0 audiotestsrc ! audioconvert ! volume volume=0.5 ! openalsink * ]| will play a sine wave (continuous beep sound) through OpenAL. * |[ - * gst-launch filesrc location=stream.wav ! decodebin ! audioconvert ! openalsink + * gst-launch-1.0 filesrc location=stream.wav ! decodebin ! audioconvert ! openalsink * ]| will play a wav audio file through OpenAL. * |[ - * gst-launch openalsrc ! "audio/x-raw,format=S16LE,rate=44100" ! audioconvert ! volume volume=0.25 ! openalsink + * gst-launch-1.0 openalsrc ! "audio/x-raw,format=S16LE,rate=44100" ! audioconvert ! volume volume=0.25 ! openalsink * ]| will capture and play audio through OpenAL. * </refsect2> */ diff --git a/ext/openal/gstopenalsrc.c b/ext/openal/gstopenalsrc.c index ef4847599..d06b3c440 100644 --- a/ext/openal/gstopenalsrc.c +++ b/ext/openal/gstopenalsrc.c @@ -57,10 +57,10 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v openalsrc ! audioconvert ! wavenc ! filesink location=stream.wav + * gst-launch-1.0 -v openalsrc ! audioconvert ! wavenc ! filesink location=stream.wav * ]| * will capture sound through OpenAL and encode it to a wav file. * |[ - * gst-launch openalsrc ! "audio/x-raw,format=S16LE,rate=44100" ! audioconvert ! volume volume=0.25 ! openalsink + * gst-launch-1.0 openalsrc ! "audio/x-raw,format=S16LE,rate=44100" ! audioconvert ! volume volume=0.25 ! openalsink * ]| will capture and play audio through OpenAL. * </refsect2> */ diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c index c7cbb7c29..f2512d119 100644 --- a/ext/opus/gstopusdec.c +++ b/ext/opus/gstopusdec.c @@ -33,7 +33,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v filesrc location=opus.ogg ! oggdemux ! opusdec ! audioconvert ! audioresample ! alsasink + * gst-launch-1.0 -v filesrc location=opus.ogg ! oggdemux ! opusdec ! audioconvert ! audioresample ! alsasink * ]| Decode an Ogg/Opus file. To create an Ogg/Opus file refer to the documentation of opusenc. * </refsect2> */ diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c index 9214837ca..7737bf575 100644 --- a/ext/opus/gstopusenc.c +++ b/ext/opus/gstopusenc.c @@ -32,7 +32,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! opusenc ! oggmux ! filesink location=sine.ogg + * gst-launch-1.0 -v audiotestsrc wave=sine num-buffers=100 ! audioconvert ! opusenc ! oggmux ! filesink location=sine.ogg * ]| Encode a test sine signal to Ogg/OPUS. * </refsect2> */ diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c index a87ff3128..ea3252e51 100644 --- a/ext/opus/gstopusparse.c +++ b/ext/opus/gstopusparse.c @@ -29,7 +29,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v filesrc location=opusdata ! opusparse ! opusdec ! audioconvert ! audioresample ! alsasink + * gst-launch-1.0 -v filesrc location=opusdata ! opusparse ! opusdec ! audioconvert ! audioresample ! alsasink * ]| Decode and plays an unmuxed Opus file. * </refsect2> */ diff --git a/ext/resindvd/resin-play b/ext/resindvd/resin-play index 5066e5b48..46b36cf17 100755 --- a/ext/resindvd/resin-play +++ b/ext/resindvd/resin-play @@ -6,7 +6,7 @@ else DEVICE_OPT="" fi -gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \ +gst-launch-1.0 rsndvdbin name=dvd "$DEVICE_OPT" \ dvdspu name=spu ! videoconvert ! videoscale ! ximagesink force-aspect-ratio=true \ dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \ dvd. ! spu.subpicture \ diff --git a/ext/resindvd/resin-play2 b/ext/resindvd/resin-play2 index e35a732b5..ed89a5043 100755 --- a/ext/resindvd/resin-play2 +++ b/ext/resindvd/resin-play2 @@ -6,7 +6,7 @@ else DEVICE_OPT="" fi -gst-launch rsndvdbin name=dvd "$DEVICE_OPT" \ +gst-launch-1.0 rsndvdbin name=dvd "$DEVICE_OPT" \ dvdspu name=spu ! deinterlace ! xvimagesink force-aspect-ratio=false \ dvd. ! queue max-size-buffers=3 max-size-bytes=0 ! spu.video \ dvd. ! spu.subpicture \ diff --git a/ext/rsvg/gstrsvgdec.c b/ext/rsvg/gstrsvgdec.c index 17ebcb118..d87c6caed 100644 --- a/ext/rsvg/gstrsvgdec.c +++ b/ext/rsvg/gstrsvgdec.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch filesrc location=image.svg ! rsvgdec ! imagefreeze ! videoconvert ! autovideosink + * gst-launch-1.0 filesrc location=image.svg ! rsvgdec ! imagefreeze ! videoconvert ! autovideosink * ]| render and show a svg image. * </refsect2> */ diff --git a/ext/rsvg/gstrsvgoverlay.c b/ext/rsvg/gstrsvgoverlay.c index 6c68113ca..69f99add0 100644 --- a/ext/rsvg/gstrsvgoverlay.c +++ b/ext/rsvg/gstrsvgoverlay.c @@ -47,13 +47,13 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch -v videotestsrc ! videoconvert ! rsvgoverlay location=foo.svg ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! videoconvert ! rsvgoverlay location=foo.svg ! videoconvert ! autovideosink * ]| specifies the SVG location through the filename property. * |[ - * gst-launch -v videotestsrc ! videoconvert ! rsvgoverlay name=overlay ! videoconvert ! autovideosink filesrc location=foo.svg ! image/svg ! overlay.data_sink + * gst-launch-1.0 -v videotestsrc ! videoconvert ! rsvgoverlay name=overlay ! videoconvert ! autovideosink filesrc location=foo.svg ! image/svg ! overlay.data_sink * ]| does the same by feeding data through the data_sink pad. You can also specify the SVG data itself as parameter: * |[ - * gst-launch -v videotestsrc ! videoconvert ! rsvgoverlay data='<svg viewBox="0 0 800 600"><image x="80%" y="80%" width="10%" height="10%" xlink:href="foo.jpg" /></svg>' ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! videoconvert ! rsvgoverlay data='<svg viewBox="0 0 800 600"><image x="80%" y="80%" width="10%" height="10%" xlink:href="foo.jpg" /></svg>' ! videoconvert ! autovideosink * ]| * </refsect2> */ diff --git a/ext/rtmp/gstrtmpsink.c b/ext/rtmp/gstrtmpsink.c index d2e7dbfb7..095c6ef3d 100644 --- a/ext/rtmp/gstrtmpsink.c +++ b/ext/rtmp/gstrtmpsink.c @@ -30,7 +30,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! ffenc_flv ! flvmux ! rtmpsink location='rtmp://localhost/path/to/stream live=1' + * gst-launch-1.0 -v videotestsrc ! ffenc_flv ! flvmux ! rtmpsink location='rtmp://localhost/path/to/stream live=1' * ]| Encode a test video stream to FLV video format and stream it via RTMP. * </refsect2> */ diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c index 6bb39f7bc..46918e755 100644 --- a/ext/rtmp/gstrtmpsrc.c +++ b/ext/rtmp/gstrtmpsrc.c @@ -34,7 +34,7 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch -v rtmpsrc location=rtmp://somehost/someurl ! fakesink + * gst-launch-1.0 -v rtmpsrc location=rtmp://somehost/someurl ! fakesink * ]| Open an RTMP location and pass its content to fakesink. * </refsect2> */ diff --git a/ext/sndio/sndiosink.c b/ext/sndio/sndiosink.c index d2680a540..1eab80085 100644 --- a/ext/sndio/sndiosink.c +++ b/ext/sndio/sndiosink.c @@ -25,7 +25,7 @@ * <para> * Simple example pipeline that plays an Ogg/Vorbis file via sndio: * <programlisting> - * gst-launch -v filesrc location=foo.ogg ! decodebin ! audioconvert ! audioresample ! sndiosink + * gst-launch-1.0 -v filesrc location=foo.ogg ! decodebin ! audioconvert ! audioresample ! sndiosink * </programlisting> * </para> * </refsect2> diff --git a/ext/sndio/sndiosrc.c b/ext/sndio/sndiosrc.c index 19776c2db..6800c7df6 100644 --- a/ext/sndio/sndiosrc.c +++ b/ext/sndio/sndiosrc.c @@ -25,7 +25,7 @@ * <para> * Simple example pipeline that records an Ogg/Vorbis file via sndio: * <programlisting> - * gst-launch -v sndiosrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=foo.ogg + * gst-launch-1.0 -v sndiosrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=foo.ogg * </programlisting> * </para> * </refsect2> diff --git a/ext/teletextdec/gstteletextdec.c b/ext/teletextdec/gstteletextdec.c index 864b33e4c..d9c64ef56 100644 --- a/ext/teletextdec/gstteletextdec.c +++ b/ext/teletextdec/gstteletextdec.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v -m filesrc location=recording.mpeg ! tsdemux ! teletextdec ! videoconvert ! ximagesink + * gst-launch-1.0 -v -m filesrc location=recording.mpeg ! tsdemux ! teletextdec ! videoconvert ! ximagesink * ]| * </refsect2> */ diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 2d2860cd2..f4f34a83f 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -32,7 +32,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v videotestsrc ! waylandsink + * gst-launch-1.0 -v videotestsrc ! waylandsink * ]| test the video rendering in wayland * </refsect2> */ diff --git a/ext/zbar/gstzbar.c b/ext/zbar/gstzbar.c index 2bb0a7d8f..62fb106f7 100644 --- a/ext/zbar/gstzbar.c +++ b/ext/zbar/gstzbar.c @@ -71,10 +71,10 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch -m v4l2src ! videoconvert ! zbar ! videoconvert ! xvimagesink + * gst-launch-1.0 -m v4l2src ! videoconvert ! zbar ! videoconvert ! xvimagesink * ]| This pipeline will detect barcodes and send them as messages. * |[ - * gst-launch -m v4l2src ! tee name=t ! queue ! videoconvert ! zbar ! fakesink t. ! queue ! xvimagesink + * gst-launch-1.0 -m v4l2src ! tee name=t ! queue ! videoconvert ! zbar ! fakesink t. ! queue ! xvimagesink * ]| Same as above, but running the filter on a branch to keep the display in color * </refsect2> */ |