godiard / fototoon-activity

A activity to create comics for the Sugar learning environment
0 stars 12 forks source link

Slideshow timed try2 #3

Closed samdroid-apps closed 9 years ago

samdroid-apps commented 9 years ago

Replacing #2

samdroid-apps commented 9 years ago

Hi @godiard,

I just pushed another commit. It adds the function to export the timed slideshow as a movie.

It is related to the FotoToon Export GCI task.

godiard commented 9 years ago

Excelent. A question: it's possible configure a different time for every box (good!), but is not possible configure gst multifilesrc to generate a video width different time by image, right? What you think, should we define the same time for every box or do you have another idea?

samdroid-apps commented 9 years ago

Well it works now by having a copy of the image for every second. Is that what you mean?

On Sun, 28 Dec 2014 9:19 am Gonzalo Odiard notifications@github.com wrote:

Excelent. A question: it's possible configure a different time for every box (good!), but is not possible configure gst multifilesrc to generate a video width different time by image, right? What you think, should we define the same time for every box or do you have another idea?

— Reply to this email directly or view it on GitHub https://github.com/godiard/fototoon-activity/pull/3#issuecomment-68191992 .

godiard commented 9 years ago

Hmm, that can be a lot of images.... What you think about define the times in 10, 20, 30, 40, 50 seconds, then you can use one image for 10 seconds instead of one by every second.

samdroid-apps commented 9 years ago

Ah. I see.

Maybe I could do a system where I use the GCF (greatest common factor) of all the times. That then becomes the frame rate. For example:

Timings are: 6 10 18
GCF = 2
Therefore 2 seconds per image (so half the images)

Timings: 4 8 20
GCF = 4

Is that optimized enough? Maybe I could add something that tries +/- 1 from each timing to get the best solution?

godiard commented 9 years ago

It's possible, but I don't know if we need complicate this too much. As a next step, we can allow the kids to record dialogs for every box. (like Portfolio do) then we can calculate the time for every box based in the sound if available. I would accept both solutions, use GCF or use a longer time as a base (5 or 10 seconds)

samdroid-apps commented 9 years ago

Ok... I will resend the patch