EVP Toolbox video_open_w - open video for writing Calling Sequence handle = video_open_w( filename, bit_rate, width, height, frame_rate ); Parameters * filename : A string, the video filename to be open for write. The extension determines the type of the video. * bit_rate, width, height, frame_rate : specify the paparmeter of the video Description We use FFmpeg. FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is a charming library. Now we can write almost all type of video file under both Linux and windows. For more information, go to http://ffmpeg.mplayerhq.hu/ Examples Here is a example for converting video format: in = video_open( 'ww.mpg'); out = video_open_w ('out.swf', 400000, 352, 288, 25); [frame, num ] = video_info(in) for i=1:num im = video_read_frame(in); video_write_frame( im, out ); end video_close_w( out ); video_close(in);