Using Gstreamer to send a USB camera streaming

Usb Camera device: /dev/video0

Start video streaming

gst-launch v4l2src ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)5/1 ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host= port=5000

Receive the stream using VLC

vlc tcp://

gst-launch v4l2src device=/dev/video1 ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)30/1 ! ffmpegcolorspace ! smokeenc keyframe=8 qmax=40 ! udpsink host= port=5000

gst-launch udpsrc port=5000 ! smokedec ! autovideosink

  1. gstreamer sources | Just moozing

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: