<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jpotelle</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jpotelle"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Jpotelle"/>
	<updated>2026-05-11T05:32:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Firewire_camera&amp;diff=5064</id>
		<title>Firewire camera</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Firewire_camera&amp;diff=5064"/>
		<updated>2007-09-02T22:17:39Z</updated>

		<summary type="html">&lt;p&gt;Jpotelle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Procedure ==&lt;br /&gt;
# Go to the device tree&lt;br /&gt;
# Select the computer that the camera is connected to in the device tree&lt;br /&gt;
# Click &amp;quot;Create Child Device&amp;quot; to create a child device under the computer.&lt;br /&gt;
# &amp;quot;Pick Device Template&amp;quot;&lt;br /&gt;
## Select the Interfaces/Specialized (#97) device category&lt;br /&gt;
## Select the &amp;quot;Firewire Camera to V4L Pipe&amp;quot; device template and click &amp;quot;Add Device&amp;quot;&lt;br /&gt;
# Repeat steps 2 through 4&lt;br /&gt;
## Select the Interfaces/Surveillance Video Interfaces (#111)&lt;br /&gt;
## Select the &amp;quot;Motion Wrapper&amp;quot; and &amp;quot;Add Device&amp;quot;. At this point the &amp;quot;Motion Wrapper&amp;quot; is selected in the device tree. If it&#039;s not, select it.&lt;br /&gt;
# &amp;quot;Create Child Device&amp;quot; under the &amp;quot;Motion Wrapper&amp;quot;&lt;br /&gt;
# Pick Device Template &amp;quot;Generic Analog Camera&amp;quot;&lt;br /&gt;
# Type &amp;quot;31&amp;quot; in the &amp;quot;#1 Device&amp;quot; Device Data field.&lt;br /&gt;
# Reboot the machine with the Firewire camera for it to install the software.&lt;br /&gt;
# Regen the Orbiter so it shows the &amp;quot;Generic Analog Camera&amp;quot;&lt;br /&gt;
# Push the button. I know you want to :) At this point you should see pictures from the camera.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
Where did that 31 come from... and what other fields have to be changed and how when adding a second camera.&lt;br /&gt;
&lt;br /&gt;
Firewire cameras are not V4L-capable so a translation needs to take place. We do it by means of vloopback which &#039;&#039;&#039;prives&#039;&#039;&#039;&#039;&#039;(what is this word supposed to be)&#039;&#039; V4L pipes and a program that reads from the Firewire camera and feeds pictures into one end of a V4L pipe. We started device numbers from 30 in the case of vloopback.&lt;br /&gt;
&lt;br /&gt;
Interesting DeviceData entries for the &amp;quot;Firewire Camera to V4L Pipe&amp;quot;:&lt;br /&gt;
* Device (#1): the number X at the end of /dev/video1394-X where the camera provides its video data. First camera is 0, second camera is 1, and so on.&lt;br /&gt;
* Port/Channel Number (#12): The vloopback pipe associated with this camera. Usually you&#039;d write the same number you wrote in the &amp;quot;Device&amp;quot; field above to reduce the chances of double allocation of the same pipe&lt;br /&gt;
* Width (#148) and Height (#149): If your camera displays weird images, but which seem to have a base in the real picture, the capturing resolution may not match the camera and you have to specify the correct capture resolution here. This resolution is camera-dependent.&lt;br /&gt;
&lt;br /&gt;
Interesting DeviceData entries for the &amp;quot;Generic Analog Camera&amp;quot;:&lt;br /&gt;
* Device (#1): The output end of a vloopback pipe where V4L video data is to be taken from. Since pipes come in pairs (one input/feed end, one output end) and their numbers start with 30, the first camera reads its pictures from /dev/video31 (pipe 0, /dev/video30 is the pipe feeding end), the second from /dev/video33 (pipe 1), the third from /dev/video35 (pipe 2) and so on. (Formula: 30 + 2 * pipe_number + 1 [that is: 2 * pipe_number + 31], where pipe_number is the pipe number you typed in the associated &amp;quot;Firewire Camera to V4L Pipe&amp;quot;&#039;s &amp;quot;Port/Channel Number (#12)&amp;quot; field).&lt;br /&gt;
&lt;br /&gt;
This procedure is not settled yet, and it&#039;s prone to change without notice, but it works like that for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: LinuxMCE_Devices]]&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware]]&lt;br /&gt;
[[Category: Cameras]]&lt;/div&gt;</summary>
		<author><name>Jpotelle</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Vim_Tips_%26_Tricks&amp;diff=5063</id>
		<title>Vim Tips &amp; Tricks</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Vim_Tips_%26_Tricks&amp;diff=5063"/>
		<updated>2007-09-02T22:12:59Z</updated>

		<summary type="html">&lt;p&gt;Jpotelle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Source: [http://jmcpherson.org/editing.html Efficient Editing With vim]&lt;br /&gt;
&lt;br /&gt;
==Writing code==&lt;br /&gt;
;Ctrl+n or Ctrl+p : Autocomplete ;)&lt;br /&gt;
;]p : Just like p, but it automatically adjusts the indent level of the pasted code to match that of the code you paste into. Try it!&lt;br /&gt;
;% : Putting the cursor on a brace, bracket, or parenthese and pressing % will send the cursor to the matching brace, bracket, or parenthese. Great for fixing parse problems related to heavily nested blocks of code or logic.&lt;br /&gt;
;&amp;gt;&amp;gt; : Indent the highlighted code. (See the earlier section about efficient text selection. If no text is selected, the current line is indented.)&lt;br /&gt;
;&amp;lt;&amp;lt; : Like &amp;gt;&amp;gt;, but un-indents.&lt;br /&gt;
;gd : Go to the definition (or declaration) of the function or variable under the cursor.&lt;br /&gt;
;K : Go to the man page for the word currently under the cursor. (For instance, if your cursor is currently over the word sleep, you will see the man page for sleep displayed.)&lt;br /&gt;
&lt;br /&gt;
[[Category: Internal Documents]]&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Programmer&#039;s Guide]]&lt;/div&gt;</summary>
		<author><name>Jpotelle</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=PVR&amp;diff=5062</id>
		<title>PVR</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=PVR&amp;diff=5062"/>
		<updated>2007-09-02T22:09:11Z</updated>

		<summary type="html">&lt;p&gt;Jpotelle: Convert to redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Personal Video Recorder]]&lt;/div&gt;</summary>
		<author><name>Jpotelle</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=PVR&amp;diff=5060</id>
		<title>PVR</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=PVR&amp;diff=5060"/>
		<updated>2007-09-02T22:02:26Z</updated>

		<summary type="html">&lt;p&gt;Jpotelle: Add external link to Wikipedia.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://en.wikipedia.org/w/index.php?title=Personal_Video_Recorder Personal Video Recorder]&lt;/div&gt;</summary>
		<author><name>Jpotelle</name></author>
	</entry>
</feed>