An addendum:

I just compared most of the .meta files, and they all tend to start out
this way with their keyframes:

    <KeyFrame position="594" timestamp="38"/>
    <KeyFrame position="120368" timestamp="2038"/>
    <KeyFrame position="243718" timestamp="4038"/>
    <KeyFrame position="364924" timestamp="6038"/>
    <KeyFrame position="478765" timestamp="8038"/>
    <KeyFrame position="594250" timestamp="10038"/>
    <KeyFrame position="724719" timestamp="12038"/>
    <KeyFrame position="850820" timestamp="14038"/>
    ...

So I think that "2038" is closer in milliseconds to my two second halt
time that the initial "38" which would be practically instantly.

Nate


On Fri, 11 May 2007, Nathan P. Johansen wrote:

> Hi Steven,
> 
> The FLV files range in size from 273 MB to 421 MB - so they are quite
> large in comparison to other things we've been working with, and like I
> said, probably outside the realm of other testing at the moment.  They're
> all encoded at around 400 kbps and have durations from 90 minutes to two
> hours, the On2 VP6 codec, with MP3 audio, converted from digital video,
> automatic keyframes, and dimensions of 640x480.
> 
> The .meta files average about 2980 lines per FLV to indicate keyframes,
> as opposed to the two supplied sample clips, with have about 155 and 75
> lines.  They range from about 130K to 230K in size on disk.
> 
> I suspect that some sort of lock/unlock collision is happening when two or
> more clients attempt to view - and mostly if they seek - through the same
> file at the same time.  The "two second" halt in initial playback (after
> this condition has been triggered) somewhat corresponds to the duration of
> time in each video where the first keyframe entry tends to appear in the
> .meta file around a timestamp of:
> 
>       <KeyFrame position="594" timestamp="38"/>
> 
> In my testing, if I'm fast enough to pause the video right at the initial
> point of playback, I can seek to other keyframes in the FLV and see them
> displayed in the video container, but it will never resume actual
> playback.  By not pausing it, but reloading the same FLV or a different
> FLV, it will just play the first two seconds or so, then halt.
> 
> The Red5 server does not die completely - you can just keep doing this all
> day long, only seeing the first two seconds of any clip through the
> oflaDemo application.  It has to be restarted, and then things work
> again.
> 
> So until you create the condition again by having two clients viewing and
> seeking through the same FLV at the same time - and this will work for
> about 10-15 minutes before one of the clients loses the stream (the other
> client, if they're not seeking and just observing playback, can continue
> to do so without a problem, as well as seek around for a while) but it
> eventually goes into the two second "halt" mode again for any client once
> one client has caused this problem.
> 
> Hope that is slightly helpful, please ask more if there's something I've
> left out.  If there is some kind of logging that I can turn on that
> would perhaps capture useful things, please let me know - I just have
> the default logging to the red5.log file and that doesn't say much
> (except for the unhandled pings when a FLV is started for playback.)
> 
> =)
> 
> Nathan
> 
> p.s.  And excellent work so far!  I really love what Red5 can do already,
> so I apologize for pushing it a bit unreasonably at this point in time.
> 
> 
> On Sat, 12 May 2007, Steven Gong wrote:
> 
> > Nathan,
> > 
> > On 5/12/07, Nathan P. Johansen <[EMAIL PROTECTED]> wrote:
> > >
> > > For what it's worth, I'm happy to read such promising results from this
> > > particular revision.
> > >
> > > On the other hand, I switched over to it, ran it for the past twenty
> > > hours, and had to restart it seven times because large video on demand
> > > streams started to hang after the first two seconds of playback.
> > 
> > 
> > How big is the VOD file?
> > 
> > Probably two different sorts of issues, but again, it's nice to know that
> > > the web cam and other live feeds work well with this revision.
> > >
> > > Nate
> > >
> > >
> > > On Fri, 11 May 2007, Luiz Filipe wrote:
> > >
> > > > Hi Klaus, Red5 team and users.
> > > >
> > > > More feedback about my application:
> > > >
> > > > We have been running r1975 as well since last Sunday without restart or
> > > > freeze issue.
> > > >
> > > > Our average connected users are 600.
> > > > CPU 15 - 30%
> > > > Memory: 40%
> > > >
> > > > Server:
> > > > 1 cpu P4 HT
> > > > 2 GB Ram
> > > > RedHat Fedora Core 5
> > > > 100Mb bandwidth
> > > >
> > > > Best Regards,
> > > >
> > > > Luiz Filipe.
> > > >
> > > >
> > > >
> > > > -----Mensagem original-----
> > > > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de
> > > > Klaus
> > > > Enviada em: quinta-feira, 10 de maio de 2007 10:05
> > > > Para: [email protected]
> > > > Assunto: [Red5] Running r1975 with success!
> > > >
> > > >
> > > > Hi list,
> > > >
> > > >
> > > > Just to let you know.  I've been running r1975 since May05 without
> > > restart.
> > > >
> > > > Red5 is running simple live webcam, with 10-60 connections and the
> > > > stream is smooth.
> > > > No stutter every 1-2 seconds or worse which was before.
> > > >
> > > > CPU percent : 0.0%
> > > > Memory percent 1.8%
> > > >
> > > > Server:
> > > >  Ibm x346,
> > > >  2x3.2Ghz CPU,
> > > >  2 GB ram,
> > > >  redhat enterprise
> > > >
> > > > also running,
> > > >  apache, mysql,php
> > > >  lighttpd
> > > >  Flash Communication server ( for some old apps)
> > > >  irc server
> > > >
> > > > So its just great!!
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > [email protected]
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > > >
> > > > _______________________________________________
> > > > Red5 mailing list
> > > > [email protected]
> > > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > > >
> > >
> > >
> > > _______________________________________________
> > > Red5 mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/red5_osflash.org
> > >
> > 
> > 
> > 
> > -- 
> > I cannot tell why this heart languishes in silence. It is for small needs it
> > never asks, or knows or remembers.  -- Tagore
> > 
> > Best Regards
> > Steven Gong
> > 
> 
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to