Description: % CROPAVI provides functionality to crop an AVI file (i.e., to delete frames from the file)
% and save the cropped version to the same directory that contains the original video file.
% The new video will have the same name as the original file, with the word
% "cropped" appended to its name. (For instance, the user can select and
% crop the video "C:Windowsclock.avi" and the shortened video will be
% saved as "C:Windowsclockcropped.avi." The new video has the same
% properties (Colormap, Quality, FramesPerSecond, and Compression) as the
% original video. ANY SOUNDS ASSOCIATED WITH THE ORIGINAL FILE BE DISCARDED
% IN CROPPED VIDEOS. After cropping, the cropped video will be loaded into
% the GUI. (Subsequently cropped files will be similiarly treated, with the
% word "cropped" again appended.)
% The program is GUI-controlled, and prompts the user to select a video for
% cropping. The user is then presented with buttons (and a slider) for
% scrolling back and forth through the video. Additional buttons allow the
% user to "MARK TO THIS POINT" (or to CLEAR said mark) to crop all frames
% up to and including the marked frame. Similarly, there is a button for
% "MARK FROM THIS POINT" (and a corresponding CLEAR button for that mark).
% Two additional buttons allow the user to mark/clear individual frames for
% deletion. A large red "X" appears on all frames slated for deletion.
% All buttons have descriptive tooltips to guide the user.
% This code is designed to eliminate frames; if instead you want to crop all frames to a
% user-defined region of interest, use Patrick Drechsler?s avicrop.m instead.
% Tested under versions 6.1 (R12.1) and 6.5 (R13).
% Written by Brett Shoelson, Ph.D. firstname.lastname@example.org
Related: additional, Button, markclear, Individual, quotxquot, Large, Deletion, similarly, File
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB