- I dont know which Mediatype the Elecard Decoder wants.
- Connecting e.g. a Video Renderer to the same Filter with Raw Output
set is working (I used the VCAM-Filter as base for testing)
- Setting Mpeg2 does not work.
For the wanted Output I set the following:
-----
Major: Video
SubTYpe: MPEG2_VIDEO
FormatType: MPEG2VIDEO
-----
I have the Values from an example Graphs Property Page of a filter which
can connect to the Elecard Decoder.
Maybe it could help to write a custom filter to put between the working
one and the Decoder to get the values I need for my filter.
But I do not know which values have to be checked.
Christoph
Have a look at this discussion :
http://www.tek-tips.com/viewthread.cfm?qid=200306&page=13
> Maybe it could help to write a custom filter to put
> between the working one and the Decoder to get the values
> I need for my filter.
Build a working graph in GraphEdit, then save the graph to a
GRF file and dump the GRF file using my sample GRF parser
(see the link below). You will need to add code to fully
dump the connection media type's format block.
Otherwise, use MediaPlayerClassic to get a full media type
dump in the filter's property page (not like the useless
partial dump in GraphEdit).
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm
Can you send me a compiled Version of the parser? I cant manage to
compile the code (I tried it with devcpp and VS2005).
> Otherwise, use MediaPlayerClassic to get a full media type
> dump in the filter's property page (not like the useless
> partial dump in GraphEdit).
Where can I find this option?
I tried to look with MPC at the Elecard Properties and cant find any
other properties than those i already know.
> Can you send me a compiled Version of the parser? I cant
> manage to compile the code (I tried it with devcpp and
> VS2005).
In VS2005, create a new project for an empty Win32 console
application, add a new CPP file to it and paste the whole
code in there and it compiles without errors. If it doesn't
on your machine, you should post the errors you get, since I
can't read minds.
>> Otherwise, use MediaPlayerClassic to get a full media
>> type dump in the filter's property page (not like the
>> useless partial dump in GraphEdit).
>
> Where can I find this option?
> I tried to look with MPC at the Elecard Properties and
> cant find any other properties than those i already know.
I don't know what "properties" you are referring to, I just
wrote "media type dump". GE only prints a useless subset of
the media type, while MPC prints it fully and I can't
imagine how you can miss it.
> I don't know what "properties" you are referring to, I just
> wrote "media type dump". GE only prints a useless subset of
> the media type, while MPC prints it fully and I can't
> imagine how you can miss it.
Than I was on the right way.