summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-11-18 16:02:06 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-11-18 16:02:06 +0100
commit734166da289ac4a5ebbc0b1c845c2b9681d41afc (patch)
treeeddfd317d98fc4435941a7b77f4e7697ef3afd83 /README.md
parentfff72cb8c17c2ff7f2c0a87f3e5e741009945a7b (diff)
downloadODR-AudioEnc-734166da289ac4a5ebbc0b1c845c2b9681d41afc.tar.gz
ODR-AudioEnc-734166da289ac4a5ebbc0b1c845c2b9681d41afc.tar.bz2
ODR-AudioEnc-734166da289ac4a5ebbc0b1c845c2b9681d41afc.zip
Add --gst-pipeline option for custom nput pipelines
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: