DxBMP: Video & Bitmaps Manipulation

Developed by Yunqiang (Charles) Chen

chenyq@ifp.uiuc.edu

March 30, 2002

DxBmp is a console program to extract the frames of a video to bitmap files or to create a video file given a sequence of bitmap files.

Usage: DxBmp [-range start end] [-framerate rate] input output

-range specify the range of interests. absolute position in original sequence. 'start' and 'end' frame number

-framerate the frame rate of the output sequence, default is 30

input : input to the program, video file or BMP files

output: output of the program, BMP files or video file

e.g.

DxBmp -range 50 150 test.avi test%3.3d.bmp

Extract the frames [50 150] of test.avi to test050.bmp, test051.bmp, ... , test150.bmp

DxBmp -framerate 15 img*.bmp out.avi

Create a 15 frame /sec out.avi file based on given bitmap sequence. The image sequence must be named in sequential, e.g. img003.bmp, img004.bmp, ...

Download the binary program: DxBMP.exe

Download the source code: DxBMP.zip

(You need Microsoft DirectX SDK 8.0 or higher to compile. Also, you may need to change some path of the include directory and library directory.)