Created
January 10, 2013 19:39
-
-
Save iox/4505121 to your computer and use it in GitHub Desktop.
n900 as remote webcam
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
# 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