[Red5] New Flex 2 Video Player

Lenny Sorey lrsorey at gmail.com
Tue Nov 13 14:50:35 PST 2007


Cool.

Lenny

On Nov 13, 2007 4:42 PM, Harley Powers Parks <harley at hitushawaii.com> wrote:

>
> runs fine with bare bones tomcat 5.5, so I must have something running
> that conflicts with it.
>
>  -----Original Message-----
> *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> Behalf Of *Harley Powers Parks
> *Sent:* Tuesday, November 13, 2007 12:31 PM
> *To:* red5 at osflash.org
> *Subject:* Re: [Red5] New Flex 2 Video Player
>
>  Lenny: java 1.6_02 is on, but more important, might it be a problem with
> the tomcat5.5 version?
>  I just uploaded the  tomcat 6.0.14 and dropped in the war files and red5
> runs the demos just fine. admin does not work, but that is minor.
> There are other apps running on tomcat 5.5 but i can troubleshoot from
> here.
> i can try this with a bare bones tomcat5.5 to verify that it's not a
> tomcat version issue.
> thanks!
>
>  -----Original Message-----
> *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> Behalf Of *Lenny Sorey
> *Sent:* Tuesday, November 13, 2007 11:17 AM
> *To:* red5 at osflash.org
> *Subject:* Re: [Red5] New Flex 2 Video Player
>
> Harley,
>
> Ok, I just downloaded the root.war, downloaded and installed Tomcat 6.0.14
> on a machine that does not have tomcat or red5 on it. It does have java
> 1.6_02.
>
> I un-wared the ROOT.war to red5 in the Tomcat6/webapps folder. Bounced
> Tomcat  and
> entered http://localhost:8080/red5  and the red5 index page appears
> allowing me to
> connect to the demos page and run the demos.
>
> Do you have any other application on your tomcat server that might be
> causing
> conflicts or again are you running java 1.6 with this version of ROOT.war?
>
> I did not get any of the error messages that you reference in your email.
>
> Lenny
>
>
> On 11/13/07, Lenny Sorey <lrsorey at gmail.com> wrote:
> >
> > Harley,
> >
> > I know this is a stupid question but you are using Java 1.6. right?
> >
> > Lenny
> >
> >
> >  On 11/13/07, Harley Powers Parks < harley at hitushawaii.com> wrote:
> >
> > >  Lenny: umm.. starting with downloading I have uploaded the
> > > http://dl.fancycode.com/red5/0.6.3/war/java6/ root.war, admin.war,
> > > echo.war
> > > I renamed root.war to red5.war and placed the war files into tomcat's
> > > webapp directory.  these unpack with no problem.
> > > I am running on port 8080.
> > > below is the first few lines and an error in the stdout log file.
> > >
> > > 2007-11-13 09:46:34,984 Http11AprProtocol INFO - Initializing Coyote
> > > HTTP/1.1 on http-8080
> > > 2007-11-13 09:46:35,000 AjpAprProtocol INFO - Initializing Coyote
> > > AJP/1.3 on ajp-8009
> > > 2007-11-13 09:46:35,000 Catalina INFO - Initialization processed in
> > > 407 ms
> > > 2007-11-13 09:46:35,078 StandardService INFO - Starting service
> > > Catalina
> > > 2007-11-13 09:46:35,078 StandardEngine INFO - Starting Servlet Engine:
> > > Apache Tomcat/5.5.25
> > > 2007-11-13 09:46:35,078 StandardHost INFO - XML validation disabled
> > > 2007-11-13 09:46:35,359 ContextConfig WARN - Security role name admin
> > > used in an <auth-constraint> without being defined in a <security-role>
> > > 2007-11-13 09:46:37,531 [/red5] INFO - Set web app root system
> > > property: '/' = [C:\Tomcat5.5\webapps\red5\]
> > > 2007-11-13 09:46:37,562 [/red5] INFO - Initializing Log4J from
> > > [C:\Tomcat5.5\webapps\red5\WEB-INF\log4j.properties]
> > > [INFO] 2007-11-13 09:46:37,593 Thread-1:(
> > > org.red5.server.war.WarLoaderServlet.contextInitialized ) RED5 Server
> > > ( http://www.osflash.org/red5)
> > > [INFO] 2007-11-13 09:46:37,593 Thread-1:(
> > > org.red5.server.war.WarLoaderServlet.contextInitialized ) WAR loader
> > > [DEBUG] 2007-11-13 09:46:37,593 Thread-1:(
> > > org.red5.server.war.WarLoaderServlet.contextInitialized ) Path:
> > > C:\Tomcat5.5\webapps\red5\
> > > [INFO] 2007-11-13 09:46:37,640 Thread-1:(
> > > org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/red5].log
> > > ) Initializing Spring root WebApplicationContext
> > > [INFO] 2007-11-13 09:46:37,640 Thread-1:(
> > > org.springframework.web.context.ContextLoader.initWebApplicationContext) Root WebApplicationContext: initialization started
> > > [DEBUG] 2007-11-13 09:46:37,703 Thread-1:(
> > > org.springframework.web.context.ContextLoader.loadParentContext )
> > > Getting parent context definition: using parent context key of '
> > > default.context' with BeanFactoryLocator
> > > [ERROR] 2007-11-13 09:46:38,609 Thread-1:(
> > > org.springframework.web.context.ContextLoader.initWebApplicationContext) Context initialization failed
> > > org.springframework.beans.factory.access.BootstrapException: Unable to
> > > initialize group definition. Group resource name [classpath*:
> > > beanRefContext.xml], factory key [default.context]; nested exception
> > > is org.springframework.beans.factory.BeanDefinitionStoreException:
> > > Unexpected exception parsing XML document from URL
> > > [file:/C:/Tomcat5.5/webapps/red5/WEB-INF/classes/beanRefContext.xml]; nested
> > > exception is java.lang.IllegalArgumentException : Class [
> > > org.springframework.ejb.config.JeeNamespaceHandler] does not implement
> > > the NamespaceHandler interface
> > > Caused by:
> > > org.springframework.beans.factory.BeanDefinitionStoreException:
> > > Unexpected exception parsing XML document from URL
> > > [file:/C:/Tomcat5.5/webapps/red5/WEB-INF/classes/beanRefContext.xml]; nested
> > > exception is java.lang.IllegalArgumentException: Class [
> > > org.springframework.ejb.config.JeeNamespaceHandler] does not implement
> > > the NamespaceHandler interface
> > > Caused by: java.lang.IllegalArgumentException: Class [
> > > org.springframework.ejb.config.JeeNamespaceHandler ] does not
> > > implement the NamespaceHandler interface
> > > the file continues on
> > >
> > >
> > >  Harley Powers Parks
> > > Geospatial Visualization Director
> > >  Hi-Tech Urban Solutions, Inc.
> > > 1001 Bishop Street
> > > Pauahi Tower, Suite 704
> > > Honolulu, Hawaii 96813
> > > ph.: 808.537.2214
> > > fax: 808.537.2215
> > >
> > > harley at hitushawaii.com
> > >
> > > http://www.hitushawaii.com/
> > >
> > >  -----Original Message-----
> > > *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> > > Behalf Of *Lenny Sorey
> > > *Sent: *Tuesday, November 13, 2007 9:18 AM
> > > *To:* red5 at osflash.org
> > > *Subject:* Re: [Red5] New Flex 2 Video Player
> > >
> > > Hello Harley,
> > >
> > > What kind of a problem are you haveing with Tomcat and RED5?
> > >
> > > Regards,
> > >
> > > Lenny
> > >
> > >
> > > On 11/13/07, Harley Powers Parks <harley at hitushawaii.com > wrote:
> > > >
> > > >  thanks for this posting.. http://red5.fatdot.com/
> > > > if we have questions on configuring tomcat I hope you can field them
> > > > for at least the next week. I Have been trying to get tomcat setup with red5
> > > > as an application with some problems.
> > > >
> > > > regards,
> > > > harley
> > > >
> > > >
> > > >  -----Original Message-----
> > > > *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> > > > Behalf Of *John Kirby
> > > > *Sent:* Sunday, November 11, 2007 5:18 PM
> > > > *To:* red5 at osflash.org
> > > > *Subject:* Re: [Red5] New Flex 2 Video Player
> > > >
> > > >  Lenny -
> > > >
> > > > Cool... have you thought to changing the aspect ratio on the fly so
> > > > different video formats can be played in optimum format?
> > > >
> > > >
> > > > I did some thing like this for my ski school class (In HD!):
> > > >
> > > >
> > > > <http://infinitymedialabs.com/copper/choppers/2007>
> > > >
> > > >
> > > > Click on the videos (there is a built in 10 second buffer).   The
> > > > Final Cut pro remastered to flv format are pretty cool.
> > > >
> > > >
> > > > .j
> > > >
> > > >  On Nov 7, 2007, at 1:08 PM, Lenny Sorey wrote:
> > > >
> > > >  A couple of weeks ago I release a Flex 2 Video Streaming Player or
> > > > what I thought was a video streaming
> > > > player.
> > > >
> > > > Jake Hilton and Dan Rossi "From Down Under" Questioned me as to
> > > > whether this player was
> > > > Progressive Video or True Net Streaming.
> > > >
> > > > I'd like to thanks Jake and Dan for pointing out the Errs of my
> > > > ways. : ).
> > > >
> > > > I thought I was right and had found the right combination for
> > > > VideoDisplay Components and the Video Class.
> > > >
> > > > Seems I was wrong, the first real time I check to see if the meta
> > > > files were being created. In addition, I could not
> > > > get the videos metaData from the VideoDisplay components very well
> > > > either.
> > > >
> > > > I went back and gutted the app and rewrote it to a true net
> > > > streaming video player and can now get all the
> > > > videos metaData (if it is there) that I need.
> > > >
> > > > You can see both (progressive and streaming) video players at the
> > > > following url:
> > > >
> > > > http://red5.fatdot.com
> > > >
> > > > The video player you will see is available in 3 different formats.
> > > > They are as follows:
> > > >
> > > > 1. Reads an XML file and plays videos.
> > > > 2. The progressive download and play you can see at the above url.
> > > > (potential security problems with this option)
> > > > 3. The true net streaming option which can see at the above url as
> > > > well.
> > > >
> > > > The last two options have a MySQL database where the video
> > > > descriptions, flv reference and image locations are stored.
> > > >
> > > > I am going to make the XML version and the progressive download
> > > > options available now if anyone wants
> > > > both the Java and Flex sources for either player.
> > > >
> > > > I will make the streaming server video player available a little
> > > > after I have finish with some final items I want to
> > > > add to it.
> > > >
> > > > Here a breakdown on the XML and Progressive download Players.
> > > >
> > > > XML:
> > > >
> > > > Pros:
> > > >
> > > >    1. XML loads quickly
> > > >    2. Plays nicely and your video references, descriptions and
> > > >    image references reside in the XML file.
> > > >    3. Works with nc.connect( "rtmp://red5.fatdot.com/oflaDemo");
> > > >    right out of the box. : )
> > > >
> > > > Cons:
> > > >
> > > >
> > > >    1. Can't play videos from the streams folder. You will have to
> > > >    create a folder beneath the demos folder to place your videos.
> > > >    2. One nice thing about this option is you can created as many
> > > >    folder to drill down under the demos folder to try to protect your
> > > >    videos. I created a playlist named _24_playlist4.xml and place
> > > >    it in the demos/streams/offbeat folder to try to make it a little more
> > > >    secure.
> > > >
> > > >
> > > > Progressive Download:
> > > >
> > > > Pros:
> > > >
> > > >
> > > >    1. It works and can read from the streams folder if the
> > > >    security is removed from the streams folder in red5's web.xmlfolder.
> > > >    to read from the streams folder I had to reference the videos
> > > >    like " myVideolrs = "
> > > >    http://red5.fatdot.com/streams/"+thevideo<http://red5.fatdot.com/streams/%22+thevideo>
> > > >    ;
> > > >    when clicking on a video to play.
> > > >    2. Many nice components in VideoDisplay that will pretty the
> > > >    video player. One neat feature is the stateHandler function for VideoEvents.
> > > >
> > > > Cons:
> > > >
> > > >
> > > >    1. It does not stream from the streams folder. It will not
> > > >    create the videos meta file. So, don't count on this.
> > > >    2. One of the biggest drawbacks is the timer and metaData
> > > >    reading. even though I could read the video's metaData
> > > >    info, I had a hard time of getting the timer to read the
> > > >    videos duration info. Maybe someone can have better luck with
> > > >    than me. : )
> > > >
> > > > Platform is as follows:
> > > >
> > > > Windows 2000
> > > > Java 1.6_02
> > > > RED5  - Trunk 2162
> > > > Tomcat 6.0.14
> > > > Mod_jk connector
> > > > MySQL 5.0.14
> > > > Apache 2.2.4
> > > > PHP 5+
> > > >
> > > >
> > > > Any feedback on the Streaming Video Player would be appreciated. Be
> > > > glad to answer any questions.
> > > >
> > > > Regard,
> > > >
> > > > Lenny
> > > >
> > > > On 10/23/07, Lenny Sorey <lrsorey at gmail.com> wrote:
> > > >
> > > > > Nope,
> > > > >
> > > > > It's Streaming.
> > > > >
> > > > > This is a combination of Netstream and VideoDisplay events.
> > > > >
> > > > > Lenny
> > > > >
> > > > >
> > > > >  On 10/23/07, Jake Hilton <red5 at jakehilton.com > wrote:
> > > > > >
> > > > > > Looks like it's all progressive video right?
> > > > > >
> > > > > > Looks like a great player though.
> > > > > >
> > > > > > Jake
> > > > > >
> > > > > > On 10/23/07, Lenny Sorey <lrsorey at gmail.com> wrote:
> > > > > > > I completed for now a new Flex 2 & Flex 3 Video Player.
> > > > > > >
> > > > > > > Please give it a try and let me know what you think.
> > > > > > >
> > > > > > > Just realized that I didn't set a default item for the
> > > > > > playlist.
> > > > > > >
> > > > > > > Just click on any grid item to view the Title, Producer and
> > > > > > Description as
> > > > > > > well as the image for
> > > > > > > each respective video.
> > > > > > >
> > > > > > > To enlarge the video screen please click on the icon next to
> > > > > > the clock in
> > > > > > > the the upper right hand corner.
> > > > > > >
> > > > > > > So far this player is loading the video playlist from a MySql
> > > > > > table.
> > > > > > >
> > > > > > > I am still working on this project. I am still learning about
> > > > > > PlayheadTime
> > > > > > > as you can see when you click on Spider Man
> > > > > > > as I am not sure the video length is no encoded into the
> > > > > > videos metadata.
> > > > > > >
> > > > > > > Here's the the url:
> > > > > > >
> > > > > > > http://red5.fatdot.com/FatDotMediaPlayer.html
> > > > > > >
> > > > > > > The RED5 platform:
> > > > > > >
> > > > > > > Windows 2000
> > > > > > > Java 1.6_02
> > > > > > > Tomcat 6.0.14 Mod_jk
> > > > > > > Apache 2.2.4
> > > > > > > MySQL 5.0.14
> > > > > > > RED5 Trunk 2412
> > > > > > >
> > > > > > >
> > > > > > > Regards,
> > > > > > >
> > > > > > > Lenny
> > > > > > > _______________________________________________
> > > > > > > Red5 mailing list
> > > > > > > Red5 at osflash.org
> > > > > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > Red5 mailing list
> > > > > > Red5 at osflash.org
> > > > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > > > >
> > > > >
> > > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > > >
> > > > Whether you think that you can, or that you can't, you are usually
> > > > right.
> > > > - Henry Ford
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > Red5 at osflash.org
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > Red5 at osflash.org
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > >
> >
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071113/5a4c0142/attachment-0001.html 


More information about the Red5 mailing list