well, we looked into an injector, but we are using linux and
there doesnt
seem to be too many options. the getStreamLength() method
you showed works
great though, thanks.
On 7/25/06, Stefan Richter <stefan flashcomguru.com> wrote:
>
> Could you run an injector tool on the server?
>
> http://www.flashcomguru.com/index.cf
m/2005/11/4/Short-video-Using-flvmdi-to-
> inject-metadata-into-flvs
>
> Otherwise there's also an easy way for the server to
tell you the length:
> Client.prototype.getStreamLength =
function(p_streamName) {
> return Stream.length(p_streamName);
> }
>
> You call this from the client via nc.call, passing the
stream name (with
> or
> without .flv extension? I don't know, try both)
>
> Stefan
>
>
>
>
>
>
>
> > -----Original Message-----
> > From: flashcomm-bounces chattyfig.figleaf.com
> > [mailto:flashcomm-bounces chattyfig.figleaf.com] On
Behalf Of
> > Rich Rodecker
> > Sent: 25 July 2006 20:05
> > To: FlashComm Mailing List
> > Subject: [FlashComm] accessing totalTime property?
> >
> > hello,
> >
> > we have a setup where we are streaming videos with
flash
> > media server. some of these are recorded from
webcams, and
> > some are uploaded videos of various file types and
converted
> > to flv using ffmpeg. as far as we can tell,
ffmpeg doesnt
> > add metadata to the flv's, which means no
duration data. I
> > read that fms sends a totalTime property with the
video
> > though, but I don't know how to access it
client-side.
> > Anyone know how I can do this?
> >
> > also, we are trying to target flash player 7,
which means no
> > FLVPlayback component.
> >
> > thanks,
> >
> > rich
> > _______________________________________________
> > FlashComm chattyfig.figleaf.com
> > To change your subscription options or search the
archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
a>
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.c
om
> >
>
>
> _______________________________________________
> FlashComm chattyfig.figleaf.com
> To change your subscription options or search the
archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
a>
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.c
om
>
_______________________________________________
FlashComm chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
a>
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om
|