Skip to content

Instantly share code, notes, and snippets.

@DirkHeinke
Last active August 21, 2021 14:05
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save DirkHeinke/dfc14c8f0552212f1693 to your computer and use it in GitHub Desktop.
Save DirkHeinke/dfc14c8f0552212f1693 to your computer and use it in GitHub Desktop.
gstreamer to twitch
# with sound and file
gst-launch-1.0 uridecodebin uri=file:///home/dirk/Videos/Clouds_67_Timelapse.mp4 ! video/x-raw,width=1280,height=720 ! queue ! x264enc threads=0 bitrate=400 tune=zerolatency key-int-max=30 ! queue ! flvmux name=flvmux ! queue ! rtmpsink location=rtmp://live-fra.twitch.tv/app/$APIKEY audiotestsrc ! faac ! flvmux.
@DirkHeinke
Copy link
Author

Works somewho, but is sometimes laggy...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment