unixfd: fix and improve the example pipelines in the documentation
- Add a videoconvert element before the videosink so that the output works no matter what format gets negotiated (A444_16LE for me) - Specify a reasonable video format and size with a capsfilter, so we don't default to something silly like A444_16LE @ 240p. - Add a timeoverlay element, so it's obvious when stoppping/restarting the pipeline that the input stream is just picked up again from the moment the consumer pipeline is restarted. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9422>
This commit is contained in:
parent
990c8b91a9
commit
15c9bc4d2a
@ -35,8 +35,8 @@
|
||||
*
|
||||
* ## Example launch lines
|
||||
* |[
|
||||
* gst-launch-1.0 -v videotestsrc ! unixfdsink socket-path=/tmp/blah
|
||||
* gst-launch-1.0 -v unixfdsrc socket-path=/tmp/blah ! autovideosink
|
||||
* gst-launch-1.0 -v videotestsrc ! video/x-raw,format=RGBx,width=1920,height=1080 ! timeoverlay ! unixfdsink socket-path=/tmp/blah
|
||||
* gst-launch-1.0 -v unixfdsrc socket-path=/tmp/blah ! videoconvert ! autovideosink
|
||||
* ]|
|
||||
*
|
||||
* Since: 1.24
|
||||
|
@ -28,8 +28,8 @@
|
||||
*
|
||||
* ## Example launch lines
|
||||
* |[
|
||||
* gst-launch-1.0 -v videotestsrc ! unixfdsink socket-path=/tmp/blah
|
||||
* gst-launch-1.0 -v unixfdsrc socket-path=/tmp/blah ! autovideosink
|
||||
* gst-launch-1.0 -v videotestsrc ! video/x-raw,format=RGBx,width=1920,height=1080 ! timeoverlay ! unixfdsink socket-path=/tmp/blah
|
||||
* gst-launch-1.0 -v unixfdsrc socket-path=/tmp/blah ! videoconvert ! autovideosink
|
||||
* ]|
|
||||
*
|
||||
* Since: 1.24
|
||||
|
Loading…
x
Reference in New Issue
Block a user