473,809 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MediaElement video quality worse than WMP

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()
{
InitializeCompo nent();
this.Dispatcher .BeginInvoke(Sy stem.Windows.Th reading.Dispatc herPriority.Ren der,
new myDeleg(asd));
}

private void asd()
{
MediaElement me = new MediaElement();
me.Source = new Uri(@"C:\myUser s\pkolodzi\movi e.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 1418

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5468
by: jen_designs | last post by:
How do I create custom controls for an embeded video. I need stop, play, pause, etc. Any thoughts?
0
325
by: Piotrekk | last post by:
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. Sometimes I see such a problems when I use wrong codecs to decode the movie. Same problem is few seconds later with regular lamp ( only the little elements on lamp ). I have tried different codecs so i think that's not...
9
2113
by: GloStix | last post by:
Okay, when I click the link it dissapears and makes a white space underneath it but the space is clickable. so when you click the space, the link actually works Used Firefox 3.0 RC2 for this. OS X 10.5 http://www.screencast.com/t/wgztYUrdN (Video) http://www.jameswmann.com/music.htm (The actual page) HTML
1
3692
by: cbmeeks | last post by:
I just want to play some m4a files I have. Some, are DRM-locked down crap that I got from iTunes (never again will I buy DRM music). But, I have some .m4a files that are DRM free (from Amazon). They play just fine in Windows Media Player 11 and even my Sony PSP. I have created a MediaElement control in a WPF app and when I put the source as a mp3 file, it works. But when I switch to a m4a file, I get nothing.
1
2809
by: David Buckley | last post by:
Does anyone have any example code of converting any type of video to flash video at all using asp.net 2.0 c# web applications. God Bless
5
3369
by: sonu | last post by:
hey good morning ...... how to convert a video file in .flv format in php for linux hosting......is there any package whis provide this facility . Can i use ffmpeg for linux hosting project.......... plz help me.. thanks & regards Prabhat
0
3053
by: Petra | last post by:
Hello, I have a strange problem with Pause and Resume using a MediaElement.Clock. I implemented a MediaElement to display a video and implemented a GUI around it to make the typical Start/Stop/Pause/Resume functionality available. For one particular video I work with the clock.Controller.Resume()
3
8657
by: pavanip | last post by:
Hi, I am new to Silverlight application.I want to display video using Mediaelement tag and I used the below code to play video. <Canvas> <MediaElement x:Name="mPlayer" Width="640" Height="480" Source="a_video.avi"/> <Button x:Name="bPlay" Background="Green" Width="100" Height="45" Canvas.Left="8" Canvas.Top="497" Content="Play" /> <Button x:Name="bPause" Background="Yellow" Width="100" Height="45"...
0
1340
AmberJain
by: AmberJain | last post by:
Hello, There are loads of (one to one) FREE video chat services if you search Google. But I could not find the one which should fit my needs. My requirements: 1. I'm on a limited broadband connection (2.5GB upload/download per month including night unlimited from 2 am to 8am). So the video that is sent over the wires should be of small size and low quality. 2. I use *BSD (PCBSD and OpenBSD to be specific). I may also consider using some...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10637
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10379
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.