View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
pdanpdan
3rd November 2008, 06:39
With version 849, XP SP3, ATI HD2400 - Catalyst 8.10, some VC1 samples work with DXVA. H264 don't work on EVR, only on VMR/Overlay
Kado
3rd November 2008, 14:02
To properly check DXVA capabilities use DXVA Checker (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker). You can choose the video renderer in the latest version.
mariner
3rd November 2008, 15:44
Greetings Casimir, thanks for including H264 DXVA support for interlaced video. Initial testing on HD3650 based XP3 system seems encouraging. Here are some issues to be resolved:
1. 60i and 50i stuff are displayed at 30 and 25fps instead of 60 and 50 fps in VMR9.
2. System crashed when used with Sonic and Arcsoft Mpeg Demux.
Any plans for interlaced VC1 DXVA support?
Both H264 and VC1 DXVA decoders seem to exhibit a rather strange behavior when using EVR (sometimes with VMR9): some 24p progressive stuff are displayed at 48fps. It seems that the decoder raised the interlace flag when it shouldn't under certain conditions. Appreciate if you could look into that as well.
Thanks for the good work and best regards.
clsid
3rd November 2008, 15:51
@Casimir
There were some improvements to ffdshow recently with regard to H.264 and compatibility with various splitters. It would be worthwhile to implement those in MPCVideoDec.
ikarad
3rd November 2008, 17:18
Casimir666, have you expect to release a mpchomecinema version with full support of PG subtitle because it doesn't work very well (some subtitles aren't displayed with some anime blu-ray) even with mpchomecinema
v855?
STaRGaZeR
3rd November 2008, 17:56
1. 60i and 50i stuff are displayed at 30 and 25fps instead of 60 and 50 fps in VMR9.
PAFF deinterlacing works great.
However MBAFF deinterlacing is broken now like mariner says. 25i samples play at 25fps instead of the usual 50. This didn't happen before.
MatMaul
3rd November 2008, 18:15
there is a patch in the ffmpeg-devel ml written by haruhiko which allows libavcodec to parse SEI and retrieve interlaced and field order from SEI. the patch have been reviewed and will hit the trunk very soon.
I think it can be useful to correctly detect interlaced frame and correct field order, especially in MBAFF streams.
EDIT : I just removed the level 4.1 check for nvidia cards as they now support level 5.1 streams.
if you encounter a problem, please update your driver before report it ;)
Klaus_1250
3rd November 2008, 18:33
First of all, big thanks to all the devs for MPC-HC. It is by far my favorite media-player.
However, I'm having a lot of issues with DXVA and h264 files in the current unstable series. MPC-HC chooses to use DXVA for a lot of files which cannot be played using DXVA (green flashing screen, black screen, stalling picture, etc). I cannot seem to find where to configure this behavior (choosing DXVA vs. software).
How do I fix this?
Sidenote: The same problematic h264 files do play when using Cyberlink h264 with DXVA (using DXVA Checker 1.10), though they have some artifacts.
On other issue is in the shaders. Some work a-ok, but some produce a corrupt picture or crash MPC-HC. I have no clue as to what the underlying cause is. There is no issues in games and some shaders do work without a problem, so I think it might be a software issue in MPC-HC with my specific fgx-card.
BTW: setup is P4 3.2 HT, 2GB RAM, Sapphire HD3850 512MB AGP (10.077), XP SP3 fully patched, DirectX 08/2008, Catalyst 8.10
clsid
3rd November 2008, 20:55
You can disable the internal DXVA decoder in Options -> Internal Filters.
Klaus_1250
3rd November 2008, 22:44
Thanx clsid, but if I do that, I disabled DXVA for all h264 files. And that is a no go, P4 3.2 isn't powerfull enough to do h264 HDTV (which is why I got the HD3850 AGP). I was thinking more in the line of changing some numbers "somewhere" by which MPC-HC decides to use either DXVA or ffmpeg for h264.
clsid
3rd November 2008, 23:20
It is not possible to tweak those decision making parameters.
Shinigami-Sama
3rd November 2008, 23:27
It is not possible to tweak those decision making parameters.
could there be a keyboard shortcut or a checkbox to disable dxva just for the session? rather than unchecking it in the filters and restarting it?
haxor2099
3rd November 2008, 23:54
Klaus: why you dont have 2 different copies of the program?
or have VCL for the non DXVA files, and mpchc for your DXVA.
In other things.. I tried the jiterring test and its insane how much the line bounces, constantly zigzag.
while in direct3dmode its almosta perfect flat line and absolutely no tearing.
Chumbo
4th November 2008, 02:40
First of all, big thanks to all the devs for MPC-HC. It is by far my favorite media-player.
However, I'm having a lot of issues with DXVA and h264 files in the current unstable series. MPC-HC chooses to use DXVA for a lot of files which cannot be played using DXVA (green flashing screen, black screen, stalling picture, etc). I cannot seem to find where to configure this behavior (choosing DXVA vs. software).
How do I fix this?
Sidenote: The same problematic h264 files do play when using Cyberlink h264 with DXVA (using DXVA Checker 1.10), though they have some artifacts.
On other issue is in the shaders. Some work a-ok, but some produce a corrupt picture or crash MPC-HC. I have no clue as to what the underlying cause is. There is no issues in games and some shaders do work without a problem, so I think it might be a software issue in MPC-HC with my specific fgx-card.
BTW: setup is P4 3.2 HT, 2GB RAM, Sapphire HD3850 512MB AGP (10.077), XP SP3 fully patched, DirectX 08/2008, Catalyst 8.10
I have the same card but from HIS Digital. When I've had issues, it's always been the video driver. You'll probably need to go up or down versions until you find the stable one that works for everything.
I had the same issues with PowerDVD with AVC blu-ray titles and green artifacting. There's also an AGP hotfix for this card that you should consider getting. It's available directly from AMD/ATI from their support web site.
http://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&questionID=31542
After I applied the 8.9 hotfix, I've had no issues at all. I think the current version is 8.10. Good luck.
deadfones
4th November 2008, 04:13
I'd like the ability to assign keyboard shortcuts to the Override Aspect Ratio options (default, 4:3, 16:9). I end up using them a lot and they're kinda buried in the menu.
Thanks.
littleD
4th November 2008, 07:58
I'd like the ability to assign keyboard shortcuts to the Override Aspect Ratio options (default, 4:3, 16:9). I end up using them a lot and they're kinda buried in the menu.
Thanks.
Just use Numpad arrows for streching (default is #5)
Leak
4th November 2008, 09:39
Just use Numpad arrows for streching (default is #5)
That's exchanging "getting it right in a single keypress" with "trial and error"...
QuePaso
4th November 2008, 09:40
any update for G45 support? I tried the newest build but no HA yet.
littleD
4th November 2008, 12:17
If you keep MPC windowed, you can see (after pressing #5) at the bottom actual AR. So its hard to get in error here. 4:3 is ~ 1.33 and 16:9 is ~ 1.78.
JohnLai
4th November 2008, 12:43
O.o seem like the changelog at sourceforge mentions something about nvidia card supporting L5.1 by matmaul. Is it really work?
romanesque
4th November 2008, 13:00
On some mkv's at the bottom of the video the image is distorted:
http://i33.tinypic.com/2ecglg9.jpg
http://i36.tinypic.com/2diismo.jpg
I get this distorsion only when I play the video with mpchc. Is there any way to correct this?
Thank you. :)
Kado
4th November 2008, 13:02
O.o seem like the changelog at sourceforge mentions something about nvidia card supporting L5.1 by matmaul. Is it really work?
Although we would still be limited by the reference frames right?
clsid
4th November 2008, 14:03
Although we would still be limited by the reference frames right?
Yes, still 11 refs from what I can see in the code.
Casimir666
4th November 2008, 14:27
Any plans for interlaced VC1 DXVA support?
It's on todo list.
@Casimir
There were some improvements to ffdshow recently with regard to H.264 and compatibility with various splitters. It would be worthwhile to implement those in MPCVideoDec.
I know we have a chat with Haruhiko and CinCh on this subject. My patch is not finished yet.
there is a patch in the ffmpeg-devel ml written by haruhiko which allows libavcodec to parse SEI and retrieve interlaced and field order from SEI. the patch have been reviewed and will hit the trunk very soon.
I think it can be useful to correctly detect interlaced frame and correct field order, especially in MBAFF streams.
I have an 1080i sample rip on a french TNT-HD which is not de-interlace by mpc decoder. The reason for this is that the "field_pic_flag" is not set in the H264 bitstream. Matmaul do you think that :
- frame_mbs_only_flag can be used to detect interlaced video (1=progressive, 0=interlaced)
- what should i do when field_pic_flag is not set? Suppose it's a top field first?
any update for G45 support? I tried the newest build but no HA yet.
Intel management didn't want to release their specifications because they fears lawsuit about content management (seen answer #15) :
http://software.intel.com/en-us/forums/developing-software-for-intel-graphics-technology/topic/60703
MatMaul
4th November 2008, 15:51
I have an 1080i sample rip on a french TNT-HD which is not de-interlace by mpc decoder. The reason for this is that the "field_pic_flag" is not set in the H264 bitstream. Matmaul do you think that :
- frame_mbs_only_flag can be used to detect interlaced video (1=progressive, 0=interlaced)
according to specs 0 means progressive or interlaced so it is not very reliable
- what should i do when field_pic_flag is not set? Suppose it's a top field first?
I think most of MBAFF live streams rely on the SEI layer to signal interlaced content (I haven't check it yet) so the easiest way is I think :
- apply this patch (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081104/00e8d6f5/attachment.obj) to ffmpeg (or wait a day or two that the patch hit the trunk)
- pass SEI packets to the ffmpeg h264 decoder
- read the libavcodec flags interlaced_frame and top_field_first (and I think it should be done for all the codecs decoded by ffmpeg, not only h264)
Keiyakusha
4th November 2008, 15:55
On some mkv's at the bottom of the video the image is distorted:
http://i33.tinypic.com/2ecglg9.jpg
http://i36.tinypic.com/2diismo.jpg
I get this distorsion only when I play the video with mpchc. Is there any way to correct this?
Thank you. :)
I also have something like that:
http://funkyimg.com/t2/512/949/snapshot20081104164927.jpg (http://funkyimg.com/viewer.php?img=/2/512/949/snapshot20081104164927.jpg)
Maybe its because source resolution is even non MOD8? It is 864x434
JohnLai
4th November 2008, 16:08
I just tested svn 857 from alexin. It appears that L5.1 is not really well decoded, green line and messy image.
http://img367.imageshack.us/img367/9231/testingfz0.th.jpg (http://img367.imageshack.us/my.php?image=testingfz0.jpg)http://img367.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
8500GT driver=177.92
Latest DirectX runtime installed
Setting used to encode: cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=5000 / ratetol=2.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
Progressive
frame rate=29.970fps
1920x1080
Main@L5.1
Keiyakusha
4th November 2008, 16:23
Also, player is not fit video well, when chacked "AutoZoom: Auto Fit"
UPD: only when DXVA is used.
UPD2: tested on level 3.1 stream
http://funkyimg.com/t2/767/463/xxx.jpg (http://funkyimg.com/viewer.php?img=/2/767/463/xxx.jpg)
MatMaul
4th November 2008, 16:23
as I said...
just removed the level 4.1 check for nvidia cards as they now support level 5.1 streams.
if you encounter a problem, please update your driver before report it ;)
this is only supported since drivers 178.24
if it doesn't work with those new drivers, please report again.
Jeff Flowerday
4th November 2008, 16:42
So is there any combination of external splitter and decoder that works with m2ts containers containing lpcm audio? I'm pulling my hair out here trying every combination known to man.
I don't want to install Nero showtime if I don't have to...
JohnLai
4th November 2008, 16:46
OK, after updating the driver,it's works. So, ATI card can't decode L5.1, isn't it? Man, I wish the ref frame problem is fixed by the nvidia.
ash925
4th November 2008, 16:47
I am using MPC-HC for HW acceleration.The problem I have is that some files like GOD OF WAR 3 Teaser in 1080p run smoothly on my HD4850.But files encoded by me in megui DXVA EXTRA Quality profile run with frames dropped but when I play through graphstudio using the same MPC video decoder the files run just fine.
Any help is appreciated.
ikarad
4th November 2008, 16:58
It's on todo list.
I know we have a chat with Haruhiko and CinCh on this subject. My patch is not finished yet.
I have an 1080i sample rip on a french TNT-HD which is not de-interlace by mpc decoder. The reason for this is that the "field_pic_flag" is not set in the H264 bitstream. Matmaul do you think that :
- frame_mbs_only_flag can be used to detect interlaced video (1=progressive, 0=interlaced)
- what should i do when field_pic_flag is not set? Suppose it's a top field first?
Intel management didn't want to release their specifications because they fears lawsuit about content management (seen answer #15) :
http://software.intel.com/en-us/forums/developing-software-for-intel-graphics-technology/topic/60703
Casimir one question: are you french?
clsid
4th November 2008, 17:13
as I said...
this is only supported since drivers 178.24
if it doesn't work with those new drivers, please report again.
Just an idea...
Is it possible to determine the driver version in MPC? If so, it might be a good idea to use that info to our advantage. For example:
* Limit to level 4.1 if vendor == NVIDIA && driver_version < 178.24
* Disable DXVA if driver_version equals some_known_buggy_version
This would be particularly useful for the average user (typically non Doom9 members). Those will not update their drivers at a regular basis, or at all for that matter. MPC is the first thing they will blame if things don't work. So making it n00b-proof is alwyas useful.
rack04
4th November 2008, 18:13
So is there any combination of external splitter and decoder that works with m2ts containers containing lpcm audio? I'm pulling my hair out here trying every combination known to man.
I don't want to install Nero showtime if I don't have to...
Does it not work with MPC-HC internal M2TS splitter?
alexins
4th November 2008, 18:54
Media Player Classic HomeCinema (x86), svn 857 (http://www.xvidvideo.ru/content/view/358/1/)
Media Player Classic HomeCinema (x64), svn 857 (http://www.xvidvideo.ru/content/view/359/1/)
Supported languages: CN, CZ, DE, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA
Changes log (http://www.xvidvideo.ru/content/view/7/17/)
nvidia cards now support level 5.1 streams
Casimir666
4th November 2008, 18:56
Just an idea...
Is it possible to determine the driver version in MPC? If so, it might be a good idea to use that info to our advantage. For example:
* Limit to level 4.1 if vendor == NVIDIA && driver_version < 178.24
* Disable DXVA if driver_version equals some_known_buggy_version
This would be particularly useful for the average user (typically non Doom9 members). Those will not update their drivers at a regular basis, or at all for that matter. MPC is the first thing they will blame if things don't work. So making it n00b-proof is alwyas useful.
Yes : D3DADAPTER_IDENTIFIER9 have a DriverVersion field ;-)
Jeff Flowerday
4th November 2008, 18:57
Does it not work with MPC-HC internal M2TS splitter?
It works within MPC-HC itself. But I'm trying to get the external filters working so I can use Media Portal for me media center needs.
If I use mpegsplitter.ax externally with dtsac3source.ax or ffdshow's audio decoder I get nothing. I'm probably doing something wrong, I'm a bit of a noob at this.
MatMaul
4th November 2008, 18:59
Yes : D3DADAPTER_IDENTIFIER9 have a DriverVersion field ;-)
I need someone with a nvidia card to launch this little program before and after the driver update :
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/test_driver_version.exe
rack04
4th November 2008, 20:12
I need someone with a nvidia card to launch this little program before and after the driver update :
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/test_driver_version.exe
Which update? 178.24 -> 180.43 or pre 178.24 -> 178.24?
73ChargerFan
4th November 2008, 20:16
Before update, currently using 175.19:
VendorId : 4318
DeviceId : 1024
Description : NVIDIA GeForce 8600 GTS
DriverVersion : 14
DriverSubVersion : 11
After, upgraded to 178.24:
VendorId : 4318
DeviceId : 1024
Description : NVIDIA GeForce 8600 GTS
DriverVersion : 14
DriverSubVersion : 11
... The file version shown in the nvidia control panel is 6.14.11.7824
MatMaul
4th November 2008, 20:44
ok I just update my little program.
can you launch it again please ?
if someone have an older rev than the current (178.24) please report it too thanks.
MatMaul
5th November 2008, 01:13
here is a version with driver version detection, please test it.
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_nvidia_test.zip
Aleksoid1978
5th November 2008, 01:35
to clsid - in your most recent change projects, you are STRONGLY wrong.
You should include ALL extensions, supported by MPC - and then you can disable the code unnecessary expansion and build a library.
You need change code.
alexins
5th November 2008, 01:49
I am agreeable with you Aleksoid1978. User must have the complete set of expansions for the association with different type files…
73ChargerFan
5th November 2008, 02:40
here is a version with driver version detection, please test it. It doesn't crash. How else can I test it? Play a L5.1 h264 video, change drivers and try again?
73ChargerFan
5th November 2008, 03:17
ok I just update my little program.
can you launch it again please ?
VendorId : 4318
DeviceId : 1024
Description : NVIDIA GeForce 8600 GTS
DriverVersion : 6
14
11
7824
marc99
5th November 2008, 07:49
here is a version with driver version detection, please test it.
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_nvidia_test.zip
Vista SP1 64bit 180.43 beta
VendorId : 4318
DeviceId : 1026
Description : NVIDIA GeForce 8600 GT
DriverVersion : 7
15
11
8043
OK (DXVA work with 5.1)
MatMaul
5th November 2008, 10:12
anyone with vista and last stable drivers (178.24) can launch my test program and report please ?
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_nvidia_test.zip
ranpha
5th November 2008, 11:09
anyone with vista and last stable drivers (178.24) can launch my test program and report please ?
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_nvidia_test.zip
Vista x64 SP1 + nVidia 9800GT + 178.24 drivers
test_driver_version output
VendorId : 4318
DeviceId : 1541
Description : NVIDIA GeForce 9800 GT
DriverVersion : 7
15
11
7824
DXVA usable with High@L5.1 videos using the mplayerc_nvidia_test.zip executable above.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.