From daa4d32511c3fd7ba3af510a80ef9693eca2a52c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 5 Sep 2019 11:42:18 +0530 Subject: [PATCH] gst-launch: document how to run a pipeline with a specific latency I keep forgetting the exact syntax to do that so I figured I'd just document it properly. --- markdown/tools/gst-launch.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/markdown/tools/gst-launch.md b/markdown/tools/gst-launch.md index 6dfe068f9f..e5b2942421 100644 --- a/markdown/tools/gst-launch.md +++ b/markdown/tools/gst-launch.md @@ -294,6 +294,13 @@ gst-launch-1.0 osssrc ! audioconvert ! vorbisenc ! oggmux ! filesink location=input.ogg ``` +Running a pipeline using a specific user-defined latency +(see gst_pipeline_set_latency()): + +``` +gst-launch-1.0 pipeline. \( latency=2000000000 videotestsrc ! jpegenc ! jpegdec ! fakevideosink \) +``` + ### Video Display only the video portion of an MPEG-1 video file, outputting to an X