mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-21 17:21:13 +00:00
docs: fix up some old 0.10-style raw video caps
See https://gitlab.freedesktop.org/gstreamer/gst-docs/-/issues/108 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7859>
This commit is contained in:
parent
6e4a3ad69b
commit
74d75e481c
3 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue