Labs 1: Creation of a Pan & Scan video from an image |
---|
For this first session, you will have to deal with the Pan & Scan technique, EXIF data, and Xvid encoding. Pan & Scan Pan & Scan is a technique used to create a video from a single image. It is achieved by defining a frame, which represents the boundaries of the ouput images, and sliding that frame over the original image. We've seen it many times in cartoons, the "camera" scans horizontally a landscape, such as the image above, and the result is what you can see below. EXIF data Exchangeable image file format (Exif) is a specification for the image file format used by digital cameras. It contains metadata tags, such as:
Xvid encoding Xvid is a free video codec library following the MPEG-4 standard. By using the two-pass method, we can easily create a video with a specific size (can be useful if you want to maximize the quality but have size restrictions on the output file). Videos can be encoded using VirtualDub. Here is a tutorial. Task The task for this first session is to create your own video using the Pan & Scan technique. You will also have to overlay one EXIF tag from the original image onto the video (such as date and time in one corner). Finally, if the machines have the Xvid codec installed, you will have to encode your video. This task is quite open, you can choose your own image (it must contain EXIF information), define your own camera motion, etc... Be creative. You will be using Matlab. Guidelines:
Note: Matlab basic knowledge is highly recommended to be able to follow the labs. You can find a tutorial here, and more information about efficient Matlab coding here and here. Update: Here are some tips that will help you have your avi file work properly (Matlab can get a little weird sometimes):
|