Last active
August 21, 2021 14:05
-
-
Save DirkHeinke/dfc14c8f0552212f1693 to your computer and use it in GitHub Desktop.
gstreamer to twitch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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
Works somewho, but is sometimes laggy...