-
-
Save phuocphn/4302d8e9dae390e9426f89d7e80f9d31 to your computer and use it in GitHub Desktop.
Gstreamer Pipeline for webcam to rtmpserver
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
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