mediaelement

Transparent avi in WPF MediaElement

I have a mediaelement tag in my wpf-window. It's playing a simple animation, similar to the windows xp copy file dialog. The animation has an ugly pink background #FF00FF, that I want to be transparent. I've tried setting the color in the OpacityMask attribute, but the color remains. Any ideas on how I can remove the color from the vide...

Silverlight 3: problem with mediaelement

Hello I have 2 wmv files, the MediaPlayer plays both of them. But when I try to set up the Source for MediaElement only 1 of them was played. I would like to test this file to understand what wrong with it. How can I do find the reason? It's on the XP machine. I have loaded it and checked using silverlight.live and it's playing here. So ...

System.OutOfMemoryException when using MediaElement in Silverlight 3

Hi, I'm trying to build a simple Silverlight 3 MediaPlayer using the MediaElement tag: <Border Margin="8,8,0,8" Grid.Column="1" Grid.Row="1" BorderBrush="Black" BorderThickness="1" CornerRadius="7">+ <MediaElement x:Name="FighterPilot" Source="http://localhost/repository/FighterPilot.wmv" Stretch="Fill"/> </Border> This works very we...

Silverlight 3 Video Player

Hi All, I need to develop a Video Player component to consume/play publishing points (On Demand and Live) from Media Services. I use Silverlight 3. I got a prototype working with SL 3 'Media Element' control. Since the control lacks any generic media player functionality (play/pause/seek etc...) I need to develop on top of it. But my ...

silverlight range seeking

So I'm trying to use amazon and cloudfront to host my media. Unfortunately Amazon S3 does not send the correct headers like accept-ranges even though it supports range requests. As a result silverlight does not seek ahead using byte range requests. Questions: 1. What headers does silverlight require to issue byte range requests when see...

hosting silverlight media with azure

I'm considering hosting MP4s using Azure Blob storage. When azure returns a blob using a url does it include the accept-range header. Will silverlight be able to seek ahead using byte range requests on the Azure storage? ...

Why isn't WPF's MediaElement showing my DivX Video?

I have some simple WPF with a MediaElement which is, generally, working. I have some simple AVIs and WMVs which are working. I have a DivX AVI that works fine in Media Player but doesn't render at all in the WPF MediaElement control. It plays the audio fine, but graphically has zero size and doesn't render any video! I have tried using...

Silverlight MediaElement and UI Virtualization

I have an application that contains many controls on a panel, each with its own MediaElement playing video. I have been looking into the new UI Virtualization features of Silverlight 3 to improve performance when scrolling through many of these controls in a smaller view port. From my experience, it is my understanding that any time a M...

how to add custom visualization to Media Element (Windows Media Player) in WPF

Hi Team, I just came across this requirement, could find this URL is of close match but the source downloaded is corrupted. http://blogs.msdn.com/adam%5Fnathan/archive/2005/10/24/using-com-interop-to-create-a-wpf-visualization-for-windows-media-player.aspx Also how to add this visualization into Windows Media Player for playing audio f...

How to display a video stream from an IP address in a webpage?

I have been given a network IP address. In the format of http://192.168.1.15 When I enter this address into VLC Player, it streams fine. The stream itself is a DVB/MPEG TS stream transcoded to MP4. What steps do I need to take to display this in a webpage? ...

Problems with tabcontrol (Silverlight 3) with MediaElement

Hello, I have tab control. Every tab item contains MediaElement. User can download media into them independently. I notice that every time when I toggle between tabs the according mediaelement fires MediaOpen as if there is some initialization every time. It's not so good and I don't know why is it and what should be done to avoid such b...

How to play mp3 stream using MeidaElement class from WPF?

I wonder that MediaElement (from WPF) components are capable of playing and buffering mp3 streams. I need play mp3 memory stream(not mp3 file) using MediaElement of WPF ,would you please tell me how to do it . thank a lot ...

Seekbar problem in wpf media element when playing a streaming video

Hi, I'm having a problem with the mediaelement in WPF. I need to make a audio/video player that plays media from a streaming server (my streaming server) the problem is that I can't get the seek bar to work. The same video played from "c:\video.ogv" works perfect and from "http:\127.0.0.1\video.ogv" has no seek bar, the video plays fine...

asp:MediaPlayer (Silverlight) Https / http issue

Hi, we have a site (https://oursite.net) in which we display a videostream hosted on http (http://someserver.com). The site needs to be hosted on https, and we don't control the video, so I'm assuming it needs to be on http. we recently added the option to play the stream through the silverlight asp:MediaElement, which works perfectly fi...

How to play MPEG-TS (transport stream) from WPF and Silverlight

I've tried MediaElement with a .ts file - its not interested (HRESULT: 0xC00D11B1). The TS file plays with WMP no problems (Cannot seem to play it in graphedt though?) I thought MediaElement was supposed to support what WMP supported? Update: This is on Windows 7 by the way (apparently it has a slightly different media stack if that m...

Wpf Custom Media element

Hey guys I'm fairly green when it comes to wpf, so I need a little help, here is what im looking to do. I want to create a custom media element, I want to be able to load a video and play any where from 15 secs to 1 min of the video, I want to be able to dynamically set this on load up based on user settings. I'm loading tons of videos...

WPF MediaElement stops when losing visibility, override

Hey guys, I have a situation where a MediaElement may loose visibility, which cause the video to stop, I want to override this behavior and let it continue in the background. Thoughts? ...

How to disable controls in Windows Media Player in WPF

I was just wondering if there is a way to disable controls such as ctr Left/Right arrows or Alt+left/right arrows in AxWindowsMediaPlayer. I am using it in WindowsFormsHost in my WPF project. I would like to capture these controls and handle them myself. When I use this block, I don't have any way to prevent it by using e.handeld =true o...

MediaElement.position jumps with 4 seconds

Hi, The situation is as follows: I'm using Windows Media Services 9 to stream my video and I use the latest Silverlight Mediaplayer RadControl from Telerik. At the moment I'm testing it all local host and the streaming server is in the same network, so problems with bandwidth and buffering etc is not the cause. I want to skip my video f...

MediaElement fails after several plays.

Hi! I have a problem with MediaElement control. I've put six MediaElements on my form, then I start them and change played files by timer. After several times, these elements stop playing. Here is the sample XAML: <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Gri...