Elecard
June 19, 2013, 08:10:49 am
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Elecard
>
PC Development Kits
>
PC SDK
>
Elecard SDK
(Moderators:
IvanR
,
IrinaM
) >
SDK filter usage
Pages: [
1
]
« previous
next »
Print
Author
Topic: SDK filter usage (Read 5228 times)
carter
Newbie
Posts: 1
SDK filter usage
«
on:
June 05, 2007, 10:26:05 am »
I'm currently evaluating the Application SDK. There is no source and I'm not sure the documentation is complete. However, I'm reasonably impressed with the MPEG2 filters so far.
I want to use the MPEG2 filters (and eventually others) for a project, but I need to be able to instance the filter objects directly from the file (perhaps using CoGetInstanceFromFile as opposed to CoCreateInstance). Is this possible? Are there any examples of doing this?
What I want to do is avoid registering (in the Windows Registry that is) the files and avoid all the associated issues.
Carter
Logged
Polyakov
Newbie
Posts: 77
SDK filter usage
«
Reply #1 on:
June 17, 2007, 01:36:04 am »
Hello, Carter.
You right, the evaluation version of SDK do not contain samples’ sources. All sources are included in the retail pack.
Yes, it is possible to create filters without registration in the system. More over, we recommend using filters in the graph without registration in the Windows (without using regsvr32).
The following code shows how you can create filter directly from the filter file path.
// create filter-object directly from file m_fVideoEncoder=CFilterWrapper(VIDEO_ENCODER_CLSID, T2OLE(PATH_TO_ENCODER_FILE));
hr=((IBaseFilter*)m_fVideoEncoder)!=NULL ? S_OK: E_FAIL;
// Add video Encoder in to the filter graph
if( SUCCEEDED(hr))
hr = AddFilter(m_fVideoEncoder, VIDEO_ENCODER_FILTER);
where PATH_TO_ENCODER_FILE defined as follows, and should be replaced by the actual path
#define PATH_TO_ENCODER_FILE "D:\\Program Files\\Common Files\\Elecard\\eh264ve.ax"
This method of filters creation ensures the use of the appropriate filers.
All sample codes are taken from file "SDK\C++\Encoder\Sources\SimpleEncoder\Encoder.cpp", function CEncoder::BuildToVideoEncoder().
CFilterWrapper – it is the helper class from the Elecard SDK “Base Classes”.
Base Classes are included in the SDK samples source code.
Regards,
Alexey
Logged
Regards,
Alexey Polyakov
http://www.elecard.com
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
PC Products
-----------------------------
=> Consumer Players
===> Elecard MPEG Player
===> Elecard DVD Player
=> Consumer Converters
===> Elecard Converter Studio
===> Elecard Converter Studio AVC HD Edition
===> Elecard Converter Studio AVC HD Edition Mac
===> Elecard XMuxer Lite
=> Professional Converters
===> Elecard Converter Studio Pro
===> Elecard Converter Studio Pro HD
===> Elecard XMuxer Pro
=> Elecard PlugIns
===> Elecard AVC PlugIn
===> Elecard AVC PlugIn for ProgDVB
===> Elecard AVC Streaming PlugIn for WMP
===> Elecard MPEG2 Decoder and Streaming PlugIn for WMP
===> Adobe Premiere AVC HD Compiler Plugin
===> Adobe Premiere AVC HD Import & Player Plugin
=> Professional Analyzing tools
===> Elecard StreamEye Studio
=====> Elecard YUV Viewer
=====> Elecard Video QuEst
=====> Elecard Stream Analyzer
=====> Elecard Buffer Analizer
=====> Elecard StreamEye
===> Elecard Stream Inspector
-----------------------------
PC Development Kits
-----------------------------
=> Media Foundation SDK
=> PC SDK
===> Elecard SDK
=====> Elecard Codec SDK G4
=====> Elecard Codec .NET SDK G4
=====> Elecard Video Transform SDK
===> Elecard SRD
=====> Elecard IPTV Player SRD
=====> Elecard XMuxer SRD
=> Components
===> AVC/H.264 solutions
===> Elecard AAC coding technology
===> MPEG-4 Intermedia Format (MP4)
===> OneClick Compressor
===> Audio Decoders
===> Audio Encoders
===> Networking components
===> Muxers-Demuxers
===> Transform components
===> Various components
===> Video Decoders
=====> Elecard Decoder Pack
===> Video Encoders
=====> Elecard MPEG-2 Encoder Pack
-----------------------------
DVB/IPTV Products
-----------------------------
=> DVB/IPTV Servers
===> CodecWorks
===> V-Cinema TimeShift Server
===> V-Cinema VoD Server
===> XWorks IP-DVB Encapsulator
===> XWorks DVB IP Gateway, XWorks RD
===> IPTV solutions
=> DVB/IPTV STB's
===> STB 820
===> STB 83x/84x
===> STB 610
===> Upcoming HD STB
===> Поддержка пользователей
=====> Прошивки
=====> Подключение
=====> Настройки(Settings)
=====> Интернет-вещание(IPTV)
=====> Vidimax(VoD)
=====> Видео по запросу(VoD)
=====> Интернет-услуги(Web Serviсes)
=====> Интернет-телефония(VoIP)
=====> USB
=====> Оплата товаров и уcлуг
=====> Пожелания и предложения
=====> Другое
-----------------------------
Embedded & Hardware Products
-----------------------------
=> PC Cards
===> HD SDI Capture and Playback boards (HD Access 2.0)
===> Deblock IP Core
===> DVB-ASI TX\RX
===> IP Cores under development
=> DSP Codec SDK
===> SC-1500
===> NXP Codecs
=====> PNX 1500/1700
=======> Audio Decoders
=======> Audio Encoders
=======> Muxer/Demuxer PS/TS
=======> Video Decoders
=======> Video Encoders
=====> PNX 8950
=======> AAC Decoder
=======> AVC Decoder
=======> MPEG Audio Decoder
=======> MPEG-2 Decoder
===> TI DaVinci Codecs
=====> DaVinci 6446
=======> AAC Decoder
=======> AVC Decoder
=======> AVC Encoder
=====> DaVinci 6467
=======> AVC HD Decoder
=======> AVC HD Encoder
-----------------------------
Solveig Multimedia
-----------------------------
=> Solveig Multimedia products
-----------------------------
Student developments
-----------------------------
=> Student developments
-----------------------------
Bug Reports
-----------------------------
=> Bugs Found / Bugs Fixed
-----------------------------
General
-----------------------------
=> General Discussions
=> Questions and Answers
=> Your Elecard Wishlist
-----------------------------
Website
-----------------------------
=> Site Comments and Feedback
Loading...