From 5de55b44afd4d05a09cbc4db7a3cb2b818289b1e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 27 Jul 2023 18:39:30 +0300 Subject: [PATCH] gst-launch-1.0, gst-inspect-1.0: add page (#10524) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/gst-inspect-1.0.md | 12 ++++++++++++ pages/common/gst-launch-1.0.md | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 pages/common/gst-inspect-1.0.md create mode 100644 pages/common/gst-launch-1.0.md diff --git a/pages/common/gst-inspect-1.0.md b/pages/common/gst-inspect-1.0.md new file mode 100644 index 000000000..4f74e45dd --- /dev/null +++ b/pages/common/gst-inspect-1.0.md @@ -0,0 +1,12 @@ +# gst-inspect-1.0 + +> Print information on GStreamer plugins. +> More information: . + +- Print information on a plugin: + +`gst-inspect-1.0 {{plugin}}` + +- List hardware transcoding capabilities of your device: + +`gst-inspect-1.0 {{vaapi|nvcodec}}` diff --git a/pages/common/gst-launch-1.0.md b/pages/common/gst-launch-1.0.md new file mode 100644 index 000000000..6c7b0e5c1 --- /dev/null +++ b/pages/common/gst-launch-1.0.md @@ -0,0 +1,20 @@ +# gst-launch-1.0 + +> Build and run a GStreamer pipeline. +> More information: . + +- Play test video in a window: + +`gst-launch-1.0 videotestsrc ! xvimagesink` + +- Play a media file in a window: + +`gst-launch-1.0 playbin uri={{protocol}}://{{host}}/{{path/to/file}}` + +- Re-encode a media file: + +`gst-launch-1.0 filesrc location={{path/to/file}} ! {{file_type}}demux ! {{codec_type}}dec ! {{codec_type}}enc ! {{file_type}}mux ! filesink location={{path/to/file}}` + +- Stream a file to an RTSP server: + +`gst-launch-1.0 filesrc location={{path/to/file}} ! rtspclientsink location=rtsp://{{host_IP}}/{{path/to/file}}`