Re: media adds on

"Salvatore Benedetto" <[email protected]> Thu, 12 Jul 2007 14:11:42 +0200
Newsgroups gmane.os.openbeos.mediakit
Message-ID <[email protected]>
------=_Part_14786_4578180.1184242302595
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/12/07, Stephan Assmus <[email protected]> wrote:
>
>
> Another way to see some output is to quit the already running
> media_server,
> and launch a new instance in a terminal. You should also see the output
> from the nodes that are loaded by the addon server, because that one is
> started by the media_server, so it's output should also be routed to the
> terminal.


That's a start. I see the media_server messages, but not the nodes one. The
only
messages I get regarding the usb_webcam media addon is

NodeManager::RegisterAddon:: ref-name "usb_webcam.media_addon", assigning id
5

but I don't see the messages of the addon itself, which contains two webcam
drivers.


> > Is there any documentation about media addons development or something
> > close?
>
> AFAIK, only what is in the BeBook. I think there is a virtual function
> "WantsAutoStart()" or something. And you can specify if your node is a
> "Physical" Input/Output. That might help too.
>
> I know media node development can be challenging, particularily because
> documentation is sparse. Your best bet is to look at the existing nodes in
> the Haiku tree. Those were either done by knowledgable people and/or are
> based on sample code from Be. So they provide the most up to date
> "documentation" you can get.


The problem is that I'm totally new to both the media_server and addons.
I'll
see if I can gather some info by looking at other working code.

My main concern though , was to understand why my webcam doesn't appear
anymore in the media window under video, so I can fix the code I added.

Best regards,
> -Stephan


Thanks
Salvo




-- 
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer and Telecommunications Engineering
University of Messina (Italy)
www.messinalug.org

Siti di vera informazione Italiana
www.beppegrillo.it

Please do not send me any word, excel or power point file
http://www.gnu.org/philosophy/no-word-attachments.html

------=_Part_14786_4578180.1184242302595
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/12/07, <b class="gmail_sendername">Stephan Assmus</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Another way to see some output is to quit the already running media_server,
<br>and launch a new instance in a terminal. You should also see the output<br>from the nodes that are loaded by the addon server, because that one is<br>started by the media_server, so it&#39;s output should also be routed to the
<br>terminal.</blockquote><div><br>That&#39;s a start. I see the media_server messages, but not the nodes one. The only<br>messages I get regarding the usb_webcam media addon is<br><br style="font-style: italic;"><span style="font-style: italic;">
NodeManager::RegisterAddon:: ref-name &quot;usb_webcam.media_addon&quot;, assigning id 5</span> <br><br>but I don&#39;t see the messages of the addon itself, which contains two webcam drivers.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&gt; Is there any documentation about media addons development or something<br>&gt; close?<br><br>AFAIK, only what is in the BeBook. I think there is a virtual function<br>&quot;WantsAutoStart()&quot; or something. And you can specify if your node is a
<br>&quot;Physical&quot; Input/Output. That might help too.<br><br>I know media node development can be challenging, particularily because<br>documentation is sparse. Your best bet is to look at the existing nodes in<br>the Haiku tree. Those were either done by knowledgable people and/or are
<br>based on sample code from Be. So they provide the most up to date<br>&quot;documentation&quot; you can get.</blockquote><div><br>The problem is that I&#39;m totally new to both the media_server and addons. I&#39;ll<br>
see if I can gather some info by looking at other working code. <br><br>My main concern though , was to understand why my webcam doesn&#39;t appear<br>anymore in the media window under video, so I can fix the code I added.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Best regards,<br>-Stephan</blockquote><div><br>Thanks<br>Salvo<br></div><br></div>
<br><br clear="all"><br>-- <br>Salvatore Benedetto (a.k.a. emitrax)<br>Student of Computer and Telecommunications Engineering<br>University of Messina (Italy)<br><a href="http://www.messinalug.org">www.messinalug.org</a><br>
<br>Siti di vera informazione Italiana<br><a href="http://www.beppegrillo.it">www.beppegrillo.it</a><br><br>Please do not send me any word, excel or power point file<br><a href="http://www.gnu.org/philosophy/no-word-attachments.html">
http://www.gnu.org/philosophy/no-word-attachments.html</a>

------=_Part_14786_4578180.1184242302595--