Elecard
June 20, 2013, 01:31:18 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: MpegPushDemuxer output pin  (Read 808 times)
JonathanCKinser
Guest
« on: February 26, 2012, 11:38:35 am »

Hi,

I'm building graph dynamically from application and it should look like this:
NWSourcePlus->EInfTee->MPEGPushDemux->ElecardAVC and AAC respectively.
First, im initializing graph and all other filters, than via queryinterface init FileSource filter and load stream.
Than i add all filters to graph, get pins from filesource and inftee and connect them.
Get pins from demuxer and inftee and connect them. Than, i tried to renderFile to get output pins for push demuxer, but that fails.

How do i get output pins for demuxer ?
« Last Edit: March 03, 2012, 07:56:59 am by danil.savin » Logged
OlgaM
Elecard Team
*
Posts: 47


View Profile
« Reply #1 on: March 02, 2012, 12:12:05 am »

Hello JonathanCKinser,

The Demultiplexer can`t create output pins in the following case:
1) when there is no data from source filter( there is no data by your url)
2) you use firewall on your machine
3) There is Video Renderer in the graph at the moment of pin's creation.

You should do following:
1) First: configure and add NWSource-Plus filter to graph
2) Then add InfTee filter to the graph and connect Source to InfTee
3) add Push Demultiplexer and connect InfTee to Demultiplexer
4) run graph and wait while Demultiplexer will create output pins
5) render output pins or add decoders and renderers fillters and connect them
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!