if you encode the flv ver.1.1 or newer you get the metadata

  movie = "http://stage.orchestra.it/golfers.flv";;
 
the url of the FLV is ver. 1.1 it contains the metaData for totalTime 
FLV ver 1.0 do's NOT.

Cato


--- In [email protected], "Firdosh Tangri" <[EMAIL PROTECTED]> 
wrote:
>
> well the weird thing is every time I run the app in debug mode 
sometimes I
> get -1 sometimes i get 280.66 which is the correct value...??
> 
> its just plain random
> 
> firdosh
> 
> 
> On 2/11/07, Muzak <[EMAIL PROTECTED]> wrote:
> >
> >   That means the totalTime is not "encoded" in the flv. In other 
words,
> > it's missing (in the metadata).
> > Certain flv encoders don't include the required metadata (width, 
height,
> > duration, framerate, etc..).
> > Use the Flash 8 Video Encoder (that comes with Flash 8) to encode 
your
> > flv's or you can inject metadata (if you don't have the
> > original video's) with FLVMDI:
> > http://www.buraks.com/flvmdi/
> >
> > regards,
> > Muzak
> >
> > ----- Original Message -----
> > From: "Firdosh Tangri" <[EMAIL PROTECTED] <ftangri%40gmail.com>>
> > To: <[email protected] <flexcomponents%
40yahoogroups.com>>
> > Sent: Monday, February 12, 2007 5:26 AM
> > Subject: Re: [flexcomponents] Controlling Video playback using the
> > VideoDisplay control
> >
> > > hey thanks that was helpfull :)
> > >
> > > I do have another problem when I load a vdeo using the source 
attribute
> > >
> > > myVidDisp.source="my.flv"
> > > myVidDisp.addEventListener("ready",onVideoLoaded);
> > > private function onVideoLoaded(evt:Event):void{
> > > trace("Total time" +myVidDisp_VdDisp.totalTime);
> > > }
> > > keeps giving me -1
> > >
> > > cheers
> > > firdosh
> >
> >  
> >
>


Reply via email to