[Swfdec] questions

Benjamin Otte otte at gnome.org
Sat Mar 7 05:44:32 PST 2009


> First, I would like to be able to get how many frames in a movie, skip to a
> given frame, and render one selected frame. Looking at the API, I see that
> there are functions for this in swfdec_sprite_movie.h. But I don't see how I
> can get to those functions starting from a swfdec_player.
>
The general suggestion if you want to mess around inside Flash files
is to write a launcher Flash file that loads the one file in question
and then do the jump inside that file.
The Swfdec API changes too much in that are, so we don't want to expose it.

> Second, there are some movies that are collections of sprites, and some that
> are regular movies. How do I determine which is which?
>
I'm not exactly sure what this question means. Could you explain what
you're teying to achieve?

> Lastly, there is a certain movie that is running really, really slowly. The
> log message are below. Is this clipping a problem with the movie itself?
>
Clipping (or masking) is a feature of Flash, so if you consider a
Flash file that makes use of clipping a "problem", then I guess this
movie qualifies. Also, clipping can be problematic in Cairo, as it's a
different codepath and might not be optimized in the backend you are
using.


More information about the Swfdec mailing list