PDA

View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!


Pages : 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82

ranpha
1st December 2008, 10:55
I could use EVR (dxva2), but I don't like colors... faces look too saturated (red). Should'nt both renderers give same picture quality?

Is that ATI? Then just disable those dynamic contrast and skin color settings if you have them enabled.

Leak
1st December 2008, 11:43
Maybe some other window is stealing the focus? Disable any other apps running in the background which could cause this.
If you use VMR9 or EVR as renderer you can use the "Direct3D Fullscreen" option to make sure it stays in fullscreen. You couldn't change to window mode from there even if you wanted... :)

ramonchin
1st December 2008, 12:55
Is that ATI? Then just disable those dynamic contrast and skin color settings if you have them enabled.
Dynamic contrast was introduced with Ati 48xx series. I've Ati 3850, and I disabled Skin color settings, but any success. Perhaps the problem is Dvbviewer, what says "EVR experimental"...

Thanks.

dutchguy
1st December 2008, 13:08
I am having the same flashing problem with my PCI-e ATI 3650 card. Running XP and Catalyst 8.10 and MPC build 906

Picture flashes back a bit, sometimes macroblocks appear, sometimes pictures flashes back and forth and get stuck in a loop.

Any solution for that?
I have the same problem. I can only use VMR7 renderless, other renderers either don't use DXVA or give the "macroblocks followed by a repeating loop" problem (the problem usually only appears when running full-screen, when using a small window, there is no problem). I also have a 3650 card running under XP SP3.

Anyone know if these problems get fixed if you upgrade to Vista?

MichaelAnders
1st December 2008, 17:57
Vista 32, ATI HD 4550, Dual Core AMD 4850e (2.5 Ghz), 2 Gb Ram, MPC-HC v891

I have H264 and VC1 MKV's, and naturally wish to use DXVA. So to achieve that, I set "EVR" mode in output as it was posted in this thread that H264 would not work with VMR9, and I can confirm that for both codecs "DXVA" is now enabled in the MPC decoder.

With "EVR" output, the video playes fine: however, there is no subtitles, no pixel shaders -> unusable. But there are NO dropped frames in this case, and 24p plays perfectly fine.

Once I move to "EVR custom", I have subtitles and Pixel Shaders, perfect. And no dropped frames if my monitor is set to >24 Hz. However, as the movie material is 24p, the picture is not nice... Once I go to 24 Hz, I have a 1:1 between drawn and dropped frames (e.g. 1000 drawn frames and 999 dropped frames).

The picture looks "fine", but the problem is that the sound lags behind. Video is unwatchable :(

Anyone have any idea why this is?

Bunnikside
1st December 2008, 20:36
After using MPHC for a long time :thanks:,today I installed PowerDVD 8 on my system.

Strangest thing happens that I can no longer play sound from my SPDIF while playing a DVD. Other formats such as H264 etc. work with no problem. Before, without having PowerDVD installed, I had no problems whatsoever. :confused:

I've been searching the internet for a solution, hope someone here can help me.

Problem solved!!! one way or the other the volumeknob was down to zero?!?!:stupid::stupid::stupid:

ranpha
2nd December 2008, 06:24
Dynamic contrast was introduced with Ati 48xx series. I've Ati 3850, and I disabled Skin color settings, but any success. Perhaps the problem is Dvbviewer, what says "EVR experimental"...

Thanks.

Well, try playing the video on MPC-HC EVR renderer (both of them), and if the result is the same, then problem lies with the EVR experimental in DVBViewer.

Jong
2nd December 2008, 13:51
Just installed the new stable release and I was very surprised to find that MPC-HC with 1080p mkvs and VMR9, still displays 1088 lines instead of 1080 unless VMR Mixer Mode is enabled. I am using an ATI3850, if that matters. It has affected all Catalyst versions since I first discovered this problem back in May (http://forum.doom9.org/showthread.php?p=1140661).

Any reason why this problem is so hard? (or possibly why no one cares?!)

DeepBeepMeep
2nd December 2008, 20:54
I have noticed that using VMR9 exclusive full screen the slider to move around the movie diseapears after only 1s even if the mouse pointer is still on top of it.

With old releases (more than 6 months ago), one had to move away the mouse pointer to make the slider disappear.

I would be grateful if you could put back the old behaviour or at least to offer an option as it is now very hard to use the slider. Many thanks.

Snowknight26
3rd December 2008, 01:34
Would it be possible to separate the settings for the x86 and x64 versions?

alexins
3rd December 2008, 02:35
Would it be possible to separate the settings for the x86 and x64 versions?
This must be made!!! The retention of tuning into ini - file it only partially solves this problem. For example, when you indicate the new associations of files into mpc-hc of x64 (Player-> formats), then tuning associations collapse into mpc-hc of x86. And if the usual run MPC, which stores the settings in one location in the registry with mpc-hc, it can cause problems when playing video with subtitles.

bmnot
3rd December 2008, 08:55
alexins, why is VC1 in m2ts so choppy? MPC-HC says the video is playing back at 23.976 but it's very choppy, like lots of frames are being dropped. Only occurs with the MPC-HC MPEG splitter.

rt87
3rd December 2008, 10:19
alexins, why is VC1 in m2ts so choppy? MPC-HC says the video is playing back at 23.976 but it's very choppy, like lots of frames are being dropped. Only occurs with the MPC-HC MPEG splitter.

did you try haali's splitter?

alexins
3rd December 2008, 12:24
Media Player Classic HomeCinema (x86), svn 912 (http://www.xvidvideo.ru/content/view/462/1/)
Media Player Classic HomeCinema (x64), svn 912 (http://www.xvidvideo.ru/content/view/461/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/)

CHANGE : Auto-hide playlist on fullscreen(feature request #2219561).

GrofLuigi
3rd December 2008, 14:13
CHANGE : Auto-hide playlist on fullscreen(feature request #2219561).

Wow! That many? :scared:

GL

clsid
3rd December 2008, 14:17
Wow! That many? :scared:

GL
That is an ID, not a count.

KAnycTA
3rd December 2008, 18:38
Is it possible to move saved "favorites" into additional config file?

Casimir666
3rd December 2008, 20:53
Just installed the new stable release and I was very surprised to find that MPC-HC with 1080p mkvs and VMR9, still displays 1088 lines instead of 1080 unless VMR Mixer Mode is enabled. I am using an ATI3850, if that matters. It has affected all Catalyst versions since I first discovered this problem back in May (http://forum.doom9.org/showthread.php?p=1140661).

Any reason why this problem is so hard? (or possibly why no one cares?!)

Not that simple : 1080 is not a valid size for DXVA DirectX surface (not a multiple of 16), so mpc allocate the correct size (1088).
He also tell the renderer to crop last 8 lines (see rcSource and rcTarget in output property pin), but VMR9 renderless doesn't care if not in Mixer Mode. PowerDVD have the same problem of blur line

Do you have special reason not using Mixer mode ?


alexins, why is VC1 in m2ts so choppy? MPC-HC says the video is playing back at 23.976 but it's very choppy, like lots of frames are being dropped. Only occurs with the MPC-HC MPEG splitter.

I know this, not fixed yet.

rack04
3rd December 2008, 21:23
Do you have special reason not using Mixer mode?

When playing this (http://rapidshare.com/files/169950939/inkheart-tlr2a_h1080p_0.mp4.html) file using MPC-HC (svn 912) with internal mp4 source filter, ffdshow h264 video decoder, VMR9 (renderless), and VMR9 mixer mode I lose all colors.

With VMR9 mixer mode:

http://i11.photobucket.com/albums/a199/rack04/snapshot20081203142016.jpg

Without VMR9 mixer mode:

http://i11.photobucket.com/albums/a199/rack04/snapshot20081203142244.jpg

clsid
3rd December 2008, 22:12
Your file plays fine here with VMR9 mixer. I even tried different settings for surfaces, etc.

So it is most likely a driver problem.

rack04
3rd December 2008, 22:18
Your file plays fine here with VMR9 mixer. I even tried different settings for surfaces, etc.

So it is most likely a driver problem.

Very likely. Stupid Dell video drivers. Thanks.

BTW, what exactly does VMR9 mixer mode do? Should this be enabled?

Update: With YUV mixing and VMR mixer mode enabled the file plays fine.

Snowknight26
4th December 2008, 05:53
How many threads does the H.264 video decoder use when the registry key for MPC Video Decoder hasn't yet been created?

Aleksoid1978
4th December 2008, 06:03
How many threads does the H.264 video decoder use when the registry key for MPC Video Decoder hasn't yet been created?

= Core Number of you processor.

Snowknight26
4th December 2008, 06:25
What is the max number? I have a box that has 16 cores but I'm inclined to say thats not a valid number as only 1-6 are selectable.

Aleksoid1978
4th December 2008, 06:32
What is the max number? I have a box that has 16 cores but I'm inclined to say thats not a valid number as only 1-6 are selectable.

Max - 6

Snowknight26
4th December 2008, 06:50
So even if you have more than 6 cores it will still only use 6 threads? Just hoping it won't be an issue similar to that ffdshow one I found.

Jay Bee
4th December 2008, 10:36
Amy updates on interlaced VC-1 support? Here are a few samples from another thread.

http://www.mediafire.com/?sharekey=610f03b89c15442eab1eab3e9fa335ca0783b3eef96c0af9

http://www.mediafire.com/?sharekey=610f03b89c15442eab1eab3e9fa335ca96e8f04935ff43a0

Leak
4th December 2008, 11:42
BTW, what exactly does VMR9 mixer mode do? Should this be enabled?
*cough* (http://forum.doom9.org/showthread.php?p=1218461#post1218461)

Jong
4th December 2008, 11:58
Not that simple : 1080 is not a valid size for DXVA DirectX surface (not a multiple of 16), so mpc allocate the correct size (1088).
He also tell the renderer to crop last 8 lines (see rcSource and rcTarget in output property pin), but VMR9 renderless doesn't care if not in Mixer Mode. PowerDVD have the same problem of blur line

Do you have special reason not using Mixer mode ?Thanks for the reply. That does explain it.

I know other decoders offer the option to truncate in the decoder (CoreAVC for example). It would be good in the MPC decoder could too.

1. It does cause problems when using the decoder in other players that may not support mixer mode.

2. Even in MPC-HC there is the expansion error in mixer mode where 16 -> 1 not 0, unless also using YUV mixing (at least that was the case with the last stable release, I admit I haven't checked this one). YUV Mixing can, I believe be problematic for some, although it works here.

3. Also, for some bizarre reason, the current Reclock beta appears unable to detect the frame rate of 60(i) material when the current refresh rate is not 60Hz if VMR9 Mixer mode is used! So I cannot use MPC-HC for this media.

At the very least, I think there should be some clear guidance on the renderer settings to use for HD playback, in the help files or the MPC-HC web site - "If using VMR9 you must use Mixer Mode AND YUV Mixing", but if possible it would be good if the decoder could do the cropping (optionally), to open up more renderer options that might be needed by some.

THX-UltraII
4th December 2008, 14:58
I ve found out that when I use the Shader 16-235 -> 0-255 I have to set my Mitshubishi HC7000 LCD projector to mode ADVANCED (RGB) to get proper blacks and whites.

Is this the best option to pick or is it better to disable this shader and set my Mitsubishi projector to NORMAL?

kutjong
4th December 2008, 15:23
I ve found out that when I use the Shader 16-235 -> 0-255 I have to set my Mitshubishi HC7000 LCD projector to mode ADVANCED (RGB) to get proper blacks and whites.

Is this the best option to pick or is it better to disable this shader and set my Mitsubishi projector to NORMAL?
It's better to disable the shader if you are getting proper blacks and whites in "normal" mode. 16-235 to 0-255 conversion should be discouraged, it's a somewhat lossy conversion from what I've heard.

THX-UltraII
4th December 2008, 15:27
It's better to disable the shader if you are getting proper blacks and whites in "normal" mode. 16-235 to 0-255 conversion should be discouraged, it's a somewhat lossy conversion from what I've heard.

can you explain this to my a bit more instead of 'what I've heard'?

I've heard :D that this shader is ok and even better to use

rack04
4th December 2008, 17:23
Are there varying DXVA restrictions for different video cards? Some of the DXVA compliant files that I have on my home pc (8800GT) will utilize DXVA but will not on my laptop (Quadro NVS 135M).

As a test, I encoded a 1920x1080 VC1 MKV with varying resolutions. The only thing that I changed was the crop and resize.

Encode 1 (DXVA works)

DirectShowSource("C:\Personal\Videos\sample.mkv",fps=23.9759856527702,audio=false)
crop( 0, 128, 0, -136)
Spline64Resize(1280,544)

http://i11.photobucket.com/albums/a199/rack04/DXVA.jpg

Encode 2 (Reverts to FFmpeg)

DirectShowSource("C:\Personal\Videos\sample.mkv",fps=23.9759856527702,audio=false)
crop( 0, 128, 0, -136)
Spline64Resize(1920,816)

http://i11.photobucket.com/albums/a199/rack04/DXVAno.jpg

clsid
4th December 2008, 17:49
can you explain this to my a bit more instead of 'what I've heard'?

I've heard :D that this shader is ok and even better to use
If you don't need to correct the levels, then don't. What you have heard is complete bullshit, so forget it. You should only use the shader if you need to correct the levels.

nurbs
4th December 2008, 17:59
@rack04:
You need to tell your encoding settings. For instance a certain number of refs will be fine with 720p content, but will break level compliancy with 1080p.

edit:
I think I misunderstood your question. Do both files work on your desktop?

rack04
4th December 2008, 18:11
@rack04:
You need to tell your encoding settings. For instance a certain number of refs will be fine with 720p content, but will break level compliancy with 1080p.

I used the same MeGUI DXVA-HD-HQ profile for both

edit:
I think I misunderstood your question. Do both files work on your desktop?

Yes both play with DXVA on my home pc (8800GT).

I don't know if it makes any difference but my laptop is docked and displayed on 2 DVI monitors.

nurbs
4th December 2008, 18:19
That profile should work at 1080p. So it's probably your card, but I don't know for sure.

kutjong
5th December 2008, 01:33
can you explain this to my a bit more instead of 'what I've heard'?

I've heard :D that this shader is ok and even better to use
You lose BTB and WTW, and the expansion can cause banding.

dreamon
5th December 2008, 05:37
i can't access to xvidvideo.ru, so please can anybody give me another download links for MPC-HC rev. 912 and ffdshow-MT rev. 2407 ?

ikarad
5th December 2008, 18:52
I try the last official version of MPC-HC v1.2.908.0 and .PG subtitle (MT2S presentation graphic streams) are buggued because some subtitles in some anime (example : utawarerumono:blu-ray disc) are not displayed.
I also tried other versions and there is the same problem.

cweb
5th December 2008, 18:56
mpc-hc was crashing on me and telling me to email the minidump... (every time I viewed any video file)
anyway I found it was DEP which was causing the problem (this is subsequent to installing VS2008 and repairing windows xp sp2)... turning DEP off solved the problem. I was getting an 'unhandled exception' too..
I found the solution here:
http://blog.360.yahoo.com/blog-snn8VuQrdLOqLz3TCGLzfNGuJM8-?cq=1&p=76

leeperry
5th December 2008, 22:49
can you explain this to my a bit more instead of 'what I've heard'?

I've heard :D that this shader is ok and even better to use
most likely your videocard drivers are already doing TV>PC conversion....there's no need to use this script on top of it ;)

the easiest solution is to set your hc7k to PC range, and forget about it....your PC does a better job at converting levels than your onboard pj electronics :cool:

dreamon
6th December 2008, 05:42
i can't access to xvidvideo.ru, so please can anybody give me another download links for MPC-HC rev. 912 ?

Aleksoid1978
6th December 2008, 06:29
i can't access to xvidvideo.ru, so please can anybody give me another download links for MPC-HC rev. 912 ?

Here - www.tosei.ru/isoft/mpc/mpc.x86.912.7z

mpc-hc show 912rev, but this is 913.

dreamon
6th December 2008, 09:30
thanks Aleksoid :D

kutjong
6th December 2008, 14:57
most likely your videocard drivers are already doing TV>PC conversion....there's no need to use this script on top of it ;)

the easiest solution is to set your hc7k to PC range, and forget about it....your PC does a better job at converting levels than your onboard pj electronics :cool:
With VMR9 it's the default setting that TV->PC conversion is not done and if he's getting proper blacks and whites with the shader off and the projector in normal mode, it just further proves it.

Why would you think that the projector converts it to PC levels? Especially if TV levels is the "normal" setting on the projector? These things are designed to work with DVD players, Blu-Ray, DVB etc which all use TV levels. So my verdict would be that it supports both, in which case I would stay away from TV->PC conversion.

leeperry
6th December 2008, 15:43
Why would you think that the projector converts it to PC levels?
[...]
So my verdict would be that it supports both, in which case I would stay away from TV->PC conversion.
except that these Mitsu offer you the option to work either in TV or PC levels, like most recent projectors.

if you go TV, they *WILL* convert to PC levels anyway, using a $5 ASIC onboard chip.

my verdict is to compare both solutions, and see for yourself whichever one you prefer ;)

hrr
6th December 2008, 23:16
Hi !

I'm trying to change the subtitle position for an mkv but I only can change it through right button option Subtitle, styles, because it seems that every mkv I have, includes its own subtitle style and mpc get it by default and don't apply the default settings I have, in this case, I prefer to put the subtitles on top of the film, because when I see a 2,35 aspect film, I zoom the projector and the default subtitle position gets over my central speaker :(

I can make it without D3D mode, but when I close the file, not the player, to activate the D3D mode and open the file again all my changes get lost.

I've looking for an option in Haali splitter to not get this styles but it does not exist.

I've tried to use the web interface, but it seems there is no options through this interface to position the subtitles.

Any one has an idea about how to solve this problem ?

Thanks... :)

Chumbo
7th December 2008, 04:23
You have to change the subtitle settings under Options to make them your DEFAULT. If you change them on the fly, then it's just during that instance/session that you change them.

Octo-puss
7th December 2008, 08:46
Can someone explain to me what is the difference betweeen "source filters" and "transform filters"? Also, some are bold and some not. I usually just untick everything as I use FFDShow, but um... you know. I don't quite know what I'm doing :)

Miryan
7th December 2008, 10:33
Hi !

I'm trying to change the subtitle position for an mkv but I only can change it through right button option Subtitle, styles, because it seems that every mkv I have, includes its own subtitle style and mpc get it by default and don't apply the default settings I have, in this case, I prefer to put the subtitles on top of the film, because when I see a 2,35 aspect film, I zoom the projector and the default subtitle position gets over my central speaker :(

[...]

Any one has an idea about how to solve this problem ?

Thanks... :)

Assign a key to Next subtitle, and thats it. (Player / Keys)

saint-francis
7th December 2008, 10:35
Can someone explain to me what is the difference betweeen "source filters" and "transform filters"? Also, some are bold and some not. I usually just untick everything as I use FFDShow, but um... you know. I don't quite know what I'm doing :)

Source = splitter and transform = decoder.

hrr
7th December 2008, 11:07
Hi !You have to change the subtitle settings under Options to make them your DEFAULT. If you change them on the fly, then it's just during that instance/session that you change them.

Thanks, but this is that I've already make it without success. But your comment has make me to do more testing and I've discovered that the subtitle that I can not change is ASS, and it seems that this subtitle type include a style inside it. Because that, the 'default' of the MPC don't get used.

I've tested with other files with srt and the default of the MPC works OK.

So, the problem is here yet, but now, I know that until it get solved, I can extract the subtitle, change it to srt and try to load it from an external file.

I hope this can be done in D3D mode. If not, I would have to remux the file :(

It would be nice if there is an option to omit styles inside ASS subtitles or at less, the position information.

Thanks for your help.

johnsonlam
7th December 2008, 15:21
Hi !
So, the problem is here yet, but now, I know that until it get solved, I can extract the subtitle, change it to srt and try to load it from an external file.


Try using external "ssa" , it work perfect in all provious MPC-HC version.

MPC-HC did inherit some problem from MPC, playing some special MKV file the screen will freeze after a few seconds, when using Zoom Players it works.

But I have no way to find why, and only some of the MKV have that symptom, not all.

nae1986
7th December 2008, 18:37
If I open an AVI file (XviD & MP3) with MPC-HC 1.2.908, I get a crash. I've attached the dump file.

The problem is on a K6-2 400 MHz with 256 MB RAM.

_xxl
7th December 2008, 18:58
If I open an AVI file (XviD & MP3) with MPC-HC 1.2.908, I get a crash. I've attached the dump file.
Do you use internal AviSplitter?

clsid
7th December 2008, 19:09
I don't think the internal FFmpeg decoders are compatible with a K6-2 processor. You need i686 or higher.

PolaR ID
7th December 2008, 19:34
Which codec, player or anything else I need to play BD DVDs and as well normal DVDs and other media files on my PC?

I have latest GFX + CQ Prossesor and XP 32bit.

Before i used to use clsid ffdshow SVN builds + MPC 6.4.9.1 and Matroska Splitter.

I want to use the latest and best way of playing media file on PC, and here i'm asking for sugestion..

Thanks in advance.

Px
7th December 2008, 19:47
I don't think the internal FFmpeg decoders are compatible with a K6-2 processor. You need i686 or higher.
K6-2 is i686 compatible ;)

nae1986
7th December 2008, 19:53
K6-2 is i686 compatible ;)

I don't think it is. The ffdshow builds after 1940 (the last one to support < i686) don't work on that machine.

clsid
7th December 2008, 20:37
K6-2 is i686 compatible ;)
i586 ;)

neoufo51
7th December 2008, 22:24
Guys, I tried the Haali Renderer recently and I notice that it eventually causes AVI videos to lose sync as the video progresses. Any idea why this is? I want to use Haali over the usual VMR9 due to the supposed advantages, but I'm wondering what I'm not doing that is causing this desync. I'm running XP on a laptop with an Nvidia 128MB 8400GS card.

leeperry
7th December 2008, 22:37
I tried the Haali Renderer recently and I notice that it eventually causes AVI videos to lose sync as the video progresses.
press ALT+O and see how the jitter goes.
if it's >8ms on XP, you prolly got a CPU load problem

Px
7th December 2008, 23:47
i586 ;)
Yeah, I recheck my information and you are right :)

Aleksoid1978
8th December 2008, 01:53
918 rev. - http://www.tosei.ru/isoft/mpc/mpc.x86.918.7z

wOxxOm
8th December 2008, 06:30
press ALT+O and see how the jitter goes.
if it's >8ms on XP, you prolly got a CPU load problem
I've seen that too ONCE on mp4, and converting the source file to mkv didn't solve the jitter. I've just switched temporarily to EVR-Custom renderer. There was nothing related to cpu-load.


BTW, I wonder why the newest VSFilter bugfixes made by Aegisub's authors aren't incorporated into MPCHC? (I have different display of static rotated subs, sometimes MPCHC won't rotate them at all, whereas DVobSub VSFilter does)

leeperry
8th December 2008, 11:44
I've seen that too ONCE on mp4, and converting the source file to mkv didn't solve the jitter. I've just switched temporarily to EVR-Custom renderer. There was nothing related to cpu-load.
might be splitter related then, some of them are tigher than others ;)

I can play any type of file w/ very stable jitter in HR...using Reclock w/ a perfectly matching refresh rate that is :D

Mercury_22
8th December 2008, 11:45
Revision 918 - Directory Listing
Modified Sun Dec 7 15:53:54 2008 UTC (18 hours, 40 minutes ago) by casimir666
FIXED : Support for Theora stream in Ogg internal splitter

Big thanks ! :thanks: but can someone compile a 64-bit version ? PLEASE !

P.S. Waiting for a MKV splitter fix and for a MPEG PS/TS/PVA splitter improvement too ! :helpful: PLEASE !

clsid
8th December 2008, 12:21
BTW, I wonder why the newest VSFilter bugfixes made by Aegisub's authors aren't incorporated into MPCHC? (I have different display of static rotated subs, sometimes MPCHC won't rotate them at all, whereas DVobSub VSFilter does)Afaik, all of them have also been applied to MPC-HC. Perhaps your issue is related to the pre-buffering option?

PolaR ID
8th December 2008, 13:52
Which codec, player or anything else I need to play BD DVDs and as well normal DVDs and other media files on my PC?

I have latest GFX + CQ Prossesor and XP 32bit.

Before i used to use CCCP codec and after that ffdshow SVN by clsid + MPC 6.4.9.1 and Matroska Splitter.

I want to use the latest and save way of playing media file on PC, and here i'm asking for sugestion..

Thanks in advance.

Did i asked anything wrong here, as i didn't get my answer :)

fastplayer
8th December 2008, 13:57
Did i asked anything wrong here, as i didn't get my answer :)
And your question is in which way related to MPC-HC?!
Please make a new thread!

PolaR ID
8th December 2008, 14:38
Ok, thanks for suggestion. Here is the thread

http://forum.doom9.org/showthread.php?p=1221848#post1221848

darthfrueder
8th December 2008, 18:15
My first post here, so... you know... I hope it is the right thread for it. If not, then please, move it where it belongs.

I am using mpc-hc on my htpc coupled with Mediaportal as an external player. Both of them are controlled by the intelliremote that is getting commands from my x-fi remote control and currently forward keypresses to the appropriate app depends on which is active.
The Problem: my family are not completely uniformed in tastes, so those who are not watching the current film are browsing or chatting on the same pc, grabbing the focus and rendering the remote control completely useless.
The Solution:create a c++ app that will sit between the intelliremote and MPC-HC and instead of key presses send direct messages to the MPC-HC. I have played with the idea and it seems like I should be able to use windows messages for this purpose. I think something like SendMessage (WM_COMMAND, ....) should do the trick? I have somewhat limited knowledge of Windows C++ techniques. I wrote a skeleton app that is getting a HWND handle of the MPC-HC window and now I need to know how to control MPC-HC. If someone would help me with the list of WM_COMMAND(s) built into MPC-HC and explain the way I should use SendMessage function in order for them to reach MPC-HC I would really appreciate it.

I am also completely open for any other possible solution for this problem (OLE?, COM?, anything else?), apart from the simulated key input , which is very unreliable and makes some of my family members unhappy :) .
Thanks in advance!

MatMaul
8th December 2008, 18:35
@darthfrueder : mpc-hc have a little api.
look at the file MpcApi.h, and there is a test program available in the source code too (MPCTestAPI).

darthfrueder
8th December 2008, 18:50
@darthfrueder : mpc-hc have a little api.
look at the file MpcApi.h, and there is a test program available in the source code too (MPCTestAPI).

Thanks for the reply MatMaul.
I actually had a quick look at this header file, but I think it mostly contains commands to return infos, etc. but not commands to control the player, but maybe I misunderstand something. Please, correct me if I am wrong. It seems to me like an interface to a sidebar gadget or something similar. (Edit: I had another look and found Stop, Audio and Subs related commands that are useful).

What I actually need is this (minimum set) :

Play/Pause,
Stop,
FF,
REW,
Medium step forward,
Large step formward,
Medium step backward,
Large step backward,
Remaining time info (ctrl-i)
Subs on/off
Next Sub
Next Audio

Optional:
Jitter (ctr-j),
DVD menu control (Arrows + Select)

MatMaul
8th December 2008, 19:14
then I think you can use SendMessage(WM_COMMAND,ID...) with the ID you can find in the keys property page.
example : Play/Pause ==> ID = 889

rack04
8th December 2008, 20:58
Are there varying DXVA restrictions for different video cards?

As a test, I encoded a 1920x1080 VC1 MKV to h264 using x264 with varying resolutions. The only thing that I changed was the crop and resize.

Encode 1 (DXVA works)

DirectShowSource("C:\Personal\Videos\sample.mkv",fps=23.9759856527702,audio=false)
crop( 0, 128, 0, -136)
Spline64Resize(1280,544)

http://i11.photobucket.com/albums/a199/rack04/DXVA.jpg

Encode 2 (Reverts to FFmpeg)

DirectShowSource("C:\Personal\Videos\sample.mkv",fps=23.9759856527702,audio=false)
crop( 0, 128, 0, -136)
Spline64Resize(1920,816)

http://i11.photobucket.com/albums/a199/rack04/DXVAno.jpg

Can anyone provide any insight on why DXVA is limited by resolution on my video card? The files play with DXVA on my 8800gt but only the ones with 1280 resolution play with DXVA on my Quadro NVS 135M.

I didn't think that MPC-HC could be set to Haali Renderer for DXVA uner XP but I'm seeing DXVA enabled even when Haali Renderrer is enbled.

Snowknight26
8th December 2008, 22:38
When switching audio tracks, the Audio Renderer's properties still show the old audio track.

Emp3r0r
8th December 2008, 22:51
anybody have a mirror to xvidvideo.ru? it seems down.

Kado
8th December 2008, 23:00
@rack04
Check your GPU capabilities using DXVA Checker (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker).

rack04
8th December 2008, 23:07
@rack04
Check your GPU capabilities using DXVA Checker (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker).

Is this what you're asking for?

http://i11.photobucket.com/albums/a199/rack04/DXVA-1.jpg

darthfrueder
8th December 2008, 23:32
MatMaul, I have tried to do this:

SendMessage(MPCWindowHandle,
WM_COMMAND,
ID_PLAY_PLAYPAUSE,
0);

... and it does not work. I am using win32 api.

Edit: Found the following that actually works:

SendMessage(MPCWindowHandle,
WM_COMMAND,
MAKEWPARAM(ID_PLAY_PLAYPAUSE,1),
0);

Heyaayyaaa!! Thanks a lot!

Kado
9th December 2008, 00:00
@rack04
Haali renderer does not support dxva, maybe you are talking about haali splitter?
I will try to supply a 1080p dxva compatible sample for you to test tomorrow.

rack04
9th December 2008, 00:45
@rack04
Haali renderer does not support dxva, maybe you are talking about haali splitter?
I will try to supply a 1080p dxva compatible sample for you to test tomorrow.

I understand that it shouldn't work with Haali but for some reason it is working.

Here (http://www.megaupload.com/?d=AWVSHZK0) is the sample that I'm working with.

Haali Renderer:
http://i11.photobucket.com/albums/a199/rack04/haali.jpg

DXVA Acceleration:
http://i11.photobucket.com/albums/a199/rack04/dxca.jpg

slavickas
9th December 2008, 01:37
I bet Haali renderer isnt used, check which actual renderer is in use

Emp3r0r
9th December 2008, 01:52
I'm trying to set the MPCVideoDec.ax x64 filter as the preferred filter for AVC but I am unable to find a program to change the merit.

All the filter manager programs only manage x86 filters. Any suggestions.

rack04
9th December 2008, 02:09
I bet Haali renderer isnt used, check which actual renderer is in use

It just says "Video Renderer" in the filters.

Filter : Video Renderer - CLSID : {B87BEB7B-8D29-423F-AE4D-6582C10175AC}

cr0
9th December 2008, 02:40
Hi, are there any users out there with a 4850 and Vista x64 with working DXVA using EVR Custom for H264 content? If so, what is your Catalyst driver version? I'm experiencing display corruption with this setup using 8.11 and am wondering if its something with my setup or if it's a widespread issue.

Aleksoid1978
9th December 2008, 03:01
Hi, are there any users out there with a 4850 and Vista x64 with working DXVA using EVR Custom for H264 content? If so, what is your Catalyst driver version? I'm experiencing display corruption with this setup using 8.11 and am wondering if its something with my setup or if it's a widespread issue.

I use Vista x64 SP1, HD4850, all Catalyst from 8.8 to 8.12beta for me work DXVA with h264 and VC-1 content.

Snowknight26
9th December 2008, 03:06
Make sure you restart after installing the CCC. That usually fixes any DXVA issues.

STaRGaZeR
9th December 2008, 03:07
It just says "Video Renderer" in the filters.

Filter : Video Renderer - CLSID : {B87BEB7B-8D29-423F-AE4D-6582C10175AC}

That's not Haali's renderer ;)

HR does not support DXVA.

rack04
9th December 2008, 03:07
That's not Haali's renderer ;)

Then there is a bug when selecting Haali's Renderer.

noee
9th December 2008, 03:22
Then there is a bug when selecting Haali's Renderer.

Not necessarily. You have to add HR to the "external filters" list *and* choose it in the Output tab.

cr0
9th December 2008, 03:57
I use Vista x64 SP1, HD4850, all Catalyst from 8.8 to 8.12beta for me work DXVA with h264 and VC-1 content.

With MPC-HC and EVR Custom or regular EVR?

Also, what resolution do you use?

The highest resolution I can use without experiencing corruption is 1440x900, anything higher, 1680x1050 or 1920x1080, both cause corruption.

avivahl
9th December 2008, 04:00
With MPC-HC and EVR Custom or regular EVR?

Also, what resolution do you use?

The highest resolution I can use without experiencing corruption is 1440x900, anything higher, 1680x1050 or 1920x1080, both cause corruption.Are the videos you are trying to play DXVA-compatible? Do you relize there are restrictions on the encoding parameters in order to ensure your video will play properly (using DXVA)?

cr0
9th December 2008, 04:06
Are the videos you are trying to play DXVA-compatible? Do you relize there are restrictions on the encoding parameters in order to ensure your video will play properly (using DXVA)?

Thanks for the reply. Yes, I realize this and they are DXVA compatible. From what I've read, MPC-HC will detect incompatible videos and fallback to ffmpeg decoding. Further, even if they weren't it wouldn't make sense that when I set my desktop resolution to 1440x900 they would play without corruption, but when I use 1920x1080 they wouldn't.

The problem seems tied to using DXVA under EVR Custom with a resolution greater than 1440x900. I can watch videos just fine in EVR mode at any resolution. However no subtitles makes me a sad panda :(

Aleksoid1978
9th December 2008, 04:16
With MPC-HC and EVR Custom or regular EVR?

Also, what resolution do you use?

The highest resolution I can use without experiencing corruption is 1440x900, anything higher, 1680x1050 or 1920x1080, both cause corruption.

Usually i use EVR Custom, but test and EVR regular - all work.
Resolution my Desktop - 1680x1050, video fine all resolution - FullHD(1920x1080), HD(1280x720), SD(720x576) ...

cr0
9th December 2008, 04:47
Usually i use EVR Custom, but test and EVR regular - all work.
Resolution my Desktop - 1680x1050, video fine all resolution - FullHD(1920x1080), HD(1280x720), SD(720x576) ...

Hurm, damn. Well, thanks for the reply. I guess I have some more testing to do. I'll try a fresh install once the 8.12 drivers come out.

73ChargerFan
9th December 2008, 09:00
You have to add HR to the "external filters" list *and* choose it in the Output tab.
Can this be added to the first post in this thread?

Very unintuitive. Perhaps a note can be added to the selection of Haali Renderer stating this, or even better, it shouldn't be required.

canTsTop
9th December 2008, 10:03
is it possible to integrate RARFileSource http://www.v12pwr.com/RARFileSource in Media Player Classic Home Cinema ?
Thank You

Reino
9th December 2008, 12:27
Revision 918 - Directory Listing
Modified Sun Dec 7 15:53:54 2008 UTC (18 hours, 40 minutes ago) by casimir666
FIXED : Support for Theora stream in Ogg internal splitterNow since xvidcodec.ru is down, can someone else please host the standalone filters?

Aleksoid1978
9th December 2008, 13:06
Now since xvidcodec.ru is down, can someone else please host the standalone filters?

here - www.tosei.ru/isoft/mpc/Filters.918.7z

x86 version.

rack04
9th December 2008, 13:36
Not necessarily. You have to add HR to the "external filters" list *and* choose it in the Output tab.

Since when? This isn't how it used to be.

leeperry
9th December 2008, 13:48
here - www.tosei.ru/isoft/mpc/Filters.918.7z

x86 version.
:thanks:

noee
9th December 2008, 13:55
Since when? This isn't how it used to be.

Fwiw, I've only ever used MPC-HC and it's always been that way on my setup. I am running XPSP3/CCC8.11 and I have EVR installed too.

Reino
9th December 2008, 14:05
Thanks alot, Aleksoid1978.

By testing the MPC Video Decoder (rev.918) I discovered actually none of the problems I encountered here (http://forum.doom9.org/showthread.php?p=1214136#post1214136) are solved. Too bad.
dv-300708.mov (http://www.turboupload.com/files/get/gqekv1G9s8/dv-300708.mov) MOV[SVQ3] - No video at all now (black screen)

Maybe I'm jumping the gun a bit, but I noticed the Theora support within the OGG Splitter is far from perfect:
A_New_Computer--med.ogg (http://polycrystal.org/lego/movies/A_New_Computer--med.ogg) OGG[Theora+Vorbis] - Works fine with both MPC VD and FFDShow, but upon seekings the MPC VD shows "blocky" distortion for ± 3seconds, with FFDShow the image freezes for ± 2seconds while in both cases audio keeps on going. (no sync problems though)
transparency.ogg (http://cdn.novell.com/cached/xglrelease/transparency.ogg) OGG[Theora+Vorbis] - It takes ± 5seconds to open the file and when it's opened MPC-HC hangs while showing me a green screen.
Theora+AAC.mkv (http://www.turboupload.com/files/get/FHxLfZku4k/theoraaac.mkv) MKV[Theora+AAC]- Immediate crash upon opening file with the internal MKV Splitter from rev.918 in combination with the MPC VD and FFDShow.

Kurtnoise
9th December 2008, 17:22
Theora+AAC.mkv (http://www.turboupload.com/files/get/FHxLfZku4k/theoraaac.mkv) MKV[Theora+AAC]- Immediate crash upon opening file with the internal MKV Splitter from rev.918 in combination with the MPC VD and FFDShow.
it's because the matroska splitter doesn't support (yet ?) theora streams...

clsid
9th December 2008, 17:33
Then it should at least not crash.

Shinigami-Sama
9th December 2008, 18:20
Fwiw, I've only ever used MPC-HC and it's always been that way on my setup. I am running XPSP3/CCC8.11 and I have EVR installed too.

just install the spillter and then HR is installed...

gngn
9th December 2008, 19:43
Nvidia has released new Geforce 180.84 beta drivers, fully supports all Geforce 6/7/8/9/200 cards and IGPs.

http://www.nvidia.com/object/winxp_180.84_beta.html



Those new drivers resolve the macroblocking problem i still had with a few H.264 DXVA files with the 178 drivers. good job Nvidia!

Mercury_22
9th December 2008, 22:30
Revision 919 - Directory Listing
Modified Tue Dec 9 19:35:55 2008 UTC (112 minutes, 46 seconds ago) by casimir666
CHANGED: Support for AC3 in MP4 splitter
CHANGED: Support for EAc3 in Matroska splitter

Can someone compile this revision for 64-bit ? PLEASE ! :helpful:

Aleksoid1978
10th December 2008, 04:00
Can someone compile this revision for 64-bit ? PLEASE ! :helpful:

Here last revision - http://tosei.ru/isoft/mpc/

avivahl
10th December 2008, 05:13
Here last revision - http://tosei.ru/isoft/mpc/Wonderful! Thanks!
Is it mirror updated regularly?

Aleksoid1978
10th December 2008, 05:18
Wonderful! Thanks!
Is it mirror updated regularly?

No.

No time to do it regular

Snowknight26
10th December 2008, 05:32
TODO : support NV12 and make it default instead of YUY2 (HW deinterlacing works also with NV12)
Does that imply that NV12 support hasn't been added yet? Because it seems that some interlaced H.264 content I have is now HW deinterlaced when using EVR (connected with MEDIASUBTYPE_NV12).

NanoBot
10th December 2008, 07:09
Hi,

from the changelog:

CHANGED: D3DFullScreen mode now takes into account the monitor to full-screen mode in options, if monitor is not specified on the command line

Many thanks for fixing this feature, it now works like it should and I really appreciate that :thanks:

May I suggest one last change concerning the behavior in multi-monitor enviroments:

While the fullscreen playback should be moved to the monitor specified in the settings, which is working fine now in both D3D and none D3D mode, is it possible that the main window with the controls and menus remains on the monitor where it is located before the playback starts ?

ATM, the main window also is moved to the monitor specified for fullscreen playback. Therefore I have to move it back to the first monitor using a hotkey I defined in the nvidia desktop manager, if I would like to pause the movie or something like that.


C.U. NanoBot

Kurtnoise
10th December 2008, 08:08
Then it should at least not crash.
well...sometimes the player (internal filters I'd say) has a strange behaviour. Yesterday, I tested a mkv file w/ eac3 streams and you know what ? Without applying the patch, the player crashed as well.


anyway, thanks to the devs froggies for the last commits. :D

Mercury_22
10th December 2008, 08:12
Here last revision - http://tosei.ru/isoft/mpc/

:thanks:

P.S. Do you know what's up with http://xvidvideo.ru ? :confused:

Aleksoid1978
10th December 2008, 08:21
Is it possible that the main window with the controls and menus remains on the monitor where it is located before the playback starts ?

ATM, the main window also is moved to the monitor specified for fullscreen playback. Therefore I have to move it back to the first monitor using a hotkey I defined in the nvidia desktop manager, if I would like to pause the movie or something like that.


C.U. NanoBot

We have to gather more views on this issue ???

Aleksoid1978
10th December 2008, 08:25
:thanks:

P.S. Do you know what's up with http://xvidvideo.ru ? :confused:

Yes, i know - he has a problem with the Internet (the gap optic cable)

chros
10th December 2008, 10:27
nVidia latest WHQL stable driver (180.40) doesn't save the Dynamic Range setting (Limited, Full) during sessions ... I have to apply Full every time when my PC boots...

Anyone has a registry patch for this ?

Fresh WinXP SP3 x86 install, Geforce 9600GT ...

Thanx

Leak
10th December 2008, 10:53
We have to gather more views on this issue ???
Well, I'm using the tray icon for this, but if the main window could stay where it is (maybe hide the video area, like when you're playing an audio file) it sure would be useful - especially for D3D mode with 2 monitors. :)

Also, even if the tray icon is on monitor 1 the options dialog (for example) opens on the fullscreen monitor, which means I always have to coerce it over via keyboard + mouse when using D3D fullscreen...

avivahl
10th December 2008, 23:53
People w/ ATI cards... "ATI Catalyst 8.12 Display Driver is out"...
http://game.amd.com/us-en/drivers_catalyst.aspx

Try DXVA w/ it and report back...?

Snowknight26
11th December 2008, 00:36
DXVA works fine with 8.12.

cr0
11th December 2008, 01:26
People w/ ATI cards... "ATI Catalyst 8.12 Display Driver is out"...
http://game.amd.com/us-en/drivers_catalyst.aspx

Try DXVA w/ it and report back...?

After upgrading to 8.12 the issues I relayed earlier in the thread are relatively fixed.

Previously I was experiencing corruption during playback of H264 content via DXVA using EVR Custom and Vista 64 if my desktop resolution was greater than 1440x900. Now I still experience corruption when I switch the playback from windowed to full screen but it goes away (and stays away) once a full screen transition happens in the video.

I'm still playing around with it, but DXVA playback is definitely usable by me now.

cr0
11th December 2008, 01:47
After upgrading to 8.12 the issues I relayed earlier in the thread are relatively fixed.

Previously I was experiencing corruption during playback of H264 content via DXVA using EVR Custom and Vista 64 if my desktop resolution was greater than 1440x900. Now I still experience corruption when I switch the playback from windowed to full screen but it goes away (and stays away) once a full screen transition happens in the video.

I'm still playing around with it, but DXVA playback is definitely usable by me now.

Wow, looks like I spoke too soon. On the bright side I found the catalyst for my issue. During install of 8.12 my Windows DPI settings got reverted to the default (96 DPI). As soon as I switched to Large (120 DPI) the corruption came back, switching to an even larger DPI (144 DPI) caused even worse corruption. Reverting back to 96 DPI caused the problem to go away again.

Anyone have any idea why the DPI setting might be causing corruption during playback?

I can't reproduce this issue with my 4870 and 8.11 on my desktop. I will try again with 8.12. I've gone as high as 144 DPI here.

Can anyone else with a 4850, Vista x64, 8.11 or 8.12, and a resolution greater than 1400x900 attempt to reproduce this?

73ChargerFan
11th December 2008, 02:05
Nvidia has released new Geforce 180.84 beta drivers
Which crashes my xp sp3 8600gts system HARD. Reverted to earlier 174 driver and all is well.

cr0
11th December 2008, 02:15
I can't reproduce this issue with my 4870 and 8.11 on my desktop. I will try again with 8.12. I've gone as high as 144 DPI here.

Okay things have gotten weirder. I can play back 1280x720 videos just fine on my 4850, but as soon as I try to play anything with a non-HD resolution at full screen, 1024x576, 720x464, 704x480, or 720x480, I get corruption regardless of my DPI settings.

All of those videos playback fine on my 4870 under a similar setup with DXVA.

Man this problem is driving me crazy!

Edit: 1080p (1920x816) videos playback fine as well.

rack04
11th December 2008, 02:25
Which crashes my xp sp3 8600gts system HARD. Reverted to earlier 174 driver and all is well.

I installed these last week and have nothing bad to say about them.

cr0
11th December 2008, 07:12
Well I haven't managed to fix my problem, but I did work around it by patching MPC-HC to only use DXVA for videos with a resolution of at least 1280x720. I have no need for hardware decoding of SD resolution videos anyways.

I don't know if anyone else is having this issue, but I've attached the patch/diff to this post.

All I did was patch the DXVA check to think that any file with a smaller resolution is not DXVA compatible.

If anyone knows what the actual root problem is, that would be great :p

Aleksoid1978
11th December 2008, 07:41
Well I haven't managed to fix my problem, but I did work around it by patching MPC-HC to only use DXVA for videos with a resolution of at least 1280x720. I have no need for hardware decoding of SD resolution videos anyways.

I don't know if anyone else is having this issue, but I've attached the patch/diff to this post.

All I did was patch the DXVA check to think that any file with a smaller resolution is not DXVA compatible.

If anyone knows what the actual root problem is, that would be great :p

For me, on 4850(and before i have 8800GT) fine work DXVA on SD resolution, and little then SD.

Maybe problem whis you video/driver.

What you's videocard ??? drivers version ???

Casshern
11th December 2008, 10:20
People w/ ATI cards... "ATI Catalyst 8.12 Display Driver is out"...
http://game.amd.com/us-en/drivers_catalyst.aspx

Try DXVA w/ it and report back...?

Here my experiences with Catalyst 8.12, AGP HD 2600 PRO and Win XP 32bit:
1) The VMR9 problem with DXVA (1920x1080 streams on a 1920x1080 display fullscreen) is reduced, but still there!
2) The crashes when aggressively seeking while DXVA playback (Catalyst 8.8-8.11) do not freeze the system but do an instant reboot - i guess you could call this progress

I am back to Catalyst 8.5. - no crashes at all. Perfect DXVA playback with VMR7 (or OVERLAY). Only drawback of this driver is the corruption/framejumping if you want to use the VMR9 DXVA.

regards,
Casshern

Mah
11th December 2008, 11:55
Does BSPlayer support DXVA like let say WMP-HC? That the CPU usage is low, because of GPU. If it is, how to make it to work like WMP-HC? Which codecs?

Aleksoid1978
11th December 2008, 12:37
Does BSPlayer support DXVA like let say WMP-HC? That the CPU usage is low, because of GPU. If it is, how to make it to work like WMP-HC? Which codecs?

Bsplayer don't have self decoder and can't use DXVA. You need download standalone filter and register MpcVideoDec.ax in system for decode h264, VC-1 with DXVA.

Aleksoid1978
11th December 2008, 12:38
HD4850 + 8.12 = all fine on Vista x64 SP1

Mah
11th December 2008, 12:54
Thanks!

gngn
11th December 2008, 15:38
Well I haven't managed to fix my problem, but I did work around it by patching MPC-HC to only use DXVA for videos with a resolution of at least 1280x720. I have no need for hardware decoding of SD resolution videos anyways.

I don't know if anyone else is having this issue, but I've attached the patch/diff to this post.

All I did was patch the DXVA check to think that any file with a smaller resolution is not DXVA compatible.

If anyone knows what the actual root problem is, that would be great :p

i would be interested, as long as the patch is a registry tweak, and it doesnt involve compiling.:D
i still have problems with some SD files with ReFrames =>10 where DXVA playback is corrupted. manually changing the settings, even if for a small number of files from all those i watch, is annoying.

The_Rebel
11th December 2008, 16:20
Just a few problems left that i thought i should report (is this the right place to report bugs?).

While in D3D full-screen mode and you try to load a new file into MPC-HC (via a multi monitor setup) MPC-HC will hang and not load anything.

There's also some problems with the built in audio switcher going back to default settings when the window losses focus (i need to do more testing here).

Klaus_1250
11th December 2008, 16:23
Here last revision - http://tosei.ru/isoft/mpc/

Specific reason why you are using DirectX SDK 38 instead of 40?

i would be interested, as long as the patch is a registry tweak, and it doesnt involve compiling.:D
i still have problems with some SD files with ReFrames =>10 where DXVA playback is corrupted. manually changing the settings, even if for a small number of files from all those i watch, is annoying.
Same here. ATi HD3850 and several .mkv with h264 which won't play in MPC-HC because it tries to use DXVA which is not compatible with the h264's. VMR9 renderless gives me a black screen or green flickering screen. VMR9 gives corruption. I still don't understand why it is not possible to make the decision to use or not use DXVA configurable instead of the automatic way geared towards nVidia (which do support L5.1 features with recent drivers). ATi drivers suck, but with with small things like this, it sucks even more.

cr0
11th December 2008, 17:04
i would be interested, as long as the patch is a registry tweak, and it doesnt involve compiling.:D
i still have problems with some SD files with ReFrames =>10 where DXVA playback is corrupted. manually changing the settings, even if for a small number of files from all those i watch, is annoying.

Unfortunately it's not a registry tweak, maybe there's a way to do it that way, but I patched the code directly.

Further, it's not something I would want to commit because it's pretty much just a two line hack. If someone with some more experience wants to make it into a GUI option, that would be best. Maybe I'll play around with doing that if I get some time.

I'm hesitant to give out a private build as well. As I was too lazy for a couple things when building, I ripped out all the VMR7 stuff so I didn't have to get DX7 files, and setup libavcodec to compile with VS2005 so I don't have to use MingW. This may have broken some QuickTime and RealMedia capabilities, but I don't have any files to test with and I never use these so I didn't really check.

If you're still interested in a private build of the code, please PM me and I'll do my best to respond quickly. If many people want it I'll put it on rapidshare or something.

cr0
11th December 2008, 17:10
For me, on 4850(and before i have 8800GT) fine work DXVA on SD resolution, and little then SD.

Maybe problem whis you video/driver.

What you's videocard ??? drivers version ???

I have the 8.12 drivers in Vista x64 w/ SP1. I don't see the problem with my 4870 on my desktop in the same setup no matter what DPI or settings I use.

The only thing I can think is maybe ATI drivers are doing something differently when outputting to a HDTV that may be causing issues.

If you output to an 1080p HDTV can you try setting your Windows DPI to Lage (120DPI) or some custom DPI and seeing if you get playback corruption w/ EVR Custom?

Shinigami-Sama
11th December 2008, 18:13
why it is not possible to make the decision to use or not use DXVA configurable

it used to be, I still think it should have a shortcut to enable or disable it before you load a video and have to restart mpc, or change the renderer...

Mah
11th December 2008, 18:18
Can anyone explain me this?
I am just using sample of some movies to see if it works through graphic hardware. I got sample of Horton Hears a Who! it's 1080p (between 9000 and 10000 bitrates) and it's working smoothly (I am using WMP-HC), everything good. I got sample of The Dark Knight (which is also 1080p and was above 12000 bitrates). It also worked fine, smooth. Than I got The Dark Knight 1080 p (between 11000 and 12000 bitrates) and it doesn't work through hardaware, CPU usage is high and it doesn't work smoothly. Then I also got Sex and the City sample 1080p (between 9000 and 10000 bitrates) an doesn't work through hardware, CPU usage high. I don't know what is the deal. For all was WMP-HC. What's the deal?

cr0
11th December 2008, 18:23
Can anyone explain me this?
I am just using sample of some movies to see if it works through graphic hardware. I got sample of Horton Hears a Who! it's 1080p (between 9000 and 10000 bitrates) and it's working smoothly (I am using WMP-HC), everything good. I got sample of The Dark Knight (which is also 1080p and was above 12000 bitrates). It also worked fine, smooth. Than I got The Dark Knight 1080 p (between 11 and 12 bitrates) and it doesn't work through hardaware, CPU usage is high and it doesn't work smoothly. Then I also got Sex and the City sample 1080p (between 9000 and 10000 bitrates) an doesn't work through hardware, CPU usage high. I don't know what is the deal. For all was WMP-HC. What's the deal?

Not all H264, VC1 content can use DXVA. So some files will work and others will not.

There's some more information earlier in this thread (page 99ish) and here:

http://forum.doom9.org/showthread.php?t=137974

Mah
11th December 2008, 18:37
Not all H264, VC1 content can use DXVA. So some files will work and others will not.

There's some more information earlier in this thread (page 99ish) and here:

http://forum.doom9.org/showthread.php?t=137974

Yeah, I found that. Thanks! But why is that? Will there be a solution in the future for that?

wiak
11th December 2008, 20:11
Here last revision - http://tosei.ru/isoft/mpc/
mirror here :)
http://s3.nwgat.net/mpc-hc/mpc.x86.920.7z
http://s3.nwgat.net/mpc-hc/mpc.x64.920.7z
http://s3.nwgat.net/mpc-hc/Filters.x86.920.7z
http://s3.nwgat.net/mpc-hc/Filters.x64.920.7z

Kado
11th December 2008, 22:11
@Mah
It's a hardware limitation if you're talking about the maximum reference frames, nothing can be done.

Mah
11th December 2008, 22:21
@Mah
It's a hardware limitation if you're talking about the maximum reference frames, nothing can be done.

I am not good at this, but what reference frames?

Aleksoid1978
11th December 2008, 23:52
Specific reason why you are using DirectX SDK 38 instead of 40?


No, just don't download last DXSDK. How you know what version of DX i use ??? MPC-HC show current version of DX installed in system, not a SDK version

SeeMoreDigital
12th December 2008, 00:31
mirror here :)
http://s3.nwgat.net/mpc-hc/mpc.x86.920.7z
http://s3.nwgat.net/mpc-hc/mpc.x64.920.7z
http://s3.nwgat.net/mpc-hc/Filters.x86.920.7z
http://s3.nwgat.net/mpc-hc/Filters.x64.920.7zUnfortunately these "920" builds of MPC HC are unable to correctly display MPEG-4 AVC video encoded with aspect ratio signalling!

Casimir666 managed to fix this issue with build "886" (http://forum.doom9.org/showthread.php?p=1212893#post1212893). Why is not fixed in any of the newer builds?


Cheers

Aleksoid1978
12th December 2008, 00:47
Unfortunately these "920" builds of MPC HC are unable to correctly display MPEG-4 AVC video encoded with aspect ratio signalling!

Casimir666 managed to fix this issue with build "886" (http://forum.doom9.org/showthread.php?p=1212893#post1212893). Why is not fixed in any of the newer builds?


Cheers

AR read from stream - but only for software decoding and DXVA 2(DXVA 1 temporary not supported).

Use XP or Vista ??? Can upload short sample ???

cr0
12th December 2008, 02:10
Unfortunately it's not a registry tweak, maybe there's a way to do it that way, but I patched the code directly.

Further, it's not something I would want to commit because it's pretty much just a two line hack. If someone with some more experience wants to make it into a GUI option, that would be best. Maybe I'll play around with doing that if I get some time.

<snip>



Looks like I have more time than I thought. I went ahead and made a GUI option out of this and added it to the DXVA dialog. The option is called "Don't decode SD H264 streams".

I've submitted the changes as a patch to the SourceForge project. Maybe it will make it until an official build for others who are looking for this support.

If you want to apply the patch manually you can download the file from this SF link:

https://sourceforge.net/tracker2/?func=detail&aid=2418956&group_id=170561&atid=854653

Aleksoid1978
12th December 2008, 02:24
Looks like I have more time than I thought. I went ahead and made a GUI option out of this and added it to the DXVA dialog. The option is called "Don't decode SD H264 streams".

I've submitted the changes as a patch to the SourceForge project. Maybe it will make it until an official build for others who are looking for this support.

If you want to apply the patch manually you can download the file from this SF link:

https://sourceforge.net/tracker2/?func=detail&aid=2418956&group_id=170561&atid=854653

Something wrong with you system/driver. Maybe you do some registry tweak, because for me h264 with resolution little then 1280x720, EVR Custom - DXVA fine, no corruption.

Upload short sample of you files for testing.

cr0
12th December 2008, 02:48
Something wrong with you system/driver. Maybe you do some registry tweak, because for me h264 with resolution little then 1280x720, EVR Custom - DXVA fine, no corruption.

Upload short sample of you files for testing.

I have no registry tweaks, this is a fresh install of Vista x64 w/ SP1 latest intel chipset drivers, latest ATI 8.12 drivers. All I did (besides adjust my windows DPI) is unzip mpc-hc and try to play files after install.

My problem exists with all SD H264 media, I've tried about fifty different files and all of them have corruption if I enable DXVA. These files play correctly on my desktop with a 4870 and 8.12. They are from different ages, different groups, different sources.

Here's a sample I found online which will cause corruption on my 4850 but not my 4870:

http://www.sabandcom.com/H264/index.html

Are you outputting to an HDTV? If so can you try setting your windows DPI to 120 or higher and then trying playback of SD and HD H264 media?

Aleksoid1978
12th December 2008, 02:55
I have no registry tweaks, this is a fresh install of Vista x64 w/ SP1 latest intel chipset drivers, latest ATI 8.12 drivers. All I did (besides adjust my windows DPI) is unzip mpc-hc and try to play files after install.

My problem exists with all SD H264 media, I've tried about fifty different files and all of them have corruption if I enable DXVA. These files play correctly on my desktop with a 4870 and 8.12. They are from different ages, different groups, different sources.

Here's a sample I found online which will cause corruption on my 4850 but not my 4870:

http://www.sabandcom.com/H264/index.html

Are you outputting to an HDTV? If so can you try setting your windows DPI to 120 or higher and then trying playback of SD and HD H264 media?

As i understand you play file on HD TV from 4850 ??? I have TV only HDready - 1378x768 and 22 monitor - 1680x1050. But i think truble not in TV. Why you UP you DPI settings in Windows ???

cr0
12th December 2008, 04:50
As i understand you play file on HD TV from 4850 ??? I have TV only HDready - 1378x768 and 22 monitor - 1680x1050. But i think truble not in TV. Why you UP you DPI settings in Windows ???

Yeah, my 4850 is connected to a 1080p HDTV.

Well 1080p is a high resolution, which makes the text very small from 10ft away. It's not very easy to read at this distance without raising the DPI.

I don't think the trouble is in my TV either, but the problem may have something to do with how the ATI drivers handle HDTV output versus a regular display.

I will try moving my desktop into the living room this weekend and connecting my 4870 to the HDTV and seeing if I can reproduce the issue with it.

thrawnrulz68
12th December 2008, 05:38
Hi I am having a problem with MPC-HC (all versions). When I click the file menu, the player freezes up for 45-60 seconds and I cannot do anything. I can either manually kill the process or wait. I thought this might be a problem with my system but my resources are free and this doesn't happen with other programs or with other menus within MPC. The same thing occurs if I use a keyboard shortcut for one of the items listed in the file menu such as ctrl-q or ctrl-o. My system is Dell Latitude D620, WinXP SP3, 1.83 Ghz, 4GB RAM, DirectX 9.0c.

moshmothma
12th December 2008, 06:26
Aleksoid1978 - have a couple of questions/suggestions:

1. Using the standalone filters h264 decoding in mkv results in stuttering video (only in dxva1). This is true of all version of mpc-hc I have tried including 920. I have tried a number of source filters and splitters including the mpc mkv splitters without success.

2. Could the mpc-hc mpegsplitter be modified to show a separate track for the ac3 core of an mlp track? I want to use ac3filter to decode my ac3 files however, I must use ffdshow for ac3 in order to play mlp. It results in a lot of clicking to change audio. It would be nice to have the splitter display separate audio tracks for the core and the full mlp - then I can set a particular stream to play.

thanks

Aleksoid1978
12th December 2008, 06:28
Hi I am having a problem with MPC-HC (all versions). When I click the file menu, the player freezes up for 45-60 seconds and I cannot do anything. I can either manually kill the process or wait. I thought this might be a problem with my system but my resources are free and this doesn't happen with other programs or with other menus within MPC. The same thing occurs if I use a keyboard shortcut for one of the items listed in the file menu such as ctrl-q or ctrl-o. My system is Dell Latitude D620, WinXP SP3, 1.83 Ghz, 4GB RAM, DirectX 9.0c.

Possible in you DVD-ROM insert video disk, and MPC-HC try to read it when you click menu. See on DVD by clicking menu.

Aleksoid1978
12th December 2008, 06:32
Aleksoid1978 - have a couple of questions/suggestions:

1. Using the standalone filters h264 decoding in mkv results in stuttering video (only in dxva1). This is true of all version of mpc-hc I have tried including 920. I have tried a number of source filters and splitters including the mpc mkv splitters without success.

2. Could the mpc-hc mpegsplitter be modified to show a separate track for the ac3 core of an mlp track? I want to use ac3filter to decode my ac3 files however, I must use ffdshow for ac3 in order to play mlp. It results in a lot of clicking to change audio. It would be nice to have the splitter display separate audio tracks for the core and the full mlp - then I can set a particular stream to play.

thanks

1) - i don't no why it. I test - for me work MPC-HC and filters, but on Vista x64, DXVA2. Test MPC-HC, not filters ???

2) - Try to use HaaliMediaSplitter as mpegsplitter(uncheck internal mpegsplitter)

SeeMoreDigital
12th December 2008, 10:00
AR read from stream - but only for software decoding and DXVA 2(DXVA 1 temporary not supported).

Use XP or Vista ??? Can upload short sample ???Here you go: -

http://rapidshare.de/files/40903339/SMD_Test_Samples.7z.html


Cheers

Mah
12th December 2008, 10:19
In time, it will be fixed.

Kado
12th December 2008, 14:02
Use mediainfo (http://mediainfo.sourceforge.net/en) to check the number of reference frames in the files.
It was already proven by numerous people in this forums.
Anyway MPC-HC has a software limitation (that can be overridden) to avoid unproper DXVA decoding where it switches to software mode if the file has more than 11 ref frames. You can try with Cyberlinks decoder because it always uses dxva or not, depending on you settings, if the file has more than 11 ref frames you
get a black video screen with no playback or green screen and audio. I'll try to provide samples later.

Aleksoid1978
12th December 2008, 14:10
Here you go: -

http://rapidshare.de/files/40903339/SMD_Test_Samples.7z.html


Cheers

I test under Vista x64, SP1 - all two samples playback fine, AR is good, DXVA is work.

Kado
12th December 2008, 14:38
H264 non DXVA compatible file, 15 reference frames. (http://rapidshare.de/files/41119462/_Menclave__Shigofumi_01__H264__8CE72F03_-001.mkv.html)
H264 DXVA compatible file, 11 reference frames. (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html)

Both files have Standard Resolution, not HD.

In time, it will be fixed.
Yes, with new hardware that has no limitations.

Mah
12th December 2008, 15:05
H264 non DXVA compatible file, 15 reference frames. (http://rapidshare.de/files/41119462/_Menclave__Shigofumi_01__H264__8CE72F03_-001.mkv.html)


H264 DXVA compatible file, 11 reference frames. (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html)

Both files have Standard Resolution, not HD.

What does this files proves? The file that is DXVA compatible, 11 reference frames works fine as DXVA should.

The other one, I cannot download it.

Mah
12th December 2008, 15:16
Use mediainfo (http://mediainfo.sourceforge.net/en) to check the number of reference frames in the files.
It was already proven by numerous people in this forums.
Anyway MPC-HC has a software limitation (that can be overridden) to avoid unproper DXVA decoding where it switches to software mode if the file has more than 11 ref frames. You can try with Cyberlinks decoder because it always uses dxva or not, depending on you settings, if the file has more than 11 ref frames you
get a black video screen with no playback or green screen and audio. I'll try to provide samples later.

Where can I get Cyberlinks decoder?

Anyway, those 1080p h264 videos profile 4.1 works smoothly, but 1080p h264 profile 5.1 don't. DXVA just doesn't support those.

Mah
12th December 2008, 15:39
I used MediaInfo and those file that I said didn't work smoothly, it's not because of hardware limitations, because those that didn't work, all had profile 4.1 and none of them went above 8 reference frames, but like someone said that not all H264, VC1 content can use DXVA. So some files will work and others will not.

nurbs
12th December 2008, 16:29
At level 4.1 for a 1080p resolution the maximum number of reference frames is 4.

cca
12th December 2008, 17:16
By the way, http://www.xvidvideo.ru/ seems to be back online!

Mah
12th December 2008, 17:27
At level 4.1 for a 1080p resolution the maximum number of reference frames is 4.

Ok, thanks! Now at least I know the problem. So, that is the hardware limitation or for that case will be able to solve it without that, but with software?

thrawnrulz68
12th December 2008, 18:58
Possible in you DVD-ROM insert video disk, and MPC-HC try to read it when you click menu. See on DVD by clicking menu.

Hmmm... I checked the open disc menu to see if the last DVD I inserted was still listed there but it is not. I think this means MPC-HC is not still looking for the DVD? Anyway, then I put the last DVD back in but the menu still takes ages to open with the DVD in or not.

BTW, I am using the x86 build.

Kado
12th December 2008, 19:20
What does this files proves?
They prove what they say, one works but the other doesn't due to the number of reference frames.

Where can I get Cyberlinks decoder?

Anyway, those 1080p h264 videos profile 4.1 works smoothly, but 1080p h264 profile 5.1 don't. DXVA just doesn't support those.
You can get them by installing PowerDVD 7 or later.
Also DXVA supports L5.1 streams:
"nvidia cards now support level 5.1 streams" quoted from MPC-HC log (http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=log) rev857.
Also check this picture (http://pwp.netcabo.pt/kado/1080p_DXVA_L5.1.png) where DXVA is working with a L5.1 stream.
The problem with dxva working or not is related to the number of reference frames.

Ok, thanks! Now at least I know the problem. So, that is the hardware limitation or for that case will be able to solve it without that, but with software?
I wonder if you know what DXVA actually is...

Mah
12th December 2008, 19:44
They prove what they say, one works but the other doesn't due to the number of reference frames.

I know and I expected that from samples from what I learned.


You can get them by installing PowerDVD 7 or later.
Also DXVA supports L5.1 streams:
"nvidia cards now support level 5.1 streams" quoted from MPC-HC log (http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=log) rev857.
Also check this picture (http://pwp.netcabo.pt/kado/1080p_DXVA_L5.1.png) where DXVA is working with a L5.1 stream.
The problem with dxva working or not is related to the number of reference frames.

Yeah, I found that also due to more samples.

I wonder if you know what DXVA actually is...

It's a DirectX video acceleration which used by programs, video decoders, where then multimedia (those DXVA compatible, but now I know not all since hardware limitation) goes actually through the graphic hardware and not CPU or processor, graphic card does the work. The point is that I didn't know there was a hardware limitation until yesterday.

I am not following anything related to computers already six years until few days, because I don't care about games or anything for me to need strong CPU or graphic card, but I had too weak comp for playing all Blu Ray discs. That is why I bought HD Radeon, because I knew that one had UVD and didn't buy strong CPU. I found out what I needed to play Blu Rays, which filters. Mostly worked fine (also 1080p) until I found some sample that didn't work and I wondered why and found out that it's a hardware limitation (thanks to you). I don't like that, because I don't want to buy a new processor for Blu Rays that is why I bought graphic card to do work, but it's limited, but it's still fine and satisfying.

clsid
12th December 2008, 20:00
Hmmm... I checked the open disc menu to see if the last DVD I inserted was still listed there but it is not. I think this means MPC-HC is not still looking for the DVD? Anyway, then I put the last DVD back in but the menu still takes ages to open with the DVD in or not.

BTW, I am using the x86 build.
Yes, this is caused by MPC looking for your CD/DVD drives. This issue has been present in MPC for years. I don't know why it causes such a big delay. It only happens in specific situations. Maybe any of the MPC-HC devs knows how to fix it.

You can solve it by enabling this option:
Options -> Player -> Hide CD-ROMs menu

moshmothma
12th December 2008, 21:02
1) - i don't no why it. I test - for me work MPC-HC and filters, but on Vista x64, DXVA2. Test MPC-HC, not filters ???

2) - Try to use HaaliMediaSplitter as mpegsplitter(uncheck internal mpegsplitter)


1. Sorry, I should have mentioned I use XP. This behaivor is only manifested with Standalone filters. Same thing in MPC. In fact the video is worse. If I use haali in MPC-HC works fine.

2. Unfortunately, Haali splitter does not recognize a truehd at all. This is not a choice for splitting an mlp track....

Kado
12th December 2008, 22:28
@Mah
All Bluray discs (H.264, MPEG-2 ,VC-1) must be DXVA compilant, i.e., hardware decodable because they must be readable by standalone Bluray players that use Hardware/DSP logic to decode the streams.
Maybe what you are trying to play are downloaded rips from Bluray discs, and that way you must abide to the ripper chosen settings that may make those files DXVA compatible or not.
Also I suppose that support to downloaded files (warez) is not provided according to forum rule #6 (http://forum.doom9.org/forum-rules.htm), but a moderator must confirm this.
If you are making those backups don't use more than 4 reference frames if the final resolution is 1080p.

Mah
12th December 2008, 22:39
@Mah
All Bluray discs (H.264, MPEG-2 ,VC-1) must be DXVA compilant, i.e., hardware decodable because they must be readable by standalone Bluray players that use Hardware/DSP logic to decode the streams.
Maybe what you are trying to play are downloaded rips from Bluray discs, and that way you must abide to the ripper chosen settings that may make those files DXVA compatible or not.
Also I suppose that support to downloaded files (warez) is not provided according to forum rule #6 (http://forum.doom9.org/forum-rules.htm), but a moderator must confirm this.
If you are making those backups don't use more than 4 reference frames is the final resolution is 1080p.

Yes. That only goes for those samples I was trying (and I was using them only to test new graphic card, if everything is ok with it and if it's working and because it didn work with some, I thought it could be something wrong with it, but it's not), otherwise Blu Ray discs must be DXVA compilant, but those samples from Blu Ray rips which are above 11 reference frames aren't anymore or even above 4 if 1080p. Thanks for help!

Kado
12th December 2008, 23:40
Those samples are re-encodes and not direct stream copies that's why they are not DXVA compliant.
I don't know if nvidia or ATI have better support for DXVA but I'm using a Geforce 9800GTX.
You should check the new catalyst drivers v8.12 for your GPU (XP (http://downloads.guru3d.com/ATI-Catalyst-8.12-XP-32-bit-download-2142.html) / Vista (http://downloads.guru3d.com/ATI-Catalyst-8.12-Vista-32-bit-download-2143.html)), maybe they bring something new for DXVA, or not!:P

jimz06
13th December 2008, 02:25
Hoping someone can me point in the right direction on this strange issue I'm having with a remux of an H264 HD DVD (Babel) in MPC (using 1.2.908.0) and Haali 1.8.122.18. Graphics are GTX 260 with FW180.48.

1. The raw H264 stream plays just fine in software mode.

2. When the H264 stream is in an mkv container it plays fine in software (Coreavc) but has a regular stutter/image breakup every 3-5 seconds in DXVA mode. It also plays fine on my PopcornHour.

Here is the file info:

Complete name : E:\ToNMT\Babel.mkv
Format : Matroska
File size : 22.3 GiB
Duration : 2h 23mn
Overall bit rate : 22.2 Mbps
Encoded date : UTC 2008-12-11 05:15:07
Writing application : eac3to
Writing library : Haali DirectShow Matroska Muxer 1.8.122.18

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 23mn
Bit rate : 21.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : Component
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Is this a muxing issue or is there some incompatibility between the filter and the video drivers creating the stutter? Also, I have no problem with H264 files I've created from blu rays in .m2ts or .ts containers. Would appreciate any insight on this. At least this has been a learning experience.

The_Rebel
13th December 2008, 06:36
Hoping someone can me point in the right direction on this strange issue I'm having with a remux of an H264 HD DVD (Babel) in MPC (using 1.2.908.0) and Haali 1.8.122.18. Graphics are GTX 260 with FW180.48.

1. The raw H264 stream plays just fine in software mode.

2. When the H264 stream is in an mkv container it plays fine in software (Coreavc) but has a regular stutter/image breakup every 3-5 seconds in DXVA mode. It also plays fine on my PopcornHour.

Here is the file info:

Complete name : E:\ToNMT\Babel.mkv
Format : Matroska
File size : 22.3 GiB
Duration : 2h 23mn
Overall bit rate : 22.2 Mbps
Encoded date : UTC 2008-12-11 05:15:07
Writing application : eac3to
Writing library : Haali DirectShow Matroska Muxer 1.8.122.18

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 23mn
Bit rate : 21.4 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : Component
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Is this a muxing issue or is there some incompatibility between the filter and the video drivers creating the stutter? Also, I have no problem with H264 files I've created from blu rays in .m2ts or .ts containers. Would appreciate any insight on this. At least this has been a learning experience.

Are you sure your using DXVA (check the stats overlay).

Also what CPU do you have (because i think it's too slow for 22mbits of h.264 thus why you have your problem)

Emp3r0r
13th December 2008, 07:05
Can anyone verify the latest (from sourceforge) MPCVideoDec.ax x64 works with WMP x64 or Vista Media Center x64? work

Thanks

Edit: it does work, however in my case it was conflicting with other codec's see here (http://forum.doom9.org/showthread.php?p=1224113#post1224113)

Mah
13th December 2008, 09:41
@Mah
If you are making those backups don't use more than 4 reference frames if the final resolution is 1080p.

Is there anywhere some guide on this forum for this?

ikarad
13th December 2008, 10:04
1) There is a bug with MPC home cinema under VISTA home premium 32bits and subtitles.
I use mpc home cinema (1.2.908)+ vobusb (2.38) to see subtitles.
Under XP there isn't delay between video and subtitles but under vista there is nearly two seconds (1.6 seconds precisely).

I notice that when i launch .vob files (or .ifo file which miss pub) instead of using "launch dvd function" there isn't delay between video and subtitles under vista but when I use "launch dvd function" under vista there is a delay of two seconds and consequently subtitles are delayed.

I try all version of mpc home cinema but there is the same problem.

I would like to know if this bug is known and if this bug will be corrected in a new version of mpc home cinema.

I try with two différent PC under vista and there is the same problem.

2) the support of M2TS presentation graphics streams is buggued with subtitle in some blu-ray disc like japan anime. Even with the last official version (1.2.908) of MPC HC some subtitles aren't displayed.

I would like to known if these bugs will be corrected in a new version.

Thanks. (excuse me for my bad english)

Casshern
13th December 2008, 10:13
Hi Developers,
1) thanx for the great work
2) a fantastic feature would be to choose whether the controls in fullscreen mode are at the bottom (as they are now) or at the top.

Me and a couple of friends have the problem that we have some speakers slightly in the 16x9 frame. This of course makes using the controls hard. We used Zoomplayer where you are rather flexible in configuring the user interface. But the only really necessary function would be the possibility to display the controls and seek bar at the top instead of the bottom. That would finally enable us to ditch zoomplayer and go full open source!

regards,

Casshern

Casimir666
13th December 2008, 12:26
2) the support of M2TS presentation graphics streams is buggued with subtitle in some blu-ray disc like japan anime.
For this i need a sample make with tsRemux (http://forum.doom9.org/showthread.php?t=125447) (be careful do not use TSMuxer for this) :
- open the M2TS
- select all elementary streams
- select "blu ray" as output
- enter some trim duration to have 1mn of video with subtitles inside
- upload sample to zshare or something

alexins
13th December 2008, 14:46
Media Player Classic HomeCinema (x86), svn 922 (http://www.xvidvideo.ru/content/view/472/1/)
Media Player Classic HomeCinema (x64), svn 922 (http://www.xvidvideo.ru/content/view/473/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/)

CHANGED: Hotkeys added to support more remote control keys; FIXED : Save thumbnails crash in x64; CHANGED: Support for Theora in Matroska internal splitter

jimz06
13th December 2008, 15:45
Are you sure your using DXVA (check the stats overlay).

Also what CPU do you have (because i think it's too slow for 22mbits of h.264 thus why you have your problem)

Thanks for the response. Definitely DXVA, usually 10% or under CPU when using the mpcvideo filter. Note the cpu has no issues with the raw H264 stream, or similar bitrate H264 files created from blu ray rips, and the CPU is powerful enough to play the movie in software mode with Coreavc filter. It's a dual core Opteron @2.4 Ghz.

ikarad
13th December 2008, 18:07
For this i need a sample make with tsRemux (http://forum.doom9.org/showthread.php?t=125447) (be careful do not use TSMuxer for this) :
- open the M2TS
- select all elementary streams
- select "blu ray" as output
- enter some trim duration to have 1mn of video with subtitles inside
- upload sample to zshare or something

Here is the link for video (utaweruromo 1 min with subtitles) with subtitles embedded (265 MB)
http://www.zshare.net/download/5268802709403859/

the other link is a txt file with all subtitles (1 kB)
http://www.zshare.net/download/5268532167381f2b/

Casimir666
13th December 2008, 20:42
Here is the link for video (utaweruromo 1 min with subtitles) with subtitles embedded (265 MB)
http://www.zshare.net/download/5268802709403859/

the other link is a txt file with all subtitles (1 kB)
http://www.zshare.net/download/5268532167381f2b/

Can you try with this build : http://www.zshare.net/download/52694090c9ee52d5/

gngn
13th December 2008, 21:33
i downloaded the sample and the test-build, it worked, but: i had to select the subtitles from the splitters menu, they weren't loaded, and i got some weird OSD display and not the subtitles:
http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_m2tssubs.png (http://s266.photobucket.com/albums/ii259/gngnmumu/dxva/?action=view&current=m2tssubs.png)
after going fullscreen the subtitles were displayed properly.
with Haali splitter i dont get audio+subs with this sample, but it works with the internal splitter of MPC-HC

ikarad
13th December 2008, 22:41
Can you try with this build : http://www.zshare.net/download/52694090c9ee52d5/

Thanks, all subtitles are now displayed, however some subtitles are not displayed with the right timing.
In the video I gave you, there is one case:
- 5 subtitles are displayed with a noticeable delay (ie. They start later than expected, however they end exactly as they should),


** In the 1min video I gave you, here are the subtitles which start with a delay:
“8
00:00:12,679 --> 00:00:15,148
Just relax and sleep .”
“13
00:00:41,641 --> 00:00:44,644
My name's Eluluu.”

“15
00:00:47,714 --> 00:00:50,984
And this is my house .”

“17
00:00:52,986 --> 00:00:57,323
Well , I found you collapsed in the forest.”

“21
00:01:03,630 --> 00:01:07,133
You're through the worst of it,
that's what Grandma says.”


EDIT: I made a mistake, I have said that one subtitle ends sooner than expected but it is wrong. In fact the original subtitle ends really slightly before the character stops speaking, this has leading me to make this mistake.

betaking
14th December 2008, 06:08
hi! Casimir666 can you make RealMediaSplitter support realplayer11? last RealMediaSplitter only support realplayer10.5! but realplayer10.5 have a security problem! thanks!

wiak
14th December 2008, 06:14
mpc-hc needs to revert to ffmpeg if its over or under level 4.1 with 3-4refs on 1080p and 5-8refs on 720p i think it was

azulazules
14th December 2008, 11:53
Bonjour Casimir; hi all!

I am using MPC HC h264 (1080p@24fps in this case) Internal Decoder on both:
(1) -> HD2400 => VGA => CRT Monitor
(2) -> HD2400 => DVI->HDMI => LCD HDTV

With (1) VGA, I can use either:
-> VMR9 DXVA1 => GPU @ 30%
-> Haali Renderer DXVA1 => GPU @ 4%
-> EVR Custom DXVA1 => GPU @ 4%

With (2) DVI->HDMI, I can use only:
-> VMR9 DXVA1 => GPU @ 30%
abd I have black screen for:
-> Haali Renderer DXVA1 => GPU @ 0%
-> EVR Custom DXVA1 => GPU @ 0%
With DXVA1 disabled, HDTV display is just fine and I can use either VMR9, Haali Renderer and EVR.

Can't find out why I can't EVR-DXVA1 on my DVI->HDMI HDTV Screen. Have any idea why and how to have EVR on my HDTV?

Also, how can it be VMR9 uses about 10 times more GPU than Haali Renderer and EVR (all Pixel Shader disabled always)?

Thanks for any help you could provide me :-)

Note: I use RivaTuner to monitor GPU usage.

Aleksoid1978
14th December 2008, 12:31
Under XP don't work EVR+DXVA1. EVR work only in Vista, DXVA2. With Haali render DXVA not work.

Under XP you must use VMR9 for DXVA1 is work.

Kado
14th December 2008, 13:59
I think that DXVA does not use the GPU like a game uses because the DXVA/Hardware video decoding is DSP core logic inside the GPU, so those values are not related to video decoding.

azulazules
14th December 2008, 14:53
Thanks. Right, it is not possible to DXVA1 with EVR on my DVI->HDMI=>HDTV; at least for me, yet. But...

Still, the fact is I can do very nice and low power use on GPU DXVA1 with EVR or "Haali Renderer" / WinXP when I display the image on VGA.

Makes me think there could be a limitation with DXVA to HDTV. Ever heard of that? And any solution if any? :(

rack04
14th December 2008, 14:58
Under XP don't work EVR+DXVA1. EVR work only in Vista, DXVA2. With Haali render DXVA not work.

Under XP you must use VMR9 for DXVA1 is work.

Are only certain cards capable of DXVA2 because using a 8800gt with EVR in Vista I only see DXVA1?

clsid
14th December 2008, 15:41
hi! Casimir666 can you make RealMediaSplitter support realplayer11? last RealMediaSplitter only support realplayer10.5! but realplayer10.5 have a security problem! thanks!
It already works with RP11. It just doesn't work with new versions of cook.dll.

Casimir already tried to fix it, but the problem lies inside the RealMedia SDK, which is very old. So if you want it to be fixed, go ask RealNetworks to release an updated SDK.

SBeaver
14th December 2008, 16:17
With build 920 and 922 (32bit) MPC stops responding when I press the 'File' menu button.
Everything else works as it should, but I can't press File.
Any ideas?

I tried x64 version and I also tried downgrading to a version that used to work, it didn't help. Using catalyst 8.12, vista x64

also tried build 923, and tried reseting all settings to default.

betaking
14th December 2008, 17:23
With build 920 and 922 (32bit) MPC stops responding when I press the 'File' menu button.
Everything else works as it should, but I can't press File.
Any ideas?

I tried x64 version and I also tried downgrading to a version that used to work, it didn't help. Using catalyst 8.12, vista x64

also tried build 923, and tried reseting all settings to default.

If you use Kaspersky antivirus add mpc-hc to settings- Options-Kaspersky-Threats and
exclusions-exclusions-Tursted zone-Trusted applications

73ChargerFan
14th December 2008, 19:35
1)There is a bug with MPC home cinema under
.
.
.
I would like to know if this bug is known and if this bug will be corrected in a new version of mpc home cinema.

Check out the bug tracker (https://sourceforge.net/tracker/?atid=854651&group_id=170561&func=browse) at sourceforge. If you don't see it, use the "Add new artifact" button.

SBeaver
14th December 2008, 23:00
If you use Kaspersky antivirus add mpc-hc to settings- Options-Kaspersky-Threats and
exclusions-exclusions-Tursted zone-Trusted applications

I don't use kaspersky. Anyway, it must have been some freak thing because it went away after a couple of BSOD+reboots.
Maybe it was the new catalyst giving me trouble, I don't think I rebooted after installing it.

CruNcher
15th December 2008, 06:22
Huh ???
Can somebody confirm that Nvidia Buged VMR9 support for Win XP in the latest 180.84 Beta Forceware (8800 GT)
My PC is freezing immediately trying to buildup a VMR9 surface (after the Driver update) application doesn't matter (MPC,WMP) VMR7 works ok :)

Nevermind seems it freezes everwhere Direct3D is involved major bug in the Driver i guess.

betaking
15th December 2008, 06:43
It already works with RP11. It just doesn't work with new versions of cook.dll.

Casimir already tried to fix it, but the problem lies inside the RealMedia SDK, which is very old. So if you want it to be fixed, go ask RealNetworks to release an updated SDK.

thanks!but i found new realmedia sdk at here:
https://helix-producer.helixcommunity.org/Downloads.htm

Casimir666
15th December 2008, 08:24
thanks!but i found new realmedia sdk at here:
https://helix-producer.helixcommunity.org/Downloads.htm

Mpc didn't use any RM SDK : it load the real media DLL present on your computer (pnen3260.dll) and call it's functions. So as Clsid says, mpc use the latest real media present on your machine.

chros
15th December 2008, 10:44
Huh ???
Can somebody confirm that Nvidia Buged VMR9 support for Win XP in the latest 180.84 Beta Forceware (8800 GT)
My PC is freezing immediately trying to buildup a VMR9 surface (after the Driver update) application doesn't matter (MPC,WMP) VMR7 works ok :)

Nevermind seems it freezes everwhere Direct3D is involved major bug in the Driver i guess.

It's working form me, except this bug:
http://forum.doom9.org/showthread.php?p=1222631#post1222631

clsid
15th December 2008, 13:27
Mpc didn't use any RM SDK : it load the real media DLL present on your computer (pnen3260.dll) and call it's functions. So as Clsid says, mpc use the latest real media present on your machine.
I meant the header files in \include\realmedia

thanks!but i found new realmedia sdk at here:
https://helix-producer.helixcommunity.org/Downloads.htm
That is not the correct one.

gngn
15th December 2008, 14:30
It's working form me, except this bug:
http://forum.doom9.org/showthread.php?p=1222631#post1222631

i have no problems whatsoever, not in games and not with VMR9. maybe you should use driver sweeper (http://www.guru3d.com/category/driversweeper/) and try a fresh install of the drivers?

clsid
15th December 2008, 15:23
1) There is a bug with MPC home cinema under VISTA home premium 32bits and subtitles.
I use mpc home cinema (1.2.908)+ vobusb (2.38) to see subtitles.
Under XP there isn't delay between video and subtitles but under vista there is nearly two seconds (1.6 seconds precisely).

I notice that when i launch .vob files (or .ifo file which miss pub) instead of using "launch dvd function" there isn't delay between video and subtitles under vista but when I use "launch dvd function" under vista there is a delay of two seconds and consequently subtitles are delayed.

I try all version of mpc home cinema but there is the same problem.

I would like to know if this bug is known and if this bug will be corrected in a new version of mpc home cinema.

I try with two différent PC under vista and there is the same problem.
I don't think that DirectVobSub is used for DVD subtitles. I think that is handled internally. Nevertheless, this delay issue should be fixed.

With what video renderer(s) does it happen?
Does it happen with ALL your DVDs?
Is the delay always the same value?

CruNcher
15th December 2008, 16:12
It's working form me, except this bug:
http://forum.doom9.org/showthread.php?p=1222631#post1222631

I wish it would be only that for me but as i said it's freezing my PC and im not the only one :) so might be that Nvidia killed via a bug 1 complete configuration set, rarely happens this extreme though :) reverted back to 180.70 and everything is fine.

http://forums.nvidia.com/index.php?showtopic=83984

alexins
16th December 2008, 00:26
Media Player Classic HomeCinema (x86), svn 925 (http://www.xvidvideo.ru/content/view/482/1/)
Media Player Classic HomeCinema (x64), svn 925 (http://www.xvidvideo.ru/content/view/481/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/)

Updated FFmpeg; Fixed : non recognized H264 stream

rack04
16th December 2008, 02:14
Should "read AR from stream" be checked in the filter properties?

cr0
16th December 2008, 07:10
Wow, looks like I spoke too soon. On the bright side I found the catalyst for my issue. During install of 8.12 my Windows DPI settings got reverted to the default (96 DPI). As soon as I switched to Large (120 DPI) the corruption came back, switching to an even larger DPI (144 DPI) caused even worse corruption. Reverting back to 96 DPI caused the problem to go away again.

Well, I'm still unable to use DXVA for low resolution H264 content, but I did figure out something with the DPI settings.

If I'm using a non-standard DPI, I need to run MPC-HC in Compatibility mode with "Disable display scaling on high DPI settings" checked or make sure to choose "Use Windows XP style DPI scaling" when setting the DPI. Doing this allows me to continue decoding HD/FullHD H264 content via DXVA without corruption.

Aleksoid1978
16th December 2008, 07:21
Should "read AR from stream" be checked in the filter properties?

Yea - it is help if video show with not right Aspect Ratio(when in video header AR incorrect, but in video stream correct)

hrr
16th December 2008, 11:52
Hi !People w/ ATI cards... "ATI Catalyst 8.12 Display Driver is out"...
http://game.amd.com/us-en/drivers_catalyst.aspx

Try DXVA w/ it and report back...?I had 8.3 and when viewing a mkv supposed to be L4.1 complaint it randomly get part of the picture like a repeated frame, but it go on playing.

Update to 8.12 and it get artifacts, macroblocking and repeat the same 4 or 5 frames for ever.

I have a ATI HD 2400 AGP and XP SP3. I've returned to 8.3

Kurtnoise
16th December 2008, 11:57
@alexins: which gcc version did you use to compile the lavc static lib ?

alexins
16th December 2008, 12:26
Kurtnoise13, To build x86 versions I'm using gcc 4.3.2 (http://www.xvidvideo.ru/component/option,com_docman/task,doc_details/gid,604/Itemid,11/), for the x64 version uses gcc 4.4.0 x64 (http://www.xvidvideo.ru/component/option,com_docman/task,doc_details/gid,605/Itemid,11/).

fastplayer
16th December 2008, 13:49
Just a blog post about MPC-HC I came across today:
Coding Horror: Easy, Efficient Hi-Def Video Playback (http://www.codinghorror.com/blog/archives/001197.html)

VHT
16th December 2008, 13:51
Hello! I have problems with EVR custom renderer and 24hz with MPC-HC. My PC is connected to Sony VPL-HS10 projector. Audio from my x264 encodes gets out of sync with EVR custom and 24hz.Video is perfectly smooth. With 60hz and EVR custom audio is in sync with the video but the video is not so smooth with 23.976fps encodes. I've tried other renderers too and with VMR9 and Haali audio is in sync with 24hz but I get random strutters with video. I've also tried many different codecs for audio and video too but nothing helps.(Using 32bit Vista Nvidia8800GT with latest offical drivers and CPU is Q6600). So do I have to choose between struttering video or out of sync audio?

rack04
16th December 2008, 14:28
Does anyone have a VC1 sample that is DXVA compliant? I've tried numerous HD DVD movies encoded with VC1 but I can't get any to play with DXVA acceleration. Nvidia says that the 8800gt can accelerate VC1 but I have yet to prove that. Thanks.

Aleksoid1978
16th December 2008, 15:31
Does anyone have a VC1 sample that is DXVA compliant? I've tried numerous HD DVD movies encoded with VC1 but I can't get any to play with DXVA acceleration. Nvidia says that the 8800gt can accelerate VC1 but I have yet to prove that. Thanks.

No - you can't use 8800GT for VC-1 decoding.

Leak
16th December 2008, 15:49
No - you can't use 8800GT for VC-1 decoding.
Or rather, it only has partial support for accelerating parts of VC-1 decoding, but MPC-HC's DXVA decoder needs full (bitstream) decoding support so all decoding can be done directly on the graphics card.

CruNcher
16th December 2008, 17:13
Here on my 8800GT it works nicely with Microsofts Decoder you have a nice CPU utilization decrease also for VC1 granted not as high as ~100% like with H.264 but you can count with say without DXVA 50% CPU with DXVA 25% CPU on the G92, so 50% cpu decrease is still possible with Entropy Decoding on the CPU, also it looks like that Mpeg-2 is harder to Decode then AVC on VP2 i wonder why might be that Nvidias own Mpeg-2 Decoder is the best chance to get the most out of it again compared to other 3rd Party Decoders i tested with Elecards HD Mpeg-2 Decoder in that case because of its excelent error correction most of the other stuck in Hardware Mode when errors appear and drop the entire bad frames (Cyberlink,Arcsoft) Elecards Decoder avoids that and keeps a smooth playback experience even with corrupted Mpeg-2 Streams no hiccups much better for Viewing such bad Mpeg-2 stuff imho, off course libmpeg2 also has no problems but no Hardware Decoding it's excellent for Transcoding, though there is no way to be sure here as there is no DGMpgDecNV yet which leverages all the capabilities of the VP2 Engine yet Directly ;) .

her34
16th December 2008, 19:26
913 04.12.2008

CHANGE : Gui option(in Playlist popupmenu) for rev.912

912 03.12.2008

CHANGE : Auto-hide playlist on fullscreen(feature request #2219561)



The playlist is either always on or always off in full screen. Why not make it truly auto-hide (hovering mouse on bottom of screen makes gui appear) like controls or seek bar does when "show controls in fullscreen" option is set to zero seconds

yesgrey
16th December 2008, 19:30
I've tried numerous HD DVD movies encoded with VC1 but I can't get any to play with DXVA acceleration.

Which video renderer, video decoder and OS?

rack04
16th December 2008, 20:12
Which video renderer, video decoder and OS?

VMR9 (renderless), VC1 (DXVA), and I've tried both XP and Vista (32). A couple posts up it was determined that the 8800gt isn't able to use DXVA acceleration in MPC-HC.

Kurtnoise
17th December 2008, 09:19
@devs: why tta codec is disabled in the lavc lib ?

@alexins: ok...thanks.

darthfrueder
17th December 2008, 12:01
I have got several AVCHD files in m2ts container produced by Canon HF100 camcorder. I think they are 1080i 50hz interlaced samples. All of them perfectly playable by the latest ffdshow and by PowerDVD 8 (DXVA on) on my 9600GT. But MPC-HC plays them with a strange jerkiness that appears every few seconds. It seems like it starts playing ok for some time and then several wrong frames are displayed and then it goes back to normal for several seconds and so on.
Is it a known bug? Any workarounds?

Anyway, I want to thank all of you who made DXVA2 available for the masses, MPC-HC is my all times favourite player!:thanks:

yesgrey
17th December 2008, 12:58
VC1 (DXVA)

This is not the decoder, is the video format.
Are you trying with MPC-HC video decoder? Try with Microsoft "WMVideo Decoder DMO", it has DXVA support, but only in VMR9 (in XP. I don't have Vista, so can't tell).

I have a 8600GT. When DXVA is working, I get 30%cpu usage, when it's not, I get 60%.

I believe 8800GT supports VC1 DXVA, at least in Nvidia's site I haven't found anything denying it... but remember tha NVidia DXVA in VC1 is not full (ATI's DXVA is full), is only partial.

I have tryed with MPC video decoder and DXVA is not working.

ACrowley
17th December 2008, 13:37
This is not the decoder, is the video format.
Are you trying with MPC-HC video decoder? Try with Microsoft "WMVideo Decoder DMO", it has DXVA support, but only in VMR9 (in XP. I don't have Vista, so can't tell).

I have a 8600GT. When DXVA is working, I get 30%cpu usage, when it's not, I get 60%.

I believe 8800GT supports VC1 DXVA, at least in Nvidia's site I haven't found anything denying it... but remember tha NVidia DXVA in VC1 is not full (ATI's DXVA is full), is only partial.

I have tryed with MPC video decoder and DXVA is not working.

Vista = EVR Renderer for DXVA. For any DXVA capable Decoder for VC1/H264

rack04
17th December 2008, 13:43
This is not the decoder, is the video format.

I was refering to the MPC-HC internal VC1 (DXVA) decoder.

jos99
17th December 2008, 14:21
Does anyone have a VC1 sample that is DXVA compliant? I've tried numerous HD DVD movies encoded with VC1 but I can't get any to play with DXVA acceleration. Nvidia says that the 8800gt can accelerate VC1 but I have yet to prove that. Thanks.

This one (http://pdl.warnerbros.com/wbmovies/thedarkknight/trailer_3/DKTRL3_1080.wmv.zip)works with DXVA using ATi and MPC-HC, w/about 6% CPU.

Casimir666
17th December 2008, 18:27
I was refering to the MPC-HC internal VC1 (DXVA) decoder.

As yesgrey3 says just above mpc-hc decoder support only bitstream decoding, so :
- if you have an nVidia use Microsoft DMO decoder (because it support IDCT/MC accelerator)
- if you have an ATI, use mpc-hc decoder (because it support bitstream decoding)

CruNcher
17th December 2008, 19:20
Hmm i realized that .wmv seems to have some kind of Anamorphic Flag and it seems that not much (Parser/Decoder) combination understand that to me it almost looks like as only WMP 11 handles such .wmv correct MPC-HC seems to show such Anamorphic Videos as their bitstream flagged native res with fffdshow and Microsofts Decoder alike ?

i have a 1440x1080 native 4:3 stream here that seems to be flagged as 16:9 so 4:3 in the container level .wmv (i guess or bitstream) but MPC-HC shows it (when Microsofts Decoder is used) @ the native 1440x1080 ignoring the 4:3 signaling 1440x1080->1920x1080 WMP11 does it (what seems to be at least) correct (VMR9 Windowed) happens with alot of 1440x1080 streams MPC-HC somehow ignores the signaling and Displays them 1440x1080 or WMP11 automatically assumes the Anamorphic nature and apply's the Signaling on the RUN (would mean there is no Signaling @ all) does someone knows the VC-1/WMV9 specs how what is handled correctly (im not sure that 1440x1080 should automatically be processed as being Anamorphic is correct) anyway so or so MPC-HC would be wrong handling such streams ?


General
Complete name : F:\x264-studio\autoanamorphtest.wmv
Format : Windows Media
File size : 398 MiB
Duration : 6mn 47s
Overall bit rate mode : Constant
Overall bit rate : 8 204 Kbps
Maximum Overall bit rate : 8 256 Kbps
Writing application : 6.0.6000.16386 / Windows Movie Maker
Application : Windows Movie Maker 6.0.6000.16386
AspectRatioX : 1440
AspectRatioY : 1920

Video
Format : VC-1
Format profile : MP@HL
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9 - Professional
Duration : 6mn 46s
Bit rate mode : Constant
Bit rate : 8 000 Kbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4/3
Frame rate : 29.970 fps
Resolution : 24 bits
Bits/(Pixel*Frame) : 0.172
Language : en-us

Audio
Format : WMA2
Format profile : L3
Codec ID : 161
Codec ID/Info : Windows Media Audio 2
Description of the codec : Windows Media Audio 9.2 - 192 kbps, 48 kHz, stereo (A/V) 1-pass CBR
Duration : 6mn 47s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Language : en-us

Imho a good Player should finally give the user the possibilities to chose @ which scaling he wants to watch the stream @ and even make it possible for them to easily switch on the fly between non Anamorph and Anamorph Results (Container,Bitstream Level) via a very clear defined Option :)
Maybe a small button on the bottom of the Player that automatically gets triggered first on the container level Signaling and then when pushed uses the Bitstream Level Signaling, pushed again no Anamorphic display state plain resolution input->output (current status also should be shown to the user in the OSD) <- see this as a feature request Casimir666, i guess such on the fly resolution changes should be at least possible with VMR9/EVR ? :)


MPC: Info Output
Audio: Windows Media Audio 48000Hz stereo 192Kbps [Raw Audio 0]
Video: Windows Media Video 9 1440x1080 (16:9) 29.97fps 8000Kbps [Raw Video 1] <- so it should be displayed as 1920x1080, though it stays currently 1440x1080

i checked all the AR given options in MPC-HC no chance i couldn't get it right the Aspect Ratio overwrite doesn't seem to work @ all no matter if i select Default->4:3->5:4->16:9 it still get's shown as 1.33 instead of 1.78 (with 4:3)

WMP11 Properties output:
Aspect Ratio 4:3 default, 16:9 shown

Atak_Snajpera
17th December 2008, 19:22
I have got several AVCHD files in m2ts container produced by Canon HF100 camcorder. I think they are 1080i 50hz interlaced samples. All of them perfectly playable by the latest ffdshow and by PowerDVD 8 (DXVA on) on my 9600GT. But MPC-HC plays them with a strange jerkiness that appears every few seconds. It seems like it starts playing ok for some time and then several wrong frames are displayed and then it goes back to normal for several seconds and so on.
Is it a known bug? Any workarounds?

Give us sample. Use www.mediafire.com

rack04
17th December 2008, 21:45
I'm trying to determine what might be causing the grey bar at the bottom of this video.

Using MPC-HC revision 925, VMR9 (renderless), H264 (DXVA) transform filter, and 16-235->0-255 shader I get a grey bar at the bottom of the video.

http://i11.photobucket.com/albums/a199/rack04/snapshot20081217143816.jpg

Using MPC-HC revision 925, VMR9 (renderless), H264 (FFmpeg) transform filter, and 16-235->0-255 shader everything is fine.

http://i11.photobucket.com/albums/a199/rack04/snapshot20081217143234.jpg

GTPVHD
17th December 2008, 21:57
Don't use the shader, set the Dynamic Range to Full (0-255) in the Nvidia Control Panel if you use driver 178.24 or higher.

73ChargerFan
17th December 2008, 22:06
- if you have an nVidia use Microsoft DMO decoder (because it support IDCT/MC accelerator)
How can I use the Microsoft DMO decoder?
ffdshow insists on rendering in software, even though I selected ms decoder for WVC1 in its codec selection box.

System Specs:
MPC-HC v918, VMR9 Renderless, VC1 decoders disabled
Haali splitter for .TS files
Computer is Intel Q6600 2.4ghz, nVidia 8600GTS, Windows XP SP3

clsid
17th December 2008, 22:11
Use the Microsoft decoder without ffdshow. Otherwise you are certainly not going to get DXVA activated.

cr0
17th December 2008, 22:27
Well I haven't managed to fix my problem, but I did work around it by patching MPC-HC to only use DXVA for videos with a resolution of at least 1280x720. I have no need for hardware decoding of SD resolution videos anyways.

I don't know if anyone else is having this issue, but I've attached the patch/diff to this post.

All I did was patch the DXVA check to think that any file with a smaller resolution is not DXVA compatible.

If anyone knows what the actual root problem is, that would be great :p

I have created another patch to allow enable/disable decoding of interlaced H264 content via DXVA. STaRGaZeR requested this. If anyone else is interested, I can provide patch file or if interest is great enough, submit another patch to MPC-HC.

Also I'm curious if checking frame_mbs_only_flag = 0 is the best way to detect interlaced content?

alexins
17th December 2008, 22:55
Media Player Classic HomeCinema (x86), svn 926 (http://www.xvidvideo.ru/content/view/492/1/)
Media Player Classic HomeCinema (x64), svn 926 (http://www.xvidvideo.ru/content/view/491/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/)

Updated FFmpeg

darthfrueder
18th December 2008, 00:23
Give us sample. Use www.mediafire.com

OK The sample of AVCHD interlaced footage that stutters when played by MPC-HC with DXVA (PowerDVD8 and ffdshow can play this file without any problems):


http://www.mediafire.com/?sharekey=86a6322081b51370d2db6fb9a8902bda

I would really appreciate if someone would solve this problem. :thanks:

yesgrey
18th December 2008, 01:42
How can I use the Microsoft DMO decoder?


Another way is adding it to MPC-HC external filters list and set the merit to prefer. And remember what clsid referred, no ffdshow, or the dxva is disabled!

CruNcher
18th December 2008, 02:32
Correction to my http://forum.doom9.org/showpost.php?p=1225247&postcount=5255 post it is actually a Problem in combination between MPC-HC and Microsofts Decoder with ffdshow it applies the AR correct

MPC-HC Info output (ffdshow):
Video Size = 1440 x 1080 (AR 16:9) :)

MPC-HC Info output (WMVideo Decoder DMO):
Video Size = 1440 x 1088 (AR 4:3) :(

also the AR override works with ffdshow but doesn't with Microsofts Decoder :(

Aleksoid1978
18th December 2008, 03:02
Correction to my http://forum.doom9.org/showpost.php?p=1225247&postcount=5255 post it is actually a Problem in combination between MPC-HC and Microsofts Decoder with ffdshow it applies the AR correct

MPC-HC Info output (ffdshow):
Video Size = 1440 x 1080 (AR 16:9) :)

MPC-HC Info output (WMVideo Decoder DMO):
Video Size = 1440 x 1088 (AR 4:3) :(

also the AR override works with ffdshow but doesn't with Microsofts Decoder :(

ffdshow support read AR from videostream, but WMVideo Decoder DMO - NO.
Internal MPC-HC video decoder too support read AR from stream.

CruNcher
18th December 2008, 03:18
But how is it working in WMP11 then ?
yep changed now to the internal MPC-Video Decoder by blocking Microsofts DMO Decoder and indeed AR works, but no reading from Bitstream is selected so it should get it from the Container

war59312
18th December 2008, 09:25
Hi,

How to have MPC-HC automatically close after playback of a DVD?

I figured out how for other file times my using the register editor on the following key and adding /close to the end:

HKEY_CLASSES_ROOT\mplayerc.xxx\shell\open\command

But what about DVDs?

Thanks,

Will

chros
18th December 2008, 18:33
i have no problems whatsoever, not in games and not with VMR9. maybe you should use driver sweeper (http://www.guru3d.com/category/driversweeper/) and try a fresh install of the drivers?
As I said, fresh install: WinXP SP3 and the drivers ...

Can you/someone look for the apropriate regkeys?
(nvidia dynamic range values for "Full" for both monitors)

It's drive me crazy ... :)

Thanks