Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any success rendering HDVideo with WPF MediaElement? Is there a better video player option for WPF? [closed]

I'm using a WPF MediaElement to render HD video in an application. When the size of the MediaElement gets over about 300 units square the video stutters and the computer is nearly totally unresponsive. I need to render the video full screen.

Has anybody had success rendering fullscreen video using the WPF MediaElement?

What were the processor/video specs of the computer used?

Is there a better way to get video displayed in a WPF application?

EDIT:
Timothy: I need to be able to put text or other elements over the graphic, so I think that hosting WMP is out.

Currently I am not doing any layers nor opacity/transparency.

I'm running in XP currently. I hope to be able to run the application in both Vista and XP.

Mike: I was reading some of Jeremiah Morrill's posts on the MSDN forums prior to coming back and checking on this post. I found my way to some of his libraries and will be testing them out. Thanks.

UPDATE:

It appears that the problem is on my development machine. On the test machine things are running fine. My development machine is dual headed w/ 2 1650x1080 CRTs with a ATI Radon X1650 series card with 256MB of memory.

When using the WPF perfmon tool it indicates that everything is hardware rendered, but the performance sucks. For now I'm just going to go with it as I know the code runs fine on the machines we distribute it with. At some point in the future I'll try to dig into why it performs so poorly on my development machine. (all machines are XP).

Thanks for all the suggestions.

like image 698
Charley Rathkopf Avatar asked Sep 29 '08 19:09

Charley Rathkopf


1 Answers

Jeremiah Morrill has recently released a specialized WPF library that supports displaying HD Media (among other features)

like image 134
Michael Brown Avatar answered Oct 15 '22 03:10

Michael Brown