View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
pirlouy
25th January 2010, 19:19
So would it make sense that leaving Aero enabled removed the tearing?
Yeah, Aero removes Tearing, but it causes serious lags (judder) especially in dual screen and refresh rate < 60 Hz.
X-Dron
25th January 2010, 19:40
XP-SP3 GeForce8300 Integrated
MPC-HC 1559
DXVA Checker, DXVA Mpeg2 exists.
http://s002.radikal.ru/i197/1001/bc/2fef11b05f0at.jpg (http://radikal.ru/F/s002.radikal.ru/i197/1001/bc/2fef11b05f0a.png.html)
Render, DXVA is connected.
http://s002.radikal.ru/i198/1001/64/c7fff501fafdt.jpg (http://radikal.ru/F/s002.radikal.ru/i198/1001/64/c7fff501fafd.png.html)
And video is so
http://s56.radikal.ru/i152/1001/18/f4c2a201f6a8t.jpg (http://radikal.ru/F/s56.radikal.ru/i152/1001/18/f4c2a201f6a8.jpg.html)
:(
somy
25th January 2010, 19:46
Yeah, Aero removes Tearing, but it causes serious lags (judder) especially in dual screen and refresh rate < 60 Hz.
Hi, I have serious judder when I use dual screen and set refresh rate of one screen to be 23.976 hz(to match 24P), and only sync renderer removes judder (not completely). Could that be because of Aero? I thought in the beginning it was the problem of MadVR and or the new release of MPC-HC......
Could you please provide some more details on this issue? Thank you very much!!
iSeries
25th January 2010, 21:10
Hi,
Previously, using MadVR with my TV refresh rate set to 23.976hz on a ATI 4550 (with Windows 7) I was getting stuttery playback with Aero enabled, and tearing about a fifth of the way up from the bottom of the screen with Aero disabled.
I've just tried the latest MPC build, and using MadVR (with default settings) with Aero enabled I get smooth playback. The first few seconds are stuttery and it drops a few frames, but settles down and the rest of the playback is super smooth with no more dropped frames (with Aero disabled I still get the tearing).
Would someone be able to explain to a simpleton like me what exactly Aero does to remove the tearing? And whether something has changed with the latest MPC build to improve smoothness with Aero enabled?
FDisk80
25th January 2010, 21:39
From release 1503 this is what happen with every .avi file i try to play (with hd file image is not broken but DXVA does not work). Same result if i try to change renderer (from Sync to EVR).
The only way to solve this problem is to switch to WMR9 or downgrade to version 1489.
Windows 7, 4850, Catalyst 9.12
Any idea?
http://img199.imageshack.us/img199/6739/brokenimage.jpg
Same here.
How is this not the #1 thing to fix? :confused:
pirlouy
25th January 2010, 21:42
@X-Dron: I think your problem is glasses: you have forgotten to put your 3D glasses, that's all ! :D
@somy: I can't really say more things. I have similitudes with iSeries:
- tearing if I disable Aero (dual or mono screen, all EVR and madVR); more tearing for 24Hz, just a bottom line in 50Hz
- In 24Hz in dual screen, with Aero enable, windows Seven is... lost; cursor is really slow, and even if EVR graph could let me think it's judder free (perfect parallel lines), there are major jerks. Just try to move your mouse, if cursor is not smooth for 24Hz screen, then you'll know you can't use Aero (just right click on mpc-hc.exe and disable desktop composition in properties)
- in dual screen, 50 Hz, Aero enable, no more slowness when moving mouse, but you still have judder (not shown by EVR graph, except if you put a 30fps video, you'll see graph freezes)
- in dual screen, 50 Hz, madVr + Aero... Same behavior. Judder caused by Aero :/
- in mono screen, it seems to be ok with Aero, even in 24Hz.
In conclusion, if you use dual screen, IMO, you have to disable desktop composition (Aero) when launching MPC-HC. You'll have tearing, but we can guess it will be fix by future version of Madshi or ar-jar renderer (when they implement Direct3D)
@iSeries: I think nobody really knows exactly what Aero does, but it's sure at 100% it prevents tearing.
BDX
25th January 2010, 21:48
I think it also occurs with splash player [I only tested on W7 64-bit, (MPC-HC 32-bit in regards to my previous post)] (when you have video hardware acceleration/dxva enabled in either program).
This is now fixed in the latest version of Splash.
iSeries
25th January 2010, 21:56
@pirlouy - our experiences are not completely similar. With EVR CP or Sync Renderer and 'disable desktop composition' (i.e Aero disabled) I get perfectly smooth playback at 23.976hz with no tearing. I'm just confused as to why, with the latest MPC build, MadVR works fine with Aero enabled whereas before I was getting terrible playback.
somy
26th January 2010, 08:19
Hi,
Previously, using MadVR with my TV refresh rate set to 23.976hz on a ATI 4550 (with Windows 7) I was getting stuttery playback with Aero enabled, and tearing about a fifth of the way up from the bottom of the screen with Aero disabled.
I've just tried the latest MPC build, and using MadVR (with default settings) with Aero enabled I get smooth playback. The first few seconds are stuttery and it drops a few frames, but settles down and the rest of the playback is super smooth with no more dropped frames (with Aero disabled I still get the tearing).
Would someone be able to explain to a simpleton like me what exactly Aero does to remove the tearing? And whether something has changed with the latest MPC build to improve smoothness with Aero enabled?
My test is opposite, I have almost the same setup as yours. I use Windows 7 and ATI 4850, and recently I upgraded ATI ccc to 9.12 (thank godness, they finally fix black level issue) and MPC-HC to the newest one, but it became super stuttery, not even watchable. I have Aero enabled.
somy
26th January 2010, 08:23
@X-Dron: I think your problem is glasses: you have forgotten to put your 3D glasses, that's all ! :D
@somy: I can't really say more things. I have similitudes with iSeries:
- tearing if I disable Aero (dual or mono screen, all EVR and madVR); more tearing for 24Hz, just a bottom line in 50Hz
- In 24Hz in dual screen, with Aero enable, windows Seven is... lost; cursor is really slow, and even if EVR graph could let me think it's judder free (perfect parallel lines), there are major jerks. Just try to move your mouse, if cursor is not smooth for 24Hz screen, then you'll know you can't use Aero (just right click on mpc-hc.exe and disable desktop composition in properties)
- in dual screen, 50 Hz, Aero enable, no more slowness when moving mouse, but you still have judder (not shown by EVR graph, except if you put a 30fps video, you'll see graph freezes)
- in dual screen, 50 Hz, madVr + Aero... Same behavior. Judder caused by Aero :/
- in mono screen, it seems to be ok with Aero, even in 24Hz.
In conclusion, if you use dual screen, IMO, you have to disable desktop composition (Aero) when launching MPC-HC. You'll have tearing, but we can guess it will be fix by future version of Madshi or ar-jar renderer (when they implement Direct3D)
@iSeries: I think nobody really knows exactly what Aero does, but it's sure at 100% it prevents tearing.
I think I can't live with tearing either, so I guess I'll just to try single screen.
somy
26th January 2010, 08:27
@pirlouy - our experiences are not completely similar. With EVR CP or Sync Renderer and 'disable desktop composition' (i.e Aero disabled) I get perfectly smooth playback at 23.976hz with no tearing. I'm just confused as to why, with the latest MPC build, MadVR works fine with Aero enabled whereas before I was getting terrible playback.
Hi, iSeries, do you use dual screen setup?
In my setup I have one monitor runs at 60HZ and I play movie on my projector as 2nd monitor which runs at 23.976HZ, EVR and MadVR is completely not watchable, EVR sync looks smooth, but it occasionally produce judder and the green line is not always in parallel with red line, it goes up then goes down then up again......
Casimir666
26th January 2010, 08:54
XP-SP3 GeForce8300 Integrated
MPC-HC 1559
DXVA Checker, DXVA Mpeg2 exists.
http://s002.radikal.ru/i197/1001/bc/2fef11b05f0at.jpg (http://radikal.ru/F/s002.radikal.ru/i197/1001/bc/2fef11b05f0a.png.html)
Render, DXVA is connected.
http://s002.radikal.ru/i198/1001/64/c7fff501fafdt.jpg (http://radikal.ru/F/s002.radikal.ru/i198/1001/64/c7fff501fafd.png.html)
And video is so
http://s56.radikal.ru/i152/1001/18/f4c2a201f6a8t.jpg (http://radikal.ru/F/s56.radikal.ru/i152/1001/18/f4c2a201f6a8.jpg.html)
:(
Can you post a sample of this video?
tetsuo55
26th January 2010, 09:26
please replace liba52 and libdca with libavcodec. libavcodec always update and better them both. and add disable jitter correction like ffdshow. thank you.libavcodec does not support 24 bit decoding for these formats, this in effects mean they are clipping data.
We will gladly switch once 24bit support has been added (its not on their to-do list)
iSeries
26th January 2010, 12:11
Hi somy,
My TV is set up as a secondary display (set to 23.976hz). Using Sync Renderer with the target sync position at 30ms and 'Disable desktop composition' enabled, the green line is slightly wavy but parallel to the red line and no spikes. Playback appears to be perfectly smooth (I find watching the end credits scrolling a good test of smoothness). A longer test of MadVR with Aero enabled shows every now and then there is a stutter, but with Sync Renderer playback remains smooth throughout (please Madshi, update MadVR to fix the 24p tearing issue when Aero is disbaled :))
Have you checked your settings in CCC? Playback can be affected by some of the settings in the 3D and Video configurations.
rpm7200
26th January 2010, 12:17
@tetsuo55
well but when we select 24 bit pcm on mpc audio settings all other formats use 24 bit pcm . for example libavcodec don't support 24 bit pcm but flac audio files use 24 bit pcm. sorry my bad english.
tetsuo55
26th January 2010, 12:18
@tetsuo55
well but when we select 24 bit pcm on mpc audio settings all other formats use 24 bit pcm . for example libavcodec don't support 24 bit pcm but flac audio files use 24 bit pcm. sorry my bad english.i was talking only about libavcodec not support 24bit for the important audio formats.
somy
26th January 2010, 12:21
Hi somy,
My TV is set up as a secondary display (set to 23.976hz). Using Sync Renderer with the target sync position at 30ms and 'Disable desktop composition' enabled, the green line is slightly wavy but parallel to the red line and no spikes. Playback appears to be perfectly smooth (I find watching the end credits scrolling a good test of smoothness). A longer test of MadVR with Aero enabled shows every now and then there is a stutter, but with Sync Renderer playback remains smooth throughout (please Madshi, update MadVR to fix the 24p tearing issue when Aero is disbaled :))
Have you checked your settings in CCC? Playback can be affected by some of the settings in the 3D and Video configurations.
OK, thanks for your information.
I'm not aware that I have to set 30ms for 24P content, the default is 12ms I think. Anyway, MPC-HC now support switching refresh rate automatically, so I'd probably keep using Sync renderder for now until Madshi release new MadVR :-) Last week I also found the YUC/RGB conversion of FFDShow is not that bad comparing to MadVR, so I'll live with that for now. My experience with MadVR is completely different from yours though, in my case when Aero is enabled the playback is simply not watchable at all! I'll try to test it again with single monitor aero turned off and see how it looks tonight.
Regarding settings in CCC, what shall I do? I know it won't use avivo, so I guess the setting there won't affect the result. However I'm not sure what side effect can be introduced by 3D settings.
somy
26th January 2010, 12:23
Hi somy,
My TV is set up as a secondary display (set to 23.976hz). Using Sync Renderer with the target sync position at 30ms and 'Disable desktop composition' enabled, the green line is slightly wavy but parallel to the red line and no spikes. Playback appears to be perfectly smooth (I find watching the end credits scrolling a good test of smoothness). A longer test of MadVR with Aero enabled shows every now and then there is a stutter, but with Sync Renderer playback remains smooth throughout (please Madshi, update MadVR to fix the 24p tearing issue when Aero is disbaled :))
Have you checked your settings in CCC? Playback can be affected by some of the settings in the 3D and Video configurations.
If would be nice if you could post an image of the info graph when you have sync renderer enabled, and I'd very much like to see how it looks comparing to mine, thanks!
roozhou
26th January 2010, 13:01
@clsid
How can i build a MPCVideoDec.ax with only DXVA decoders?
leeperry
26th January 2010, 15:30
would there be any way to get the previous/next playlist hotkeys to work even if MPC is not in focus somehow? w/ the standard windows keys maybe?
clsid
26th January 2010, 16:51
@clsid
How can i build a MPCVideoDec.ax with only DXVA decoders?
By changing the settings in "internal_filter_config.h". Set all FFmpeg based decoders to 0, except the DXVA ones.
You can decrease the size of the binary by disabling the unneeded decoders in FFmpeg, by editing its "config.h". That is not (yet) done automatically. This won't make any functional difference, just matters for size.
roozhou
26th January 2010, 17:18
By changing the settings in "internal_filter_config.h". Set all FFmpeg based decoders to 0, except the DXVA ones.
You can decrease the size of the binary by disabling the unneeded decoders in FFmpeg, by editing its "config.h". That is not (yet) done automatically. This won't make any functional difference, just matters for size.
Do I still need to compile libavcodec even if none of its decoder is used?
hdboy
26th January 2010, 17:37
Hi, iSeries, do you use dual screen setup?
In my setup I have one monitor runs at 60HZ and I play movie on my projector as 2nd monitor which runs at 23.976HZ, EVR and MadVR is completely not watchable, EVR sync looks smooth, but it occasionally produce judder and the green line is not always in parallel with red line, it goes up then goes down then up again......
I run my PC monitor @60hz and my HDTV as secondary monitor @24hz or 60hz depending on content. Up until very recently, I could not get smooth playback using my HDTV as secondary monitor. I had to either set the TV as primary monitor or use D3D fullscreen. Neither solution was satisfactory.
I actually bought a 9800GT but it did not improve the situation so I went back to the old 7600GT. But the newer MPC-HC with Sync fixed my problem. I still get the occasional stutter with 24fps and regular stutter with 25fps (the few UK TV shows I have) but for the most part I'm happy.
(I'm using default renderer settings, btw, so desktop composition is not disabled).
somy
26th January 2010, 18:00
I run my PC monitor @60hz and my HDTV as secondary monitor @24hz or 60hz depending on content. Up until very recently, I could not get smooth playback using my HDTV as secondary monitor. I had to either set the TV as primary monitor or use D3D fullscreen. Neither solution was satisfactory.
I actually bought a 9800GT but it did not improve the situation so I went back to the old 7600GT. But the newer MPC-HC with Sync fixed my problem. I still get the occasional stutter with 24fps and regular stutter with 25fps (the few UK TV shows I have) but for the most part I'm happy.
(I'm using default renderer settings, btw, so desktop composition is not disabled).
This is what I observed recently, since you're using Nvidia card, so it's not a driver issue. Did you try disable aero or use single monitor? Sync renderer solve part of the problem, but judder still exsits for me......
X-Dron
26th January 2010, 18:46
Can you post a sample of this video?
sample is here (http://www.easy-share.com/1909111691/Sample.mpg)
pirlouy
26th January 2010, 18:47
I think I can't live with tearing either, so I guess I'll just to try single screen.
You can also use EVR Sync with "D3D Fullscreen" option, and you won't have tearing, and you'll have smooth playback.
But D3D option is really not UI friendly. :/
somy
26th January 2010, 18:58
You can also use EVR Sync with "D3D Fullscreen" option, and you won't have tearing, and you'll have smooth playback.
But D3D option is really not UI friendly. :/
OK, I have just done some more tests.
dual screen 24P output without aero: everything is smooth except serious tearing with MadVR.
dual screen 24P output with aero: EVR CP and MadVR is extremely laggy, EVR sync is better but still not smooth.
single screeb 24P with aero: MadVR becomes laggy after 30 minutes.
hoborg
26th January 2010, 19:40
Hi.
In Win7 windows\Performance\WinSAT directory, there are few *.MPG samples wich are not compatible with MPC "MpegSplitter.ax". After muxing in to MKV, all is working fine.
clsid
26th January 2010, 20:42
Do I still need to compile libavcodec even if none of its decoder is used?
Yes, because the DXVA decoders are part of it.
Polcius
26th January 2010, 20:51
Any ETA on the "double image" fix?
How should I set up ffdshow, in the meantime?
loretta80
26th January 2010, 20:55
Any ETA on the "double image" fix?
How should I set up ffdshow, in the meantime?
Do you have stereoscopic function activated in nvidia driver? That may give you two frames. Than turn it off.
ar-jar
26th January 2010, 21:10
@ar-jar: I direct this report at you as I think that rev 1557 is the cause of this regression. Basically when I use rev1557 32bit available on xvidvideo.ru, when the player loses its direct3d surface and reinitialize, it forgets to do that for the subtitle renderer so I will be unable to see subtitle after a UAC prompt unless I disable then enable the internal sub renderer. I use EVR Sync.
If you need more information, please say so.
Thanks for the report. I will look into this in the weekend. I'm in the process of rewriting the device/surface release and recreation code as it is not correct today in any of the custom DirectX-based renderers. There may be some regressions in the mean time. I'll first rewrite EVR Sync. My plan is to be able to toggle between windowed and 3D fullscreen just like windowed and regular fullscreen. -A
somy
26th January 2010, 21:12
@X-Dron: I think your problem is glasses: you have forgotten to put your 3D glasses, that's all ! :D
@somy: I can't really say more things. I have similitudes with iSeries:
- tearing if I disable Aero (dual or mono screen, all EVR and madVR); more tearing for 24Hz, just a bottom line in 50Hz
- In 24Hz in dual screen, with Aero enable, windows Seven is... lost; cursor is really slow, and even if EVR graph could let me think it's judder free (perfect parallel lines), there are major jerks. Just try to move your mouse, if cursor is not smooth for 24Hz screen, then you'll know you can't use Aero (just right click on mpc-hc.exe and disable desktop composition in properties)
- in dual screen, 50 Hz, Aero enable, no more slowness when moving mouse, but you still have judder (not shown by EVR graph, except if you put a 30fps video, you'll see graph freezes)
- in dual screen, 50 Hz, madVr + Aero... Same behavior. Judder caused by Aero :/
- in mono screen, it seems to be ok with Aero, even in 24Hz.
In conclusion, if you use dual screen, IMO, you have to disable desktop composition (Aero) when launching MPC-HC. You'll have tearing, but we can guess it will be fix by future version of Madshi or ar-jar renderer (when they implement Direct3D)
@iSeries: I think nobody really knows exactly what Aero does, but it's sure at 100% it prevents tearing.
My test result tonight is almost the same, basically I think MadVR only works well when aero is enabled.
In single screen mode, MadVR is super smooth in the beginning and after a while (20 minutes) it becomes laggy, I have to pause and then play to make it judder-free, do you have similar problem?
somy
26th January 2010, 21:23
You can also use EVR Sync with "D3D Fullscreen" option, and you won't have tearing, and you'll have smooth playback.
But D3D option is really not UI friendly. :/
I tried, but everytime it pops up a warning dialog which tells me 10Bit output is not supported:(
Polcius
26th January 2010, 21:34
Do you have stereoscopic function activated in nvidia driver? That may give you two frames. Than turn it off.
No, I mean the error reported some pages back, when trying to play .avi or .mkv files.
ar-jar
26th January 2010, 21:50
I tried, but everytime it pops up a warning dialog which tells me 10Bit output is not supported:(
Please turn off 10bit RGB as it is probably not supported by your gfx board in D3D fullscreen. Or then my caps test is faulty - i haven't tested it much yet. You can use the DirectX Caps Viewer to see if it really is supported by your board. -A
somy
26th January 2010, 22:00
:confused:Please turn off 10bit RGB as it is probably not supported by your gfx board in D3D fullscreen. Or then my caps test is faulty - i haven't tested it much yet. You can use the DirectX Caps Viewer to see if it really is supported by your board. -A
Thanks ar-jar, I tried to turn it off and then I got "8 bit is not supported" warning message:confused:
I use the latest MPC-HC rev 1557, I remember 1549 worked fine for me.
ar-jar
26th January 2010, 22:14
:confused:
Thanks ar-jar, I tried to turn it off and then I got "8 bit is not supported" warning message:confused:
I use the latest MPC-HC rev 1557, I remember 1549 worked fine for me.
The caps test from hell huh :-) I'll turn it off or fix it in the next commit (or provide an intermediate build). Sorry about that. -A
kramcd
26th January 2010, 23:08
Hi there, I've got 2 maqin problems;
1). I'm getting a 'double image' at the top of the screen when playing avi files (mkv is ok). The old version (1249) didn't do this. However, I prefer the extra sync settings in the newer version (currently 1529).
2). I can't get smooth 24hz playback on my HTPC (GA-MA78G-D3SH, AMD 4850e, HD 4650, Win 7), however I can with my other PC (Asus P5B-E, Q6600, HD 4650, Win 7). Both Pc's are using the same version of MPC HC, and graphics cards uses same drivers (same card in fact, just swapped over)....very frustrating!
Any Ideas?
Regards
Mark.
X-Files
26th January 2010, 23:15
From release 1503 this is what happen with every .avi file i try to play (with hd file image is not broken but DXVA does not work). Same result if i try to change renderer (from Sync to EVR).
The only way to solve this problem is to switch to WMR9 or downgrade to version 1489.
Windows 7, 4850, Catalyst 9.12
Any idea?
http://img199.imageshack.us/img199/6739/brokenimage.jpg
Same problem here, I dont know why this not the NO.1 fix issue first to be done ? coz even use ffdshow , some WMV , MKV , MP4 still get "Double images" , BTW , chinese subtitles only can use UTF encode to display in right way. not like old verison can simply use chinese GB2312 as default.
Window vista 64 , 4870, Catalyst 9.12
decapitado
27th January 2010, 00:55
Auto fullscreen mode doesn´t work with dvd´s, only with files :(
Is this going to be fixed later?
Polcius
27th January 2010, 01:23
Same problem here, I dont know why this not the NO.1 fix issue first to be done ? coz even use ffdshow , some WMV , MKV , MP4 still get "Double images" , BTW , chinese subtitles only can use UTF encode to display in right way. not like old verison can simply use chinese GB2312 as default.
Window vista 64 , 4870, Catalyst 9.12
Yes, I really don't understand what's the point of adding new features when there's a major bug to be solved.
boyumeow
27th January 2010, 05:12
The bug would not get fixed with just removing one alphabet or one line in the source, it takes time to identify and rectify. Please be patient. Thanks.
macycat
27th January 2010, 06:18
I really appreciate all the development effort for MPC-HC. I use it quite a bit for recordings made from my Hauppauge HDPVR. The player provides excellent quality playback (with a bit of tuning, of course).
I noticed that the later versions of MPC have a "Capture" option. Is it possible to stream live directly from the Hauppauge HDPVR?
Thanks.
somy
27th January 2010, 09:34
The caps test from hell huh :-) I'll turn it off or fix it in the next commit (or provide an intermediate build). Sorry about that. -A
Thanks for the help.
somy
27th January 2010, 09:37
Hi there, I've got 2 maqin problems;
1). I'm getting a 'double image' at the top of the screen when playing avi files (mkv is ok). The old version (1249) didn't do this. However, I prefer the extra sync settings in the newer version (currently 1529).
2). I can't get smooth 24hz playback on my HTPC (GA-MA78G-D3SH, AMD 4850e, HD 4650, Win 7), however I can with my other PC (Asus P5B-E, Q6600, HD 4650, Win 7). Both Pc's are using the same version of MPC HC, and graphics cards uses same drivers (same card in fact, just swapped over)....very frustrating!
Any Ideas?
Regards
Mark.
Do you use dual monitors+Aero?
littleD
27th January 2010, 09:43
Bug: v 1.3.1557.0
When i change language to Polish and want to open Options, an error appears : Encountered an improper argument.
Thers no way to get to options then.
X-Dron
27th January 2010, 10:21
Auto fullscreen mode doesn´t work with dvd´s, only with files :(
Is this going to be fixed later?
I think about this.
Probably :)
somy
27th January 2010, 10:26
The caps test from hell huh :-) I'll turn it off or fix it in the next commit (or provide an intermediate build). Sorry about that. -A
Hi ar-jar, do you think it's possible to add a delay after change screen refresh rate? It's necessary for renderers such as Halii and MadVR.
Thanks a lot!
kramcd
27th January 2010, 10:45
Do you use dual monitors+Aero?
No, single monitor and aero disabled....is there a way of telling from the 'ctrl-j' details?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.