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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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:
>
> > > > <entity id="7" sync="1">
> > > >  <component type="EC_Name" sync="1">
> > > >   <attribute value="MediaPlayer" name="name"/>
> > > >   <attribute value="" name="description"/>
> > > >  </component>
> > > >  <component type="EC_Placeable" sync="1">
> > > >   <attribute value="0,0,0,0,0,0,1,1,1" name="Transform"/>
> > > >   <attribute value="false" name="Show bounding box"/>
> > > >   <attribute value="true" name="Visible"/>
> > > >   <attribute value="1" name="Selection layer"/>
> > > >   <attribute value="" name="Parent entity ref"/>
> > > >   <attribute value="" name="Parent bone name"/>
> > > >  </component>
> > > >  <component type="EC_Mesh" sync="1">
> > > >   <attribute value="0,0,0,0,0,0,1,1,1" name="Transform"/>
> > > >   <attribute value="http://"; name="Mesh ref"/>
> > > >   <attribute value="" name="Skeleton ref"/>
> > > >   <attribute value="" name="Mesh materials"/>
> > > >   <attribute value="0" name="Draw distance"/>
> > > >   <attribute value="false" name="Cast shadows"/>
> > > >  </component>
> > > >  <component type="EC_MediaPlayer" sync="1">
> > > >   <attribute value="http://"; name="Media Source"/>
> > > >   <attribute value="0" name="Render Submesh"/>
> > > >   <attribute value="true" name="Enabled"/>
> > > >   <attribute value="true" name="Illuminating"/>
> > > >   <attribute value="true" name="Interactive"/>
> > > >   <attribute value="true" name="Streaming Allowed"/>
> > > >  </component>
> > > >  </entity>
>
> > > > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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

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

Reply via email to