aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
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: