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 1: | Line 1: | ||
- | It is possible to use the | + | It is possible to use the N800 camera as a source of streaming video. This was originally described [https://maemo.org/community/wiki/howtostreamvideo/ here], but the referenced example has an error which prevents it working. |
- | + | This note describes how to stream video from the platform to an RTP sink, for example the [https://maemo.org/community/wiki/howtostreamvideo/ vlc] media player. | |
- | + | ||
- | + | ||
- | + | ||
- | This note describes how to stream video from the platform to an RTP sink, for example the [ | + | |
First, you must install the '''gstreamer-tools''' package from the diablo repo on repository.maemo.org. | First, you must install the '''gstreamer-tools''' package from the diablo repo on repository.maemo.org. | ||
Line 44: | Line 40: | ||
To adjust the video encoding quality, have a look at the parameters described by entering "gst-inspect hantro4200enc" at a shell prompt. Setting the "bit-rate" parameter to its maximum (515) and the "profile-and-level" parameter to 1007 produces a much better quality image. Also, I suspect the "stream-type" parameter should be "5" (H263), not "1" (MPEG4 Video). | To adjust the video encoding quality, have a look at the parameters described by entering "gst-inspect hantro4200enc" at a shell prompt. Setting the "bit-rate" parameter to its maximum (515) and the "profile-and-level" parameter to 1007 produces a much better quality image. Also, I suspect the "stream-type" parameter should be "5" (H263), not "1" (MPEG4 Video). | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== Streaming over ssh N900 == | == Streaming over ssh N900 == | ||
- | Here is an alternative way of streaming video on the | + | Here is an alternative way of streaming video on the N900 over ssh. |
First get ssh to do X11 forwarding by installing xauth as follows: | First get ssh to do X11 forwarding by installing xauth as follows: | ||
Line 129: | Line 52: | ||
Now ssh to your N900 with the flag "-X" and then give the command: | Now ssh to your N900 with the flag "-X" and then give the command: | ||
- | gst-launch-0.10 v4l2src \ | + | gst-launch-0.10 v4l2src \!videoscale \!video/x-raw-yuv,width=320,height=240 \ |
- | + | \! xvimagesink | |
- | + | ||
A 320x240 video window should now popup on your desktop. | A 320x240 video window should now popup on your desktop. | ||
+ | [[Category:Users]] | ||
[[Category:Connectivity]] | [[Category:Connectivity]] | ||
[[Category:Media]] | [[Category:Media]] | ||
+ | |||
[[Category:Power users]] | [[Category:Power users]] |
Learn more about Contributing to the wiki.