tanvon++

September 26, 2007

Opening Command Pormpt in the current directory (folder)

Filed under: Windows — tanvon malik @ 9:37 pm

This was a big problem for me, as sometimes I have to go in a
folder and afterwords have to open the command prompt in that
same folder.

Now the problem is solved,
1 just make a text file in the current folder
2 and open txt file
3 type in that text file cmd
4 save that file
5 rename it to amazing.bat

every thing is ok , now just click that file
it will open that command prompt in that current folder.

caution never try to name that file to cmd.bat or you
will see an amazing screen
Why if you ask then I will tell, first give some task to
your brain.

<!– –>

September 22, 2007

Source Filters

Filed under: DirectShow — tanvon malik @ 9:36 pm

Source filters can be divided normally in three types;
Capture Source
File Source
Creator Source
The capture source are those that gets media data from capture devices such as camcorders.
File source filters are those get data from the files stored on some medium.
Creator source are that create data themselves, and then pushes that data downstream.

Transports (push and pull models)

Filed under: DirectShow — tanvon malik @ 9:34 pm

As mentions in an earlier post that for pin connection three things are negotiated,
Media types, transport, allocators.
Normally the main memory is used as the transport among pins, this transport has two
main flavours the Push modal and Pull modal. In push modal data travels from upstream
filter’s output pin to the downstram filter’s input pin, in the manner that the
upstream filter continously push data downstream, as long as all media samples are filled.
But in pull mode the downstream filter (normally a parser ) pulls the media data from
upstream filter (normally file source).

<!– –>

September 13, 2007

Connecting filters

Filed under: DirectShow — tanvon malik @ 9:31 pm

the actual work of connection is done by pins. when two pins try to connect the negociate the three things,
Media types
Transport
Allocators
among these Media types is the actual data (format) that will be transpoted from the upstream filter to the downstream
filter. among many Media types are YUV, RGB24, RGB32.
The transport is the medium that will be used among filters to exchang the data, normally the main memory is used to
exchang the media data.
Allocators are independent objects, they are responsible for allocation and destruction of the buffers which are used
to exchange the media data.

<!– –>

September 10, 2007

DirectShow Filters

Filed under: DirectShow — tanvon malik @ 9:28 pm

DirectShow filters are COM components. DirectShow architecture is made in such a modular way that it can easily be extended. So new components can easily be integrated if they conform the rules that are must to meet. These components are mostely Filters. A filter is an entity, a complete piece of software which can be linked to other filters which are written before it or will be written after it.

<!– –>

DirectShow Filter Development

Filed under: DirectShow — tanvon malik @ 9:17 pm

Nowadays I am working on a inplacetransform Filter , which shows a ticker over video.

 I will try to upload that project with source code at my site www.tanvon.com . Hoping that you will appreciate it.

DirectShow Filters

Filed under: Uncategorized — tanvon malik @ 5:10 pm

DirectShow filters are COM components. DirectShow architecture is made in such a modular way that it can easily be extended. So new components can easily be integrated if they conform the rules that are must to meet. These components are mostely Filters. A filter is an entity, a complete piece of software which can be linked to other filters which are written before it or will be written after it.

DirectShow Filter Development

Filed under: DirectShow — tanvon malik @ 4:40 pm

Nowadays I am working on a inplacetransform Filter , which shows a ticker over video.

 I will try to upload that project with source code at my site www.tanvon.com . Hoping that you will appreciate it. 

Blog at WordPress.com.