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 | |
parent | ea54d2aaabf8b9ac398884bc281582003a5278e0 (diff) |
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
132 files changed, 201 insertions, 201 deletions
@@ -179,8 +179,8 @@ COMPILING FROM SOURCE TARBALLS make install - try out a simple test: - gst-launch -v fakesrc num_buffers=5 ! fakesink - (If you didn't install GStreamer, prefix gst-launch with tools/) + gst-launch-1.0 -v fakesrc num_buffers=5 ! fakesink + (If you didn't install GStreamer, prefix gst-launch-1.0 with tools/) If it outputs a bunch of messages from fakesrc and fakesink, everything is ok. 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> */ diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c index 78854ae74..7ca19c6ea 100644 --- a/gst/aiff/aiffparse.c +++ b/gst/aiff/aiffparse.c @@ -35,14 +35,14 @@ * <title>Example launch line</title> * <para> * <programlisting> - * gst-launch filesrc location=sine.aiff ! aiffparse ! audioconvert ! alsasink + * gst-launch-1.0 filesrc location=sine.aiff ! aiffparse ! audioconvert ! alsasink * </programlisting> * Read a aiff file and output to the soundcard using the ALSA element. The * aiff file is assumed to contain raw uncompressed samples. * </para> * <para> * <programlisting> - * gst-launch souphhtpsrc location=http://www.example.org/sine.aiff ! queue ! aiffparse ! audioconvert ! alsasink + * gst-launch-1.0 souphttpsrc location=http://www.example.org/sine.aiff ! queue ! aiffparse ! audioconvert ! alsasink * </programlisting> * Stream data from a network url. * </para> diff --git a/gst/asfmux/gstasfmux.c b/gst/asfmux/gstasfmux.c index c77f8b63f..45617beee 100644 --- a/gst/asfmux/gstasfmux.c +++ b/gst/asfmux/gstasfmux.c @@ -35,11 +35,11 @@ * <title>Example launch lines</title> * <para>(write everything in one line, without the backslash characters)</para> * |[ - * gst-launch videotestsrc num-buffers=250 \ - * ! "video/x-raw,format=(string)I420,framerate=(fraction)25/1" ! ffenc_wmv2 \ + * gst-launch-1.0 videotestsrc num-buffers=250 \ + * ! "video/x-raw,format=(string)I420,framerate=(fraction)25/1" ! avenc_wmv2 \ * ! asfmux name=mux ! filesink location=test.asf \ * audiotestsrc num-buffers=440 ! audioconvert \ - * ! "audio/x-raw,rate=44100" ! ffenc_wmav2 ! mux. + * ! "audio/x-raw,rate=44100" ! avenc_wmav2 ! mux. * ]| This creates an ASF file containing an WMV video stream * with a test picture and WMA audio stream of a test sound. * @@ -54,13 +54,13 @@ * <para>(write everything in one line, without the backslash characters)</para> * Server (sender) * |[ - * gst-launch -ve videotestsrc ! ffenc_wmv2 ! asfmux name=mux streamable=true \ + * gst-launch-1.0 -ve videotestsrc ! avenc_wmv2 ! asfmux name=mux streamable=true \ * ! rtpasfpay ! udpsink host=127.0.0.1 port=3333 \ - * audiotestsrc ! ffenc_wmav2 ! mux. + * audiotestsrc ! avenc_wmav2 ! mux. * ]| * Client (receiver) * |[ - * gst-launch udpsrc port=3333 ! "caps_from_rtpasfpay_at_sender" \ + * gst-launch-1.0 udpsrc port=3333 ! "caps_from_rtpasfpay_at_sender" \ * ! rtpasfdepay ! decodebin name=d ! queue \ * ! videoconvert ! autovideosink \ * d. ! queue ! audioconvert ! autoaudiosink diff --git a/gst/audiofxbad/gstaudiochannelmix.c b/gst/audiofxbad/gstaudiochannelmix.c index fa48c267c..aebe84a41 100644 --- a/gst/audiofxbad/gstaudiochannelmix.c +++ b/gst/audiofxbad/gstaudiochannelmix.c @@ -27,7 +27,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v audiotestsrc ! audiochannelmix ! autoaudiosink + * gst-launch-1.0 -v audiotestsrc ! audiochannelmix ! autoaudiosink * ]| * </refsect2> */ diff --git a/gst/audiomixer/gstaudiomixer.c b/gst/audiomixer/gstaudiomixer.c index dcf4c92eb..b211f7df5 100644 --- a/gst/audiomixer/gstaudiomixer.c +++ b/gst/audiomixer/gstaudiomixer.c @@ -44,7 +44,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc freq=100 ! audiomixer name=mix ! audioconvert ! alsasink audiotestsrc freq=500 ! mix. + * gst-launch-1.0 audiotestsrc freq=100 ! audiomixer name=mix ! audioconvert ! alsasink audiotestsrc freq=500 ! mix. * ]| This pipeline produces two sine waves mixed together. * </refsect2> * diff --git a/gst/audiovisualizers/gstspacescope.c b/gst/audiovisualizers/gstspacescope.c index b0828a8a1..6cde066ea 100644 --- a/gst/audiovisualizers/gstspacescope.c +++ b/gst/audiovisualizers/gstspacescope.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc ! audioconvert ! spacescope ! ximagesink + * gst-launch-1.0 audiotestsrc ! audioconvert ! spacescope ! ximagesink * ]| * </refsect2> */ diff --git a/gst/audiovisualizers/gstspectrascope.c b/gst/audiovisualizers/gstspectrascope.c index ff43cfd7e..297d3ef4f 100644 --- a/gst/audiovisualizers/gstspectrascope.c +++ b/gst/audiovisualizers/gstspectrascope.c @@ -29,7 +29,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc ! audioconvert ! spectrascope ! ximagesink + * gst-launch-1.0 audiotestsrc ! audioconvert ! spectrascope ! ximagesink * ]| * </refsect2> */ diff --git a/gst/audiovisualizers/gstsynaescope.c b/gst/audiovisualizers/gstsynaescope.c index 23d15f0de..dfadf099c 100644 --- a/gst/audiovisualizers/gstsynaescope.c +++ b/gst/audiovisualizers/gstsynaescope.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc ! audioconvert ! synaescope ! ximagesink + * gst-launch-1.0 audiotestsrc ! audioconvert ! synaescope ! ximagesink * ]| * </refsect2> */ diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c index 4b7fe3aac..ad125b0ac 100644 --- a/gst/audiovisualizers/gstwavescope.c +++ b/gst/audiovisualizers/gstwavescope.c @@ -28,7 +28,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc ! audioconvert ! wavescope ! ximagesink + * gst-launch-1.0 audiotestsrc ! audioconvert ! wavescope ! ximagesink * ]| * </refsect2> */ diff --git a/gst/autoconvert/gstautovideoconvert.c b/gst/autoconvert/gstautovideoconvert.c index 271d6f540..11fc974b1 100644 --- a/gst/autoconvert/gstautovideoconvert.c +++ b/gst/autoconvert/gstautovideoconvert.c @@ -20,11 +20,11 @@ /* * test autovideoconvert: * if rgb2bayer is present - * gst-launch videotestsrc num-buffers=2 ! "video/x-raw,width=100,height=100,framerate=10/1" ! autovideoconvert ! "video/x-raw-bayer,width=100,height=100,format=bggr,framerate=10/1" ! fakesink -v + * gst-launch-1.0 videotestsrc num-buffers=2 ! "video/x-raw,width=100,height=100,framerate=10/1" ! autovideoconvert ! "video/x-bayer,width=100,height=100,format=bggr,framerate=10/1" ! fakesink -v * if bayer2rgb is present - * gst-launch videotestsrc num-buffers=2 ! "video/x-raw-bayer,width=100,height=100,format=bggr,framerate=10/1" ! autovideoconvert ! "video/x-raw,width=100,height=100,framerate=10/1" ! fakesink -v + * gst-launch-1.0 videotestsrc num-buffers=2 ! "video/x-bayer,width=100,height=100,format=bggr,framerate=10/1" ! autovideoconvert ! "video/x-raw,width=100,height=100,framerate=10/1" ! fakesink -v * test with videoconvert - * gst-launch videotestsrc num-buffers=2 ! "video/x-raw,format=RGBx,width=100,height=100,framerate=10/1" ! autovideoconvert ! "video/x-raw,format=RGB16,width=100,height=100,framerate=10/1" ! fakesink -v + * gst-launch-1.0 videotestsrc num-buffers=2 ! "video/x-raw,format=RGBx,width=100,height=100,framerate=10/1" ! autovideoconvert ! "video/x-raw,format=RGB16,width=100,height=100,framerate=10/1" ! fakesink -v */ #ifdef HAVE_CONFIG_H #include "config.h" diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 7458675b3..d0876d5ec 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -121,11 +121,11 @@ * <refsect2> * <title>Example launch line</title> * <para> - * Unfortunately, camerabin can't be really used from gst-launch, as you need + * Unfortunately, camerabin can't be really used from gst-launch-1.0, as you need * to send signals to control it. The following pipeline might be able * to show the viewfinder using all the default elements. * |[ - * gst-launch -v -m camerabin + * gst-launch-1.0 -v -m camerabin * ]| * </para> * </refsect2> diff --git a/gst/camerabin2/gstviewfinderbin.c b/gst/camerabin2/gstviewfinderbin.c index 973234026..3ae6c3187 100644 --- a/gst/camerabin2/gstviewfinderbin.c +++ b/gst/camerabin2/gstviewfinderbin.c @@ -24,7 +24,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! viewfinderbin + * gst-launch-1.0 -v videotestsrc ! viewfinderbin * ]| * Feeds the viewfinderbin with video test data. * </refsect2> diff --git a/gst/coloreffects/gstchromahold.c b/gst/coloreffects/gstchromahold.c index fa5709d99..097312aec 100644 --- a/gst/coloreffects/gstchromahold.c +++ b/gst/coloreffects/gstchromahold.c @@ -29,7 +29,7 @@ * * Sample pipeline: * |[ - * gst-launch videotestsrc pattern=smpte75 ! \ + * gst-launch-1.0 videotestsrc pattern=smpte75 ! \ * chromahold target-r=0 target-g=0 target-b=255 ! \ * videoconvert ! autovideosink \ * ]| This pipeline only keeps the red color. diff --git a/gst/coloreffects/gstcoloreffects.c b/gst/coloreffects/gstcoloreffects.c index 335588dae..a62a45d8b 100644 --- a/gst/coloreffects/gstcoloreffects.c +++ b/gst/coloreffects/gstcoloreffects.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! coloreffects preset=heat ! videoconvert ! + * gst-launch-1.0 -v videotestsrc ! coloreffects preset=heat ! videoconvert ! * autovideosink * ]| This pipeline shows the effect of coloreffects on a test stream. * </refsect2> diff --git a/gst/dataurisrc/gstdataurisrc.c b/gst/dataurisrc/gstdataurisrc.c index c8910082c..45c1814c0 100644 --- a/gst/dataurisrc/gstdataurisrc.c +++ b/gst/dataurisrc/gstdataurisrc.c @@ -27,7 +27,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch-1.0 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! videoconvert ! freeze ! videoconvert ! autovideosink + * gst-launch-1.0 -v dataurisrc uri="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAfElEQVQ4je2MwQnAIAxFgziA4EnczIsO4MEROo/gzZWc4xdTbe1R6LGRR74heYS7iKElzfcMiRnt4hf8gk8EayB6luefue/HzlJfCA50XsNjYRxprZmenXNIKSGEsC+QUqK1hhgj521BzhnWWiilUGvdF5RS4L2HMQZCCJy8sHMm2TYdJAAAAABJRU5ErkJggg==" ! pngdec ! videoconvert ! imagefreeze ! videoconvert ! autovideosink * ]| This pipeline displays a small 16x16 PNG image from the data URI. * </refsect2> */ diff --git a/gst/debugutils/fpsdisplaysink.c b/gst/debugutils/fpsdisplaysink.c index dcef6799f..39c2422e7 100644 --- a/gst/debugutils/fpsdisplaysink.c +++ b/gst/debugutils/fpsdisplaysink.c @@ -25,10 +25,10 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch videotestsrc ! fpsdisplaysink - * gst-launch videotestsrc ! fpsdisplaysink text-overlay=false - * gst-launch filesrc location=video.avi ! decodebin name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true - * gst-launch playbin uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink + * gst-launch-1.0 videotestsrc ! fpsdisplaysink + * gst-launch-1.0 videotestsrc ! fpsdisplaysink text-overlay=false + * gst-launch-1.0 filesrc location=video.avi ! decodebin name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true + * gst-launch-1.0 playbin uri=file:///path/to/video.avi video-sink="fpsdisplaysink" audio-sink=fakesink * ]| * </refsect2> */ diff --git a/gst/debugutils/gstchopmydata.c b/gst/debugutils/gstchopmydata.c index e7800d53e..ceff7e5f8 100644 --- a/gst/debugutils/gstchopmydata.c +++ b/gst/debugutils/gstchopmydata.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v audiotestsrc num-buffers=10 ! gstchopmydata min-size=100 + * gst-launch-1.0 -v audiotestsrc num-buffers=10 ! chopmydata min-size=100 * max-size=200 step-size=2 ! fakesink -v * ]| * diff --git a/gst/debugutils/gstdebugspy.c b/gst/debugutils/gstdebugspy.c index b746b51d1..19e7cf24a 100644 --- a/gst/debugutils/gstdebugspy.c +++ b/gst/debugutils/gstdebugspy.c @@ -29,7 +29,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -m videotestsrc ! debugspy ! fakesink + * gst-launch-1.0 -m videotestsrc ! debugspy ! fakesink * ]| * </refsect2> */ diff --git a/gst/debugutils/gstwatchdog.c b/gst/debugutils/gstwatchdog.c index 3292b4361..0a4c12e7b 100644 --- a/gst/debugutils/gstwatchdog.c +++ b/gst/debugutils/gstwatchdog.c @@ -35,7 +35,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v fakesrc ! watchdog ! fakesink + * gst-launch-1.0 -v fakesrc ! watchdog ! fakesink * ]| * </refsect2> */ diff --git a/gst/dvbsuboverlay/gstdvbsuboverlay.c b/gst/dvbsuboverlay/gstdvbsuboverlay.c index 63599dbfa..ea6faf38d 100644 --- a/gst/dvbsuboverlay/gstdvbsuboverlay.c +++ b/gst/dvbsuboverlay/gstdvbsuboverlay.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ FIXME - * gst-launch -v filesrc location=/path/to/ts ! mpegtsdemux name=d ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink \ + * gst-launch-1.0 -v filesrc location=/path/to/ts ! mpegtsdemux name=d ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink \ * d. ! queue ! mpeg2dec ! videoconvert ! r. \ * d. ! queue ! "subpicture/x-dvb" ! dvbsuboverlay name=r ! videoconvert ! autovideosink * ]| This pipeline demuxes a MPEG-TS file with MPEG2 video, MP3 audio and embedded DVB subtitles and renders the subtitles on top of the video. diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index b9d55e8ac..04a438713 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -24,7 +24,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * FIXME: gst-launch ... + * FIXME: gst-launch-1.0 ... * ]| FIXME: description for the sample launch pipeline * </refsect2> */ diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index cb2d1cb9b..00ef82dea 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -71,7 +71,7 @@ * <refsect2> * <title>Example pipeline</title> * |[ - * echo 'Hello G-Streamer!' | gst-launch fdsrc fd=0 ! festival ! wavparse ! audioconvert ! alsasink + * echo 'Hello G-Streamer!' | gst-launch-1.0 fdsrc fd=0 ! festival ! wavparse ! audioconvert ! alsasink * ]| * </refsect2> */ diff --git a/gst/fieldanalysis/gstfieldanalysis.c b/gst/fieldanalysis/gstfieldanalysis.c index b7ffd87c7..260eaf34d 100644 --- a/gst/fieldanalysis/gstfieldanalysis.c +++ b/gst/fieldanalysis/gstfieldanalysis.c @@ -51,7 +51,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v uridecodebin uri=/path/to/foo.bar ! fieldanalysis ! deinterlace ! videoconvert ! autovideosink + * gst-launch-1.0 -v uridecodebin uri=/path/to/foo.bar ! fieldanalysis ! deinterlace ! videoconvert ! autovideosink * ]| This pipeline will analyse a video stream with default metrics and thresholds and output progressive frames. * </refsect2> */ diff --git a/gst/freeverb/gstfreeverb.c b/gst/freeverb/gstfreeverb.c index 4ee37791c..9500334c9 100644 --- a/gst/freeverb/gstfreeverb.c +++ b/gst/freeverb/gstfreeverb.c @@ -36,8 +36,8 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch audiotestsrc wave=saw ! freeverb ! autoaudiosink - * gst-launch filesrc location="melo1.ogg" ! decodebin ! audioconvert ! freeverb ! autoaudiosink + * gst-launch-1.0 audiotestsrc wave=saw ! freeverb ! autoaudiosink + * gst-launch-1.0 filesrc location="melo1.ogg" ! decodebin ! audioconvert ! freeverb ! autoaudiosink * ]| * </refsect2> */ diff --git a/gst/gaudieffects/gstburn.c b/gst/gaudieffects/gstburn.c index c82c8af90..a3a3c554a 100644 --- a/gst/gaudieffects/gstburn.c +++ b/gst/gaudieffects/gstburn.c @@ -52,7 +52,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! burn ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! burn ! videoconvert ! autovideosink * ]| This pipeline shows the effect of burn on a test stream * </refsect2> */ diff --git a/gst/gaudieffects/gstchromium.c b/gst/gaudieffects/gstchromium.c index 8daca3a8e..264bb656b 100644 --- a/gst/gaudieffects/gstchromium.c +++ b/gst/gaudieffects/gstchromium.c @@ -52,7 +52,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! chromium ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! chromium ! videoconvert ! autovideosink * ]| This pipeline shows the effect of chromium on a test stream * </refsect2> */ diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 98fa053fe..83a351395 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -52,7 +52,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! dilate ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! dilate ! videoconvert ! autovideosink * ]| This pipeline shows the effect of dilate on a test stream * </refsect2> */ diff --git a/gst/gaudieffects/gstdodge.c b/gst/gaudieffects/gstdodge.c index 8cf8c6eaf..996d894b8 100644 --- a/gst/gaudieffects/gstdodge.c +++ b/gst/gaudieffects/gstdodge.c @@ -52,7 +52,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! dodge ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! dodge ! videoconvert ! autovideosink * ]| This pipeline shows the effect of dodge on a test stream * </refsect2> */ diff --git a/gst/gaudieffects/gstexclusion.c b/gst/gaudieffects/gstexclusion.c index 860c5b47d..a723f6968 100644 --- a/gst/gaudieffects/gstexclusion.c +++ b/gst/gaudieffects/gstexclusion.c @@ -52,7 +52,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! exclusion ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! exclusion ! videoconvert ! autovideosink * ]| This pipeline shows the effect of exclusion on a test stream * </refsect2> */ diff --git a/gst/gaudieffects/gstgaussblur.c b/gst/gaudieffects/gstgaussblur.c index bbf22b678..6ba9b84e9 100644 --- a/gst/gaudieffects/gstgaussblur.c +++ b/gst/gaudieffects/gstgaussblur.c @@ -53,7 +53,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! gaussianblur ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! gaussianblur ! videoconvert ! autovideosink * ]| This pipeline shows the effect of gaussianblur on a test stream * </refsect2> */ diff --git a/gst/gaudieffects/gstsolarize.c b/gst/gaudieffects/gstsolarize.c index a45feb27a..f5d98b8b2 100644 --- a/gst/gaudieffects/gstsolarize.c +++ b/gst/gaudieffects/gstsolarize.c @@ -52,7 +52,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! solarize ! videoconvert ! autovideosink + * gst-launch-1.0 -v videotestsrc ! solarize ! videoconvert ! autovideosink * ]| This pipeline shows the effect of solarize on a test stream * </refsect2> */ diff --git a/gst/gdp/README b/gst/gdp/README index 6b84afc4b..1056703c5 100644 --- a/gst/gdp/README +++ b/gst/gdp/README @@ -2,21 +2,21 @@ Sample pipelines: - replacing tcpserversink protocol=gdp with gdppay ! tcpserversink: - raw audio: - server: - gst-launch -v audiotestsrc ! gdppay version=0.2 ! tcpserversink + gst-launch-1.0 -v audiotestsrc ! gdppay version=0.2 ! tcpserversink - client: - gst-launch -v tcpclientsrc protocol=gdp ! alsasink sync=FALSE + gst-launch-1.0 -v tcpclientsrc protocol=gdp ! alsasink sync=FALSE - vorbis packets: - server: - gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! gdppay version=0.2 ! tcpserversink + gst-launch-1.0 -v audiotestsrc ! audioconvert ! vorbisenc ! gdppay version=0.2 ! tcpserversink - client: - gst-launch -v tcpclientsrc protocol=gdp ! vorbisdec ! audioconvert ! alsasink sync=FALSE + gst-launch-1.0 -v tcpclientsrc protocol=gdp ! vorbisdec ! audioconvert ! alsasink sync=FALSE - ogg packets: - server: - gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! oggmux ! gdppay version=0.2 ! tcpserversink + gst-launch-1.0 -v audiotestsrc ! audioconvert ! vorbisenc ! oggmux ! gdppay version=0.2 ! tcpserversink - client: - gst-launch -v tcpclientsrc protocol=gdp ! oggdemux ! vorbisdec ! audioconvert ! alsasink sync=FALSE + gst-launch-1.0 -v tcpclientsrc protocol=gdp ! oggdemux ! vorbisdec ! audioconvert ! alsasink sync=FALSE In all the client pipelines, tcpclientsrc protocol=gdp can be replaced with tcpclientsrc ! gdpdepay diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index faa364276..b16a9c881 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -26,7 +26,7 @@ * * <refsect2> * |[ - * gst-launch -v -m filesrc location=test.gdp ! gdpdepay ! xvimagesink + * gst-launch-1.0 -v -m filesrc location=test.gdp ! gdpdepay ! xvimagesink * ]| This pipeline plays back a serialized video stream as created in the * example for gdppay. * </refsect2> diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index 33ac591eb..8a8d593d6 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -27,7 +27,7 @@ * * <refsect2> * |[ - * gst-launch -v -m videotestsrc num-buffers=50 ! gdppay ! filesink location=test.gdp + * gst-launch-1.0 -v -m videotestsrc num-buffers=50 ! gdppay ! filesink location=test.gdp * ]| This pipeline creates a serialized video stream that can be played back * with the example shown in gdpdepay. * </refsect2> diff --git a/gst/id3tag/gstid3mux.c b/gst/id3tag/gstid3mux.c index 89a81274f..641753828 100644 --- a/gst/id3tag/gstid3mux.c +++ b/gst/id3tag/gstid3mux.c @@ -37,12 +37,12 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v filesrc location=foo.ogg ! decodebin ! audioconvert ! lame ! id3mux ! filesink location=foo.mp3 + * gst-launch-1.0 -v filesrc location=foo.ogg ! decodebin ! audioconvert ! id3mux ! filesink location=foo.mp3 * ]| A pipeline that transcodes a file from Ogg/Vorbis to mp3 format with * ID3 tags that contain the same metadata as the the Ogg/Vorbis file. * Make sure the Ogg/Vorbis file actually has comments to preserve. * |[ - * gst-launch -m filesrc location=foo.mp3 ! id3demux ! fakesink silent=TRUE 2> /dev/null | grep taglist + * gst-launch-1.0 -m filesrc location=foo.mp3 ! id3demux ! fakesink silent=TRUE * ]| Verify that tags have been written. * </refsect2> */ diff --git a/gst/inter/gstinteraudiosink.c b/gst/inter/gstinteraudiosink.c index 58e78325e..261ed2508 100644 --- a/gst/inter/gstinteraudiosink.c +++ b/gst/inter/gstinteraudiosink.c @@ -26,10 +26,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v audiotestsrc ! queue ! interaudiosink + * gst-launch-1.0 -v audiotestsrc ! queue ! interaudiosink * ]| * - * The interaudiosink element cannot be used effectively with gst-launch, + * The interaudiosink element cannot be used effectively with gst-launch-1.0, * as it requires a second pipeline in the application to receive the * audio. * See the gstintertest.c example in the gst-plugins-bad source code for diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index 2eeff65a7..1d4b68bbd 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -25,10 +25,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v interaudiosrc ! queue ! audiosink + * gst-launch-1.0 -v interaudiosrc ! queue ! autoaudiosink * ]| * - * The interaudiosrc element cannot be used effectively with gst-launch, + * The interaudiosrc element cannot be used effectively with gst-launch-1.0, * as it requires a second pipeline in the application to send audio. * See the gstintertest.c example in the gst-plugins-bad source code for * more details. diff --git a/gst/inter/gstintersubsink.c b/gst/inter/gstintersubsink.c index b907c0a28..77bc4849f 100644 --- a/gst/inter/gstintersubsink.c +++ b/gst/inter/gstintersubsink.c @@ -25,10 +25,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v ... ! intersubsink + * gst-launch-1.0 -v ... ! intersubsink * ]| * - * The intersubsink element cannot be used effectively with gst-launch, + * The intersubsink element cannot be used effectively with gst-launch-1.0, * as it requires a second pipeline in the application to send audio. * See the gstintertest.c example in the gst-plugins-bad source code for * more details. diff --git a/gst/inter/gstintersubsrc.c b/gst/inter/gstintersubsrc.c index 24efc9ff3..482a20fe1 100644 --- a/gst/inter/gstintersubsrc.c +++ b/gst/inter/gstintersubsrc.c @@ -26,10 +26,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v intersubsrc ! kateenc ! oggmux ! filesink location=out.ogv + * gst-launch-1.0 -v intersubsrc ! kateenc ! oggmux ! filesink location=out.ogv * ]| * - * The intersubsrc element cannot be used effectively with gst-launch, + * The intersubsrc element cannot be used effectively with gst-launch-1.0, * as it requires a second pipeline in the application to send subtitles. * See the gstintertest.c example in the gst-plugins-bad source code for * more details. diff --git a/gst/inter/gstintervideosink.c b/gst/inter/gstintervideosink.c index aebce28e0..ca357d6d3 100644 --- a/gst/inter/gstintervideosink.c +++ b/gst/inter/gstintervideosink.c @@ -26,10 +26,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! intervideosink + * gst-launch-1.0 -v videotestsrc ! intervideosink * ]| * - * The intervideosink element cannot be used effectively with gst-launch, + * The intervideosink element cannot be used effectively with gst-launch-1.0, * as it requires a second pipeline in the application to send video to. * See the gstintertest.c example in the gst-plugins-bad source code for * more details. diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index 6553ed1ef..8cab648dd 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -26,10 +26,10 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v intervideosrc ! queue ! xvimagesink + * gst-launch-1.0 -v intervideosrc ! queue ! xvimagesink * ]| * - * The intersubsrc element cannot be used effectively with gst-launch, + * The intersubsrc element cannot be used effectively with gst-launch-1.0, * as it requires a second pipeline in the application to send subtitles. * </refsect2> */ diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c index 6cd369bf5..269a84784 100644 --- a/gst/interlace/gstinterlace.c +++ b/gst/interlace/gstinterlace.c @@ -28,23 +28,23 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc pattern=ball ! interlace ! xvimagesink + * gst-launch-1.0 -v videotestsrc pattern=ball ! interlace ! xvimagesink * ]| * This pipeline illustrates the combing effects caused by displaying * two interlaced fields as one progressive frame. * |[ - * gst-launch -v filesrc location=/path/to/file ! decodebin ! videorate ! + * gst-launch-1.0 -v filesrc location=/path/to/file ! decodebin ! videorate ! * videoscale ! video/x-raw,format=\(string\)I420,width=720,height=480, * framerate=60000/1001,pixel-aspect-ratio=11/10 ! - * interlace top-field-first=false ! ... + * interlace top-field-first=false ! autovideosink * ]| * This pipeline converts a progressive video stream into an interlaced * stream suitable for standard definition NTSC. * |[ - * gst-launch -v videotestsrc pattern=ball ! video/x-raw, + * gst-launch-1.0 -v videotestsrc pattern=ball ! video/x-raw, * format=\(string\)I420,width=720,height=480,framerate=24000/1001, - * pixel-aspect-ratio=11/10 ! interlace pattern=2:3 ! - * ... + * pixel-aspect-ratio=11/10 ! interlace ! + * autovideosink * ]| * This pipeline converts a 24 frames per second progressive film stream into a * 30000/1001 2:3:2:3... pattern telecined stream suitable for displaying film diff --git a/gst/ivtc/gstcombdetect.c b/gst/ivtc/gstcombdetect.c index f69e65671..9f8c9f0a1 100644 --- a/gst/ivtc/gstcombdetect.c +++ b/gst/ivtc/gstcombdetect.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=file.mov ! decodebin ! combdetect ! + * gst-launch-1.0 -v filesrc location=file.mov ! decodebin ! combdetect ! * xvimagesink * ]| * </refsect2> diff --git a/gst/ivtc/gstivtc.c b/gst/ivtc/gstivtc.c index 02f382bd5..30636e856 100644 --- a/gst/ivtc/gstivtc.c +++ b/gst/ivtc/gstivtc.c @@ -27,8 +27,8 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc pattern=ball ! video/x-raw,framerate=24/1 ! - * interlace field-pattern=3:2 ! + * gst-launch-1.0 -v videotestsrc pattern=ball ! video/x-raw,framerate=24/1 ! + * interlace ! * ivtc ! video/x-raw,framerate=24/1 ! fakesink * ]| * diff --git a/gst/jp2kdecimator/gstjp2kdecimator.c b/gst/jp2kdecimator/gstjp2kdecimator.c index 78c1fd4bf..cb95cc071 100644 --- a/gst/jp2kdecimator/gstjp2kdecimator.c +++ b/gst/jp2kdecimator/gstjp2kdecimator.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc num-buffers=1 ! jp2kenc ! \ + * gst-launch-1.0 -v videotestsrc num-buffers=1 ! jp2kenc ! \ * gstjp2kdecimator max-decomposition-levels=2 ! jp2kdec ! \ * videoconvert ! autovideosink * ]| diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c index 719067a3b..3a6b6fdb3 100644 --- a/gst/jpegformat/gstjifmux.c +++ b/gst/jpegformat/gstjifmux.c @@ -31,7 +31,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc num-buffers=1 ! jpegenc ! jifmux ! filesink location=... + * gst-launch-1.0 -v videotestsrc num-buffers=1 ! jpegenc ! jifmux ! filesink location=... * ]| * The above pipeline renders a frame, encodes to jpeg, adds metadata and writes * it to disk. @@ -46,8 +46,8 @@ scan header : {DAC,DHT},DRI,SOS file trailer: EOI tests: -gst-launch videotestsrc num-buffers=1 ! jpegenc ! jifmux ! filesink location=test1.jpeg -gst-launch videotestsrc num-buffers=1 ! jpegenc ! taginject tags="comment=\"test image\"" ! jifmux ! filesink location=test2.jpeg +gst-launch-1.0 videotestsrc num-buffers=1 ! jpegenc ! jifmux ! filesink location=test1.jpeg +gst-launch-1.0 videotestsrc num-buffers=1 ! jpegenc ! taginject tags="comment=test image" ! jifmux ! filesink location=test2.jpeg */ #ifdef HAVE_CONFIG_H diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c index d55b84f8d..77e53a619 100644 --- a/gst/jpegformat/gstjpegparse.c +++ b/gst/jpegformat/gstjpegparse.c @@ -33,7 +33,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v souphttpsrc location=... ! jpegparse ! matroskamux ! filesink location=... + * gst-launch-1.0 -v souphttpsrc location=... ! jpegparse ! matroskamux ! filesink location=... * ]| * The above pipeline fetches a motion JPEG stream from an IP camera over * HTTP and stores it in a matroska file. diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index 0ca848d20..f11d60479 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=/path/to/mxf ! mxfdemux ! audioconvert ! autoaudiosink + * gst-launch-1.0 -v filesrc location=/path/to/mxf ! mxfdemux ! audioconvert ! autoaudiosink * ]| This pipeline demuxes an MXF file and outputs one of the contained raw audio streams. * </refsect2> */ diff --git a/gst/mxf/mxfmux.c b/gst/mxf/mxfmux.c index cc73f31e9..c36ae9036 100644 --- a/gst/mxf/mxfmux.c +++ b/gst/mxf/mxfmux.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=/path/to/audio ! decodebin ! queue ! mxfmux name=m ! filesink location=file.mxf filesrc location=/path/to/video ! decodebin ! queue ! m. + * gst-launch-1.0 -v filesrc location=/path/to/audio ! decodebin ! queue ! mxfmux name=m ! filesink location=file.mxf filesrc location=/path/to/video ! decodebin ! queue ! m. * ]| This pipeline muxes an audio and video file into a single MXF file. * </refsect2> */ diff --git a/gst/nuvdemux/gstnuvdemux.c b/gst/nuvdemux/gstnuvdemux.c index ce4e98dad..765025fc6 100644 --- a/gst/nuvdemux/gstnuvdemux.c +++ b/gst/nuvdemux/gstnuvdemux.c @@ -31,7 +31,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch filesrc test.nuv ! nuvdemux name=demux demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! videoconvert ! videoscale ! autovideosink + * gst-launch-1.0 filesrc test.nuv ! nuvdemux name=demux demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! videoconvert ! videoscale ! autovideosink * ]| Play (parse and decode) an .nuv file and try to output it to * an automatically detected soundcard and videosink. If the NUV file contains * compressed audio or video data, this will only work if you have the diff --git a/gst/pnm/gstpnmdec.c b/gst/pnm/gstpnmdec.c index 8bcb09406..b4c069fb7 100644 --- a/gst/pnm/gstpnmdec.c +++ b/gst/pnm/gstpnmdec.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch filesrc location=test.pnm ! pnmdec ! videoconvert ! autovideosink + * gst-launch-1.0 filesrc location=test.pnm ! pnmdec ! videoconvert ! autovideosink * ]| The above pipeline reads a pnm file and renders it to the screen. * </refsect2> */ diff --git a/gst/pnm/gstpnmenc.c b/gst/pnm/gstpnmenc.c index 8a0461ce5..6352cc241 100644 --- a/gst/pnm/gstpnmenc.c +++ b/gst/pnm/gstpnmenc.c @@ -27,7 +27,7 @@ * <refsect> * <title>Example launch line</title> * |[ - * gst-launch videotestsrc num_buffers=1 ! videoconvert ! "video/x-raw,format=GRAY8" ! pnmenc ascii=true ! filesink location=test.pnm + * gst-launch-1.0 videotestsrc num_buffers=1 ! videoconvert ! "video/x-raw,format=GRAY8" ! pnmenc ascii=true ! filesink location=test.pnm * ]| The above pipeline writes a test pnm file (ASCII encoding). * </refsect2> */ diff --git a/gst/rawparse/README b/gst/rawparse/README index 417e92680..9e21be2b8 100644 --- a/gst/rawparse/README +++ b/gst/rawparse/README @@ -9,7 +9,7 @@ data. Creating example data ===================== -gst-launch videotestsrc num_buffers=300 ! \ +gst-launch-1.0 videotestsrc num_buffers=300 ! \ video/x-raw,format=\(string\)I420,width=320,height=240 ! \ filesink location=raw @@ -17,7 +17,7 @@ gst-launch videotestsrc num_buffers=300 ! \ Reading example data ==================== -gst-launch filesrc location=raw ! \ +gst-launch-1.0 filesrc location=raw ! \ videoparse format=I420 width=320 height=240 framerate=30/1 ! \ xvimagesink diff --git a/gst/removesilence/gstremovesilence.c b/gst/removesilence/gstremovesilence.c index d63c60a61..770781779 100644 --- a/gst/removesilence/gstremovesilence.c +++ b/gst/removesilence/gstremovesilence.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v -m filesrc location="audiofile" ! decodebin ! removesilence remove=true ! wavenc ! filesink location=without_audio.wav + * gst-launch-1.0 -v -m filesrc location="audiofile" ! decodebin ! removesilence remove=true ! wavenc ! filesink location=without_audio.wav * ]| * </refsect2> */ diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 67e4afda1..a2ab6910f 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -35,7 +35,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch gnomevfssrc location=http://some.server/session.sdp ! sdpdemux ! fakesink + * gst-launch-1.0 souphttpsrc location=http://some.server/session.sdp ! sdpdemux ! fakesink * ]| Establish a connection to an HTTP server that contains an SDP session description * that gets parsed by sdpdemux and send the raw RTP packets to a fakesink. * </refsect2> diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c index 9fcdad315..c0f9198bf 100644 --- a/gst/speed/gstspeed.c +++ b/gst/speed/gstspeed.c @@ -31,7 +31,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! speed speed=1.5 ! audioconvert ! audioresample ! autoaudiosink + * gst-launch-1.0 filesrc location=test.ogg ! decodebin ! audioconvert ! speed speed=1.5 ! audioconvert ! audioresample ! autoaudiosink * ]| Plays an .ogg file at 1.5x speed. * </refsect2> */ diff --git a/gst/stereo/gststereo.c b/gst/stereo/gststereo.c index ebadf9a4d..f7e013bc3 100644 --- a/gst/stereo/gststereo.c +++ b/gst/stereo/gststereo.c @@ -29,7 +29,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! stereo ! audioconvert ! audioresample ! alsasink + * gst-launch-1.0 -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! stereo ! audioconvert ! audioresample ! alsasink * ]| Play an Ogg/Vorbis file. * </refsect2> */ diff --git a/gst/videofilters/gstscenechange.c b/gst/videofilters/gstscenechange.c index 7abfc8b1d..5adf3ce40 100644 --- a/gst/videofilters/gstscenechange.c +++ b/gst/videofilters/gstscenechange.c @@ -35,7 +35,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=some_file.ogv ! decodebin ! + * gst-launch-1.0 -v filesrc location=some_file.ogv ! decodebin ! * scenechange ! theoraenc ! fakesink * ]| * </refsect2> diff --git a/gst/videofilters/gstvideodiff.c b/gst/videofilters/gstvideodiff.c index c6cdc86dc..6f5b35e6f 100644 --- a/gst/videofilters/gstvideodiff.c +++ b/gst/videofilters/gstvideodiff.c @@ -24,7 +24,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v fakesrc ! videodiff ! FIXME ! fakesink + * gst-launch-1.0 -v fakesrc ! videodiff ! FIXME ! fakesink * ]| * FIXME Describe what the pipeline does. * </refsect2> diff --git a/gst/videofilters/gstzebrastripe.c b/gst/videofilters/gstzebrastripe.c index 0b08100e9..81f58b874 100644 --- a/gst/videofilters/gstzebrastripe.c +++ b/gst/videofilters/gstzebrastripe.c @@ -30,7 +30,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc ! zebrastripe ! xvimagesink + * gst-launch-1.0 -v videotestsrc ! zebrastripe ! xvimagesink * ]| * Marks overexposed areas of the video with zebra stripes. * diff --git a/gst/videoparsers/gstdiracparse.c b/gst/videoparsers/gstdiracparse.c index ea3cd9dd6..c24b27cac 100644 --- a/gst/videoparsers/gstdiracparse.c +++ b/gst/videoparsers/gstdiracparse.c @@ -24,7 +24,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v fakesrc ! gstdiracparse ! FIXME ! fakesink + * gst-launch-1.0 -v fakesrc ! gstdiracparse ! FIXME ! fakesink * ]| * FIXME Describe what the pipeline does. * </refsect2> diff --git a/gst/videosignal/gstsimplevideomark.c b/gst/videosignal/gstsimplevideomark.c index 9d57b5220..2a527c32e 100644 --- a/gst/videosignal/gstsimplevideomark.c +++ b/gst/videosignal/gstsimplevideomark.c @@ -36,7 +36,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch videotestsrc ! simplevideomark ! ximagesink + * gst-launch-1.0 videotestsrc ! simplevideomark ! videoconvert ! ximagesink * ]| Add the default black/white squares at the bottom left of the video frames. * </refsect2> */ diff --git a/gst/videosignal/gstsimplevideomarkdetect.c b/gst/videosignal/gstsimplevideomarkdetect.c index d5f093f04..1e95c8155 100644 --- a/gst/videosignal/gstsimplevideomarkdetect.c +++ b/gst/videosignal/gstsimplevideomarkdetect.c @@ -87,7 +87,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch videotestsrc ! simplevideomarkdetect ! videoconvert ! ximagesink + * gst-launch-1.0 videotestsrc ! simplevideomarkdetect ! videoconvert ! ximagesink * ]| * </refsect2> */ diff --git a/gst/videosignal/gstvideoanalyse.c b/gst/videosignal/gstvideoanalyse.c index 3ca4d033d..b7ed7e18a 100644 --- a/gst/videosignal/gstvideoanalyse.c +++ b/gst/videosignal/gstvideoanalyse.c @@ -72,7 +72,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -m videotestsrc ! videoanalyse ! videoconvert ! ximagesink + * gst-launch-1.0 -m videotestsrc ! videoanalyse ! videoconvert ! ximagesink * ]| This pipeline emits messages to the console for each frame that has been analysed. * </refsect2> */ diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c index 6bf27a87e..c6b206579 100644 --- a/gst/y4m/gsty4mdec.c +++ b/gst/y4m/gsty4mdec.c @@ -24,7 +24,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=file.y4m ! y4mdec ! xvimagesink + * gst-launch-1.0 -v filesrc location=file.y4m ! y4mdec ! xvimagesink * ]| * </refsect2> */ diff --git a/gst/yadif/gstyadif.c b/gst/yadif/gstyadif.c index e4fed610c..9f848d920 100644 --- a/gst/yadif/gstyadif.c +++ b/gst/yadif/gstyadif.c @@ -29,7 +29,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v videotestsrc pattern=ball ! interlace ! yadif ! xvimagesink + * gst-launch-1.0 -v videotestsrc pattern=ball ! interlace ! yadif ! xvimagesink * ]| * This pipeline creates an interlaced test pattern, and then deinterlaces * it using the yadif filter. diff --git a/sys/applemedia/atdec.c b/sys/applemedia/atdec.c index d581fb805..c00f0b70f 100644 --- a/sys/applemedia/atdec.c +++ b/sys/applemedia/atdec.c @@ -24,7 +24,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=file.mov ! qtdemux ! queue ! aacparse ! atdec ! autoaudiosink + * gst-launch-1.0 -v filesrc location=file.mov ! qtdemux ! queue ! aacparse ! atdec ! autoaudiosink * ]| * Decode aac audio from a mov file * </refsect2> diff --git a/sys/applemedia/avfassetsrc.m b/sys/applemedia/avfassetsrc.m index 81931a4e4..38b986cd0 100644 --- a/sys/applemedia/avfassetsrc.m +++ b/sys/applemedia/avfassetsrc.m @@ -29,7 +29,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v -m avfassetsrc uri="file://movie.mp4" ! autovideosink + * gst-launch-1.0 -v -m avfassetsrc uri="file://movie.mp4" ! autovideosink * ]| * </refsect2> */ diff --git a/sys/applemedia/iosassetsrc.m b/sys/applemedia/iosassetsrc.m index 9cf7498f6..05393405e 100644 --- a/sys/applemedia/iosassetsrc.m +++ b/sys/applemedia/iosassetsrc.m @@ -29,7 +29,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch iosassetsrc uri=assets-library://asset/asset.M4V?id=11&ext=M4V ! decodebin ! autoaudiosink + * gst-launch-1.0 iosassetsrc uri=assets-library://asset/asset.M4V?id=11&ext=M4V ! decodebin ! autoaudiosink * ]| Plays asset with id a song.ogg from local dir. * </refsect2> */ diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c index bcd69cd06..a2339c357 100644 --- a/sys/applemedia/vtdec.c +++ b/sys/applemedia/vtdec.c @@ -25,7 +25,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v filesrc location=file.mov ! qtdemux ! queue ! h264parse ! vtdec ! videoconvert ! autovideosink + * gst-launch-1.0 -v filesrc location=file.mov ! qtdemux ! queue ! h264parse ! vtdec ! videoconvert ! autovideosink * ]| * Decode h264 video from a mov file. * </refsect2> diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c index 3b01f0684..2fb0483a2 100644 --- a/sys/directsound/gstdirectsoundsrc.c +++ b/sys/directsound/gstdirectsoundsrc.c @@ -56,7 +56,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v directsoundsrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=dsound.ogg + * gst-launch-1.0 -v directsoundsrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=dsound.ogg * ]| Record from DirectSound and encode to Ogg/Vorbis. * </refsect2> */ diff --git a/sys/dvb/README b/sys/dvb/README index 1329da99b..4d3c83b14 100644 --- a/sys/dvb/README +++ b/sys/dvb/README @@ -5,7 +5,7 @@ GstDvbSrc makes it possible to view Digital TV with gstreamer. Try: - gst-launch dvbsrc frequency=11954 polarity=h symbol-rate=27500 pids=210:220 + gst-launch-1.0 dvbsrc frequency=11954 polarity=h symbol-rate=27500 pids=210:220 ! mpegtsdemux es-pids=210:220 name=demux ! queue ! mpeg2dec ! xvimagesink demux. ! queue ! mad ! audioconvert ! autoaudiosink diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index 57c416693..18544e739 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -28,16 +28,16 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch dvbsrc modulation="QAM 64" trans-mode=8k bandwidth=8 frequency=514000000 code-rate-lp=AUTO code-rate-hp=2/3 guard=4 hierarchy=0 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink + * gst-launch-1.0 dvbsrc modulation="QAM 64" trans-mode=8k bandwidth=8 frequency=514000000 code-rate-lp=AUTO code-rate-hp=2/3 guard=4 hierarchy=0 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink * ]| Captures a full transport stream from DVB card 0 that is a DVB-T card at tuned frequency 514000000 Hz with other parameters as seen in the pipeline and renders the first TV program on the transport stream. * |[ - * gst-launch dvbsrc modulation="QAM 64" trans-mode=8k bandwidth=8 frequency=514000000 code-rate-lp=AUTO code-rate-hp=2/3 guard=4 hierarchy=0 pids=100:256:257 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink + * gst-launch-1.0 dvbsrc modulation="QAM 64" trans-mode=8k bandwidth=8 frequency=514000000 code-rate-lp=AUTO code-rate-hp=2/3 guard=4 hierarchy=0 pids=100:256:257 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink * ]| Captures and renders a transport stream from DVB card 0 that is a DVB-T card for a program at tuned frequency 514000000 Hz with PMT PID 100 and elementary stream PIDs of 256, 257 with other parameters as seen in the pipeline. * |[ - * gst-launch dvbsrc polarity="h" frequency=11302000 symbol-rate=27500 diseqc-source=0 pids=50:102:103 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink + * gst-launch-1.0 dvbsrc polarity="h" frequency=11302000 symbol-rate=27500 diseqc-source=0 pids=50:102:103 ! mpegtsdemux name=demux ! queue max-size-buffers=0 max-size-time=0 ! mpeg2dec ! xvimagesink demux. ! queue max-size-buffers=0 max-size-time=0 ! mad ! alsasink * ]| Captures and renders a transport stream from DVB card 0 that is a DVB-S card for a program at tuned frequency 11302000 kHz, symbol rate of 27500 kBd (kilo bauds) with PMT PID of 50 and elementary stream PIDs of 102 and 103. * |[ - gst-launch dvbsrc frequency=515142857 guard=16 trans-mode="8k" isdbt-layer-enabled=7 isdbt-partial-reception=1 isdbt-layera-fec="2/3" isdbt-layera-modulation="QPSK" isdbt-layera-segment-count=1 isdbt-layera-time-interleaving=4 isdbt-layerb-fec="3/4" isdbt-layerb-modulation="qam-64" isdbt-layerb-segment-count=12 isdbt-layerb-time-interleaving=2 isdbt-layerc-fec="1/2" isdbt-layerc-modulation="qam-64" isdbt-layerc-segment-count=0 isdbt-layerc-time-interleaving=0 delsys="isdb-t" ! tsdemux ! "video/x-h264" ! h264parse ! queue ! avdec_h264 ! videoconvert ! queue ! autovideosink + gst-launch-1.0 dvbsrc frequency=515142857 guard=16 trans-mode="8k" isdbt-layer-enabled=7 isdbt-partial-reception=1 isdbt-layera-fec="2/3" isdbt-layera-modulation="QPSK" isdbt-layera-segment-count=1 isdbt-layera-time-interleaving=4 isdbt-layerb-fec="3/4" isdbt-layerb-modulation="qam-64" isdbt-layerb-segment-count=12 isdbt-layerb-time-interleaving=2 isdbt-layerc-fec="1/2" isdbt-layerc-modulation="qam-64" isdbt-layerc-segment-count=0 isdbt-layerc-time-interleaving=0 delsys="isdb-t" ! tsdemux ! "video/x-h264" ! h264parse ! queue ! avdec_h264 ! videoconvert ! queue ! autovideosink * ]| Captures and renders the video track of TV ParaĆba HD (Globo affiliate) in Campina Grande, Brazil. This is an ISDB-T (Brazilian ISDB-Tb variant) broadcast. * </refsect2> */ diff --git a/sys/opensles/openslessink.c b/sys/opensles/openslessink.c index ce93d2508..c2ec8068f 100644 --- a/sys/opensles/openslessink.c +++ b/sys/opensles/openslessink.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v filesrc location=music.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! opeslessink + * gst-launch-1.0 -v filesrc location=music.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! opeslessink * ]| Play an Ogg/Vorbis file. * </refsect2> * diff --git a/sys/opensles/openslessrc.c b/sys/opensles/openslessrc.c index d0dfa32c8..6505ab1a3 100644 --- a/sys/opensles/openslessrc.c +++ b/sys/opensles/openslessrc.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v openslessrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=recorded.ogg + * gst-launch-1.0 -v openslessrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=recorded.ogg * ]| Record from default audio input and encode to Ogg/Vorbis. * </refsect2> * diff --git a/sys/shm/gstshmsink.c b/sys/shm/gstshmsink.c index bb700ca51..784acca24 100644 --- a/sys/shm/gstshmsink.c +++ b/sys/shm/gstshmsink.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch -v videotestsrc ! shmsink socket-path=/tmp/blah shm-size=1000000 + * gst-launch-1.0 -v videotestsrc ! shmsink socket-path=/tmp/blah shm-size=1000000 * ]| Send video to shm buffers. * </refsect2> */ diff --git a/sys/shm/gstshmsrc.c b/sys/shm/gstshmsrc.c index 1e69af751..3caf90bcc 100644 --- a/sys/shm/gstshmsrc.c +++ b/sys/shm/gstshmsrc.c @@ -26,9 +26,9 @@ * <refsect2> * <title>Example launch lines</title> * |[ - * gst-launch shmsrc socket-path=/tmp/blah ! \ - * "video/x-raw-yuv, format=(fourcc)YUY2, color-matrix=(string)sdtv, \ - * chroma-site=(string)mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" ! autovideosink + * gst-launch-1.0 shmsrc socket-path=/tmp/blah ! \ + * "video/x-yuv, format=YUY2, color-matrix=sdtv, \ + * chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" ! autovideosink * ]| Render video from shm buffers. * </refsect2> */ diff --git a/sys/vdpau/gstvdpvideopostprocess.c b/sys/vdpau/gstvdpvideopostprocess.c index b7b68798c..5afe5cd41 100644 --- a/sys/vdpau/gstvdpvideopostprocess.c +++ b/sys/vdpau/gstvdpvideopostprocess.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v -m fakesrc ! vdpauvideopostprocess ! fakesink silent=TRUE + * gst-launch-1.0 -v -m fakesrc ! vdpauvideopostprocess ! fakesink silent=TRUE * ]| * </refsect2> */ diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c index efa836d0d..e6f6f95e9 100644 --- a/sys/vdpau/mpeg/gstvdpmpegdec.c +++ b/sys/vdpau/mpeg/gstvdpmpegdec.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v -m fakesrc ! vdpaumpegdec ! fakesink silent=TRUE + * gst-launch-1.0 -v -m fakesrc ! vdpaumpegdec ! fakesink silent=TRUE * ]| * </refsect2> */ diff --git a/sys/vdpau/mpeg4/gstvdpmpeg4dec.c b/sys/vdpau/mpeg4/gstvdpmpeg4dec.c index a3be09f53..a959ae7a6 100644 --- a/sys/vdpau/mpeg4/gstvdpmpeg4dec.c +++ b/sys/vdpau/mpeg4/gstvdpmpeg4dec.c @@ -26,7 +26,7 @@ * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v -m fakesrc ! vdpaumpeg4dec ! fakesink silent=TRUE + * gst-launch-1.0 -v -m fakesrc ! vdpaumpeg4dec ! fakesink silent=TRUE * ]| * </refsect2> */ diff --git a/sys/winks/gstksvideosrc.c b/sys/winks/gstksvideosrc.c index 12c7eedf2..c2bad343a 100644 --- a/sys/winks/gstksvideosrc.c +++ b/sys/winks/gstksvideosrc.c @@ -26,11 +26,11 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch -v ksvideosrc do-stats=TRUE ! ffmpegcolorspace ! dshowvideosink + * gst-launch-1.0 -v ksvideosrc do-stats=TRUE ! videoconvert ! dshowvideosink * ]| Capture from a camera and render using dshowvideosink. * |[ - * gst-launch -v ksvideosrc do-stats=TRUE ! image/jpeg, width=640, height=480 - * ! jpegdec ! ffmpegcolorspace ! dshowvideosink + * gst-launch-1.0 -v ksvideosrc do-stats=TRUE ! image/jpeg, width=640, height=480 + * ! jpegdec ! videoconvert ! dshowvideosink * ]| Capture from an MJPEG camera and render using dshowvideosink. * </refsect2> */ diff --git a/sys/winscreencap/gstdx9screencapsrc.c b/sys/winscreencap/gstdx9screencapsrc.c index 9a856e0e2..0f889b271 100644 --- a/sys/winscreencap/gstdx9screencapsrc.c +++ b/sys/winscreencap/gstdx9screencapsrc.c @@ -30,11 +30,11 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch dx9screencapsrc ! ffmpegcolorspace ! dshowvideosink + * gst-launch-1.0 dx9screencapsrc ! videoconvert ! dshowvideosink * ]| Capture the desktop and display it. * |[ - * gst-launch dx9screencapsrc x=100 y=100 width=320 height=240 ! - * ffmpegcolorspace ! dshowvideosink + * gst-launch-1.0 dx9screencapsrc x=100 y=100 width=320 height=240 ! + * videoconvert ! dshowvideosink * ]| Capture a portion of the desktop and display it. * </refsect2> */ diff --git a/sys/winscreencap/gstgdiscreencapsrc.c b/sys/winscreencap/gstgdiscreencapsrc.c index 92d9ec211..55bd4b5fb 100644 --- a/sys/winscreencap/gstgdiscreencapsrc.c +++ b/sys/winscreencap/gstgdiscreencapsrc.c @@ -32,11 +32,11 @@ * <refsect2> * <title>Example pipelines</title> * |[ - * gst-launch gdiscreencapsrc ! ffmpegcolorspace ! dshowvideosink + * gst-launch-1.0 gdiscreencapsrc ! videoconvert ! dshowvideosink * ]| Capture the desktop and display it. * |[ - * gst-launch gdiscreencapsrc x=100 y=100 width=320 height=240 cursor=TRUE - * ! ffmpegcolorspace ! dshowvideosink + * gst-launch-1.0 gdiscreencapsrc x=100 y=100 width=320 height=240 cursor=TRUE + * ! videoconvert ! dshowvideosink * ]| Capture a portion of the desktop, including the mouse cursor, and * display it. * </refsect2> diff --git a/tools/gst-element-maker b/tools/gst-element-maker index facb242ea..cefd64a67 100755 --- a/tools/gst-element-maker +++ b/tools/gst-element-maker @@ -116,7 +116,7 @@ cat <<-EOF * <refsect2> * <title>Example launch line</title> * |[ - * gst-launch -v fakesrc ! $replace ! FIXME ! fakesink + * gst-launch-1.0 -v fakesrc ! $replace ! FIXME ! fakesink * ]| * FIXME Describe what the pipeline does. * </refsect2> |