Click here to Skip to main content
15,915,032 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have got own video switcher filter. It has 20 input pins and 1 output pin. Every second only one input pin is active. Data from active input pin goes to output pin and next filter input pin.
When i connect this filter after MPEG2 Decoder there is no image drawn by render filter. Without my filter there is an image.
Graph consist of DVD Navigator, MPEG2 Decoder, my video switcher filter, VMR9, AC3 Audio Decoder, my audio effect filter, my audio switcher filter, sound render.
There is sound, but no video.
My video switcher filter receives only some media samples from the begining of the DVD.

Why does conflict MPEG2 Decoder and my video switcher filter?

Video samples comes with stange time stamp: allmost all media samples have got same time of begining, some of then have got negative time length.

What is the DVD time model?

I tryed to put my video switcher before MPEG2 Decoder when playing single vob file from DVD. There is video and sound.

My video switcher filter works well with ordinary video files.
It is based on CBaseFilter and CBaseInputPin, CBaseOutputPin.

One more question is "How does the render understend describer DVD time stamps?"


I have added ffdshow raw video filter after my video switcher filter before VMR9 and have connected them.
After that DVD plays well.
Posted
Updated 18-Mar-11 2:09am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900