469,616 Members | 1,676 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,616 developers. It's quick & easy.

MediaElement video quality worse than WMP


I have a little problem. Having small mavie.avi ( divx compression )
i've noticed that candle fire on movie.avi in windows media player is
displayed properly but in my mediaelement candle fire in focal point
is black.
Same problem is few seconds later with regular lamp ( only the little
elements on lamp ). I have tried different codecs. Really don't know
what could be the problem. The video also seem to have small lags.

Here is my code:

public partial class Window1 : System.Windows.Window
delegate void myDeleg();

public Window1()
this.Dispatcher.BeginInvoke(System.Windows.Threadi ng.DispatcherPriority.Render,
new myDeleg(asd));

private void asd()
MediaElement me = new MediaElement();
me.Source = new Uri(@"C:\myUsers\pkolodzi\movie.avi");

VisualBrush vb = new VisualBrush(me);
vb.Stretch = Stretch.Uniform;
rect.Fill = vb;


I would be very grateful for help.
Piotr Kolodziej

Sep 28 '07 #1
0 1252

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by jen_designs | last post: by
1 post views Thread by David Buckley | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.