The Active Movie (DirectShow Programming)
Abstract
The idea of this project depends on programming the functions of DirectX under the environment of the windows, which will give a very large possibility to facilitate and speeds up the films, games, animations, and manages the messages. In general, the graphics and the pictures needs a lot of computation power, and the Windows was suffered from the low speed as a result of dealing with the buffers of the memory of data to be displayed instead of dealing with the data itself, for this reasons DirectX being the solution for this problem, because DirectX directly deal with the buffers which contains data. For the above reasons it is necessary to develop programs that can works as an interface between DirectX and the windows.The works focuses on programming the DirectShow function (formally called ActiveMovie), DirectShow enables the applications to play files and streams from various sources, including local files and remote files on network. DirectShow has native compressors and decompresses for some file formats.To achieve the throughput necessary for streaming video and audio, DirectShow uses DirectDraw and DirectSound to render data efficiently to the systems sound and graphic cards. Synchronization is achieved by encapsulating the multimedia data in Time-Stamped media samples.This work shows the idea of displaying the image in a speed-up and sorted way, which will considered as a basic form for the animation, display films and playing games by cutting a part from the memory and put the image in it, then change the pointer for it, without needing to transform the image itself. Also DirectShow, shows the displaying of the sounds which is necessary for displaying the films. The Visual C++ language is used to make this work.