Elecard
September 02, 2010, 01:14:53 pm
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
>
Components
>
Muxers-Demuxers
(Moderator:
amm
) >
Push Demultiplexer pinout creation delay
Pages: [
1
]
« previous
next »
Print
Author
Topic: Push Demultiplexer pinout creation delay (Read 1192 times)
gil
Newbie
Posts: 5
Push Demultiplexer pinout creation delay
«
on:
June 09, 2010, 06:23:34 am »
Hi,
I've encountered the next problem: When I create a new pin to the Push Demultiplexer I can't connect it to the Decoder, but when I don't create a new pin, run the graph and wait long enough an output pin is created automatically and everything works just fine.
The problem is that while it takes only one or two seconds for the GraphStudio to create the output pin, it takes between 30 and 180 seconds (approximately) for my program to create the same pin. It is important to emphasize that when my program finally manages to create the pin everything works just fine.
Is there something I can do to accelerate the pin creation?
my waiting loop looks something like this:
QzCComPtr<IMediaControl> pMC;
QzCComPtr<IMediaEvent> pME;
QzCComPtr<IBaseFilter> pDemultiplexer;
.
.
.
pMC->Run();
long evCode=0;
pME->WaitForCompletion(INFINITE, &evCode);
int num;
do
{
num = NumOfDemuxPins();
} while (num<2);
pMC->Stop();
.
.
.
int NumOfDemuxPins()
{
QzCComPtr<IEnumPins> pEP;
int counter=0;
pDemultiplexer->EnumPins(&pEP);
QzCComPtr<IPin> pPin;
while (pEP->Next(1, &pPin, NULL)==S_OK)
{
counter++;
pPin.Release();
}
return counter;
}
Logged
OlgaM
Newbie
Posts: 25
Re: Push Demultiplexer pinout creation delay
«
Reply #1 on:
August 09, 2010, 04:54:41 am »
If you create Video Pin and want to connect it to Elecard Video Decoder then you should set 'majortype' and 'sub type' in MediaType of this pin. This information should be enough to connect it to Elecard Video Decoder.
If you create Audio Pin and want to connect it to Elecard Video Decoder then you should set 'majortype' and 'sub type' and 'WAVEFORMATEX' in MediaType of this pin.
Please note that you should map these pins to PIDs of streams that you are expecting to receive. In other case Demultiplxer will create it's own pins with right PIDs and your pins will not be used.
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 Tools
=====> Elecard StreamEye
=====> Elecard Buffer Analizer
=====> Elecard Stream Analyzer
=====> Elecard Video QuEst
=====> Elecard YUV Viewer
===> Elecard StreamEye Studio
===> 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
===> IPTV solutions
=====> XWorks DVB IP Gateway, XWorks RD
=====> XWorks IP-DVB Encapsulator
=====> CodecWorks
=====> V-Cinema VoD Server
=====> V-Cinema TimeShift Server
=> DVB/IPTV STB's
===> STB 820
===> STB 610
===> Upcoming HD STB
-----------------------------
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...