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.
This commit is contained in:
Guillaume Desmottes 2019-09-05 11:42:18 +05:30
parent fd556b1396
commit daa4d32511

View file

@ -294,6 +294,13 @@ gst-launch-1.0 osssrc ! audioconvert ! vorbisenc ! oggmux !
filesink location=input.ogg 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 ### Video
Display only the video portion of an MPEG-1 video file, outputting to an X Display only the video portion of an MPEG-1 video file, outputting to an X