Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DrSensor/d42a4d2c9a4dba5cc1033ea05570e262 to your computer and use it in GitHub Desktop.
Save DrSensor/d42a4d2c9a4dba5cc1033ea05570e262 to your computer and use it in GitHub Desktop.

Revisions

  1. @DirkHeinke DirkHeinke revised this gist Aug 23, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +1,2 @@
    gst-launch-1.0 videotestsrc pattern=18 ! video/x-raw,width=1280,height=720 ! tee name=t ! queue ! x264enc threads=0 bitrate=800 tune=zerolatency ! queue ! flvmux name=flvmux ! queue ! rtmpsink location=rtmp://live-fra.twitch.tv/app/$APIKEY t. ! autovideosink
    # 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.
  2. @DirkHeinke DirkHeinke created this gist Aug 23, 2015.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    gst-launch-1.0 videotestsrc pattern=18 ! video/x-raw,width=1280,height=720 ! tee name=t ! queue ! x264enc threads=0 bitrate=800 tune=zerolatency ! queue ! flvmux name=flvmux ! queue ! rtmpsink location=rtmp://live-fra.twitch.tv/app/$APIKEY t. ! autovideosink