[realXtend] Re: Web Cam

2011-10-14 Thread Evan
Hello Jonne,

Thank you very much for the information!

However, I'm having a bit of a difficult time getting the
EC_MediaPlayer to work how I need.

I have my assets stored to a dropbox for now and I am unable to
import.

I instead load a .txml file with all the assets referenced. Can you
possibly help me with the syntax for the Entity, Component and
Attributes for implementing the EC_MediaPlayer into the .txml file?


Thank you so much,

Evan

On Oct 14, 10:40 am, Jonne Nauha  wrote:
> That webcam module I made wont help you get image from web or share you
> webcam to others. It was only meant for local viewing of webcam, which is
> not very useful tbh.
>
> We do however have EC_MediaPlayer that can play video streams. So just get
> the webcams stream url and put it to the ECs media ref and hit play, see
> what happens. Remember to keep the streaming allowed boolean true (the
> default). Make some mesh, then apply EC_MediaPlayer to the same entity.
> Check interactive true, youll get a menu when you click the screen to
> play/pause/show 2D player widget.
>
> Best regards,
> Jonne Nauha
> Adminotech developer
>
>
>
>
>
>
>
> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
> > Heyall,
>
> > I see mention of a web cam at
> >http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
> > under 1.0.6 features and am wondering if there's a way to implement it
> > in Tundra 2.1.1.
>
> > I'd like to be able to view a webcam I have setup remotely.
>
> > Thank you ever again,
>
> > Evan
>
> > --
> >http://groups.google.com/group/realxtend
> >http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org


[realXtend] Re: Web Cam

2011-10-14 Thread Evan
Hi Toni,

I put in the components via the client and saved the scene.

I then ran the new scene and got the errors:
   Error: Cannot create component for type "EC_MediaPlayer" - no
factory exists!
   Error: Failed to create a component of type "EC_MediaPlayer" and
name "" to Entity "MediaPlayer" (ID: 7)

Below is the snippet from the .txml with http:// locations omitted:


  
   
   
  
  
   
   
   
   
   
   
  
  
   
   http://"; name="Mesh ref"/>
   
   
   
   
  
  
   http://"; name="Media Source"/>
   
   
   
   
   
  
 

The "Media Source" is a streaming mjpg if that makes a difference.

Thank you very much,

Evan

On Oct 14, 11:57 am, Toni Alatalo  wrote:
> On Oct 14, 2011, at 7:17 PM, Evan wrote:
>
> > possibly help me with the syntax for the Entity, Component and
> > Attributes for implementing the EC_MediaPlayer into the .txml file?
>
> You don't usually edit the XML by hand - instead, use the scene & entity 
> editing GUI, for example:
>
> - open scenestruct (shift-s or menu -> view -> scene)
> - right-click on the entity where you want to show a video stream
> - choose 'add component'
> - select MediaPlayer in the dropdown dialog
> - after adding the component, doubleclick on the entity to get it open in 
> EC-editor and set the params
>  * they are update live, not only to you but to only clients
> - save the scene from scene-window - rightclick - 'save scene as' when done.
>
> > Evan
>
> ~Toni
>
>
>
>
>
>
>
> > On Oct 14, 10:40 am, Jonne Nauha  wrote:
> >> That webcam module I made wont help you get image from web or share you
> >> webcam to others. It was only meant for local viewing of webcam, which is
> >> not very useful tbh.
>
> >> We do however have EC_MediaPlayer that can play video streams. So just get
> >> the webcams stream url and put it to the ECs media ref and hit play, see
> >> what happens. Remember to keep the streaming allowed boolean true (the
> >> default). Make some mesh, then apply EC_MediaPlayer to the same entity.
> >> Check interactive true, youll get a menu when you click the screen to
> >> play/pause/show 2D player widget.
>
> >> Best regards,
> >> Jonne Nauha
> >> Adminotech developer
>
> >> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
> >>> Heyall,
>
> >>> I see mention of a web cam at
> >>>http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
> >>> under 1.0.6 features and am wondering if there's a way to implement it
> >>> in Tundra 2.1.1.
>
> >>> I'd like to be able to view a webcam I have setup remotely.
>
> >>> Thank you ever again,
>
> >>> Evan
>
> >>> --
> >>>http://groups.google.com/group/realxtend
> >>>http://www.realxtend.org
>
> > --
> >http://groups.google.com/group/realxtend
> >http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org


[realXtend] Re: Web Cam

2011-10-15 Thread Evan
Hello Jonne!

I got the xml files sorted and the media player into the scene.

However, I'm trying to connect to a streaming mpeg4 using rtsp.
When I hit play, the video doesn't appear, do I perhaps need to
install the mpeg4 codec onto my server?

Thank you,

Evan

On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> You need to have the plugin loaded also on the server. I think recently the
> xml configs got nuked and its propably not in the default server plugin xml
> anymore (plugin.xml is loaded if you dont pass --config option). Add the
> VlcPlugin to the server config also and you should be fine. You can see and
> copy the exact line from viewer-browser.xml.
>
> Best regards,
> Jonne Nauha
> Adminotech developer
>
>
>
>
>
>
>
> On Fri, Oct 14, 2011 at 8:22 PM, Evan  wrote:
> > Hi Toni,
>
> > I put in the components via the client and saved the scene.
>
> > I then ran the new scene and got the errors:
> >   Error: Cannot create component for type "EC_MediaPlayer" - no
> > factory exists!
> >   Error: Failed to create a component of type "EC_MediaPlayer" and
> > name "" to Entity "MediaPlayer" (ID: 7)
>
> > Below is the snippet from the .txml with http:// locations omitted:
>
> > 
> >  
> >   
> >   
> >  
> >  
> >   
> >   
> >   
> >   
> >   
> >   
> >  
> >  
> >   
> >   http://"; name="Mesh ref"/>
> >   
> >   
> >   
> >   
> >  
> >  
> >   http://"; name="Media Source"/>
> >   
> >   
> >   
> >   
> >   
> >  
> >  
>
> > The "Media Source" is a streaming mjpg if that makes a difference.
>
> > Thank you very much,
>
> > Evan
>
> > On Oct 14, 11:57 am, Toni Alatalo  wrote:
> > > On Oct 14, 2011, at 7:17 PM, Evan wrote:
>
> > > > possibly help me with the syntax for the Entity, Component and
> > > > Attributes for implementing the EC_MediaPlayer into the .txml file?
>
> > > You don't usually edit the XML by hand - instead, use the scene & entity
> > editing GUI, for example:
>
> > > - open scenestruct (shift-s or menu -> view -> scene)
> > > - right-click on the entity where you want to show a video stream
> > > - choose 'add component'
> > > - select MediaPlayer in the dropdown dialog
> > > - after adding the component, doubleclick on the entity to get it open in
> > EC-editor and set the params
> > >  * they are update live, not only to you but to only clients
> > > - save the scene from scene-window - rightclick - 'save scene as' when
> > done.
>
> > > > Evan
>
> > > ~Toni
>
> > > > On Oct 14, 10:40 am, Jonne Nauha  wrote:
> > > >> That webcam module I made wont help you get image from web or share
> > you
> > > >> webcam to others. It was only meant for local viewing of webcam, which
> > is
> > > >> not very useful tbh.
>
> > > >> We do however have EC_MediaPlayer that can play video streams. So just
> > get
> > > >> the webcams stream url and put it to the ECs media ref and hit play,
> > see
> > > >> what happens. Remember to keep the streaming allowed boolean true (the
> > > >> default). Make some mesh, then apply EC_MediaPlayer to the same
> > entity.
> > > >> Check interactive true, youll get a menu when you click the screen to
> > > >> play/pause/show 2D player widget.
>
> > > >> Best regards,
> > > >> Jonne Nauha
> > > >> Adminotech developer
>
> > > >> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
> > > >>> Heyall,
>
> > > >>> I see mention of a web cam at
> > > >>>http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
> > > >>> under 1.0.6 features and am wondering if there's a way to implement
> > it
> > > >>> in Tundra 2.1.1.
>
> > > >>> I'd like to be able to view a webcam I have setup remotely.
>
> > > >>> Thank you ever again,
>
> > > >>> Evan
>
> > > >>> --
> > > >>>http://groups.google.com/group/realxtend
> > > >>>http://www.realxtend.org
>
> > > > --
> > > >http://groups.google.com/group/realxtend
> > > >http://www.realxtend.org
>
> > --
> >http://groups.google.com/group/realxtend
> >http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org


[realXtend] Re: Web Cam

2011-10-15 Thread Evan
Ah, I apologize Jonne, I forgot to mention that the mpeg4 media I am
trying to stream is from a webcam.

It's an AXIS camera that supports mjpg and mpeg-4.

Thank you,

Evan

On Oct 15, 10:43 am, Jonne Nauha  wrote:
> The MediaPlayer uses libVLC to play media. This means if you can open the
> file with the stand alone vlc playerhttp://www.videolan.org/vlc/it should
> also be able to play it in Tundra. However note that not all media support
> streaming (codecs, containers etc, i dont know the tech side of it). This is
> why I made the "allow streaming" boolean attribute in the component. Another
> reason is to preload the whole media file for the client before playing,
> meaning you will not get "buffering" pauses while you play it, for me this
> makes for a smoother user experience at least for slow internet connections.
>
> I said to you to but streaming allowed true because you were talking about a
> web cam stream on web, this kind of "media" cannot be really downloaded, you
> need to stream it. But if you do have a normal video file on the web, I
> would suggest setting streaming allowed false and reconnect to the server to
> start the asset download. You should see "Downloading media..." text and a
> icon on the center of the objects submesh you are rendering the video.
>
> Keep me updated how it goes.
>
> Best regards,
> Jonne Nauha
> Adminotech developer
>
>
>
>
>
>
>
> On Sat, Oct 15, 2011 at 6:01 PM, Evan  wrote:
> > Hello Jonne!
>
> > I got the xml files sorted and the media player into the scene.
>
> > However, I'm trying to connect to a streaming mpeg4 using rtsp.
> > When I hit play, the video doesn't appear, do I perhaps need to
> > install the mpeg4 codec onto my server?
>
> > Thank you,
>
> > Evan
>
> > On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> > > You need to have the plugin loaded also on the server. I think recently
> > the
> > > xml configs got nuked and its propably not in the default server plugin
> > xml
> > > anymore (plugin.xml is loaded if you dont pass --config option). Add the
> > > VlcPlugin to the server config also and you should be fine. You can see
> > and
> > > copy the exact line from viewer-browser.xml.
>
> > > Best regards,
> > > Jonne Nauha
> > > Adminotech developer
>
> > > On Fri, Oct 14, 2011 at 8:22 PM, Evan  wrote:
> > > > Hi Toni,
>
> > > > I put in the components via the client and saved the scene.
>
> > > > I then ran the new scene and got the errors:
> > > >   Error: Cannot create component for type "EC_MediaPlayer" - no
> > > > factory exists!
> > > >   Error: Failed to create a component of type "EC_MediaPlayer" and
> > > > name "" to Entity "MediaPlayer" (ID: 7)
>
> > > > Below is the snippet from the .txml with http:// locations omitted:
>
> > > > 
> > > >  
> > > >   
> > > >   
> > > >  
> > > >  
> > > >   
> > > >   
> > > >   
> > > >   
> > > >   
> > > >   
> > > >  
> > > >  
> > > >   
> > > >   http://"; name="Mesh ref"/>
> > > >   
> > > >   
> > > >   
> > > >   
> > > >  
> > > >  
> > > >   http://"; name="Media Source"/>
> > > >   
> > > >   
> > > >   
> > > >   
> > > >   
> > > >  
> > > >  
>
> > > > The "Media Source" is a streaming mjpg if that makes a difference.
>
> > > > Thank you very much,
>
> > > > Evan
>
> > > > On Oct 14, 11:57 am, Toni Alatalo  wrote:
> > > > > On Oct 14, 2011, at 7:17 PM, Evan wrote:
>
> > > > > > possibly help me with the syntax for the Entity, Component and
> > > > > > Attributes for implementing the EC_MediaPlayer into the .txml file?
>
> > > > > You don't usually edit the XML by hand - instead, use the scene &
> > entity
> > > > editing GUI, for example:
>
> > > > > - open scenestruct (shift-s or menu -> view -> scene)
> > > > > - right-click on the entity where you want to show a video stream
> > > > > - choose 'add component'
> > > > > - select MediaPlayer in the dropdown dialog
> > > > > - after adding the component, doubleclick on the entity to get it
> > open in
> > > > EC-editor and set the params
> > > > >  * they are update live, not only to you but to only clients
> > > > > - save the scene from scene-window - rightclick - 'save scene as'
> > when
> > > > done.
>
> > > > > > Evan
>
> > > > > ~Toni
>
> > > > > > On Oct 14, 10:40 am, Jonne Nauha  wrote:
> > > > > >> That webcam module I made wont help you get image from web or
> > share
> > > > you
> > > > > >> webcam to others. It was only meant for local viewing of webcam,
> > which
> > > > is
> > > > > >> not very useful tbh.
>
> > > > > >> We do however have EC_MediaPlayer that can play video streams. So
> > just
> > > > get
> > > > > >> the webcams stream url and put it to the ECs media ref and hit
> > play,
> > > > see
> > > > > >> what happens. Remember to keep the streaming allowed boolean true
> > (the
> > > > > >> default). Make some mesh, then apply EC_MediaPlayer to the same
> > > > entity.
> > > > > >> Check interactive true, youll get a menu when you click the screen
> > to
> > > > > >> play/pause/show 2D player widget.
>
> > > > > >

[realXtend] Re: Web Cam

2011-10-17 Thread Evan
Hello Jonne,

I've determined that I can't get the mpeg4 stream to play on the
EC_MediaPlayer, so I'm trying the mjpg player through the EC_WebView.

It seems I'm having trouble parsing a url to the View URL path, would
a '&' in the url cause some sort of problem in the .txml to cause it
to function improperly?

Also, I can't seem to get the site to appear in-world on the media
object. I don't have a material assigned to this mesh, would that
matter?

Thank you,

Evan

On Oct 15, 12:10 pm, Jonne Nauha  wrote:
> Try it out with normal VLC. If that doesn't work then it wont work in Tundra
> either. Your next option then would be to make a web page that has the
> streamed video somehow playing, then make a EC_WebView that points to that
> page, then set render fps to 25. Also set the EC_WebView size as small as
> you can (eg. just the video size). This will help keep performance good even
> with 25 fps rendering rate. A full image blit from big web pages are very
> expensive.
>
> Best regards,
> Jonne Nauha
> Adminotech developer
>
>
>
>
>
>
>
> On Sat, Oct 15, 2011 at 7:54 PM, Evan  wrote:
> > Ah, I apologize Jonne, I forgot to mention that the mpeg4 media I am
> > trying to stream is from a webcam.
>
> > It's an AXIS camera that supports mjpg and mpeg-4.
>
> > Thank you,
>
> > Evan
>
> > On Oct 15, 10:43 am, Jonne Nauha  wrote:
> > > The MediaPlayer uses libVLC to play media. This means if you can open the
> > > file with the stand alone vlc playerhttp://www.videolan.org/vlc/itshould
> > > also be able to play it in Tundra. However note that not all media
> > support
> > > streaming (codecs, containers etc, i dont know the tech side of it). This
> > is
> > > why I made the "allow streaming" boolean attribute in the component.
> > Another
> > > reason is to preload the whole media file for the client before playing,
> > > meaning you will not get "buffering" pauses while you play it, for me
> > this
> > > makes for a smoother user experience at least for slow internet
> > connections.
>
> > > I said to you to but streaming allowed true because you were talking
> > about a
> > > web cam stream on web, this kind of "media" cannot be really downloaded,
> > you
> > > need to stream it. But if you do have a normal video file on the web, I
> > > would suggest setting streaming allowed false and reconnect to the server
> > to
> > > start the asset download. You should see "Downloading media..." text and
> > a
> > > icon on the center of the objects submesh you are rendering the video.
>
> > > Keep me updated how it goes.
>
> > > Best regards,
> > > Jonne Nauha
> > > Adminotech developer
>
> > > On Sat, Oct 15, 2011 at 6:01 PM, Evan  wrote:
> > > > Hello Jonne!
>
> > > > I got the xml files sorted and the media player into the scene.
>
> > > > However, I'm trying to connect to a streaming mpeg4 using rtsp.
> > > > When I hit play, the video doesn't appear, do I perhaps need to
> > > > install the mpeg4 codec onto my server?
>
> > > > Thank you,
>
> > > > Evan
>
> > > > On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> > > > > You need to have the plugin loaded also on the server. I think
> > recently
> > > > the
> > > > > xml configs got nuked and its propably not in the default server
> > plugin
> > > > xml
> > > > > anymore (plugin.xml is loaded if you dont pass --config option). Add
> > the
> > > > > VlcPlugin to the server config also and you should be fine. You can
> > see
> > > > and
> > > > > copy the exact line from viewer-browser.xml.
>
> > > > > Best regards,
> > > > > Jonne Nauha
> > > > > Adminotech developer
>
> > > > > On Fri, Oct 14, 2011 at 8:22 PM, Evan  wrote:
> > > > > > Hi Toni,
>
> > > > > > I put in the components via the client and saved the scene.
>
> > > > > > I then ran the new scene and got the errors:
> > > > > >   Error: Cannot create component for type "EC_MediaPlayer" - no
> > > > > > factory exists!
> > > > > >   Error: Failed to create a component of type "EC_MediaPlayer" and
> > > > > > name "" to Entity "MediaPlayer" (ID: 7)
>
> > > > > > Below is the snippet from the .txml with http:// locations
> > omitted:
>
> > > > > > 
> > > > > >  
> > > > > >   
> > > > > >   
> > > > > >  
> > > > > >  
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >  
> > > > > >  
> > > > > >   
> > > > > >   http://"; name="Mesh ref"/>
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >  
> > > > > >  
> > > > > >   http://"; name="Media Source"/>
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >   
> > > > > >  
> > > > > >  
>
> > > > > > The "Media Source" is a streaming mjpg if that makes a difference.
>
> > > > > > Thank you very much,
>
> > > > > > Evan
>
> > > > > > On Oct 14, 11:57 am, Toni Alatalo  wrote:
> > > > > > > On Oct 14, 2011, at 7:17 PM, Evan wrote:
>
> > > > > > > > possibly help me with the syntax for the Entity, Component and
> > > > > > > > Attributes for implementing the EC_MediaPlayer into the

[realXtend] Re: Web Cam

2011-10-17 Thread Evan
I don't have the EC_MediaPlayer on there anymore, just the EC_WebView.

In-world the webpage doesn't display on the object, but it works in a
separate window when I click 'show'.

The object itself just turns grey and flickers.


-Evan

On Oct 17, 10:41 pm, Jonne Nauha  wrote:
> You dont need a material, the webview/mediaplayer will generate one and
> replace any material that is in the target submesh index. However do not
> have both EC_MediaPlayer and EC_WebView in the same entity enabled at the
> same time. There is boolean "Enabled" in both, check it disabled from the
> one you dont want to show. Otherwise they will "fight" who gets to replace
> the material in the submesh, and you wont really know which is enabled.
>
> I suggest only keeping one of these components in a entity at a time, if you
> dont have some script logic to keep only one enabled at one time. The &
> should not be afaik a problem in txml, is the full url in there if you look
> at the txml but not in the component when the scene loads?
>
> Best regards,
> Jonne Nauha
> Adminotech developer
>
>
>
>
>
>
>
> On Mon, Oct 17, 2011 at 5:51 PM, Evan  wrote:
> > Hello Jonne,
>
> > I've determined that I can't get the mpeg4 stream to play on the
> > EC_MediaPlayer, so I'm trying the mjpg player through the EC_WebView.
>
> > It seems I'm having trouble parsing a url to the View URL path, would
> > a '&' in the url cause some sort of problem in the .txml to cause it
> > to function improperly?
>
> > Also, I can't seem to get the site to appear in-world on the media
> > object. I don't have a material assigned to this mesh, would that
> > matter?
>
> > Thank you,
>
> > Evan
>
> > On Oct 15, 12:10 pm, Jonne Nauha  wrote:
> > > Try it out with normal VLC. If that doesn't work then it wont work in
> > Tundra
> > > either. Your next option then would be to make a web page that has the
> > > streamed video somehow playing, then make a EC_WebView that points to
> > that
> > > page, then set render fps to 25. Also set the EC_WebView size as small as
> > > you can (eg. just the video size). This will help keep performance good
> > even
> > > with 25 fps rendering rate. A full image blit from big web pages are very
> > > expensive.
>
> > > Best regards,
> > > Jonne Nauha
> > > Adminotech developer
>
> > > On Sat, Oct 15, 2011 at 7:54 PM, Evan  wrote:
> > > > Ah, I apologize Jonne, I forgot to mention that the mpeg4 media I am
> > > > trying to stream is from a webcam.
>
> > > > It's an AXIS camera that supports mjpg and mpeg-4.
>
> > > > Thank you,
>
> > > > Evan
>
> > > > On Oct 15, 10:43 am, Jonne Nauha  wrote:
> > > > > The MediaPlayer uses libVLC to play media. This means if you can open
> > the
> > > > > file with the stand alone vlc playerhttp://
> >www.videolan.org/vlc/itshould
> > > > > also be able to play it in Tundra. However note that not all media
> > > > support
> > > > > streaming (codecs, containers etc, i dont know the tech side of it).
> > This
> > > > is
> > > > > why I made the "allow streaming" boolean attribute in the component.
> > > > Another
> > > > > reason is to preload the whole media file for the client before
> > playing,
> > > > > meaning you will not get "buffering" pauses while you play it, for me
> > > > this
> > > > > makes for a smoother user experience at least for slow internet
> > > > connections.
>
> > > > > I said to you to but streaming allowed true because you were talking
> > > > about a
> > > > > web cam stream on web, this kind of "media" cannot be really
> > downloaded,
> > > > you
> > > > > need to stream it. But if you do have a normal video file on the web,
> > I
> > > > > would suggest setting streaming allowed false and reconnect to the
> > server
> > > > to
> > > > > start the asset download. You should see "Downloading media..." text
> > and
> > > > a
> > > > > icon on the center of the objects submesh you are rendering the
> > video.
>
> > > > > Keep me updated how it goes.
>
> > > > > Best regards,
> > > > > Jonne Nauha
> > > > > Adminotech developer
>
> > > > > On Sat, Oct 15, 2011 at 6:01 PM, Evan  wrote:
> > > > > > Hello Jonne!
>
> > > > > > I got the xml files sorted and the media player into the scene.
>
> > > > > > However, I'm trying to connect to a streaming mpeg4 using rtsp.
> > > > > > When I hit play, the video doesn't appear, do I perhaps need to
> > > > > > install the mpeg4 codec onto my server?
>
> > > > > > Thank you,
>
> > > > > > Evan
>
> > > > > > On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> > > > > > > You need to have the plugin loaded also on the server. I think
> > > > recently
> > > > > > the
> > > > > > > xml configs got nuked and its propably not in the default server
> > > > plugin
> > > > > > xml
> > > > > > > anymore (plugin.xml is loaded if you dont pass --config option).
> > Add
> > > > the
> > > > > > > VlcPlugin to the server config also and you should be fine. You
> > can
> > > > see
> > > > > > and
> > > > > > > copy the exact line from viewer-browser.xml.
>
> > > > 

Re: [realXtend] Re: Web Cam

2011-10-14 Thread Toni Alatalo
On Oct 14, 2011, at 7:17 PM, Evan wrote:
> possibly help me with the syntax for the Entity, Component and
> Attributes for implementing the EC_MediaPlayer into the .txml file?

You don't usually edit the XML by hand - instead, use the scene & entity 
editing GUI, for example:

- open scenestruct (shift-s or menu -> view -> scene)
- right-click on the entity where you want to show a video stream
- choose 'add component'
- select MediaPlayer in the dropdown dialog
- after adding the component, doubleclick on the entity to get it open in 
EC-editor and set the params
 * they are update live, not only to you but to only clients
- save the scene from scene-window - rightclick - 'save scene as' when done.

> Evan

~Toni

> On Oct 14, 10:40 am, Jonne Nauha  wrote:
>> That webcam module I made wont help you get image from web or share you
>> webcam to others. It was only meant for local viewing of webcam, which is
>> not very useful tbh.
>> 
>> We do however have EC_MediaPlayer that can play video streams. So just get
>> the webcams stream url and put it to the ECs media ref and hit play, see
>> what happens. Remember to keep the streaming allowed boolean true (the
>> default). Make some mesh, then apply EC_MediaPlayer to the same entity.
>> Check interactive true, youll get a menu when you click the screen to
>> play/pause/show 2D player widget.
>> 
>> Best regards,
>> Jonne Nauha
>> Adminotech developer
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
>>> Heyall,
>> 
>>> I see mention of a web cam at
>>> http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
>>> under 1.0.6 features and am wondering if there's a way to implement it
>>> in Tundra 2.1.1.
>> 
>>> I'd like to be able to view a webcam I have setup remotely.
>> 
>>> Thank you ever again,
>> 
>>> Evan
>> 
>>> --
>>> http://groups.google.com/group/realxtend
>>> http://www.realxtend.org
> 
> -- 
> http://groups.google.com/group/realxtend
> http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org


Re: [realXtend] Re: Web Cam

2011-10-14 Thread Toni Alatalo
On Oct 14, 2011, at 7:57 PM, Toni Alatalo wrote:
> * they are update live, not only to you but to only clients

bleh sent too quickly & tired, made confusing typos apparently -- tried to 
mention:
"they (the parameters in ec editor) are update live, not only to you but also 
to other clients"

hopefully using the tools works for you!

> - save the scene from scene-window - rightclick - 'save scene as' when done.
> 
>> Evan
> 
> ~Toni
> 
>> On Oct 14, 10:40 am, Jonne Nauha  wrote:
>>> That webcam module I made wont help you get image from web or share you
>>> webcam to others. It was only meant for local viewing of webcam, which is
>>> not very useful tbh.
>>> 
>>> We do however have EC_MediaPlayer that can play video streams. So just get
>>> the webcams stream url and put it to the ECs media ref and hit play, see
>>> what happens. Remember to keep the streaming allowed boolean true (the
>>> default). Make some mesh, then apply EC_MediaPlayer to the same entity.
>>> Check interactive true, youll get a menu when you click the screen to
>>> play/pause/show 2D player widget.
>>> 
>>> Best regards,
>>> Jonne Nauha
>>> Adminotech developer
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
 Heyall,
>>> 
 I see mention of a web cam at
 http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
 under 1.0.6 features and am wondering if there's a way to implement it
 in Tundra 2.1.1.
>>> 
 I'd like to be able to view a webcam I have setup remotely.
>>> 
 Thank you ever again,
>>> 
 Evan
>>> 
 --
 http://groups.google.com/group/realxtend
 http://www.realxtend.org
>> 
>> -- 
>> http://groups.google.com/group/realxtend
>> http://www.realxtend.org
> 
> -- 
> http://groups.google.com/group/realxtend
> http://www.realxtend.org

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org


Re: [realXtend] Re: Web Cam

2011-10-14 Thread Jonne Nauha
You need to have the plugin loaded also on the server. I think recently the
xml configs got nuked and its propably not in the default server plugin xml
anymore (plugin.xml is loaded if you dont pass --config option). Add the
VlcPlugin to the server config also and you should be fine. You can see and
copy the exact line from viewer-browser.xml.

Best regards,
Jonne Nauha
Adminotech developer


On Fri, Oct 14, 2011 at 8:22 PM, Evan  wrote:

> Hi Toni,
>
> I put in the components via the client and saved the scene.
>
> I then ran the new scene and got the errors:
>   Error: Cannot create component for type "EC_MediaPlayer" - no
> factory exists!
>   Error: Failed to create a component of type "EC_MediaPlayer" and
> name "" to Entity "MediaPlayer" (ID: 7)
>
> Below is the snippet from the .txml with http:// locations omitted:
>
> 
>  
>   
>   
>  
>  
>   
>   
>   
>   
>   
>   
>  
>  
>   
>   http://"; name="Mesh ref"/>
>   
>   
>   
>   
>  
>  
>   http://"; name="Media Source"/>
>   
>   
>   
>   
>   
>  
>  
>
> The "Media Source" is a streaming mjpg if that makes a difference.
>
> Thank you very much,
>
> Evan
>
> On Oct 14, 11:57 am, Toni Alatalo  wrote:
> > On Oct 14, 2011, at 7:17 PM, Evan wrote:
> >
> > > possibly help me with the syntax for the Entity, Component and
> > > Attributes for implementing the EC_MediaPlayer into the .txml file?
> >
> > You don't usually edit the XML by hand - instead, use the scene & entity
> editing GUI, for example:
> >
> > - open scenestruct (shift-s or menu -> view -> scene)
> > - right-click on the entity where you want to show a video stream
> > - choose 'add component'
> > - select MediaPlayer in the dropdown dialog
> > - after adding the component, doubleclick on the entity to get it open in
> EC-editor and set the params
> >  * they are update live, not only to you but to only clients
> > - save the scene from scene-window - rightclick - 'save scene as' when
> done.
> >
> > > Evan
> >
> > ~Toni
> >
> >
> >
> >
> >
> >
> >
> > > On Oct 14, 10:40 am, Jonne Nauha  wrote:
> > >> That webcam module I made wont help you get image from web or share
> you
> > >> webcam to others. It was only meant for local viewing of webcam, which
> is
> > >> not very useful tbh.
> >
> > >> We do however have EC_MediaPlayer that can play video streams. So just
> get
> > >> the webcams stream url and put it to the ECs media ref and hit play,
> see
> > >> what happens. Remember to keep the streaming allowed boolean true (the
> > >> default). Make some mesh, then apply EC_MediaPlayer to the same
> entity.
> > >> Check interactive true, youll get a menu when you click the screen to
> > >> play/pause/show 2D player widget.
> >
> > >> Best regards,
> > >> Jonne Nauha
> > >> Adminotech developer
> >
> > >> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
> > >>> Heyall,
> >
> > >>> I see mention of a web cam at
> > >>>http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
> > >>> under 1.0.6 features and am wondering if there's a way to implement
> it
> > >>> in Tundra 2.1.1.
> >
> > >>> I'd like to be able to view a webcam I have setup remotely.
> >
> > >>> Thank you ever again,
> >
> > >>> Evan
> >
> > >>> --
> > >>>http://groups.google.com/group/realxtend
> > >>>http://www.realxtend.org
> >
> > > --
> > >http://groups.google.com/group/realxtend
> > >http://www.realxtend.org
>
> --
> http://groups.google.com/group/realxtend
> http://www.realxtend.org
>

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org

Re: [realXtend] Re: Web Cam

2011-10-15 Thread Jonne Nauha
The MediaPlayer uses libVLC to play media. This means if you can open the
file with the stand alone vlc player http://www.videolan.org/vlc/ it should
also be able to play it in Tundra. However note that not all media support
streaming (codecs, containers etc, i dont know the tech side of it). This is
why I made the "allow streaming" boolean attribute in the component. Another
reason is to preload the whole media file for the client before playing,
meaning you will not get "buffering" pauses while you play it, for me this
makes for a smoother user experience at least for slow internet connections.

I said to you to but streaming allowed true because you were talking about a
web cam stream on web, this kind of "media" cannot be really downloaded, you
need to stream it. But if you do have a normal video file on the web, I
would suggest setting streaming allowed false and reconnect to the server to
start the asset download. You should see "Downloading media..." text and a
icon on the center of the objects submesh you are rendering the video.

Keep me updated how it goes.

Best regards,
Jonne Nauha
Adminotech developer


On Sat, Oct 15, 2011 at 6:01 PM, Evan  wrote:

> Hello Jonne!
>
> I got the xml files sorted and the media player into the scene.
>
> However, I'm trying to connect to a streaming mpeg4 using rtsp.
> When I hit play, the video doesn't appear, do I perhaps need to
> install the mpeg4 codec onto my server?
>
> Thank you,
>
> Evan
>
> On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> > You need to have the plugin loaded also on the server. I think recently
> the
> > xml configs got nuked and its propably not in the default server plugin
> xml
> > anymore (plugin.xml is loaded if you dont pass --config option). Add the
> > VlcPlugin to the server config also and you should be fine. You can see
> and
> > copy the exact line from viewer-browser.xml.
> >
> > Best regards,
> > Jonne Nauha
> > Adminotech developer
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Oct 14, 2011 at 8:22 PM, Evan  wrote:
> > > Hi Toni,
> >
> > > I put in the components via the client and saved the scene.
> >
> > > I then ran the new scene and got the errors:
> > >   Error: Cannot create component for type "EC_MediaPlayer" - no
> > > factory exists!
> > >   Error: Failed to create a component of type "EC_MediaPlayer" and
> > > name "" to Entity "MediaPlayer" (ID: 7)
> >
> > > Below is the snippet from the .txml with http:// locations omitted:
> >
> > > 
> > >  
> > >   
> > >   
> > >  
> > >  
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > >  
> > >  
> > >   
> > >   http://"; name="Mesh ref"/>
> > >   
> > >   
> > >   
> > >   
> > >  
> > >  
> > >   http://"; name="Media Source"/>
> > >   
> > >   
> > >   
> > >   
> > >   
> > >  
> > >  
> >
> > > The "Media Source" is a streaming mjpg if that makes a difference.
> >
> > > Thank you very much,
> >
> > > Evan
> >
> > > On Oct 14, 11:57 am, Toni Alatalo  wrote:
> > > > On Oct 14, 2011, at 7:17 PM, Evan wrote:
> >
> > > > > possibly help me with the syntax for the Entity, Component and
> > > > > Attributes for implementing the EC_MediaPlayer into the .txml file?
> >
> > > > You don't usually edit the XML by hand - instead, use the scene &
> entity
> > > editing GUI, for example:
> >
> > > > - open scenestruct (shift-s or menu -> view -> scene)
> > > > - right-click on the entity where you want to show a video stream
> > > > - choose 'add component'
> > > > - select MediaPlayer in the dropdown dialog
> > > > - after adding the component, doubleclick on the entity to get it
> open in
> > > EC-editor and set the params
> > > >  * they are update live, not only to you but to only clients
> > > > - save the scene from scene-window - rightclick - 'save scene as'
> when
> > > done.
> >
> > > > > Evan
> >
> > > > ~Toni
> >
> > > > > On Oct 14, 10:40 am, Jonne Nauha  wrote:
> > > > >> That webcam module I made wont help you get image from web or
> share
> > > you
> > > > >> webcam to others. It was only meant for local viewing of webcam,
> which
> > > is
> > > > >> not very useful tbh.
> >
> > > > >> We do however have EC_MediaPlayer that can play video streams. So
> just
> > > get
> > > > >> the webcams stream url and put it to the ECs media ref and hit
> play,
> > > see
> > > > >> what happens. Remember to keep the streaming allowed boolean true
> (the
> > > > >> default). Make some mesh, then apply EC_MediaPlayer to the same
> > > entity.
> > > > >> Check interactive true, youll get a menu when you click the screen
> to
> > > > >> play/pause/show 2D player widget.
> >
> > > > >> Best regards,
> > > > >> Jonne Nauha
> > > > >> Adminotech developer
> >
> > > > >> On Fri, Oct 14, 2011 at 3:21 PM, Evan  wrote:
> > > > >>> Heyall,
> >
> > > > >>> I see mention of a web cam at
> > > > >>>http://wiki.realxtend.org/index.php/Getting_Started_with_Tundra
> > > > >>> under 1.0.6 features and am wondering if there's a way to
> implement
> > > it
> > > > >>> in Tundra 2.1.1.
> >
> > > > >>> I'd

Re: [realXtend] Re: Web Cam

2011-10-15 Thread Jonne Nauha
Try it out with normal VLC. If that doesn't work then it wont work in Tundra
either. Your next option then would be to make a web page that has the
streamed video somehow playing, then make a EC_WebView that points to that
page, then set render fps to 25. Also set the EC_WebView size as small as
you can (eg. just the video size). This will help keep performance good even
with 25 fps rendering rate. A full image blit from big web pages are very
expensive.

Best regards,
Jonne Nauha
Adminotech developer


On Sat, Oct 15, 2011 at 7:54 PM, Evan  wrote:

> Ah, I apologize Jonne, I forgot to mention that the mpeg4 media I am
> trying to stream is from a webcam.
>
> It's an AXIS camera that supports mjpg and mpeg-4.
>
> Thank you,
>
> Evan
>
> On Oct 15, 10:43 am, Jonne Nauha  wrote:
> > The MediaPlayer uses libVLC to play media. This means if you can open the
> > file with the stand alone vlc playerhttp://www.videolan.org/vlc/itshould
> > also be able to play it in Tundra. However note that not all media
> support
> > streaming (codecs, containers etc, i dont know the tech side of it). This
> is
> > why I made the "allow streaming" boolean attribute in the component.
> Another
> > reason is to preload the whole media file for the client before playing,
> > meaning you will not get "buffering" pauses while you play it, for me
> this
> > makes for a smoother user experience at least for slow internet
> connections.
> >
> > I said to you to but streaming allowed true because you were talking
> about a
> > web cam stream on web, this kind of "media" cannot be really downloaded,
> you
> > need to stream it. But if you do have a normal video file on the web, I
> > would suggest setting streaming allowed false and reconnect to the server
> to
> > start the asset download. You should see "Downloading media..." text and
> a
> > icon on the center of the objects submesh you are rendering the video.
> >
> > Keep me updated how it goes.
> >
> > Best regards,
> > Jonne Nauha
> > Adminotech developer
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Oct 15, 2011 at 6:01 PM, Evan  wrote:
> > > Hello Jonne!
> >
> > > I got the xml files sorted and the media player into the scene.
> >
> > > However, I'm trying to connect to a streaming mpeg4 using rtsp.
> > > When I hit play, the video doesn't appear, do I perhaps need to
> > > install the mpeg4 codec onto my server?
> >
> > > Thank you,
> >
> > > Evan
> >
> > > On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> > > > You need to have the plugin loaded also on the server. I think
> recently
> > > the
> > > > xml configs got nuked and its propably not in the default server
> plugin
> > > xml
> > > > anymore (plugin.xml is loaded if you dont pass --config option). Add
> the
> > > > VlcPlugin to the server config also and you should be fine. You can
> see
> > > and
> > > > copy the exact line from viewer-browser.xml.
> >
> > > > Best regards,
> > > > Jonne Nauha
> > > > Adminotech developer
> >
> > > > On Fri, Oct 14, 2011 at 8:22 PM, Evan  wrote:
> > > > > Hi Toni,
> >
> > > > > I put in the components via the client and saved the scene.
> >
> > > > > I then ran the new scene and got the errors:
> > > > >   Error: Cannot create component for type "EC_MediaPlayer" - no
> > > > > factory exists!
> > > > >   Error: Failed to create a component of type "EC_MediaPlayer" and
> > > > > name "" to Entity "MediaPlayer" (ID: 7)
> >
> > > > > Below is the snippet from the .txml with http:// locations
> omitted:
> >
> > > > > 
> > > > >  
> > > > >   
> > > > >   
> > > > >  
> > > > >  
> > > > >   
> > > > >   
> > > > >   
> > > > >   
> > > > >   
> > > > >   
> > > > >  
> > > > >  
> > > > >   
> > > > >   http://"; name="Mesh ref"/>
> > > > >   
> > > > >   
> > > > >   
> > > > >   
> > > > >  
> > > > >  
> > > > >   http://"; name="Media Source"/>
> > > > >   
> > > > >   
> > > > >   
> > > > >   
> > > > >   
> > > > >  
> > > > >  
> >
> > > > > The "Media Source" is a streaming mjpg if that makes a difference.
> >
> > > > > Thank you very much,
> >
> > > > > Evan
> >
> > > > > On Oct 14, 11:57 am, Toni Alatalo  wrote:
> > > > > > On Oct 14, 2011, at 7:17 PM, Evan wrote:
> >
> > > > > > > possibly help me with the syntax for the Entity, Component and
> > > > > > > Attributes for implementing the EC_MediaPlayer into the .txml
> file?
> >
> > > > > > You don't usually edit the XML by hand - instead, use the scene &
> > > entity
> > > > > editing GUI, for example:
> >
> > > > > > - open scenestruct (shift-s or menu -> view -> scene)
> > > > > > - right-click on the entity where you want to show a video stream
> > > > > > - choose 'add component'
> > > > > > - select MediaPlayer in the dropdown dialog
> > > > > > - after adding the component, doubleclick on the entity to get it
> > > open in
> > > > > EC-editor and set the params
> > > > > >  * they are update live, not only to you but to only clients
> > > > > > - save the scene from scene-window - rightclick - 'save scene as'
> > > when
> > > > > don

Re: [realXtend] Re: Web Cam

2011-10-17 Thread Jonne Nauha
You dont need a material, the webview/mediaplayer will generate one and
replace any material that is in the target submesh index. However do not
have both EC_MediaPlayer and EC_WebView in the same entity enabled at the
same time. There is boolean "Enabled" in both, check it disabled from the
one you dont want to show. Otherwise they will "fight" who gets to replace
the material in the submesh, and you wont really know which is enabled.

I suggest only keeping one of these components in a entity at a time, if you
dont have some script logic to keep only one enabled at one time. The &
should not be afaik a problem in txml, is the full url in there if you look
at the txml but not in the component when the scene loads?

Best regards,
Jonne Nauha
Adminotech developer


On Mon, Oct 17, 2011 at 5:51 PM, Evan  wrote:

> Hello Jonne,
>
> I've determined that I can't get the mpeg4 stream to play on the
> EC_MediaPlayer, so I'm trying the mjpg player through the EC_WebView.
>
> It seems I'm having trouble parsing a url to the View URL path, would
> a '&' in the url cause some sort of problem in the .txml to cause it
> to function improperly?
>
> Also, I can't seem to get the site to appear in-world on the media
> object. I don't have a material assigned to this mesh, would that
> matter?
>
> Thank you,
>
> Evan
>
> On Oct 15, 12:10 pm, Jonne Nauha  wrote:
> > Try it out with normal VLC. If that doesn't work then it wont work in
> Tundra
> > either. Your next option then would be to make a web page that has the
> > streamed video somehow playing, then make a EC_WebView that points to
> that
> > page, then set render fps to 25. Also set the EC_WebView size as small as
> > you can (eg. just the video size). This will help keep performance good
> even
> > with 25 fps rendering rate. A full image blit from big web pages are very
> > expensive.
> >
> > Best regards,
> > Jonne Nauha
> > Adminotech developer
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Oct 15, 2011 at 7:54 PM, Evan  wrote:
> > > Ah, I apologize Jonne, I forgot to mention that the mpeg4 media I am
> > > trying to stream is from a webcam.
> >
> > > It's an AXIS camera that supports mjpg and mpeg-4.
> >
> > > Thank you,
> >
> > > Evan
> >
> > > On Oct 15, 10:43 am, Jonne Nauha  wrote:
> > > > The MediaPlayer uses libVLC to play media. This means if you can open
> the
> > > > file with the stand alone vlc playerhttp://
> www.videolan.org/vlc/itshould
> > > > also be able to play it in Tundra. However note that not all media
> > > support
> > > > streaming (codecs, containers etc, i dont know the tech side of it).
> This
> > > is
> > > > why I made the "allow streaming" boolean attribute in the component.
> > > Another
> > > > reason is to preload the whole media file for the client before
> playing,
> > > > meaning you will not get "buffering" pauses while you play it, for me
> > > this
> > > > makes for a smoother user experience at least for slow internet
> > > connections.
> >
> > > > I said to you to but streaming allowed true because you were talking
> > > about a
> > > > web cam stream on web, this kind of "media" cannot be really
> downloaded,
> > > you
> > > > need to stream it. But if you do have a normal video file on the web,
> I
> > > > would suggest setting streaming allowed false and reconnect to the
> server
> > > to
> > > > start the asset download. You should see "Downloading media..." text
> and
> > > a
> > > > icon on the center of the objects submesh you are rendering the
> video.
> >
> > > > Keep me updated how it goes.
> >
> > > > Best regards,
> > > > Jonne Nauha
> > > > Adminotech developer
> >
> > > > On Sat, Oct 15, 2011 at 6:01 PM, Evan  wrote:
> > > > > Hello Jonne!
> >
> > > > > I got the xml files sorted and the media player into the scene.
> >
> > > > > However, I'm trying to connect to a streaming mpeg4 using rtsp.
> > > > > When I hit play, the video doesn't appear, do I perhaps need to
> > > > > install the mpeg4 codec onto my server?
> >
> > > > > Thank you,
> >
> > > > > Evan
> >
> > > > > On Oct 14, 3:35 pm, Jonne Nauha  wrote:
> > > > > > You need to have the plugin loaded also on the server. I think
> > > recently
> > > > > the
> > > > > > xml configs got nuked and its propably not in the default server
> > > plugin
> > > > > xml
> > > > > > anymore (plugin.xml is loaded if you dont pass --config option).
> Add
> > > the
> > > > > > VlcPlugin to the server config also and you should be fine. You
> can
> > > see
> > > > > and
> > > > > > copy the exact line from viewer-browser.xml.
> >
> > > > > > Best regards,
> > > > > > Jonne Nauha
> > > > > > Adminotech developer
> >
> > > > > > On Fri, Oct 14, 2011 at 8:22 PM, Evan 
> wrote:
> > > > > > > Hi Toni,
> >
> > > > > > > I put in the components via the client and saved the scene.
> >
> > > > > > > I then ran the new scene and got the errors:
> > > > > > >   Error: Cannot create component for type "EC_MediaPlayer" - no
> > > > > > > factory exists!
> > > > > > >   Error: Failed to 

[realXtend] Re: Web Cam Stretched?

2011-10-21 Thread Evan
Heyall,

I'm still having the issue where the texture on the media player is
stretched out.

Has anyone ran into this problem and/or knows how to fix it?

Thank you,

Evan

On Oct 20, 5:37 pm, Evan  wrote:
> So I'm still messing around with the web cam.
>
> I've mentioned before in a previous 
> posthttp://groups.google.com/group/realxtend/browse_thread/thread/3280c21...
> that the image on the mesh object with the webcam appears to be
> flickering.
>
> I thought this was just some weird anomaly. But I look at it again and
> it's roughly the same color as the upper left corner of the webcam.
>
> I'm wondering if perhaps the image being displayed is stretched way
> out, and how would I fix something like that? I'm just using the base
> Cube.mesh from Blender for the mediaplayer. I've tested in the VLC
> player and the webcam works.
>
> Thank you,
>
> Evan

-- 
http://groups.google.com/group/realxtend
http://www.realxtend.org