gst-launch-1.0, gst-inspect-1.0: add page (#10524)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Managor 2023-07-27 18:39:30 +03:00 committed by GitHub
parent 1e5c7bed01
commit 5de55b44af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# gst-inspect-1.0
> Print information on GStreamer plugins.
> More information: <https://gstreamer.freedesktop.org/documentation/tools/gst-inspect.html?gi-language=c>.
- Print information on a plugin:
`gst-inspect-1.0 {{plugin}}`
- List hardware transcoding capabilities of your device:
`gst-inspect-1.0 {{vaapi|nvcodec}}`

View File

@ -0,0 +1,20 @@
# gst-launch-1.0
> Build and run a GStreamer pipeline.
> More information: <https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html?gi-language=c>.
- 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}}`