About video quality in SDL & a phenomenon in my player

Hi All,
I’m developing a media player using ffmpeg & SDL. Now it works, but the
quality of the video looks not very good.
I compared my player with MPlayer, and find that my player’s video looks
more gray (or white). Also I find a tricky phenomenon that when my player &
MPlayer are playing files simultaneously and their video areas are partly
overlapped, my player’s video is sometimes mixed with MPlayer’s video in the
overlapped area.
Do you know why there’s such phenomenon, and how to resolve it? Also, I
think the raw data decoded by my player & MPlayer should be almost the same,
the quality of video should be caused by SDL. Do you have any idea how to
improve that?
My OS is Windows XP. And I guess it may be related to DirectX.

Your help is very appreciated!-- 

Mine

? Sat, 3 Nov 2007 23:59:55 +0800
Mine ??:

Hi All,
I’m developing a media player using ffmpeg & SDL. Now it works,
but the quality of the video looks not very good.
I compared my player with MPlayer, and find that my player’s
video looks more gray (or white). Also I find a tricky phenomenon
that when my player & MPlayer are playing files simultaneously and
their video areas are partly overlapped, my player’s video is
sometimes mixed with MPlayer’s video in the overlapped area.
Do you know why there’s such phenomenon, and how to resolve it?
Also, I think the raw data decoded by my player & MPlayer should be
almost the same, the quality of video should be caused by SDL. Do you
have any idea how to improve that?
My OS is Windows XP. And I guess it may be related to DirectX.

Your help is very appreciated!

I want to develope a music mplayer with ffmpeg & SDL , can you give me
some advice.

Or may I see your code?

Regards!

/*
*Welcome to cocobear’s home!
*http://cocobear.cn
*/