Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrSensor/d42a4d2c9a4dba5cc1033ea05570e262 to your computer and use it in GitHub Desktop.
Save DrSensor/d42a4d2c9a4dba5cc1033ea05570e262 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment