Re: [Flashcoders] End of flv playback event

2005-11-17 Thread John Giotta
Is it better to cut your video to whole seconds? Well, that may not be as easy as it sounds. Specially in my case, I have to deal with 3 dozen production staff members all producing video each day across the south-eastern united states. ___ Flashcoders

Re: [Flashcoders] End of flv playback event

2005-11-17 Thread Marlon Harrison
The primary issue is the these NetStream Status Reports do not fire reliably. Buffer.Full is reported after playback has begun so if, for instance, you have a placeholder graphic over your video, and you tie it's fade to when Buffer.Full is sent, you need to give yourself some black padding at

[Flashcoders] End of flv playback event

2005-11-16 Thread Marlon Harrison
Is there any special trick to accurately getting an end of flv playback event? I have to build a player that's also flash 7 compatible, which has an onEnterFrame in it that updates a progress bar. The bar calculates the ns.time/duration to figure the position in the video, but it NEVER gets to

Re: [Flashcoders] End of flv playback event

2005-11-16 Thread John Giotta
I've been wondering the same thing. I've done several different variations too. I first tried to Floor the NetStream.time and duration, but if the duration is 5.3 seconds and the playhead stopped at 4.99 you end up with a 5 on 6 comparison. I then tried to obtain the percentage which did work

Re: [Flashcoders] End of flv playback event

2005-11-16 Thread Jordan L. Chilcott
Why not add a listener object to the onStatus event of your NetStream. It will inform you when the playback has stopped. You can take action from there. jord On Nov 16, 2005, at 10:39 AM, Marlon Harrison wrote: Is there any special trick to accurately getting an end of flv playback event?

Re: [Flashcoders] End of flv playback event

2005-11-16 Thread John Giotta
In my experience it doesn't work. NetStream.Play.Stop is fired much to early in the streaming video. The other method that I use is to first listen for NetStream.Buffer.Flush followed by NetStream.Buffer.Empty, but NetStream.Buffer.Flush is new to Flash Player 8.

RE: [Flashcoders] End of flv playback event

2005-11-16 Thread Mark Llobrera
mailing list Subject: Re: [Flashcoders] End of flv playback event Agreed, I have only seen the NetStream.Play.Stop fire at the end of an FLV. I recall reading, i think here, that this wasn't always the case but i could never find another time it fired other than at the end of an FLV... It seems

Re: [Flashcoders] End of flv playback event

2005-11-16 Thread John Giotta
Not sure to tell you truth. From http://www.kaourantin.net/2005/08/from-12-to-24-layers-and-other.html The NetStream object now sends NetStream.Buffer.Flush status messages when the buffer is being emptied, f.ex. when you reach the end of a file. This is helpful especially if videos are shorter

Re: [Flashcoders] End of flv playback event

2005-11-16 Thread JesterXL
@chattyfig.figleaf.com Sent: Wednesday, November 16, 2005 1:54 PM Subject: Re: [Flashcoders] End of flv playback event Not sure to tell you truth. From http://www.kaourantin.net/2005/08/from-12-to-24-layers-and-other.html The NetStream object now sends NetStream.Buffer.Flush status messages when the buffer

RE: [Flashcoders] End of flv playback event

2005-11-16 Thread Bjorn Schultheiss
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Giotta Sent: Thursday, 17 November 2005 7:47 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] End of flv playback event I hope this thread doesn't die. I'd like to see what other methods

RE: [Flashcoders] End of flv playback event

2005-11-16 Thread Bjorn Schultheiss
of flv playback event My issue with using NetStream.Buffer.Empty is that the video is not done playing when this gets fired, at least not for me with progressive flv's in Flash 7. Also - if a buffer underrun occurs when they'res less time remaining than the bufferlength, the Buffer.Empty status