Editing Streaming video from built-in webcam
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 52: | Line 52: | ||
$ apt-get install gstreamer-tools | $ apt-get install gstreamer-tools | ||
- | |||
- | |||
To access the back camera use: | To access the back camera use: | ||
Line 66: | Line 64: | ||
On the N900 the command you want to run is: | On the N900 the command you want to run is: | ||
- | + | $ gst-launch v4l2src device=/dev/video0 ! videoscale! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! jpegenc ! tcpserversink host=192.168.1.101 port=5000 | |
On the PC run | On the PC run | ||
- | + | $gst-launch tcpclientsrc host=192.168.1.105 port=5000 ! jpegdec ! autovideosink | |
The below also works | The below also works | ||
<br>'''N900''' | <br>'''N900''' | ||
- | + | $ gst-launch v4l2camsrc device=/dev/video0 ! videoscale! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! jpegenc ! tcpserversink host=192.168.1.101 port=5000 | |
Another example using a different encoder/decoder and udp | Another example using a different encoder/decoder and udp | ||
<br>'''N900''' | <br>'''N900''' | ||
- | + | $ gst-launch v4l2src device=/dev/video0 ! videoscale ! video/x-raw-yuv,width=320,height=240 | |
+ | ! ffmpegcolorspace ! smokeenc ! udpsink host=192.168.1.101 port=5000 | ||
<br>'''PC''' | <br>'''PC''' | ||
- | + | $ gst-launch udpsrc port=5000 ! smokedec ! autovideosink | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
There are many ways to skin this particular cat. Recommendations are to look at [http://www.gstreamer.net/ gstreamer] and familiarise yourself. | There are many ways to skin this particular cat. Recommendations are to look at [http://www.gstreamer.net/ gstreamer] and familiarise yourself. |
Learn more about Contributing to the wiki.