I tried the flvtool2 and couldn't really figure it out, didn't spend a whole lot of time with it though. Found another tool that does the same thing and I was able to figure out quickly. FLVMDI, http://www.buraks.com/flvmdi/, has commandline and gui options, can output a new flv with the metadata as well outputing an xml of the data. Thanks for the help everyone, hopefully this will save others a bit of trouble as well.
-John --- In flexcoders@yahoogroups.com, Sönke Rohde <[EMAIL PROTECTED]> wrote: > > 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" <mhorn@> 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 > > > > > > > > >