From 74d75e481c383fa724c2ea484bdb72f156bc3874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 8 Nov 2024 01:47:15 +0000 Subject: [PATCH] docs: fix up some old 0.10-style raw video caps See https://gitlab.freedesktop.org/gstreamer/gst-docs/-/issues/108 Part-of: --- .../markdown/additional/design/subtitle-overlays.md | 2 +- .../gst-docs/markdown/tutorials/basic/gstreamer-tools.md | 7 +++---- .../markdown/tutorials/basic/short-cutting-the-pipeline.md | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/subprojects/gst-docs/markdown/additional/design/subtitle-overlays.md b/subprojects/gst-docs/markdown/additional/design/subtitle-overlays.md index edcecd8e29..bcc24abefd 100644 --- a/subprojects/gst-docs/markdown/additional/design/subtitle-overlays.md +++ b/subprojects/gst-docs/markdown/additional/design/subtitle-overlays.md @@ -169,7 +169,7 @@ Multiple possible solutions come to mind: property in the sink when doing screenshots via playbin) always contain all the information needed. -4) create a video/x-raw-\*-delta format and use a backend-specific +4) create a video/x-raw-delta format and use a backend-specific videomixer This possibility was hinted at already in the digression in section diff --git a/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md b/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md index 72fd7a09b2..461aea0d75 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/gstreamer-tools.md @@ -236,11 +236,10 @@ gst-launch-1.0 souphttpsrc location=https://gstreamer.freedesktop.org/data/media A transcoding pipeline, which opens the webm container and decodes both streams (via uridecodebin), then re-encodes the audio and video branches with a different codec, and puts them back together in an Ogg container -(just for the sake of -it). +(just for the sake of it). ``` -gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm name=d ! queue ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m. +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm name=d ! queue ! videoconvert ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m. ``` A rescaling pipeline. The `videoscale` element performs a rescaling @@ -249,7 +248,7 @@ output caps. The output caps are set by the Caps Filter to 320x200. ``` -gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw-yuv,width=320,height=200 ! videoconvert ! autovideosink +gst-launch-1.0 uridecodebin uri=https://gstreamer.freedesktop.org/data/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw,width=320,height=200 ! videoconvert ! autovideosink ``` This short description of `gst-launch-1.0` should be enough to get you diff --git a/subprojects/gst-docs/markdown/tutorials/basic/short-cutting-the-pipeline.md b/subprojects/gst-docs/markdown/tutorials/basic/short-cutting-the-pipeline.md index fbe3e1060d..30bfc16933 100644 --- a/subprojects/gst-docs/markdown/tutorials/basic/short-cutting-the-pipeline.md +++ b/subprojects/gst-docs/markdown/tutorials/basic/short-cutting-the-pipeline.md @@ -76,7 +76,7 @@ produces buffers with the “ANY” caps and no time-stamping information. After demuxing (see [](tutorials/basic/dynamic-pipelines.md)) buffers can have some specific caps, for example “video/x-h264”. After decoding, each buffer will contain a single video frame with raw caps -(for example, “video/x-raw-yuv”) and very precise time stamps indicating +(“video/x-raw,format=...”) and very precise time stamps indicating when should that frame be displayed. ### This tutorial