Re: Transparent Image File in DirectShow & DirectShow Editing Services
- From: Joe Flynn <joseph.flynn@xxxxxxxxxxxxx>
- Date: Fri, 13 Mar 2009 21:26:51 -0500
mtsay wrote:
My application needs to compose multiple media files, possibly overlay graphics on top of a video.
My first thoughts were to use image files with transparency (.tif or .png) and use that as a source in DirectShowEditing Services (DES).
As it turns out, DES doesn't like it (either .tif or .png). In addition, GraphEdit can't render .tif or .png when I try to render the files using Render Media Files.
What can I do?
From the DirectShow docs in the DES section:
DES supports the following file formats for still images:
- Bitmap (.bmp)
- GIF (Graphics Interchange Format)
- JPEG (Joint Photographic Experts Group)
- Targa or Truevision Graphics Adapter (.tga): Mode 2 (uncompressed RGB) in 16-bit, 24,-bit, or 32-bit format.
for more info see the following link:
http://msdn.microsoft.com/en-us/library/dd390944(VS.85).aspx
also from the DirectShow docs concerning alpha blending in DES:
- DES supports 32-bit bitmap (.bmp) and Targa (.tga) files with alpha data.
for more info see the following link:
http://msdn.microsoft.com/en-us/library/dd373421(VS.85).aspx
Joe Flynn
.
- References:
- Prev by Date: RE: Add / Remove Filters during Audio Playback
- Next by Date: Re: Cleaning up graph still leaves the video file locked
- Previous by thread: RE: Transparent Image File in DirectShow & DirectShow Editing Services
- Next by thread: Add / Remove Filters during Audio Playback
- Index(es):
Relevant Pages
|