Elecard
May 20, 2013, 07:28:10 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: Problems Connecting Demux to my Source Filter (Push)  (Read 4251 times)
ThomasF
Newbie
*
Posts: 2


View Profile
« on: December 02, 2008, 01:57:38 am »

Hi.. Smiley

I am evaluating your Decoder and Demuxer for possible usage in a commercial product..

The problem I have is that I can't seem to connect my TS Source to your Demux, although all steps return positve feedback.

My Pin is derived from CBaseOutputPin and exposes the single MediaType: MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_TRANSPORT

When I connect the following happens:
Connecting Filters: Upstream=BCR Downstream=Elecard MPEG Demultiplexer
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[ OK ] CheckMedia()
[ OK ] DecideBufferSize()
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
Cannot connect Filters: 0x80004005

So the Graph is obviously enumerating your Input formats and tries it on my Source.. Eventually we agree on the Format.. Wink and we agree on a Buffer (4 Buffer each containing 44 TS Packets (maybe too small? cranking that up to 300 doesn't change anything, though).

And then it fails to connect.. Sad I stepped through the process starting at DecideAllocator() (because I thought that it may be a problem that my filter is not providing an allocator, however, your filter provides one and it looks all good there)..

The less sophisticated MsDemux connects fine, btw..  (with [ OK ] GetMediaType(); [ OK ] CheckMedia(); [ OK ] DecideBufferSize()).. (it's just that it doesn't seem to give me any output, hence the try to yours)..

Do you have any ideas?
Cheers,
--
Thomas
Logged
Polyakov
Newbie
*
Posts: 77


View Profile WWW
« Reply #1 on: January 04, 2009, 12:06:59 am »

Hi, Thomas.

did your TS Source operate in async mode?

regards,
Alexey
Logged

Regards,
Alexey Polyakov
http://www.elecard.com
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!