[Flashcoders] flvPlayBack complete event not firing
I am having an issue with the FLVPlayback.complete event. This event should trigger when my flv file has completed playback (reached the end of the video); however, it only triggers some of the time. For certain flv's, playback will stop short of the end of the file and the complete event is never triggered. I am using mencoder and ffmpeg for the video encoding, and flvtool2 to insert the metadata into the file. The metadata contains the duration of the video, and I have tried (unsuccesfully) to use the supplied duration as a comparison to find the end of the file (I inserted a cuepoint at the aledged duration, but in certain cases the video did not reach this point, so I ran into the same problem). I have search far and wide to find a solution for this issue, including contacting adobe, who did nothing more than tell me it was an encoding error, and the best solution I've been able to come up with is to add a cuepoint one second before the end of the flv and use that as my end point. This does work; however, it cuts a crucial second off the end of the video, and as such is not an acceptable solution. I have come across a bunch of cases of this same problem in various forums, and have yet to come up with a solid solution. Any input, thoughts, ideas, anecdotes, etc. would be greatly appreciated! A quick breakdown of my setup: I am publishing for flash player 8 and above. My video player uses an flvplayback component and is controlled via actionscript. Thanks, Jeff ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLVPlayback complete event not firing.
Hi, Clark... So, you had no further issue when the FLV was encoded in the more powerful computer??? Dan... Did that solve your problem as well??? I think I am having the same problem and it's really frustrating when it happens to only the Sorenson Squeezed FLV files... Some people mentioned about using Burak's metadata injector but that did not solve the problem on my case... :( Jason - Original Message - From: "clark slater" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, January 18, 2006 6:46 PM Subject: Re: [Flashcoders] FLVPlayback complete event not firing. This is caused by a poorly coded flv. I have encountered it before and finally tracked it down to our client using a desperately underpowered machine to encode the flv. On 1/18/06, Dan Wade <[EMAIL PROTECTED]> wrote: Hello, I'm using the flvPlayback component. Then adding listener: vidPlayBack_cmp.complete = function( evt:Object ):Void { this._visible = false; } vidPlayBack_cmp.addEventListener("complete"); Simple enough. But the event never fires. Any ideas/experience with this? I'm thinking the actual .flv file has something that flash does not like. Tia, -Dan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FLVPlayback complete event not firing.
This is caused by a poorly coded flv. I have encountered it before and finally tracked it down to our client using a desperately underpowered machine to encode the flv. On 1/18/06, Dan Wade <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using the flvPlayback component. Then adding listener: > > vidPlayBack_cmp.complete = function( evt:Object ):Void { >this._visible = false; > } > vidPlayBack_cmp.addEventListener("complete"); > > > Simple enough. But the event never fires. Any ideas/experience with this? > I'm thinking the actual .flv file has something that flash does not like. > > > Tia, > > -Dan > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FLVPlayback complete event not firing.
Hello, I'm using the flvPlayback component. Then adding listener: vidPlayBack_cmp.complete = function( evt:Object ):Void { this._visible = false; } vidPlayBack_cmp.addEventListener("complete"); Simple enough. But the event never fires. Any ideas/experience with this? I'm thinking the actual .flv file has something that flash does not like. Tia, -Dan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders