Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 102 Computers In Context (Multimedia)‏ 04 / 27 / 2009 Instructor: Michael Eckmann.

Similar presentations


Presentation on theme: "CS 102 Computers In Context (Multimedia)‏ 04 / 27 / 2009 Instructor: Michael Eckmann."— Presentation transcript:

1 CS 102 Computers In Context (Multimedia)‏ 04 / 27 / 2009 Instructor: Michael Eckmann

2 Michael Eckmann - Skidmore College - CS 102 - Spring 2009 Today’s Topics Questions/comments? Making movies, animations

3 Michael Eckmann - Skidmore College - CS 102 - Spring 2009 Let's try to fade one image into another I'd like to have two images (call them image1 and image2). I'd like the resulting movie to start off with image1 and then the next frame be a blend of image1 and image2 with image1 weighted heavily, then the next frame same thing but image1 weighted less heavily, etc. until the final frame is image2 alone. Any ideas on how we might be able to accomplish this? How did we blend images together in the past? Let's write the blending function then test it out on one frame. If it seems to work, we'll write and run the code to generate all the frames.

4 Michael Eckmann - Skidmore College - CS 102 - Spring 2009 Let's alter the pan function Let's allow the caller of the function to specify the number of columns that the image will “move” between frames. Right now it is “hard coded” at 10 columns. Any thoughts on what needs to be changed?

5 Michael Eckmann - Skidmore College - CS 102 - Spring 2009 Let's use blur to make a movie of an image starting out very crisp and then get blurrier and blurrier over time.

6 Michael Eckmann - Skidmore College - CS 102 - Spring 2009 Creating movie files from jpgs If your files are stored as frame01.jpg, frame02.jpg, etc. ffmpeg -i frame%02d.jpg movie.mpg Let's try this on the moving square images we created last time.


Download ppt "CS 102 Computers In Context (Multimedia)‏ 04 / 27 / 2009 Instructor: Michael Eckmann."

Similar presentations


Ads by Google