By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,336 Members | 1,048 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,336 IT Pros & Developers. It's quick & easy.

MediaElement video quality worse than WMP

P: n/a
Hi

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()
{
InitializeComponent();
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.