Hi Lenny,
Nope. They're still the same files on my site as before.
The original ofla_demo.fla file has a buffer time of 5 seconds. From line
204 of the "code" layer:
ns.setBufferTime(5);
The reason I set mine to zero was that I added a rudimentary seek bar
(that's the black rectangle that moves along to the top right portion of
the video screen for those who didn't notice that's what that was for) and
when I would drag it to some other spot, I'd have to wait five seconds to
see a keyframe.
I tampered with making the buffer time zero ONLY when seeking was in
process, then putting it back to three or five seconds once the user
released the mouse - but this resulted in some very strange and annoying
pixelated artifacts for the video and sudden bursts and pauses in the
audio. So I just left that one line of mine setting it at zero.
Of course if you don't intend to let people seek through your video clip,
then certainly having a buffer time of five or three or ten or how ever
many seconds you want besides zero is going to result in a much smoother
playback experience. I just did it that way to make the seeking happen
faster.
Hope that helps explain my madness a bit. :)
Nathan
On Sat, 14 Apr 2007, Lenny Sorey wrote:
> Hey thanks Nathan,
>
> Have you updated since you gave me the link for your player?
>
> Regards,
>
> Lenny
>
>
> On 4/14/07, Nathan P. Johansen <[EMAIL PROTECTED]> wrote:
> >
> > Morning,
> >
> > In my altered version of the oflaDemo player, I used ns.setBufferTime(0);
> > By default I think it is something like 0.001, however John's player may
> > have a different setting for the buffer time, which may result in the
> > initial playback being a bit jerky until there is data in the buffer.
> >
> > The FLA and SWF file for my player is here:
> >
> > http://www.npj.com/red5/
> >
> > If anyone wants to tamper with the buffer time setting in the FLA and
> > try variations. It's in the "Code" layer, part of the playMovie function,
> > around line 277.
> >
> > I also added two other things that effect how the video looks during
> > playback, these are on lines 279 and 280:
> >
> > this.videoContainer.deblocking = 7; // Added by NPJ - default value is 0.
> > this.videoContainer.smoothing = true; // Added by NPJ - default value is
> > false.
> >
> > The deblocking and smoothing settings I found to somewhat improve the
> > appearance of On2 VP6 encoded videos, and if they're Sorenson, then these
> > things get automatically set to some optimal value by the player.
> >
> > -NPJ
> >
> >
> > On Sat, 14 Apr 2007, Paulina F. wrote:
> >
> > > Hi Lenny,
> > >
> > > I check again your test. I am in Santiago, Chile (Dynamic IP). with =
> > > 608.2 kbps.
> > >
> > > I can see a good test. The first test = John Grden's FLVPlayer.html
> > > Was very optimal. But in the second test = Nathan Johansen's flvdemo
> > player.html
> > > I could saw some freeze in the FLV start.
> > >
> > > Regards.
> > >
> > > Paulina
_______________________________________________
Red5 mailing list
[EMAIL PROTECTED]
http://osflash.org/mailman/listinfo/red5_osflash.org