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

_______________________________________________
[email protected]
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

Reply via email to