[Red5] VP6 implementation
Lenny Sorey
lrsorey at gmail.com
Wed Mar 5 12:13:10 PST 2008
Hey Andy,
Very nice indeed.
Is this running on your dedicated server?
Lenny
On 3/5/08, Andy <bowljoman at hotmail.com> wrote:
>
> vp6 stream using technique below
>
>
>
> http://thebitstream.com/index.php?op=show&page=10
>
>
>
> will be up for awhile
>
>
>
> -----Original Message-----
> *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> Behalf Of *Lenny Sorey
> *Sent:* Wednesday, March 05, 2008 11:56 AM
> *To:* red5 at osflash.org
> *Subject:* Re: [Red5] VP6 implementation
>
>
>
> Andy,
>
>
>
> The man with the answers!! : )
>
>
>
> Thanks for your response.
>
>
>
> I will download here this afternoon in a little while.
>
>
>
> Regards,
>
>
>
> Lenny
>
>
>
>
>
> On 3/5/08, *Andy* <bowljoman at hotmail.com> wrote:
>
> Nope,
>
>
>
> Just download and install
>
>
>
> -----Original Message-----
> *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> Behalf Of *Lenny Sorey
>
> *Sent:* Wednesday, March 05, 2008 11:28 AM
> *To:* red5 at osflash.org
> *Subject:* Re: [Red5] VP6 implementation
>
>
>
> Andy,
>
>
>
> Forgive me being thick headed today.
>
>
>
> I thought that you had to have FMS before you could
>
> install Flash Media Encoder or it wouldn't install.
>
>
>
> Sorry if I a way off based here.
>
>
>
> Lenny
>
>
>
> On 3/5/08, *Andy* <bowljoman at hotmail.com> wrote:
>
> Legally or technically?
>
>
>
> Legally:
>
> The EULA is not exactly clear on this.
>
> But I imagine that is the intent.
>
>
>
> Technically:
>
> NO
>
> -----Original Message-----
> *From:* red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] *On
> Behalf Of *Lenny Sorey
> *Sent:* Wednesday, March 05, 2008 10:24 AM
> *To:* red5 at osflash.org
> *Subject:* Re: [Red5] VP6 implementation
>
>
>
> Andy,
>
>
>
> So as I understand this, I would have to have Flash Media Server
>
> in order to use FME?
>
>
>
> Lenny
>
>
>
> On 3/5/08, *Andy* <bowljoman at hotmail.com> wrote:
>
> 1. Warning, Automatic reconnection and publish by FME does not always
> work with the code below and it is not known why. I advise monitoring
> FME and If you see repeated connection attempts, 'stop',
> 'disconnect','connect','start' will get you going again.
>
> 2. Your players must unsubscribe to the stream if it drops for efficient
> reconnection of FME.
>
> Im not hip to the methods needed for the players to not unsubscribe like
> it happens with FCS.
>
>
> /////////////////////////////////////////////////////
> //appstart and connection param definitions/////////////////////
> /////////////////////////////////////////////////////////////
>
> public boolean appStart(IScope app)
> {
>
> //open default channels
>
>
> // How to connect and administer.
> //Broadcaster
>
> //nc.connect(targetURI,password,userlevel,"cast",AutorizedStreamName);
>
> //Admin to shut down single broadcaster.
>
> //nc.connect(targetURI,password,adminlevel,"kill",StreamName);
>
> //Admin to add Broadcast Stream for user.
>
> //nc.connect(targetURI,password,adminlevel,"streams",StreamName,StreamIn
> dexNumber);
>
> //Admin To Kick everyone and close live Broadcast
> Streams.
> //Vod still enabled.
>
> //nc.connect(targetURI,password,adminlevel,"nuke",nukePass);
>
>
>
> password="pass";
> adminlevel="admin";
> userlevel="user";
> nukePass="kill";
>
> publisher=new iPubSec();
> registerStreamPublishSecurity(publisher);
> appScope = app;
> return true;
> }
> ////////////////////////////////////////////////////////////////////////
> ///
> //App connect and attribute setting/////////////////////////////////////
> /////////////////////////////////////////////////
>
> public boolean appConnect(IConnection conn, Object[] params) {
>
> // Trigger calling of "onBWDone", required for some FLV players
> measureBandwidth(conn);
> if (conn instanceof IStreamCapableConnection)
> {
> IStreamCapableConnection streamConn =
> (IStreamCapableConnection) conn;
> SimpleConnectionBWConfig bwConfig = new
> SimpleConnectionBWConfig();
>
> bwConfig.getChannelBandwidth()[IBandwidthConfigure.OVERALL_CHANNEL] =
> 1024 * 1024;
>
> bwConfig.getChannelInitialBurst()[IBandwidthConfigure.OVERALL_CHANNEL] =
> 2*128 * 1024;
> streamConn.setBandwidthConfigure(bwConfig);
> }
>
> try // setting client attributes
> {
> /* My SWF Code base?*/
> if(params[0].equals(password))
> {
> if(params[1].equals(userlevel))
> { //params2 is mode. this app is live only. params3 is
> publishing name
>
> conn.getClient().setAttribute("bitcaster",true);
>
> conn.getClient().setAttribute("publishing",params[3]);
> }
> }//end password
>
> } //end try
> catch(ArrayIndexOutOfBoundsException e)
> {//let fme connect without params}
>
> return super.appConnect(conn, params);
> }
>
> ////////////////////////////////////////////////////////////////////////
> ////////////////////
> // Authorize FME ///////////////////////////////////
> ///////////////////////////////////////////////////
>
>
>
> public void streamBroadcastStart(IBroadcastStream stream)
> {
> boolean ok=false;
> IScope scope;
> Iterator<IConnection> conns =appScope.getConnections();
>
> while(conns.hasNext())
> {
> IConnection icon=conns.next();
> Object permission
> =icon.getClient().getAttribute("publishing",false);
> if(permission.equals(stream.getPublishedName()))
> {
>
> scope=icon.getScope();
> if(scope.equals(stream.getScope()))
> {
>
> Red5.getConnectionLocal().setAttribute("publishing",
> stream.getPublishedName());
>
> Red5.getConnectionLocal().setAttribute("broadcaster",
> stream.getPublishedName());
> ok=true;
> }
> else
> {
> //So sorry charlie;
> stream.stop();
>
> Red5.getConnectionLocal().close();
> return;
> }
> }
> }
> if(!ok)
> {
> stream.stop();
> Red5.getConnectionLocal().close();
> }
> }
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
> Behalf Of Andy
> Sent: Wednesday, March 05, 2008 9:50 AM
> To: red5 at osflash.org
> Subject: Re: [Red5] VP6 implementation
>
> "...but it is still reencoded with sorenson in the flash app
> catching the live isn't it ?"
>
> No evidence that this happens.
>
> Vp6->decompress to sorenson->compress to sorenson->decompress
>
> No I don't believe that
>
>
>
> -----Original Message-----
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
> Behalf Of SeTyR
> Sent: Wednesday, March 05, 2008 9:41 AM
> To: red5 at osflash.org
> Subject: Re: [Red5] VP6 implementation
>
> Hi Lenny ,
>
> I so far used v2008.build.24 (jan 18, 2008)
>
> I just opened it and there is now a v2008.build.25 (Feb 5, 2008)
> available for download
>
> Read ya later !
> SeTyR
>
> (fine interview inbetween ^^)
>
> ----- Original Message -----
> From: Lenny Sorey
> To: red5 at osflash.org
> Sent: Wednesday, March 05, 2008 6:31 PM
> Subject: Re: [Red5] VP6 implementation
>
> SeTyR,
>
> Super now contains VP6 encoding?
>
> What version is this in?
>
> This is what I use to do encoding.
>
> Thanks,
>
> Lenny
>
>
> On 3/5/08, SeTyR <setyr at free.fr> wrote:
> Hi Everyone & Lenny ;
>
> For VP6 encoding for VOD files, plain flash 8, onFlix , Sorenson Squeeze
> or super will do the job perfectly ;
> For live published and recorded streams, i've now been looking for a
> solution for months now ..
>
> If someone can provide a hint, that would be great (thanks already Andy
> for the On2 flix live idea but it is still reencoded with sorenson in
> the flash app catching the live isn't it ?)
>
> And i'm also interrested in you cheap authentification method =)
>
> Cheers everyone !
> SeTyR
> ----- Original Message -----
> From: Lenny Sorey
> To: red5 at osflash.org
> Sent: Wednesday, March 05, 2008 5:41 PM
> Subject: Re: [Red5] VP6 implementation
>
>
> Hi Andy,
>
> Thanks for weighing in on this subject.
>
> Can you tell me more about your cheep : ) authentication method?
>
> Now that VP6 has gained my attention, I would like to find a way to use
> it in in VOD and Live broadcast.
>
> And I realize that VOD would have to be encoded before viewing.
>
> But the thing that stumps me the most is the live encoding
> with VP6.
>
> You can email me off list if you want to about your method.
>
> Thanks,
>
> Lenny
>
>
> On 3/5/08, Andy <bowljoman at hotmail.com> wrote:
> I have used FME2 and red5 for vp6 in extended broadcasts.
>
> @lenny I also have a cheep authentication method as well, slightly
> different than the 'live' application's method.
>
>
> -----Original Message-----
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
> Behalf Of Yaroslav
> Sent: Wednesday, March 05, 2008 6:28 AM
> To: red5 at osflash.org
> Subject: Re: [Red5] VP6 implementation
>
> Red5 does not do transcoding. It serves what it has been fed with.
>
> There are at least three possibilities to feed live VP6 into Red5:
>
> - using Adobe Flash Media Encoder (the license of it prohibits doing
> so but technically this could be tested)
> - using On2 Flix Live (commercial; trial available)
> - using On2 Flix SDK
>
> My tests show there are problems with live VP6 in Red5. Although I
> could not find evidence of somebody experiencing the same sort of
> trouble. Neither I heard of any successful use of live VP6 with Red5.
>
> Yaroslav
>
> On Wed, Mar 5, 2008 at 4:39 PM, Lenny Sorey <lrsorey at gmail.com> wrote:
> > Naicu,
> >
> > Thanks again for your response.
> >
> > I think I found what I was looking for.
> >
> > Sorry that I am being a bit thick headed.
> >
> > Just have never ventured beyond what are the defaults
> > of Flash and Flex.
> >
> > I really do appreciate your responds.
> >
> > They are very helpful. : )
> >
> >
> >
> > Regards,
> >
> > Lenny
> >
> >
> > On 3/5/08, Naicu Octavian <naicuoctavian at gmail.com> wrote:
> > > With Red5 you can stream .flv files with the video data encoded with
> > either vp6 or sorenson.
> > >
> > > If you want to record webcams using red5+flash player or send live
> video
> > using red5+flash player you are sutck with soreonson because the
> encoding is
> > done in the flash player not in red5.
> > >
> > >
> > >
> > >
> > > On 05/03/2008, Lenny Sorey <lrsorey at gmail.com> wrote:
> > > >
> > > > Naicu,
> > > >
> > > > Thanks for your response.
> > > >
> > > > I know that ffmeg is not Red5.
> > > >
> > > > I am just looking for some instructions
> > > > on how to use VP6 with REd5 if I am asking the
> > > > correct question.
> > > >
> > > > I do realize that the Sorenson Codec is the default in RED5.
> > > >
> > > > I imagine I am not the only one in this group who would like to
> know
> > > > but am at least not not to show my ignorance to this subject. : )
> > > >
> > > > Just looking where to begin.
> > > >
> > > > Regards,
> > > >
> > > > Lenny
> > > >
> > > >
> > > >
> > > > On 3/5/08, Naicu Octavian <naicuoctavian at gmail.com> wrote:
> > > > > Red5 is not ffmpeg
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 05/03/2008, Lenny Sorey <lrsorey at gmail.com> wrote:
> > > > > >
> > > > > > Yep,
> > > > > >
> > > > > > Lenny
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 3/5/08, Steven Gong <steven.gong at gmail.com> wrote:
> > > > > > > Do you mean transcoding from/to VP6?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Mar 5, 2008 at 9:07 PM, Lenny Sorey
> <lrsorey at gmail.com>
> > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Is there a how to somewhere on how to implement VP6 into
> Red5?
> > > > > > > >
> > > > > > > > Until now I have never considered trying VP6 in RED5.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > > Lenny
> > > > > > > > _______________________________________________
> > > > > > > > Red5 mailing list
> > > > > > > > Red5 at osflash.org
> > > > > > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Best Regards
> > > > > > > Steven Gong
> > > > > > >
> > > > > > > InfraRed5 Red5 Consultant: http://www.infrared5.com,
> > steven at infrared5.com
> > > > > > >
> > > > > > > Red5 Developer: http://osflash.org/red5,
>
> > http://jirared5.org/confluence/display/~steven/Home<http://jira.red5.org/confluence/display/~steven/Home>
>
>
> > > > > > >
> > > > > > > Javaflash Project Founder and Maintainer:
> > http://osflash.org/javaflash
> > > > > > >
> > > > > > > Modesty is an overrated quality in men of no great
> accomplishment.
> > -- Ricky Jay
> > > > > > > _______________________________________________
> > > > > > > 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
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Naicu Octavian,
> > > > > Product Manager for AVChat
> > > > > http://www.avchat.net
> > > > > _______________________________________________
> > > > > 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
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Naicu Octavian,
> > > Product Manager for AVChat
> > > http://www.avchat.net
> > > _______________________________________________
> > > 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
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
>
>
>
>
> _______________________________________________
> 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/20080305/4ce51ab7/attachment-0001.html
More information about the Red5
mailing list