Sandbox: Difference between revisions

From WirelessAfrica
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| border="0" cellpadding="9" cellspacing="0"
{| border="0" cellpadding="9" cellspacing="0"
!align="left" |Filter
!align="left" |Version
!align="left" |Description
|-
|[[Image:Download Icon.png|left|20px|Download Icon]] [[Media:ScaleFilter_v1.1.zip|'''ScaleFilter''']]
|[[Image:Download Icon.png|left|20px|Download Icon]] [[Media:ScaleFilter_v1.1.zip|'''ScaleFilter''']]
|v1.1
|v1.1
|The ScaleFilter is a DirectShow filter that can scale RGB24 media to specified target dimensions.
|-
|-
|[[Image:Download Icon.png|left|20px|Download Icon]] [[Media:CropFilter_v1.0.zip|'''CropFilter''']]
|[[Image:Download Icon.png|left|20px|Download Icon]] [[Media:CropFilter_v1.0.zip|'''CropFilter''']]
Line 20: Line 15:
|This filter converts the custom packed YUV420 planar format back to RGB24.
|This filter converts the custom packed YUV420 planar format back to RGB24.
|}
|}
This project provides an example as to how the DirectShow framework can be integrated with a RTP/RTCP/RTSP streaming library in order to stream live audio.
''Base classes and interfaces''
DirectShow base classes and interfaces have been written which simplify the creation of a transform filter. The CCustomBaseFilter class provides a base class for filters with a single input and output pin.
The MultiIOBaseFilter project provides support for writing DirectShow transform filters with multiple input and output pins such as multiplexers and demultiplexers.
All Meraka RTVC filters inherit these base classes, which are available in the download. The base class have been compiled into a static library which the user can reference in the project.
''Filter Source Code''
The download also contains the source code for the above-mentioned scaling, cropping and color conversion filters.
''Image Utilities''
The ImageUtils folder contains source code for various image processing such as cropping, scaling, etc. These files have been compiled into a static library which is also referenced by filters that require such functionality.
''DirectShow LiveMedia RTSP Live Audio Streaming Server''
Source Code [[Media:RTVC_Source_v1.0.zip|RTVC_Source_v1.0.zip]] | Documentation [[Media:Meraka_DirectShow_Library_v1.0.zip|Meraka_DirectShow_Library_v1.0.zip]]

Revision as of 15:07, 16 May 2008

Download Icon
ScaleFilter
v1.1
Download Icon
CropFilter
v1.0 The CropFilter is a DirectShow filter that can crop RGB24 and RGB32 media.
Download Icon
RGBtoYUV420Filter
v1.0 This filter converts RGB24 or RGB32 media to a YUV4:2:0 Planar format whilst retaining the original VideoInfoHeader of the media.
Download Icon
YUV420toRGBFilter
v1.0 This filter converts the custom packed YUV420 planar format back to RGB24.

This project provides an example as to how the DirectShow framework can be integrated with a RTP/RTCP/RTSP streaming library in order to stream live audio.


Base classes and interfaces

DirectShow base classes and interfaces have been written which simplify the creation of a transform filter. The CCustomBaseFilter class provides a base class for filters with a single input and output pin. The MultiIOBaseFilter project provides support for writing DirectShow transform filters with multiple input and output pins such as multiplexers and demultiplexers. All Meraka RTVC filters inherit these base classes, which are available in the download. The base class have been compiled into a static library which the user can reference in the project.

Filter Source Code

The download also contains the source code for the above-mentioned scaling, cropping and color conversion filters.

Image Utilities

The ImageUtils folder contains source code for various image processing such as cropping, scaling, etc. These files have been compiled into a static library which is also referenced by filters that require such functionality.

DirectShow LiveMedia RTSP Live Audio Streaming Server


Source Code RTVC_Source_v1.0.zip | Documentation Meraka_DirectShow_Library_v1.0.zip