View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
ooferomen
6th July 2008, 06:04
i know i asked a few weeks ago but is there any chance for mpeg2 bitstream decoding?
mpeg2 bitstream decoding
Why? Have you sample that can't be decoded in software?
dZeus
6th July 2008, 09:26
Why? Have you sample that can't be decoded in software?
if MPEG2 and MPEG4ASP decoding can be offloaded to the UVD (not bitstream, but AMD/ATI claims it can offload parts), then an old P3-450 can be used as a video playback box if you plug in a Radeon 2400HD. That'd be nice, as those boxes are practically free if you check what people throw away these days.
Of course the need for MPEG2 offloading is not as big, as I think that the MS Mpeg2 decoder in Vista already uses MC or IDCT, and otherwise you can use PowerDVD's filter. I don't know how to achieve MPEG4 ASP offloading though.
Hi rica!
I have constructed two schedules with usage of standalone filters mpc-hc v.629 (http://www.xvidvideo.ru/content/view/59/2/). The first uses only standalone filters. The second uses standalone filters and plus Haali Media Splitter.
Only standalone filters:
http://i050.radikal.ru/0807/a1/75c8f36e322ct.jpg (http://radikal.ru/F/i050.radikal.ru/0807/a1/75c8f36e322c.png.html)
Thanks alexins,
but whenever i register standalone mpc decoder i got this:
http://img76.imageshack.us/img76/5879/alexins2rs5.th.jpg (http://img76.imageshack.us/my.php?image=alexins2rs5.jpg)
After unregistering mpc decoder everything turns to normal.
If i register just matroska splitter, mpc matroska source doesn't open "trial.ts" which you used.
http://img71.imageshack.us/img71/5117/alexins3ss3.th.jpg (http://img71.imageshack.us/my.php?image=alexins3ss3.jpg)
If i use "file source-async" this time mpc matroska splitter doesn't agree with the source filter.
ohropax
6th July 2008, 11:01
@Charger73Fan
@Kado
Actually i have found an output configuration that does give me (DXVA, no tearing, proper colors, proper scaling algorithm): enabling 'lock back-buffer' in WMR9 renderless did the trick.
However a new 'problem' appeared; CPU usage has gone up to 20-25% even with DXVA being active, where the previous configuration (overlay renderer) consumed only 2-4%. Hmm.
@developers
Consequently i agree to what Jong hast pointed out already: Please fix the outstanding bugs in the different output modules (clipping, noise lines, aspect ratio, etc) and give a proper hints concerning which output module/renderer to use.
And maybe even fix the 'remove-tearing' full-screen issue which i have been mocking about, because the current implementation that lacks the ability to display menues is quite useless: I use Haali splitter for MKV demuxing because when using the internal demuxer, ALL audio tracks are being decoded concurrently, whereas Haali allows me to explicitly select an audio track from the source file. Which in fact i cannot because of the missing menues...
Best regards,
Marcus
I agree. The OSD is getting much better. I was very pleased to see that Play/Pause, time remaining etc. all now appear on screen even in D3D mode. However, MPC-HC could do with taking a leaf from TheaterTek's book and allow access to almost the full range of "right-click" options via the OSD - to allow selection with remote control of audio stream, subtitles, chapters etc. A thorough "smartening up", especially of the D3D time bar, would be good also, so it looks like the quality AV appliance it is becoming.
@ohropax
Overlay Mixer is the fastest renderer available. Try different surfaces for the VMR9 Renderless renderer.
For me Haali renderer was the best but since it lacks DXVA support I use EVR custom presenter.
ohropax
6th July 2008, 14:04
@Kado
I've tried all available VMR9 Renderless surfaces but only the Direct3D surface allows the PixelShader to work (which i need for color correction).
I've tried EVR custom but DXVA does not work then.
You are using xp right? If so that's normal. Also make sure you are not forcing anti aliasing or anistropic filtering in the nvida/ati control panel.
ohropax
6th July 2008, 14:28
Yes, i am using XP SP3 and have taken a look into the NVidia control panel just in case.
Is there an alternative to pixelshader-based color correction?
ooferomen
6th July 2008, 15:37
Why? Have you sample that can't be decoded in software?
HD mpeg2 still takes a good amount of cpu power. even 720p recorded from TV takes 75% cpu usage on my 2.25ghz athlon64.
i was just hoping the existing code for h264/vc1 bitstreaming could be altered to support mpeg2 as well.
Mercury_22
6th July 2008, 16:05
With svn 631 finally this problem (http://forum.doom9.org/showthread.php?p=1147058#post1147058) has been solved :
EVR Custom + Microsoft MPEG-2 + Intel Video crashing MPC-HC when playing some mpeg2 / vob files
Thanks ! :thanks:
Please don't revert this :) !
Can anyone hint how to get this great application working again? I've been trying out different builds for about two months. After build number 523, dxva stopped working. All I get is a black window, mpc-hc thinks it's playing, but the video just stays at 00:00.
Builds prior to 522 work just fine, but 523-> are all black. I'm using a nvidia 8400M GS graphics adapter, Vista (32bit) and have tried half a dozen different drivers versions, with EVR and EVR custom. I also tried the standalone mpc decoder, but no luck.
Any info will be appreciated :)
clsid
6th July 2008, 17:03
I'm scratching my head now. I do have CoreAVC too, but if I don't uncheck the internal DXVA filter, internal FFmpeg is used, even if that is unchecked! I don't get it.
Perhaps you also have the standalone filter installed?
clsid
6th July 2008, 17:25
Revision 632 causes a crash on H.264 playback.
Casimir666
6th July 2008, 17:49
Revision 632 causes a crash on H.264 playback.
All all sample of just one? Can you send me the minidump?
Can anyone hint how to get this great application working again? I've been trying out different builds for about two months. After build number 523, dxva stopped working. All I get is a black window, mpc-hc thinks it's playing, but the video just stays at 00:00.
Builds prior to 522 work just fine, but 523-> are all black. I'm using a nvidia 8400M GS graphics adapter, Vista (32bit) and have tried half a dozen different drivers versions, with EVR and EVR custom. I also tried the standalone mpc decoder, but no luck.
Any info will be appreciated :)
true, after r523 DXVA was broken on Nvidia cards due to a change in the code, but this was reversed since r602 , so any version after this one works again. try the last version Alexins compiled: http://xvidvideo.ru/
clsid
6th July 2008, 18:10
Only on two files from my sample collection. Both created with an old version of x264 (maybe just coincidence). I'll send you a small file.
No minidump was generated. Just "Application Error : The instruction at "0x006101cf" referenced memory at "0x00000034". The memory could not be "read"."
Perhaps you also have the standalone filter installed?
No, that's not it, never even downloaded it ever.
Also, I tried the reverse, unckeck the DXVA and leave the FFMpeg checked. Tried with a DXVA compatible file. Expected result would be that FFmpeg would used to decode, instead DXVA is used! This is definitely a bug.
true, after r523 DXVA was broken on Nvidia cards due to a change in the code, but this was reversed since r602 , so any version after this one works again. try the last version Alexins compiled: http://xvidvideo.ru/
Thank you for replying.
I've been going through the 6xx builds as well (604, 613, 622, 629, 631 among others). The latest I tried was 631, and still the same problem occurs. At first I was just going to wait out the problem, but since it happened with the official version released in the end of june, I thought I should check what might be wrong.
sKUBAniec
6th July 2008, 19:29
hi guys
I have this problem.
When i play movie with dxva, movie info: "Codec profile: High@L4.1 and Codec_Settings_RefFrames: 4" i have great picture, everythings fine but when movie has "Codec_Settings_RefFrames: 5" i have artifacts:
http://img395.imageshack.us/img395/8063/snapshot20080706202320fy0.th.jpg (http://img395.imageshack.us/my.php?image=snapshot20080706202320fy0.jpg)
so... where is the catch?
i have 8600gt, win vista, dxva works fine, latest ForceWare.
Problem appears in every MPC HC revision. Also with codec from Cyberlink.
Its very annoying ;/
alexins
6th July 2008, 19:45
del...
sKUBAniec
6th July 2008, 20:04
Media Player Classic HomeCinema (x86), svn 634 (http://www.xvidvideo.ru/content/view/64/1/)
something wrong with this version. dxva works but picture is shitty, so many artifacts. all movies has errors.
alexins
6th July 2008, 20:12
something wrong with this version. dxva works but picture is shitty, so many artifacts. all movies has errors.
will be soon finished 637 assembling in me mpc-hc 634 it worked well
alexins,
with my nvidia 8600GTS,
the pictures i get like these as you gave before:
http://forum.doom9.org/showthread.php?p=1155896#post1155896
alexins
6th July 2008, 20:41
Media Player Classic HomeCinema (x86), svn 637 (http://www.xvidvideo.ru/content/view/65/1/)
Media Player Classic HomeCinema (x64), svn 637 (http://www.xvidvideo.ru/content/view/66/1/)
FIXED : crash on some h264 introduce in rev 632; FIXED : Save image/thumbnail not working with EVR (bug #2010681); updated ffmpeg
something wrong with this version. dxva works but picture is shitty, so many artifacts. all movies has errors.
Confirmed, it also crash with some files.
Corruption still exists with my haruhi video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html), but no longer crashes with the other file that was crashing mpc, also it displays proper image.
Media Player Classic HomeCinema (x86), svn 637 (http://www.xvidvideo.ru/content/view/65/1/)
Media Player Classic HomeCinema (x64), svn 637 (http://www.xvidvideo.ru/content/view/66/1/)
FIXED : crash on some h264 introduce in rev 632; FIXED : Save image/thumbnail not working with EVR (bug #2010681); updated ffmpeg
Sorry, but nothing has changed in my case.
Media Player Classic HomeCinema (x86), svn 637 (http://www.xvidvideo.ru/content/view/65/1/)
Media Player Classic HomeCinema (x64), svn 637 (http://www.xvidvideo.ru/content/view/66/1/)
i get picture corruption with every H264 file i have on my PC
my 8600GTS appears correctly listed, Nvidia Geforce 8600GTS(4318)
Casimir666
6th July 2008, 21:22
Sorry, but nothing has changed in my case.
If you open "MPC Video Decoder" property page, what is written for "Video card" (name of the card and number beween brackets) ?
Thank you for replying.
I've been going through the 6xx builds as well (604, 613, 622, 629, 631 among others). The latest I tried was 631, and still the same problem occurs. At first I was just going to wait out the problem, but since it happened with the official version released in the end of june, I thought I should check what might be wrong.
i have a 8600, but i dont think that there would be a problem with the 8400. so the reason has to be somewhere else. if you use r522 will it work?
marc99
6th July 2008, 21:40
The same, picture corruption with every H264 file.
Vista SP1, 8600GT (4318), MPC-HC 637
If you open "MPC Video Decoder" property page, what is written for "Video card" (name of the card and number beween brackets) ?
Here it is:
http://img55.imageshack.us/img55/8862/cashimir666yw9.th.jpg (http://img55.imageshack.us/my.php?image=cashimir666yw9.jpg)
And the pin info:
Filter : MPC Video Decoder - CLSID : {008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}
- Connected to:
CLSID: {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
Filter: C:\Users\rica\Desktop\New Folder\yani.ts
Pin: Video
- Connection media type:
Video: MPEG4 Video (H264) 1920x1080 23.98fps
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435641-0000-0010-8000-00AA00389B71}
formattype: FORMAT_MPEG2_VIDEO {E06D80E3-DB46-11CF-B4D1-00805F6CBBEA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 297
VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083
VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 1920
dwPictAspectRatioY: 1080
dwControlFlags: 0x00000000
dwReserved2: 0x00000000
MPEG2VIDEOINFO:
dwStartTimeCode: 0
cbSequenceHeader: 165
dwProfile: 0x00000064
dwLevel: 0x00000029
dwFlags: 0x00000004
BITMAPINFOHEADER:
biSize: 40
biWidth: 1920
biHeight: 1080
biPlanes: 0
biBitCount: 0
biCompression: AVC1
biSizeImage: 0
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ...........8...
0040: 00 00 00 00 00 00 00 00 28 00 00 00 80 07 00 00 ........(......
0050: 38 04 00 00 00 00 00 00 41 56 43 31 00 00 00 00 8.......AVC1....
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070: 00 00 00 00 a5 00 00 00 64 00 00 00 29 00 00 00 .......d...)...
0080: 04 00 00 00|00 34 27 64 00 29 ac 7b 01 e0 08 9f .....4'd.){..
0090: 97 01 c8 00 00 9c 68 00 1d 4c 07 03 00 00 3b 20 ...h..L....;
00a0: b8 00 03 93 87 40 e5 c6 06 00 00 75 ce 30 00 07 ..@...u0..
00b0: 27 0e 81 cb 87 2c 22 11 45 80 00 6d 28 ea 80 ef '.ˇ,".E.m(
00c0: 39 54 c7 30 c1 74 98 a3 44 92 1a 1e 0e 87 03 41 9T0tD....A
00d0: 38 48 50 b0 2b 03 68 0b f2 b4 d7 a7 a1 42 dd 23 8HP+.h.קBİ#
00e0: 1d e2 85 04 02 22 c5 c8 41 51 27 28 c1 43 88 11 ..."AQ'(C.
00f0: 12 2c 82 93 62 82 06 09 c2 42 02 61 21 50 77 10 .,b..B.a!Pw.
0100: a4 29 0c 59 08 56 88 06 40 32 ba 0d 03 e0 7a 1b ).Y.V.@2..z.
0110: c0 cc 02 d8 05 c0 0a b0 16 60 75 86 81 e0 0a a1 ....`u.
0120: 00 2a 40 82 1d 47 10 11 12 .*@.G...
Casimir666
6th July 2008, 21:57
Here it is:
http://img55.imageshack.us/img55/8862/cashimir666yw9.th.jpg (http://img55.imageshack.us/my.php?image=cashimir666yw9.jpg)
If you open "MPC Video Decoder" property page, what is written for "Video card" (name of the card and number beween brackets) ?
Thank you for replying.
I've been going through the 6xx builds as well (604, 613, 622, 629, 631 among others). The latest I tried was 631, and still the same problem occurs. At first I was just going to wait out the problem, but since it happened with the official version released in the end of june, I thought I should check what might be wrong.
Oups sorry i quoted the wrong post :stupid: The question about the video dec property was for Suti
Oups sorry i quoted the wrong post :stupid: The question about the video dec property was for Suti
Do not mind, at least we know anymore that 8600GT(GTS) -4318- doesn't like mpc-hc for the time being :)
KyleK
6th July 2008, 22:08
I've encountered a strange problem which I can't solve.
I've been using MPC-HC for a while now. H.264 playback using DXVA worked fine with my HD3870 and EVR custom presenter.
I configured MPC to store settings in an .ini file.
This week I did a clean install of Windows Vista (old one was borked), and now H.264 movies won't play at all if I select either EVR or EVR custom presenter as output.
When opening a file, MPC immediately changes to the "Stopped" state, without displaying a single frame of the movie. Hitting the play button on the OSD has no effect, neither does using the keyboard. It simply doesn't do anything.
It works fine with VMR9 and Haali's Video Renderer, but of course those don't make use of DXVA.
Any idea what might be causing this? Is there a way to test EVR output with another tool? I'm at a loss here.
I've encountered a strange problem which I can't solve.
I've been using MPC-HC for a while now. H.264 playback using DXVA worked fine with my HD3870 and EVR custom presenter.
I configured MPC to store settings in an .ini file.
This week I did a clean install of Windows Vista (old one was borked), and now H.264 movies won't play at all if I select either EVR or EVR custom presenter as output.
When opening a file, MPC immediately changes to the "Stopped" state, without displaying a single frame of the movie. Hitting the play button on the OSD has no effect, neither does using the keyboard. It simply doesn't do anything.
It works fine with VMR9 and Haali's Video Renderer, but of course those don't make use of DXVA.
Any idea what might be causing this? Is there a way to test EVR output with another tool? I'm at a loss here.
Use this (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker) and drag and drop a video to check if dxva works, you may have to resize the windows size to see the rest of the stuff. May be driver related.
i have a 8600, but i dont think that there would be a problem with the 8400. so the reason has to be somewhere else. if you use r522 will it work?
After testing some builds, it seems r514 is the latest working version with DXVA for me. 522 works, but just because it doesn't enable DXVA. Anything newer than r522, and playback won't start, just black screen and 00:00 (unless I disable DXVA, but that is pointless).
Oups sorry i quoted the wrong post :stupid: The question about the video dec property was for Suti
This is what my decoder properties page says:
http://koti.mbnet.fi/zuti/8400.png
KyleK
6th July 2008, 23:16
Use this (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker) and drag and drop a video to check if dxva works, you may have to resize the windows size to see the rest of the stuff. May be driver related.
Here's a screenshot of the result:
http://img301.imageshack.us/img301/9585/clip000js7.th.jpg (http://img301.imageshack.us/img301/9585/clip000js7.jpg)
Dragging a H.264 file (.mkv) to the program prompted me to use ffdshow, which I ok'ed. But it shows it as "unsupported".
I'm using the latest ATi Catalyst driver 8.6 and I'm pretty sure I had this one on my previous Vista installation as well.
Here's a screenshot of the result:
http://img301.imageshack.us/img301/9585/clip000js7.th.jpg (http://img301.imageshack.usmy.php?image=clip000js7.jpg)
Dragging a H.264 file (.mkv) to the program prompted me to use ffdshow, which I ok'ed. But it shows it as "unsupported".
I'm using the latest ATi Catalyst driver 8.6 and I'm pretty sure I had this one on my previous Vista installation as well.
Your url link doesn't work.
Your url link doesn't work.
http://img301.imageshack.us/img301/9585/clip000js7.th.jpg (http://img301.imageshack.us/my.php?image=clip000js7.jpg)
maybe a Vista without netFramework 3.0 ?
Aleksoid1978
7th July 2008, 00:27
Picture corruption with every H264 file with DXVA, without DXVA - all fine, no artefact.
Vista SP1 x64, 8800GT (4318), MPC-HC 637
But all fine playback with MPC-HC 631
KyleK
7th July 2008, 00:50
Fixed the link: http://img301.imageshack.us/img301/9585/clip000js7.jpg
Every .NET framework from 1.0 to 3.5 is installed.
@KyleK
Install the stand alone filters in system32 folder but just "mpcvideodec.ax" from rev 629 (http://www.xvidvideo.ru/content/view/59/2/) and register it then use the program again to see the results, something like this (http://pwp.netcabo.pt/kado/dxva_mpc_sf_h.jpg). Right click near the red dxva and use the apropriate renderer, dxva1=vmr9/7 and dxva2=evr.
@KyleK
Install the stand alone filters in system32 folder but just "mpcvideodec.ax" from rev 629 (http://www.xvidvideo.ru/content/view/59/2/) and register it then use the program again to see the results, something like this (http://pwp.netcabo.pt/kado/dxva_mpc_sf_h.jpg). Right click near the red dxva and use the apropriate renderer, dxva1=vmr9/7 and dxva2=evr.
@suti: you could try the same thing with DXVAChecker: http://bluesky23.hp.infoseek.co.jp/#DXVAChecker , as you already have mpcvideodec.ax registered (verify which version you have, you can simply change the version by overwriting mpcvideodec.ax ). if DXVA works even with standalone filter r629 then its some setting in MPC maybe
neoufo51
7th July 2008, 03:28
This FLV of the Pixar short, "Presto" makes MPC-HC crash big time as soon as it attempts to play it.
http://rapidshare.com/files/127596625/Pixar_s_Presto_short_HD.flv
Tested with r637.
EDIT: It also makes the stable r604 release crash too :(
[-aRcTiC-]
7th July 2008, 03:34
Any help with my earlier post?
http://forum.doom9.org/showpost.php?p=1155350&postcount=2965
DXVA works in vista x86 but not in xp x64? i had xp sp3 x86 before i installed 64bit and that worked.. :(
73ChargerFan
7th July 2008, 04:21
:helpful:
I think a lot of the recent traffic in this thread is due to people jumping onto the latest build version, but those are coming out too fast. Perhaps a rc should be released and tested. I've got movies that worked that now causing mpc-hc to crash.
Maybe a test suite could be made, like videos of different types, and then after a quick run through the playlist, it exits, the .ini file is changed to the next one (to test the next renderer, etc.), and so forth. I think it would require someone to watch it.
@clsid:
regarding the selection between DXVA or internal FFmpeg, I discovered that it works OK with rev604, but not on the newer revisions where you attempted to seperate the functionality. I guess some work is needed to separate the DXVA completely from the FFmpeg decoder.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.