Direct Show Media Properties

X-Pert Graphics allows for inserting all kinds of Direct-Show compatible media.

First, you have to specify the source media:

 The File string contains the file path or URL to play in the object. Press the Load button to the right to browse for it.


NOTE: In the dialog you should specify the URL of a live network stream, not a link to a file.

 The Capture Device drop-down list contains all direct-show compatible capture devices installed in the PC (like FireWire camera, DeckLink card, etc.). Select one of them.

 Custom (Support) – this is an advanced option. Click on it to select the filters to use in this object on your own. You can add filters to the graph by clicking on the Add button. A list of all available filters will open for you to select from. To view the properties of a filter in the graph, select its line in the list and press Properties.

Example 3 – Direct Show Media Capture Device

If there is a separate DeckLink card installed, X-Pert Graphics could use it as a capture device. It will be visible as DeckLink Video Capture (2) in the capture list, as in the screenshot bellow:

You can crop the image [Width] and [Height] by using the relevant spin-boxes under the preview window.

When a direct show object is selected in the X-Pert Graphics preview area, an object-specific toolbar appears under the standard ones:


The  Properties button opens a list of all filters used in the current graph.

Check Alpha to use the video’s alpha channel. You can adjust it by using the percentage spin-box to the right.

In this toolbar, there are two drop-down lists: one for selecting the display Mode, [Stretch] or [Center], and another one for the scaling quality. If the [Pure (Fast)] quality is selected, the CPU usage is lower.

Enter the Loop number to repeat the video as many times, as you want. Loop = [0] means that the video will be endlessly repeated; Loop = [1] means that the video will be played once; Loop = [2] means that the video will be played twice, and so on.

Any loop number different from zero represents how many times the object will be looped.

Keep Aspect – check this box to preserve the aspect ratio when resizing the object.

The next two spin-boxes control the image’s[X] and [Y] offset in relation to the object’s center. Use them while in [Center] mode, to move the video vertically or horizontally within the object boundaries.

When in [Center] mode, you can use alpha matte to fill-in the space between the edges of the video and the object’s borders. You can select its Color from the  palette to the left of the Use Alpha check-box.

The two sound controls are situated at the end of the toolbar. The Audio Delay spin-box allows for adjusting the A/V sync of the object. To the right of it you can find the Volume control.

NOTE: The audio of your DirectShow objects will be output on the Default Audio device, set in Windows Control Panel Sound and Audio Devices Audio.

WARNING! As the playout of direct show media objects is carried out by third-party filters, we cannot guarantee the A/V sync of these objects.