Skip to content

Instantly share code, notes, and snippets.

@iox
Created January 10, 2013 19:39
Show Gist options
  • Save iox/4505121 to your computer and use it in GitHub Desktop.
Save iox/4505121 to your computer and use it in GitHub Desktop.
n900 as remote webcam
# Send images from the N900:
gst-launch v4l2src device=/dev/video0 ! videoscale! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host=192.168.5.3 po
rt=5000
# Receive images in Ubuntu and pipe them into /dev/video1:
sudo gst-launch tcpclientsrc host=192.168.5.4 port=5000 ! multipartdemux ! jpegdec ! v4l2sink device=/dev/video1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment