Skip to content

Instantly share code, notes, and snippets.

@sphrak
Last active January 10, 2023 18:43
Show Gist options
  • Save sphrak/b9627095027a206e6cdec5dfe19eb924 to your computer and use it in GitHub Desktop.
Save sphrak/b9627095027a206e6cdec5dfe19eb924 to your computer and use it in GitHub Desktop.
gstreamer commands

http streaming

authorized flac/mp3 streaming command with 50% vol

./Library/Frameworks/GStreamer.framework/Versions/1.0/bin/gst-launch-1.0 souphttpsrc location="https://example.tld/v1/stream/YjEyMDA1NDAtYzNlZS00NmQ2LTg2OTEtOTlkMjAyYjU2NGIy" extra-headers="test, Authorization=(string)\"<ACCESS_TOKEN>\"" ! decodebin ! audioconvert ! audioresample ! volume volume=0.5 ! autoaudiosink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment