Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

re: MediaElement shows black screen when playing video

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 01-31-2006   #1 (permalink)
Mark Lawrence
Guest


 

re: MediaElement shows black screen when playing video

Avalon will only run hardware accelerated with a very new graphics driver, I am pretty sure that June 05 is too old. I am unsure of what date avalon uses to decide to run accelerated.

Currently media will not run at all unless the rest of avalon can be hardware accelerated.

We are aware of the issues surrounding having to use the latest drivers with media and are looking at potential solutions to the problem, including allowing Media to play without any graphics acceleration at all. This will naturally impact performance and fidelity, however.

Thanks

Mark Lawrence


-----Original Message-----
From: saucyjack
Posted At: Wednesday, January 18, 2006 4:07 PM
Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: MediaElement shows black screen when playing video
Subject: MediaElement shows black screen when playing video


Our application needs to render a small video player inside a WinFX
window. MediaElement is the natural choice, but we've found that
different computers have different behaviors. For example, I have a
Dell, purchased a few months ago, that is unable to play any video or
sound rendered with MediaElement - for video, the MediaElement
rectangle is all black, and no sound plays either. This is true even
for an extremely simple XAML sample like this:

<StackPanel>
<MediaElement Source="C:\temp\halo.wmv">
</MediaElement>
<Canvas>
<MediaElement Source="C:\temp\Lit Up.mp3"/>
</Canvas>
</StackPanel>


1) I have the latest Intel graphics driver (dated 6/05)
2) I have the latest DirectX (dated 12/05)
3) Any WMV or AVI file I play works fine in Windows Media Player v10
4) The media files are not marked as "Blocked" in the Properties
tab

There are numerous reports on the newsgroups with people having video
card problems with WinFX, but to my knowledge no video card
requirements have yet been published by Microsoft. In my case I have
very recent hardware so that shouldn't be the problem in any case.

Has anybody else seen this behavior? If so how did you solve it?
-Jack


P.S. For further information, a snippet of my DXDiag output is below:

------------------
System Information
------------------
Time of this report: 1/18/2006, 15:43:56
Machine name: LOKI
Operating System: Windows XP Home Edition (5.1, Build 2600) Service
Pack 2 (2600.xpsp_sp2_gdr.050301-1519)
Language: English (Regional Setting: English)
System Manufacturer: Dell Computer Corporation
System Model: Dimension 2400
BIOS: Phoenix ROM BIOS PLUS Version 1.10 A05
Processor: Intel(R) Celeron(R) CPU 2.40GHz
Memory: 1022MB RAM
Page File: 423MB used, 885MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 9.0c (4.09.0000.0904)
DX Setup Parameters: Not found
DxDiag Version: 5.03.2600.2180 32bit Unicode

------------
DxDiag Notes
------------
DirectX Files Tab: The file d3d9d.dll is a debug version, which will
run slower than the retail version.
Display Tab 1: No problems found.
Sound Tab 1: No problems found.
Sound Tab 2: No problems found.
Music Tab: No problems found.
Input Tab: No problems found.
Network Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D: 0/4 (retail)
DirectDraw: 0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay: 0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow: 0/6 (retail)

---------------
Display Devices
---------------
Card name: Intel(R) 82845G/GL/GE/PE/GV Graphics Controller
Manufacturer: Intel Corporation
Chip type: Intel(R) 82845G Graphics Controller
DAC type: Internal
Device Key: Enum\PCI\VEN_8086&DEV_2562&SUBSYS_01601028&REV_01
Display Memory: 64.0 MB
Current Mode: 1280 x 1024 (32 bit) (60Hz)
Monitor: Default Monitor
Monitor Max Res:
Driver Name: ialmrnt5.dll
Driver Version: 6.14.0010.4342 (English)
DDI Version: 9 (or higher)
Driver Attributes: Final Retail
Driver Date/Size: 6/21/2005 17:04:48, 38016 bytes
WHQL Logo'd: Yes
WHQL Date Stamp: n/a
VDD: n/a
Mini VDD: ialmnt5.sys
Mini VDD Date: 6/21/2005 17:12:34, 807998 bytes
Device Identifier: {D7B78E66-6622-11CF-6E63-6A21A0C2CB35}
Vendor ID: 0x8086
Device ID: 0x2562
SubSys ID: 0x01601028
Revision ID: 0x0001
Revision ID: 0x0001
Video Accel:
Deinterlace Caps: n/a
Registry: OK
DDraw Status: Enabled
D3D Status: Enabled
AGP Status: Not Available
DDraw Test Result: Not run
D3D7 Test Result: Not run
D3D8 Test Result: Not run
D3D9 Test Result: Not run

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Black screen while playing video or games Verdugo Vista General 0 06-28-2008 06:05 PM
media screen is black when playing videos ania425 Vista music pictures video 1 02-08-2008 03:48 AM
MediaElement is playing half of what WMP can Piotrekk Avalon 2 10-29-2007 08:50 AM
MediaElement shows black screen when playing video saucyjack Avalon 1 01-31-2006 07:00 AM
XAML <MediaElement> playing videos on 64-bit Windows XP, using December 2005 CTP Joubert Nel Avalon 1 01-31-2006 06:59 AM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51