mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
docs: gst-launch -> gst-launch-1.0 in example pipelines
And some small example pipeline fix-ups.
This commit is contained in:
parent
e7e36d36fd
commit
1a9a3c7ef9
7 changed files with 15 additions and 11 deletions
|
@ -27,7 +27,7 @@
|
||||||
* @short_description: Get a pipeline from a text pipeline description
|
* @short_description: Get a pipeline from a text pipeline description
|
||||||
*
|
*
|
||||||
* These function allow to create a pipeline based on the syntax used in the
|
* These function allow to create a pipeline based on the syntax used in the
|
||||||
* gst-launch utility (see man-page for syntax documentation).
|
* gst-launch-1.0 utility (see man-page for syntax documentation).
|
||||||
*
|
*
|
||||||
* Please note that these functions take several measures to create
|
* Please note that these functions take several measures to create
|
||||||
* somewhat dynamic pipelines. Due to that such pipelines are not always
|
* somewhat dynamic pipelines. Due to that such pipelines are not always
|
||||||
|
|
|
@ -28,8 +28,11 @@
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* |[
|
* |[
|
||||||
* gst-launch videotestsrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosink
|
* gst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=GRAY8 ! videoconvert ! autovideosink
|
||||||
* ]| Limits acceptable video from videotestsrc to be grayscale.
|
* ]| Limits acceptable video from videotestsrc to be grayscale. Equivalent to
|
||||||
|
* |[
|
||||||
|
* gst-launch-1.0 videotestsrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosink
|
||||||
|
* ]| which is a short notation for the capsfilter element.
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* |[
|
* |[
|
||||||
* gst-launch audiotestsrc num-buffers=1000 ! fakesink sync=false
|
* gst-launch-1.0 audiotestsrc num-buffers=1000 ! fakesink sync=false
|
||||||
* ]| Render 1000 audio buffers (of default size) as fast as possible.
|
* ]| Render 1000 audio buffers (of default size) as fast as possible.
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* |[
|
* |[
|
||||||
* gst-launch -v fakesrc num-buffers=5 ! fakesink
|
* gst-launch-1.0 -v fakesrc num-buffers=5 ! fakesink
|
||||||
* ]| This pipeline will push 5 empty buffers to the fakesink element and then
|
* ]| This pipeline will push 5 empty buffers to the fakesink element and then
|
||||||
* sends an EOS.
|
* sends an EOS.
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* |[
|
* |[
|
||||||
* gst-launch v4l2src num-buffers=1 ! jpegenc ! filesink location=capture1.jpeg
|
* gst-launch-1.0 v4l2src num-buffers=1 ! jpegenc ! filesink location=capture1.jpeg
|
||||||
* ]| Capture one frame from a v4l2 camera and save as jpeg image.
|
* ]| Capture one frame from a v4l2 camera and save as jpeg image.
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* |[
|
* |[
|
||||||
* gst-launch filesrc location=song.ogg ! decodebin ! autoaudiosink
|
* gst-launch-1.0 filesrc location=song.ogg ! decodebin ! audioconvert ! audioresample ! autoaudiosink
|
||||||
* ]| Play a song.ogg from local dir.
|
* ]| Play song.ogg audio file which must be in the current working directory.
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -37,9 +37,10 @@
|
||||||
* <refsect2>
|
* <refsect2>
|
||||||
* <title>Example launch line</title>
|
* <title>Example launch line</title>
|
||||||
* |[
|
* |[
|
||||||
* gst-launch filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink
|
* gst-launch-1.0 filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! audioconvert ! audioresample ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink
|
||||||
* ]| Play a song.ogg from local dir and render visualisations using the goom
|
* ]| Play song.ogg audio file which must be in the current working directory
|
||||||
* element.
|
* and render visualisations using the goom element (this can be easier done
|
||||||
|
* using the playbin element, this is just an example pipeline).
|
||||||
* </refsect2>
|
* </refsect2>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue