From 734166da289ac4a5ebbc0b1c845c2b9681d41afc Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Nov 2022 16:02:06 +0100 Subject: Add --gst-pipeline option for custom nput pipelines --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 0449898..d103b41 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,15 @@ libVLC. If the webstream bitrate is slightly wrong (bad clock at the source), you can enable drift compensation with `-D`. +## Scenario *Custom GStreamer pipeline* + +The `--gst-pipeline` option lets you run custom pipelines, using the same +syntax as `gst-launch`, which can be necessary for sources that you cannot specify through a URI through the `-G` option. +For example, you may use udpsrc to receive an RTP stream: + + odr-audioenc --gst-pipeline 'udpsrc port=5004 caps=application/x-rtp,media=(string)audio,payload=(int)10,clock-rate=44100 ! rtpL16depay ! audioconvert ! audioresample' \ + -e $DST -l -b $BITRATE + ## Scenario *JACK input* JACK input: Instead of `-i (file input)` or `-d (ALSA input)`, use `-j *name*`, where *name* specifies the JACK name for the encoder: -- cgit v1.2.3