Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Video distoration problem with VMR9.

30 views
Skip to first unread message

john

unread,
Nov 20, 2009, 9:08:54 AM11/20/09
to
Hi all,

I have a strange problem on my system. I am creating a filter graph in
graph edit for displaying the live video from webcam. The filter graph
contains video source filter which suuport RGB24 and I420 capture
format, avi dec, color space converter and VMR9. The video is
displaying fine when I run the graph But if I open a directshow
application i.e. window media player, and play any media file and
close the application The video is being distorted in the graphedit.
But if I use VMR7 and repeat the same sequence, the issue is not
coming.

Please anyone can give some sugesstion.

Thanks.

somebody

unread,
Nov 20, 2009, 10:36:20 AM11/20/09
to
Well, the problem could be incorrect color format (RGB, YUV...), or wrong
pitch/stride.


Alessandro Angeli

unread,
Nov 20, 2009, 12:17:59 PM11/20/09
to
From: "john"

> displaying fine when I run the graph But if I open a
> directshow application i.e. window media player, and play
> any media file and close the application The video is
> being distorted in the graphedit. But if I use VMR7 and
> repeat the same sequence, the issue is not coming.

I suggest you define "distorted".


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


john

unread,
Nov 21, 2009, 12:14:33 AM11/21/09
to
On Nov 20, 10:17 pm, "Alessandro Angeli" <nob...@nowhere.in.the.net>
wrote:


Sorry But I am not able to define the exact problem in video.
Therefore I used "distorted".

You can find the images related to this issue in below link.

http://img517.imageshack.us/gal.php?g=95116383.png

Please go through the link and suggest me what's going on my system.

Thanks.

Tim Roberts

unread,
Nov 23, 2009, 12:53:03 AM11/23/09
to
john <yoges...@gmail.com> wrote:
>
>Sorry But I am not able to define the exact problem in video.
>Therefore I used "distorted".
>
>You can find the images related to this issue in below link.
>
>http://img517.imageshack.us/gal.php?g=95116383.png
>
>Please go through the link and suggest me what's going on my system.

It is hard to explain that as anything other than a display driver bug.
Does this happen on any other computer?
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

john

unread,
Nov 23, 2009, 1:11:30 AM11/23/09
to
On Nov 23, 10:53 am, Tim Roberts <t...@probo.com> wrote:

> john <yogesh....@gmail.com> wrote:
>
> >Sorry But I am not able to define the exact problem in video.
> >Therefore I used "distorted".
>
> >You can find the images related to this issue in below link.
>
> >http://img517.imageshack.us/gal.php?g=95116383.png
>
> >Please go through the link and suggest me what's going on my system.
>
> It is hard to explain that as anything other than a display driver bug.
> Does this happen on any other computer?
> --
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.

Yes, I am getting this issue on other system also and with VMR9 only.

john

unread,
Nov 23, 2009, 1:34:08 AM11/23/09
to
> Yes, I am getting this issue on other system also and with VMR9 only.- Hide quoted text -
>
> - Show quoted text -

The display driver is VIA/S3G UniChrome Pro IGP on both sytems I am
getting this issue.

john

unread,
Nov 23, 2009, 7:02:33 AM11/23/09
to
> getting this issue.- Hide quoted text -

>
> - Show quoted text -

I observed that this issue is coming only with VMR9 and colorspace
converter.

somebody

unread,
Nov 23, 2009, 8:52:18 AM11/23/09
to
>I observed that this issue is coming only with VMR9 and colorspace
>converter.

It looks like the colorspace converter has problem with a pitch. The data
itself looks okay, but it's not being copied to the right location in
memory.


john

unread,
Nov 24, 2009, 12:13:59 AM11/24/09
to

Ok, If the colorspace converter has problem with pitch, then is there
any solution?

I am also able to reproduce this issue without colorspace converter.
In that case the source filter format is YUY2 and renderer filter is
VMR9.

Tim Roberts

unread,
Nov 25, 2009, 1:22:52 AM11/25/09
to
john <yoges...@gmail.com> wrote:

Is the camera driver one that you wrote? When the capture format is YUV
and the graphics card supports a YUV overlay, VMR sends a format change to
the capture driver just after the graph starts with the actual width of the
overlay surface (which is usually a power of two). The capture driver is
REQUIRED to accept that format change. VMR does not check the error code;
it always assumes that the change was accepted. If the capture driver
isn't prepared for it, you get exactly the kind of distortion you see.

john

unread,
Nov 25, 2009, 1:42:37 AM11/25/09
to
On Nov 25, 11:22 am, Tim Roberts <t...@probo.com> wrote:
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.

No, I didn't write the camera driver. I am using the microsoft lifecam
and
its driver or default USB driver(in YUV capture foramt case).
If its a capture driver problem then it should also come with VMR7.

Alessandro Angeli

unread,
Nov 25, 2009, 11:34:58 AM11/25/09
to
From: "john"

> If its a capture driver problem then it should also come
> with VMR7.

Not necessarily: the VMR7 uses DirectDraw7 while the VMR9
uses Direct3D9 and the h/w might have different stride
requirements for the two.

john

unread,
Dec 22, 2009, 6:49:58 AM12/22/09
to
On Nov 25, 9:34 pm, "Alessandro Angeli" <nob...@nowhere.in.the.net>
wrote:

I have checked for stride change condition But I observed that
VMR9 is not sending the extended stride request to upstream
filter.

I am trying to use VMR7 but it is not suitable for our application.
So I need to fix this issue with VMR9.

I am getting the issue more than 6 xp machine having the same
graphics deriver i.e. VIA/S3G UniChrome Pro IGP. I am getting
the same issue with media player classic on those system.

Please can anyone tell me the exact reason of this problem and
how I can fix this problem with VMR9.

Any suggestion would be apperciated.

john

unread,
Dec 23, 2009, 2:38:22 AM12/23/09
to

I observed that the issue is coming when the VMR9 is connected
to upstream filter with RGB32 format. No video distoration issue,
If the VMR9 is connected with YUY2 format.

Any suggestion on this information.

0 new messages