Hi,

If it was not encoded with metadata why not inject that metadata with
FLVTool2?
If there is no metadata you will not be able to get the duration. Another
possibility would be to use the print command of FLVTool2 to determine the
duration instead of injecting it.

Cheers,
Sönke 

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of john_69_11
> Sent: Tuesday, December 05, 2006 6:32 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FLV Duration
> 
> again, only works if the flv was encoded correctly with the metadata
> 
> --- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
> >
> > If you're using the VideoDisplay component, you can get the 
> length of
> > the FLV file using the totalTime property. 
> > 
> > hth,
> > matt horn
> > flex docs 
> > 
> > > -----Original Message-----
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of john_69_11
> > > Sent: Monday, December 04, 2006 4:13 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] FLV Duration
> > > 
> > > Is there an easy way to figure out the duration of an FLV 
> > > thati s being played? I have been looking at the NetStream 
> > > object and the onMetaData event, but it seems like the FLV 
> > > does not always have the metadata set. The FLVs I want to 
> > > play are created my other people, so there is no way to force 
> > > them to add the metadata. is there any way to easily get 
> around this?
> > > 
> > > 
> > > 
> > >  
> > >
> >
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
> 

Reply via email to