diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-11-18 16:02:06 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-11-18 16:02:06 +0100 |
commit | 734166da289ac4a5ebbc0b1c845c2b9681d41afc (patch) | |
tree | eddfd317d98fc4435941a7b77f4e7697ef3afd83 /README.md | |
parent | fff72cb8c17c2ff7f2c0a87f3e5e741009945a7b (diff) | |
download | ODR-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.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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: |