Skip to content

Instantly share code, notes, and snippets.

@yoganand
Last active September 6, 2018 15:18
Show Gist options
  • Save yoganand/151ad2fc5ea659cb94a6 to your computer and use it in GitHub Desktop.
Save yoganand/151ad2fc5ea659cb94a6 to your computer and use it in GitHub Desktop.
Gstreamer Pipeline for webcam to rtmpserver
gst-launch-1.0 v4l2src ! "video/x-raw,width=640,height=480,framerate=15/1" ! \
x264enc bitrate=1000 ! video/x-h264,profile=high ! h264parse ! queue ! \
flvmux name=mux pulsesrc ! audioresample ! audio/x-raw,rate=48000 ! \
queue ! voaacenc bitrate=32000 ! queue ! mux. mux. ! rtmpsink location="rtmp://127.0.0.1/mytv/mystream live=1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment