Elecard
May 22, 2013, 06:03:26 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
) >
IModuleConfig (MPEG-4 Encoder)
Pages: [
1
]
« previous
next »
Print
Author
Topic: IModuleConfig (MPEG-4 Encoder) (Read 6078 times)
DavidSchumaker
Newbie
Posts: 3
IModuleConfig (MPEG-4 Encoder)
«
on:
March 06, 2006, 08:59:43 am »
I am having difficulties using the IModuleConfig interface with the mpeg-4 encoder.
I can create the interface (see code below) and all calls return without error. However, when I commit the changes and atempt to write them to the registry, the expected values are not written. Instead, default values are written. This does not happen with all of the avalable parameters. For example I can set "EM4VE_OutFps", but I cannot set "EM4VE_ChangeFps".
Any thoughts?
//--------
IModuleConfig * pConfig = NULL;
hr = m_pElecardEncoder->QueryInterface(IID_IModuleConfig, (void**)&pConfig));
CComBSTR bx(_T("Software\\test"));
hr = pConfig->LoadFromRegistry(0x80000002, bx, TRUE);
var.ChangeType(VT_INT);
var = 0;
hr = pConfig->SetValue(&EM4VE_Profile ,&var);
var = 4;
hr = pConfig->SetValue(&EM4VE_Level ,&var);
var.iVal = 1;
hr = pConfig->SetValue(&EM4VE_RateControlMode ,&var);
var = m_dwCaptureRate;
hr = pConfig->SetValue(&EMC_GOP_LENGTH ,&var);
var.ChangeType(VT_BOOL);
var.boolVal = 1;
hr = pConfig->SetValue(&EM4VE_ChangeFps ,&var);
var.ChangeType(VT_BSTR);
hr = pConfig->CommitChanges(&var);
hr = pConfig->SaveToRegistry(0x80000002, bx,TRUE);
Logged
Ivan Naletov
Newbie
Posts: 1
IModuleConfig (MPEG-4 Encoder)
«
Reply #1 on:
March 13, 2006, 06:07:05 am »
Hi, David,
First of all, sorry for replying you so late.
The code is perfect, excepting some inaccuracies and the filter error.
As for EM4VE_ChangeFps parameter: The encoder input pin may be disconnected and when you are trying to change the output frame rate, the filter can not support it. Please check it.
The highest value of the parameter “Level” with Simple Profile is 3. The filter adjust this value when calling CommitChanges() method.
The error occurs when SetValue() is called using the identifier with EM4VE_ prefix as the parameter if there is similar parameter but with EMC_ refix. You can fix it using identifiers with EMC_prefix.
You are welcome to contact me and I will be glad to supply you with the new fixed encoder version, though you can choose to wait for the release of this software.
Best Regards,
Ivan Naletov.
Logged
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...