End of flash movie.

DLL Edition of the F-IN-BOX
npalta
Posts: 3
Joined: Fri Aug 19, 2005 3:30 pm

End of flash movie.

Postby npalta » Fri Aug 19, 2005 3:34 pm

Hi there,

I'm trying to work out how to respond to the end of the flash movie being reached, is there a notification for this? The only way I can currently think of is by watching the current frame and comparing it to the last frame but I'm not sure that's a good idea. Thanks in advance.

Nick.

drivet
Posts: 1
Joined: Tue Jul 04, 2006 1:16 pm

Same question

Postby drivet » Tue Jul 04, 2006 1:19 pm

I have the same question about how to know when a flash movie is ending. I'm using .NET.
Is there anything thing like callback message ?

Thanks
Daniel

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Jul 04, 2006 3:24 pm

There is no notification for that. But you can compare a number of current frame with total number of frames - 1.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

kjslough
Posts: 2
Joined: Tue Nov 07, 2006 9:41 pm

end of flash movie

Postby kjslough » Tue Nov 07, 2006 9:47 pm

when i play an FLV video, FPCM_GET_TOTALFRAMES tells me there is 1 frame and FPCM_GET_FRAMENUM always equals 1 throughout the entire 10 second video playback.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: end of flash movie

Postby Softanics » Wed Nov 08, 2006 8:38 am

kjslough wrote:when i play an FLV video, FPCM_GET_TOTALFRAMES tells me there is 1 frame and FPCM_GET_FRAMENUM always equals 1 throughout the entire 10 second video playback.


The movie that plays a FLV video have just one frame. That's why you have this result.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

kjslough
Posts: 2
Joined: Tue Nov 07, 2006 9:41 pm

Postby kjslough » Wed Nov 08, 2006 1:54 pm

so do you have any suggestions as to how to identify when an FLV movie has finished playing given that your suggestion about using the total number of frames is not applicable to FLV?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Nov 08, 2006 4:47 pm

kjslough wrote:so do you have any suggestions as to how to identify when an FLV movie has finished playing given that your suggestion about using the total number of frames is not applicable to FLV?


I don't know a simple method.

You can parse the header and extract total duration of the video.

Or you can create SWF based on this FLV. We have solution for that, but we are planning to sell it as a separate product. If it's interesting for you, please write me to support http://f-in-box.com/support.html

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 13 guests