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

flanger216
20th January 2009, 00:49
My question then is - what are the known problems with the Internal Matroska Splitter that cause people to recommend the Haali Splitter ? Thanks.

Good question... I've never had problems with the internal splitters, but it seems everybody recommends against them in favor of Haali. What's the dealio?

rt87
20th January 2009, 03:39
I came across another MKV file with two audio streams, again one Vorbis, and this time one AC3 (instead of DTS). Same problem as before, Haali Splitter does not load both filters. So, it occurred to me to try the Internal Matroska Splitter.

When I did so (with the Internal Audio Splitter), everything worked fine. I was able to select either the AC3 or the Vorbis audio with no problem. Then I checked the earlier MKV file with Vorbis and DTS and that worked fine too.

So, that should confirm that the problem with two audio streams is a Haali Matroska Splitter bug.

My question then is - what are the known problems with the Internal Matroska Splitter that cause people to recommend the Haali Splitter ? Thanks.

bad handling of embedded text subs.
internal mkv splitter don't load any embedded text subs with some files, but haali's splitter does.

neoufo51
20th January 2009, 05:13
Anybody else getting a thin grey line at the very bottom of some of their videos while using Beliyaal's version 6?

XP SP3
Nvidia 8400 GS
181.2
Just the MPC decoder on VMR9 Renderless
Lockback buffer enabled, 3D surfaces

Rectal Prolapse
20th January 2009, 06:56
I've tried the Beliyaal's version 6 - it seems I need to add an audio delay of approximately -80 milliseconds to keep A/V sync. Hopefully this will be fixed!

Also, it seems DScaler5 (mpeg2 decoder) doesn't work very well with it - I get flashes of different video frames that get randomly inserted during playback. Very odd. I don't know if this is specific to Beliyaal or the recent MPC-HC releases. All I know is that MPC 1.0.11.0 works fine with it.

Oh well!

I forgot to add:

This is on Windows XP SP3 with all updates. NVIDIA 8800GT, 178.24 drivers. DScaler5 5.008 with IVTC patch.

Lockback buffer enabled. VMR9, VMR9 mixing mode, 3D surfaces. It doesn't matter if Direct3D Fullscreen is enabled or not. YUV Mixing setting doesn't matter. It doesn't matter if alternative vsyns is enabled or not.

alexins
20th January 2009, 10:51
Media Player Classic HomeCinema (x86/x64), svn 981 (http://www.xvidvideo.ru/content/view/594/2/)

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/)

Fix : seek range (show current position more than the end).

clsid
20th January 2009, 11:36
I came across another MKV file with two audio streams, again one Vorbis, and this time one AC3 (instead of DTS). Same problem as before, Haali Splitter does not load both filters. So, it occurred to me to try the Internal Matroska Splitter.

When I did so (with the Internal Audio Splitter), everything worked fine. I was able to select either the AC3 or the Vorbis audio with no problem. Then I checked the earlier MKV file with Vorbis and DTS and that worked fine too.

So, that should confirm that the problem with two audio streams is a Haali Matroska Splitter bug.

My question then is - what are the known problems with the Internal Matroska Splitter that cause people to recommend the Haali Splitter ? Thanks.
I have explained before how Haali Media Splitter works. You either seem to have forgotten or choose to ignore it. It dynamically changes the filter graph, so only one audio decoder is active at a time. That works perfectly fine in most situations. I have files with over ten different audio formats in them. Switching works flawlessly. The reason why it does work for you is spdif(er). Maybe haali can explain better why it does not work with spdif. Perhaps if you ask nicely (!) he could implement some kind of workaround.

wincent
20th January 2009, 16:20
MPC and MPC-HC have an issue playing an .mkv video containing :
- one H264 video track ;
- one AC3 stereo audio track ;
- one SRT subtitle file.
Only the audio track is found and its duration is wrong.
Other player (MPlayer, VLC) play the same file correctly.
I replaced the AC3 track with an AAC-Hev2 and now both versions of MPC can play the file.

Kurtnoise
20th January 2009, 16:47
something weird with your ac3 decoder probably...which one do you use ? could you upload a sample of your mkv for testing ?

tetsuo55
20th January 2009, 17:13
MPC and MPC-HC have an issue playing an .mkv video containing :
- one H264 video track ;
- one AC3 stereo audio track ;
- one SRT subtitle file.
Only the audio track is found and its duration is wrong.
Other player (MPlayer, VLC) play the same file correctly.
I replaced the AC3 track with an AAC-Hev2 and now both versions of MPC can play the file.


It is probably your sample(which in that case you should post part of for testing) or as Kurtnoise13 said your AC3 decoder.

So what AC3 decoder are you using?

wincent
20th January 2009, 17:54
It's kinda weird.
I installed Haali Media Splitter and the problem went away.
Then, I uninstalled it but MPC can still play the file and all its tracks :confused:
If my problem happens again, I will upload a sample of the .mkv and the mkvmerge settings.
To decode AC3 I use FFDShow > Audio Decoder > libavcodec.

spida_singh
20th January 2009, 18:17
I am currently using build 980 (original), everything is working as excpected, smooth 24p, sound is in sync, but, I notice black crush/washed out colours when using EVR CP, D3D, lock back buffer, buffered 20, aero disabled, 9400gt with 181.20 drivers, Vista 32bit.
Currently using media portal as my media manager, it launches MPC-HC as the external player for my movies. I can see the black turn grey when MPC-HC starts to playback the video. But when VMR 9 is used, everything is ok, black stays black. I don't use VMR 9 as I am running two monitors, one for work, one for playback of media. If playing back a media file using VMR 9 Renderless, and i click anywhere else on my main work screen, MPC-HC minimizes. Is there anything I can do to resolve the colour issues when using EVR CP? Or is this something that needs to be fixed within MPC-HC?

I am using purely the internal mpc filters, I have stopped ffdshow A/V being used within MPC-HC, black crush is visible.

When using ffdshow video, i still get black crush, this is apparent when setting 0-255 colourspace (Full range) and 16-255, any ideas? It's the only thing bugging me, verything else is perfect :D

Is there anything within the nvidia control panel I can do to overide this?

Rectal Prolapse
20th January 2009, 18:17
I have the same problem. Beliyaal version 6, VMR9, Windows XP Sp3, D3D9X_35.dll, NVIDIA 8800GT.



I have spotted two bugs though:
- either when starting to play a file, seeking or after pausing, heavy jitter will randomly pop up and will remain. The only way to get rid of it is to seek or pause. This one is quite annoying as it appears randomly and requires to check the stats to be sure there isn't any jitter

- in full screen mode, accessing the Key Tab (and only this tab) and clicking the OK button will cause a crash of mplayer.


Nvidia8600GTS, WinXpSp3, VRM9,Reclock.

Anyway, you are on the right way for the ultimate player.

clsid
20th January 2009, 18:51
@spida_singh

Read this for several solutions for the "washed out" video:
http://forum.doom9.org/showthread.php?t=143689

flanger216
20th January 2009, 18:57
I'm getting broken playback of .dts files when using the internal DTS/AC3 source filter. It seems to be playing them back ~5% too fast: the reported duration is too short and the pitch is too high. For what it's worth, all of the files are at 20 or 24-bit depths; I don't know if normal, 16-bit DTS files are affected.

Regardless, the same files play correctly both in VLC and in MPC-HC, if I use this source filter instead: http://ac3filter.net/projects/ac3file

CruNcher
20th January 2009, 19:31
I've tried the Beliyaal's version 6 - it seems I need to add an audio delay of approximately -80 milliseconds to keep A/V sync. Hopefully this will be fixed!

Also, it seems DScaler5 (mpeg2 decoder) doesn't work very well with it - I get flashes of different video frames that get randomly inserted during playback. Very odd. I don't know if this is specific to Beliyaal or the recent MPC-HC releases. All I know is that MPC 1.0.11.0 works fine with it.

Oh well!

I forgot to add:

This is on Windows XP SP3 with all updates. NVIDIA 8800GT, 178.24 drivers. DScaler5 5.008 with IVTC patch.

Lockback buffer enabled. VMR9, VMR9 mixing mode, 3D surfaces. It doesn't matter if Direct3D Fullscreen is enabled or not. YUV Mixing setting doesn't matter. It doesn't matter if alternative vsyns is enabled or not.

Hi it might have nothing todo with this but can you confirm this ? http://forum.beyond3d.com/showthread.php?t=50243

ADude
20th January 2009, 20:03
The reason why it does work for you is spdif(er). Maybe haali can explain better why it does not work with spdif. Perhaps if you ask nicely (!) he could implement some kind of workaround.

That sounds nice, but is not true.

And it would be very unlikely to be true, because the majority of HT-PC owners use SPDIF. (If you check the AC3FILTER site, you will see that roughly 95% of the questions involve SPDIF.)

In fact, Haali Splitter works fine with two audio streams that both use SPDIF. I just tested it again with MPC-HC build 979 and an MKV file with both DTS and AC3 audio, and it works fine. (That file also works fine with internal matroska splitter and internal audio splitter.

ADude
20th January 2009, 21:19
UPDATE:

On a hunch, I installed "CoreVorbis 1.1.0.79" external Vorbis filter, and unchecked the MPC-HC internal Vorbis decoder.

After that, Haali Splitter worked fine to switch between the DTS and Vorbis audio streams in the MKV file that previously did not work.

So, three possibilities:

- Haali Splitter cannot change between an Internal Filter and an External Filter in MPC-HC (it can change between two internal filters or two external filters), but MPC-HC's internal audio splitter can change between any combination.

OR

- MPC-HC's Internal Vorbis Filter somehow prevents Haali Splitter from switching audio streams, but does not pose a problem for MPC-HC's internal audio splitter (possible, but seems unlikely to me)

OR

- Some other possibility I have not thought of.

spida_singh
20th January 2009, 21:55
@spida_singh

Read this for several solutions for the "washed out" video:
http://forum.doom9.org/showthread.php?t=143689

Perfect, now solved, set nvidia control panel to full 0-255, left dynamic contrast enhancement and colour enhancement unchecked.:thanks:

clsid
20th January 2009, 22:44
- Haali Splitter cannot change between an Internal Filter and an External Filter in MPC-HC (it can change between two internal filters or two external filters), but MPC-HC's internal audio splitter can change between any combination.The internal filters are invisible for Haali splitter and DirectShow itself (since they are private and not globally registered), so they will never be used when the filter graph is modified by something else than MPC. This is a limitation of using internal filters. It is not a bug that can be fixed.

Kado
21st January 2009, 00:26
You can always dump all the MPC filters in system32 folder and register them so they can be used! That defeats the purpose of having internal filters though...

ADude
21st January 2009, 00:27
The internal filters are invisible for Haali splitter and DirectShow itself (since they are private and not globally registered), so they will never be used when the filter graph is modified by something else than MPC. This is a limitation of using internal filters. It is not a bug that can be fixed.

But when there are two audio streams, one using internal filter and one uses external filter, Haali plays the internal filter and then won't change to the external filter.

UPDATE: I did more tests:

(1)I took the same MKV file with Vorbis and DTS audio streams, and played it in MPC-HC with only internal filters for Vorbis and DTS.

Again, it started with the Vorbis audio stream, and then when it was switched in Haali, the DTS played, and it had a motorboat sound, and it changed the receiver to DTS, but it did not change the Filter list. I then switched to internal matroska and audio splitters, and it started with DTS, played it fine, and switched fine to Vorbis.

(2) I then took the MKV file that has AC3 and DTS audio streams, and same as above exactly with Haali and all internal filters (started with AC3, switched to weird sounding DTS but did not change filter list). When I played it with all internal filters and internal Matroska and audio filters, it started with the DTS stream (same motorboat sound, although less severe, probably is a bug in DTS internal audio filter since most of mine are 1.5 mbps, I seem to remember some reports in this thread about the internal DTS), and then switched with no problem to AC3.

So, it seems that it is not related to Vorbis.

It is interesting that Haali will load and play one internal filter fine, even when there are two audio streams in the file.

mariner
21st January 2009, 09:05
Greetings Casimir and Beliyaal. Many thanks for your brillaint effort to improve MPC.

At the momenet, still struggling with getting ECR/CP to work with 1080/60i interlaced content. As you can see from the attachment, massive stuttering with EVR/CP , while EVR runs smoothly. EVR/CP will only work on the laptop with a lower 1280x800 resolution.

Turning AERO on makes stuttering worse while Alternative VSync and D3DFullScreen have no visible impact.

Something quirky about Fraps : fps is only visible in EVR/CP with D3DFullScreen, and it doubles in EVR. Any idea why?

Tested on two Geforce based systems running Ultimate 32.
1. 8200 with AMD 5600+ 2.9G CPU with 4G RAm. Drivers: 181.20
2. 9300MG with Intel T8300 2.4G CPU with 4G RAM (Laptop) Drivers: 179.14


Appreciate your kind assistance.

Octo-puss
21st January 2009, 11:39
I got another problem with 64bit version of MPC - I can't choose any subtitles. the navigate dropdown menu is all greyed out. Anyone can tell me why is that?

lych_necross
21st January 2009, 12:07
Are there any plans to merge Beliyaal's changes into the regular mpc-hc repository?

chros
21st January 2009, 12:18
Perfect, now solved, set nvidia control panel to full 0-255, left dynamic contrast enhancement and colour enhancement unchecked.:thanks:
Is it saved between sessions?

Can you look at my post here?
http://forum.doom9.org/showthread.php?p=1234270#post1234270

spida_singh
21st January 2009, 12:42
Is it saved between sessions?

Can you look at my post here?
http://forum.doom9.org/showthread.php?p=1234270#post1234270

Replied in other thread.

steelman1991
21st January 2009, 13:45
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?

Was this problem ever resolved? I have the same issue and its driving me bananas :mad:

I'm currently using MPC-HC build 1.2.908.0, usiing dxva internal filters for mkv playback - Asus M3A78-EMH HDMI mb, with ATI HD3200 IGP.

If I've missed anything let me know.

Hope someone can help!

clsid
21st January 2009, 13:46
(1)I took the same MKV file with Vorbis and DTS audio streams, and played it in MPC-HC with only internal filters for Vorbis and DTS.

Again, it started with the Vorbis audio stream, and then when it was switched in Haali, the DTS played, and it had a motorboat sound, and it changed the receiver to DTS, but it did not change the Filter list. I then switched to internal matroska and audio splitters, and it started with DTS, played it fine, and switched fine to Vorbis.

(2) I then took the MKV file that has AC3 and DTS audio streams, and same as above exactly with Haali and all internal filters (started with AC3, switched to weird sounding DTS but did not change filter list). When I played it with all internal filters and internal Matroska and audio filters, it started with the DTS stream (same motorboat sound, although less severe, probably is a bug in DTS internal audio filter since most of mine are 1.5 mbps, I seem to remember some reports in this thread about the internal DTS), and then switched with no problem to AC3.

So, it seems that it is not related to Vorbis.

It is interesting that Haali will load and play one internal filter fine, even when there are two audio streams in the file.
The internal audio decoders in MPC-HC are actually a single filter that accept multiple mediatypes. That is why you can successfully switch audio formats with Haali when using the internal decoder for both formats.

Kado
21st January 2009, 15:12
@steelman1991
Have you tried a recent build? Like 981 (http://xvidvideo.ru/)?

shaolin95
21st January 2009, 15:17
The internal audio decoders in MPC-HC are actually a single filter that accept multiple mediatypes. That is why you can successfully switch audio formats with Haali when using the internal decoder for both formats.

Could this be the reason I can get the correct track with a BluRay rip of Kung Fu Panda for example?
Under Vista 64 I get the french (I think) language but under XP I do get the correct English one as they both seem to be on the same track.
Havent found a way to get the correct one to play under Vista 64 yet.

jace112
21st January 2009, 15:36
Hi Guys!

I've just bought a cheap sound card based on the C-Media 8768 (http://www.cmedia.com.tw/?q=en/PCI/CMI8768) chip.

I installed the tweaked drivers (http://code.google.com/p/cmediadrivers/) on Windows 7.

I use the toslink output to send the signal to my Yamaha receiver. (DD/DTS... compatible)

I have no codec, filter installed. Just want perfect passthrough.

When checking in the sound menu of the control panel of Windows, DTS, DD, 44.1, 48, 88.2 and 96 kHz play fine.

Then I tried to use the last MPC-HC to play a Xvid with 5.1 DTS sound.

MPC-HC options set to :

DirectShow Audio : SPDIF Interface
Internal Filters > Transform Filters : AC3 & DTS set to SPDIF
External Filters : none

> MPC-HC doesn't send a correct DTS signal to my receiver. No sound, DTS logo flashing.

I tried many options, and it looks like I have to uncheck the AC3 & DTS Internal Filters.

The xvid / 5.1 DTS movie plays fine.

Why do I have to uncheck this filters where the output is set to SPDIF?

Yesterday, I tried to play an audio file encoded in DTS (CD Audio DTS) : http://www.sr.se/laddahem/MultiKanal/Dts/SURROUNDTEST_011212.zip

I cannot play it with MPC-HC :confused:

I haven't changed anything, the movie still plays flawlessly.

Foobar2000 and its SPDIF passthrough plugin do the job. (I had to rename the .wav to .dtswav)

Can someone help me with MPC and its filters?

:thanks:

Jay Bee
21st January 2009, 16:02
Question: is there a way to get a standalone version of the "LPCM Audio Decoder"? I can't find any other DirectShow decoder that handles all LPCM lossless BDs but it doesn't seem to be included in the MPC standalone filers pack.

Ok, I found it. It's part of the "MPC - MPA Decoder Filter".

Great, so now that that part is working I have a new request: Would it be possible to allow the "MPC - Mpeg Splitter" to connect to the "Cyberlink VC-1 Decoder (PDVD8)". It comes with PDVD8 (it's not included in the demo!) and it will only connect to "Cyberlink Demux (PDVD8)".

The reason this would be important is because MPC's VC-1 decoder can't handle interlaced VC-1, of which I have a few BDs.

Thx for any responses.

steelman1991
21st January 2009, 16:41
@steelman1991
Have you tried a recent build? Like 981 (http://xvidvideo.ru/)?

Just downloaded and tried - but the same problem occurs.

Rectal Prolapse
21st January 2009, 18:22
I resolved the tearing issues I had - I had to use the Control-Alt-Up key combo to reduce the vsync offset. I settled on a value of -30. Tearing is gone!

Stuttering is improved when I found the d3d9x_35.DLL and placed that in the MPC-HC-Beliyaal-v6 directory. I haven't tested DScaler5 yet - I'm using the PDVD8 Video/SP decoder for mpeg2.

I did notice a lot of jitter (as shown when displaying stats with the Control-J key) when playing 23.976 fps content - but that is probably 3-2 judder when converted to 60 fps, because the video playback itself looks normal. Right?

ADude
21st January 2009, 21:20
Are there any plans to merge Beliyaal's changes into the regular mpc-hc repository?
He has not responded to any bugs in his version 6 that were posted in the last few days, such as the broken FLV file playback.

ADude
21st January 2009, 21:24
Can someone help me with MPC and its filters?

:thanks:

The simplest way is to just install SPDIFER external audio filter, which is open source free software.

There are some bugs with various internal filters, and I don't think anyone is saying that MPC-HC can currently play all files successfully with just internal filters.

SPDIFER can be found at:

http://ac3filter.net/projects/spdifer

PS Note that movie DTS is 48khz and CD DTS is 44.1 kihz.

dZeus
21st January 2009, 22:36
for both the latest stable as well as build 981, I get a black screen after 3 minutes (as defined in my power management settings) when playing back video in Direct3D fullscreen mode (EVR Custom).

This does not happen when Direct3D Fullscreen mode is disabled (MPC-HC properly prevents the screensaver from kicking in).

Do I need to post additional information?

Mark_A_W
21st January 2009, 23:50
for both the latest stable as well as build 981, I get a black screen after 3 minutes (as defined in my power management settings) when playing back video in Direct3D fullscreen mode (EVR Custom).

This does not happen when Direct3D Fullscreen mode is disabled (MPC-HC properly prevents the screensaver from kicking in).

Do I need to post additional information?


Me too, in fact, my PC goes into standby.


I read the buglist/change list, and it's listed as a "Do nothing". :mad:

Beliyaal
22nd January 2009, 00:03
Was this problem ever resolved? I have the same issue and its driving me bananas :mad:

I'm currently using MPC-HC build 1.2.908.0, usiing dxva internal filters for mkv playback - Asus M3A78-EMH HDMI mb, with ATI HD3200 IGP.

If I've missed anything let me know.

Hope someone can help!

It's exactly the problem my patch is supposed to resolve. See link in signature.

------------------

I would like to thank everybody for their testing and bug reports. Please bare with me until the weekend when I will have time to reply to all bug reports and release a new version with fixes.

Octo-puss
22nd January 2009, 00:33
What would be typical CPU usage for Core2Duo CPU for 32bit version of the player for 1080p stuff? It looks to me like it went up a lot, but I can't tell exactly. It's like 30-40% now. I am half sure it was much less when I was still using XP.
What are the requirements for DXVA?

edit: ok I'm stupid, all I had to do was read the web... Sorry!
Weird thing is, now the task manager shows MPC use like 2% CPU, which seems suspiciously low (eh). Plus, subtitles don't show up, even when I can select them from the Navigate menu. Getting lost here.

Pr3d
22nd January 2009, 00:41
Hi guys, as i said many pages ago im using Win 7 Beta 1, Ati HD 4580 and MPCHC x64 with EVR output.
In the meantime i solved almost all of my previous problems but now if i play a 1080p trailer and go to Filters -> Video Decoder i can clearly view that Dxva is not working.
The problem is that im not able to understand why.

Any idea? Maybe a known bug?

Thanks.

DeepBeepMeep
22nd January 2009, 01:07
I have noticed something strange with Beliyaal's patch: some frames are skipped (it is quite obvious when the tearing bar is on) although they are not reported by the stats (I have a beautiful straight line).

Moreover further tests of the jitter that randomly appears and won't go away (mentioned in earlier posts) show that it is quite frequent in screen refresh frequency such as 72Hz and much less in 23.967/24Hz


Nvidia8600GTS/XPSP3/WMR9 Full Screen/Reclock

Kado
22nd January 2009, 01:26
@Octo-puss
If you are using DXVA (MPEG-2) to decode DVDs you will not see the subtitles with the internal renderer. You have to disable DXVA.

dZeus
22nd January 2009, 09:16
Me too, in fact, my PC goes into standby.

I read the buglist/change list, and it's listed as a "Do nothing". :mad:

Casimir: shouldn't a video playback app properly tell windows not to start the 'idle timer' from running during video playback, Direct3D fullscreen or not?

My guess currently is that MS has implemented automatical disabling of idle timer when EVR/VMR/etc is used, but not for Direct3D fullscreen.
MPC-HC needs to handle that itself, as MS can not tell the difference between a game in 3D that the player left (i.e. no user input, idle timer should kick in), or a video being played back!

Octo-puss
22nd January 2009, 09:36
@Octo-puss
If you are using DXVA (MPEG-2) to decode DVDs you will not see the subtitles with the internal renderer. You have to disable DXVA.

nono, it's x264

jace112
22nd January 2009, 11:14
The simplest way is to just install SPDIFER external audio filter, which is open source free software.
There are some bugs with various internal filters, and I don't think anyone is saying that MPC-HC can currently play all files successfully with just internal filters.
SPDIFER can be found at:
http://ac3filter.net/projects/spdifer
PS Note that movie DTS is 48khz and CD DTS is 44.1 kihz.
Thanks for your explainations!

Here is what I managed to understand yesterday :

http://img18.picoodle.com/img/img18/3/1/21/f_01m_0c4dcf5.pnghttp://img32.picoodle.com/img/img32/3/1/21/f_02m_8501f79.pnghttp://img02.picoodle.com/img/img02/3/1/21/f_03m_741718c.png

> The xvid/dts movie plays fine.

directshow audio setting is maybe the problem :

system default : ok
spdif interface : not ok (only if ac3 & dd transformation filters disable)
default directsound device : ok
default waveout device : non ok (only if ac3 & dd transformation filters disable)
directsound : spdif interface : ok

Why doesn't SPDIF interface work?

The .wav 5.1 DTS file is still not supported. I will try to use your filter.

BTW, does anyone managed to play such a file, with MPC (passthrough) and have a receiver to decode the DTS sound :

http://www.sr.se/laddahem/MultiKanal/Dts/SURROUNDTEST_011212.zip

Codec list:

Audio Codecs
Type Name Format Binary Version
ACM Microsoft IMA ADPCM CODEC 0011 imaadp32.acm 6.1.7000.0
ACM Microsoft CCITT G.711 A-Law and u-Law CODEC 0007 msg711.acm 6.1.7000.0
ACM Microsoft GSM 6.10 Audio CODEC 0031 msgsm32.acm 6.1.7000.0
ACM Microsoft ADPCM CODEC 0002 msadp32.acm 6.1.7000.0
ACM Fraunhofer IIS MPEG Layer-3 Codec (decode only) 0055 l3codeca.acm 1.9.0.401
ACM Messenger Audio Codec 028E sirenacm.dll 14.0.8050.1202
ACM Microsoft PCM Converter 0001
DMO WMAudio Decoder DMO 0160, 0161, 0162, 0163 WMADMOD.DLL 6.1.7000.0
DMO WMAPro over S/PDIF DMO 0162 WMADMOD.DLL 6.1.7000.0
DMO WMSpeech Decoder DMO 000A, 000B WMSPDMOD.DLL 6.1.7000.0
DMO MP3 Decoder DMO 0055 mp3dmod.dll 6.1.7000.0

Video Codecs
Type Name Format Binary Version
ICM Microsoft RLE MRLE msrle32.dll 6.1.7000.0
ICM Microsoft Video 1 MSVC msvidc32.dll 6.1.7000.0
ICM Microsoft YUV UYVY msyuv.dll 6.1.7000.0
ICM Intel IYUV codec IYUV iyuv_32.dll 6.1.7000.0
ICM Toshiba YUV Codec Y411 tsbyuv.dll 6.1.7000.0
ICM Cinepak Codec by Radius cvid iccvid.dll 1.10.0.12
DMO Mpeg4s Decoder DMO mp4s, MP4S, m4s2, M4S2, MP4V, mp4v, XVID, xvid, DIVX, divx mp4sdecd.dll 6.1.7000.0
DMO WMV Screen decoder DMO MSS1, MSS2 wmvsdecd.dll 6.1.7000.0
DMO WMVideo Decoder DMO WMV1, WMV2, WMV3, WMVA, WVC1, WMVP, WVP2 wmvdecod.dll 6.1.7000.0
DMO Mpeg43 Decoder DMO mp43, MP43 mp43decd.dll 6.1.7000.0
DMO Mpeg4 Decoder DMO MPG4, mpg4, mp42, MP42 mpg4decd.dll 6.1.7000.0

THANKS for your help!

tetsuo55
22nd January 2009, 11:57
Casimir: shouldn't a video playback app properly tell windows not to start the 'idle timer' from running during video playback, Direct3D fullscreen or not?

My guess currently is that MS has implemented automatical disabling of idle timer when EVR/VMR/etc is used, but not for Direct3D fullscreen.
MPC-HC needs to handle that itself, as MS can not tell the difference between a game in 3D that the player left (i.e. no user input, idle timer should kick in), or a video being played back!

Exactly right.
I have sent Casimir some documentation but we could use all the information we can get (a patch itself would be even better)

hdboy
22nd January 2009, 20:41
am i correct to say that the 64 bit version of mpc does NOT work with coreavc b/c there's no 64 bit coreavc yet?

Miryan
22nd January 2009, 20:56
Yes, the 64 bit version only works with 64 bit filters, and sadly corecodec only made 32bit.

ADude
22nd January 2009, 22:50
The .wav 5.1 DTS file is still not supported. I will try to use your filter.

BTW, does anyone managed to play such a file, with MPC (passthrough) and have a receiver to decode the DTS sound :

I did so before answering your previous post, to verify that my answer was relevant.

BTW, before going to SPDIFER (or AC3FILTER if you prefer), it goes through "Wave Parser".

I remember having to a little bit of setup last year to get it to work, IIRC due to the difference between 48khz for movie DTS and 44.1khz for CD DTS.

ADude
22nd January 2009, 22:59
Yes, the 64 bit version only works with 64 bit filters, and sadly corecodec only made 32bit.

There is a 64bit version of CoreAVC, but they are not releasing it until the 64bit of version of Haali Splitter is ready (quote).

Evidently, you can run 32bit MPC and 32bit CoreAVC under Vista64, according to one user.

Octo-puss
22nd January 2009, 23:38
And ss 64bit Haali in development at all?

SBeaver
22nd January 2009, 23:42
And ss 64bit Haali in development at all?

He released a beta, it's in the thread.

fixed
23rd January 2009, 00:55
I've found a bug with MPC-HC resizer.

My output settings:

http://xs131.xs.to/xs131/08381/mpc-hc1234.png.xs.jpg (http://xs131.xs.to/xs131/08381/mpc-hc1234.png)

And decoding properties:

http://xs131.xs.to/xs131/08381/mpc-hc2737.png.xs.jpg (http://xs131.xs.to/xs131/08381/mpc-hc1234.png)

First copy of mpc-hc seens like (bicubic resize doesn't work?)

http://xs131.xs.to/xs131/08381/mpc-hc3918.png.xs.jpg (http://xs131.xs.to/xs131/08381/mpc-hc3918.png)

Second and others like

http://xs131.xs.to/xs131/08381/mpc-hc4179.png.xs.jpg (http://xs131.xs.to/xs131/08381/mpc-hc4179.png)

Sample here (450 KB): http://www.zshare.net/download/18814707f8379eee/

XP x64 SP2, GF 8800GT (177.83).

MPC Guliverkli2 isn't affected by bug.


Still not fixed. Tested on lasted svn. x64 and x86 builds. 180.48 WHQL drivers.

Snowknight26
23rd January 2009, 04:15
Smal issue I just noticed under the following scenario:
I was playing a (for simplicity's sake) 2:00:00 long movie from a network share and got to the 5:00 mark when the network share went down - I promptly hit pause. After the network share came back online, I stopped then started the movie again and seeked to about 4:45 and resumed play. As soon as it hit the 5:00 mark, it went to the very end of the movie and stopped playing. Only solution was to close the file then reopen it.

Amour
23rd January 2009, 07:39
Hello,

Would it be possible to have an alternative time display when clicking on the video time?
For example, it would switch from 00:01 / 24:14 to 00:01 / 24:14.276 (in order to display the total time as precisely as possible).

Peuj
23rd January 2009, 10:03
@fixed about:
...Still not fixed. Tested on lasted svn. x64 and x86 builds. 180.48 WHQL drivers.

you should read this:

Hi everyone,

I have become the project manager for MPC-HC.
This basically means that i will be keeping the bug/feature tracker up to date and do the updates on the SF pages.

At the moment we have about 42 Bugs on the bugtracker.

Below is a list of bugs that need confirmation from the users here.

I would like to ask everyone here to browse through the list and see if you can confirm a bug, or confirm that there is no problem,please update the ticket with your findings
You can see the whole list here:
https://sourceforge.net/tracker2/?limit=100&func=&group_id=170561&atid=854651&assignee=&status=2&category=&artgroup=&keyword=&submitter=&artifact_id=&limitz=100&assignee=&status=&category=&artgroup=&submitter=&keyword=&artifact_id=&reset=Reset&limitz=100&mass_category=&mass_priority=&mass_resolution=&mass_assignee=&mass_artgroup=&mass_status=&mass_cannedresponse=

Please update/create a bug ticket on the SF page and include the following information:

-Windows and servicepack versions
-MPC-HC build version
-If appropriate FFdshow build number
-Videocard and driver version
-Renderer used and options selected in the output settings
-A sample so we can test it on our systems

And ofcourse as clear as possible instructions on how to reproduce

Link: http://sourceforge.net/tracker2/?func=browse&group_id=170561&atid=854651

@tetsuo55, you should add these comments on the first page to easily inform people.

Thanks

loretta80
23rd January 2009, 16:39
Hi !

There is any way to automatically change the refresh speed of the monitor where the file is to be played ?

I use an LCD monitor as principal and my Z2000 as secondary, but I always have to use mediainfo to see the framerate of the file, then change it using the catalyst control center, and then play the film.

It would be fantastic to play the file and MPC to change automatically the refresh speed of the screen where it is displayed.

In the options, I've seen there the possibility to change the resolution, but the options showed are only for the main monitor, I suppose, because I don't see any HD resolution. And this affects to the refresh speed to but we will have the same problem.

Here in Spain is very frequent to have files at 25 fps and at 23,967.

It would be ideal to have a table like for files
at use
23,976 24 fps
24 24 fps
25 50 fps
30 60 fps
....

Because there are people without 24 fps ready displays.

Same request here. Is it possible? Or is it possible to expand the "Change fullscreen resolution" function to 1920x1080 32bpp 24hz and 50hz?

By the way @Beliyaal: The Mplayerc chrashes if i use the german language and choose output in options

ikarad
23rd January 2009, 17:08
I tested your sample and it seems that the sound is simply empty. I have however changed the code slightly, so if you try my latest build and check if it works and report back I can submit the fix to SVN.




Aspect ratio hopefully fixed.

New build in:
Original Post (http://forum.doom9.org/showthread.php?p=1238556#post1238556)

thanks.
I try with trial version of powerdvd 8 and there is no sound.
It is very strange that mpc-HC detect two soundtracks.

Even with the last version of MPc-HC 1.2.972.0 MLP soundtrack doesn't work, is-it normal because in the log file there is "Support for MLP audio stream"?

In Ghost in the shell blu-ray when i want to select mlp soundtrack, I d'ont have sound. I have sound just with lpcm soundtrack.

To have sound with mlp soundtrack i must use ffdshow

i give you 30 seconds of the video where mlpc soundtrack doesn't work (ghost in the schell)
http://www.zshare.net/info.html?54240177-83efc468f0f5c9b62c75094d359ac866

I try the last version 1.2.976.0
I have sound only if my speakers is selected as mono in ac3 codec options
http://nsa04.casimages.com/img/2009/01/18/mini_090118090323144694.jpg (http://www.casimages.com/img.php?i=090118090323144694.jpg)

If I select 4.1 (2front+2near) or 5.1 (3front + 2 near) I don't have sound with mlp soundtrack.
If I select LFE I d'ont have sound even with mono

Rq: I have sound with other 5.1 .mkv video that use ac3 codec even with 5.1 selected in codec options

Rq2: I try also under vista and here i have only sound with mono or stereo speakers selected in ac3 codec options

config:
xp sp3
framework 3.5
xfi titanium: the last drivers
gtx280 : 180.48
vmr9 renderless





I notice a another bug with MPc-HC.
With some blu-ray (only some and not all), If I select MLP soundtrack, the framerate is only 12.4 i/s, if not with lpcm soundtrack or dts soundtrack, framerate is 23.97 i/s

here an example of this problem
http://www.zshare.net/info.html?54310400-a553b6c77ff2d34994f4f3bc51b23de2

my config:
Q6600
xp sp3
geforce gtx280 180.48
vmr9 renderless without direct3d and dxva option (i use ffdshow video decoder)
xfi titanium last driver
mpc-hc 1.2.976.0

ADude
23rd January 2009, 21:14
A comment reminded me of another minor, but long standing problem.

When you pause MPC-HC for a few seconds, and press play it works fine.

When you pause MPC-HC for many minutes, and press play, it starts for a few seconds, and then there is either a short glitch, or sometimes it hangs.

My guess is that after a while, Windows Vista is removing the RAM memory that is being pointed to.

alexins
24th January 2009, 02:04
Media Player Classic HomeCinema (x86/x64), svn 982 (http://www.xvidvideo.ru/content/view/598/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/)

Added a variant of the "16-235 -> 0-255" shader that only modifies SD resolution video; Cleaned up the code of some shaders.

ADude
24th January 2009, 04:09
Changes log (http://www.xvidvideo.ru/content/view/7/17/)


Change we can believe in ! :cool:

chrishallowell
24th January 2009, 05:26
Ok, I am trying to play MPC-HC with a TrueHD stream, decoded by ffdshow.

I'm concerned by what MPC-HC output audio pin says (AC3 640Kbps). Shouldn't this say TrueHD or mlp?

Filter : H:\bluray\SpiderMan3.m2ts - CLSID : {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
- Connected to:
CLSID: {0F40E1E5-4F79-4988-B1A9-CC98794E6B55}
Filter: ffdshow Audio Decoder
Pin: In
- Connection media type:
Audio: Dolby AC3 48000Hz 6ch 640Kbps

madshi
24th January 2009, 09:24
Hey guys,

check out "wmcodecdsp.h", there are a number of GUIDs for the new audio formats in there. I think the MPC HC splitters should make use of these (in addition to the ones already in use):

DEFINE_GUID(MEDIASUBTYPE_MSAUDIO1, 0x00000160, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_WMAUDIO2, 0x00000161, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_WMAUDIO3, 0x00000162, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_WMAUDIO_LOSSLESS, 0x00000163, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_WMASPDIF, 0x00000164, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_MPEG_ADTS_AAC, 0x00001600, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_MPEG_RAW_AAC, 0x00001601, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_NOKIA_MPEG_ADTS_AAC, 0x00001608, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_NOKIA_MPEG_RAW_AAC, 0x00001609, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_VODAFONE_MPEG_ADTS_AAC, 0x0000160A, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_VODAFONE_MPEG_RAW_AAC, 0x0000160B, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
DEFINE_GUID(MEDIASUBTYPE_DOLBY_DDPLUS, 0xa7fb87af, 0x2d02, 0x42fb, 0xa4, 0xd4, 0x5, 0xcd, 0x93, 0x84, 0x3b, 0xdd);
DEFINE_GUID(MEDIASUBTYPE_DOLBY_TRUEHD, 0xeb27cec4, 0x163e, 0x4ca3, 0x8b, 0x74, 0x8e, 0x25, 0xf9, 0x1b, 0x51, 0x7e);
DEFINE_GUID(MEDIASUBTYPE_DTS_HD, 0xa2e58eb7, 0xfa9, 0x48bb, 0xa4, 0xc, 0xfa, 0xe, 0x15, 0x6d, 0x6, 0x45);

clsid
24th January 2009, 15:20
Added a variant of the "16-235 -> 0-255" shader that only modifies SD resolution video; Cleaned up the code of some shaders.
MPC-HC has a bug/feature where it merges its default shader list with your current shader list.

As a result, some shaders may get listed multiple times with different names.

Tip for everyone:
Remove the [Shaders] section from your mplayerc.ini file or remove the 'Shaders' key from the registry to reset the list (and remove the duplicates).

ikarad
25th January 2009, 09:05
Good luck



Can anyone confirm this bug? load subtitle function doesn't worked with EVR custom enable
https://sourceforge.net/tracker2/?func=detail&aid=2466321&group_id=170561&atid=854651



here a video which show the problem
video with vmr9 renderless and load subtitle function used
http://www.zshare.net/video/53942871e808c7fa/

the same with evr custom and load subtitle function used
http://www.zshare.net/video/5394192223105971/

with evr custom, subtitles blink

I speak about this function "load subtitle" (crtl+L) in the file menu
http://nsa03.casimages.com/img/2009/01/04/mini_090104045355361509.jpg (http://www.casimages.com/img.php?i=090104045355361509.jpg)

and not this function "auto-load subtitles" in the option
http://nsa03.casimages.com/img/2009/01/04/mini_090104045435828653.jpg (http://www.casimages.com/img.php?i=090104045435828653.jpg)

I confirm this bug with 1.2.982.0 but I succeed to determine that this bug
occured only when I use "open dvd" function of MPC-HC to see a dvd movie.
Of course I use launch dvd function after to launch separated subtitles.
http://nsa04.casimages.com/img/2009/01/25/mini_090125085029605625.jpg (http://www.casimages.com/img.php?i=090125085029605625.jpg)

With vmr9 renderless I don't have any problem but with evr custom subtitle
are not well displayed

video with vmr9 renderless + open dvd function used and load subtitle
function used
http://www.zshare.net/video/53942871e808c7fa/

the same with evr custom + open dvd function used and load subtitle
function used
http://www.zshare.net/video/5394192223105971/

the same with evr custom without open dvd function and with load subtitle
function used
http://www.zshare.net/info.html?54630604-c08bdba16932c7a40cfdb7ac86f4351f

This function seems to have some problems.

MPC-HC v1.2.982
no dxva acceleration
xp sp3
geforce gtx280 180.48
xfi titanium

mikegun
25th January 2009, 12:25
any news why dxva only works with vmr7, haali or evr but not with vmr9 which seems to be the only renderer that supports subtitles ?

my system: xp sp2 / .net 3 / ati hd2600pro agp / cat 8.11

Casshern
25th January 2009, 12:49
any news why dxva only works with vmr7, haali or evr but not with vmr9 which seems to be the only renderer that supports subtitles ?

my system: xp sp2 / .net 3 / ati hd2600pro agp / cat 8.11

Welcome to the world of the 2600pro agp and winxp. There are two mysteries:
1) DXVA works with vmr7(windowed) and overlay
2) DXVA produces jumping/frames corruption in evr and vmr9 if and only if the displayed window is larger then 1400 x 960 and material is 1920x1080 high bitrate (e.g. bluray and not some recoded mkv). So if you have a 1920x1080 display you got a problem (no matter what registry tweaks)

---> up to now it seems like the 2600pro agp seems to have a hardware limit with vmr9 and evr
----> BUT: Powerdvd 7 works with DXVA at 1920x1080 and uses vmr9(renderless)---thats the mystery! Maybe initialization of the renderer is different, nobody knows.

Solution: Use overlay or vmr7 with DXVA, even though you will not be able to use subtitles. Also i would recommend using cat 8.5 because its the most stable - no blue screens of death when franatically seeking in DXVA playback

nlnl
25th January 2009, 15:43
Please evaluate my fixes to the VMR9 renderless and EVR Custom renderers and report any problems.

When reporting bugs please include:
* Operating system, and service pack
* Graphics card, and driver version
* Which output renderer you are using
* If in Vista, are you running aero with desktop composition (transparent window title bars)
* If possible also include a screencap with statistics enabled

Media Player Classic HomeCinema (x86), svn 979 + Beliyaal Fixes Ver 6 (http://www.olofsson.info/mpchc/MPCHC_x86_svn979_beliyaal_6.zip)

Ver6:
* When VSync is off drawtime and VSync dependant calculations disabled resulting in a straight jitter graph.
* Fixed Min/Max jitter calculation that was broken in last build.

Ver5:
* Corrected VSync wait when not accurate mode is enabled.
* Fixed incorrect aspect ratio calculations.
* Fixed an OSD threading crash.
* Made LPCM resync after seek safer.

Ver4:
* Fixed a deadlock at startup.
* Fixed high CPU usage.
* Added option for using "Accurate VSync". This will slightly increase CPU usage, but should you only need to enable it if you want a perfectly straight jitter curve, which isn't really necessary. Accurate VSync will always be used when enabling "Alternative VSync" in Output options.
* Added option to disable Fullscreen GUI support. This is accessed through right click menu, or View menu.
* Fixed the right click menu for fullcreen without D3D fullscreen mode.

Ver3:
* Fixed open DVD crash.

Ver2:
* Updated with fix for incorrect aspect ratio.


Thanks!

This is what is different from SVN:

General fixes
Changed: The right click menus have been somewhat re-arranged.
Fixed: The OSD seek bar for in fullscreen no longer dissapears.
Fixed: DTS HD MA audio data is stripped so only core data remains so DTS HD works with spdifer. Not sure if this is the way to do it? Is it possible to passthrough DTS MA currently? Should we leave it as this until it is?
Fixed: The performance counter in AfxGetApp() run out of precision of a 64 bit integer, this caused its values to be incorrect after the computer has been running for a long time.

VMR9 and EVR Custom
New: Screen space pixel shaders.
New: New "Alternate VSync" mode added. Configurable in the Output settings.
New: When "Alternative VSync" is enabled in render properties you can control the VSync offset with Ctrl+Alt+Up and Ctrl+Alt+Down.
New: Misc statistics added to the statistics display (some of the statistics are only updated with EVR Custom renderer).
New: Right click menus are now available in fullscreen mode.
Changed: Status display now uses a fixed width font with a shadow to increase readability.
Changed: Use D3D9Ex device when available.
Fixed: OSD update in renderer made trhead safe.
Fixed: Video stopped rendering when pixel shaders are enabled and the video is dragged to another monitor.
Fixed: Centering of FPS jitter is now automatic.
Fixed: BeginScene/EndScene was used in many places. It should only be used ONCE per Present call. This fixed statistics display on Intel graphics.

EVR Custom Only
New: Added a audio/video sync offset graph to the statistics display.
New: The renderer now provides the Sync offset statistic in the interface (Displayed in the statistics bar).
New: Added a smoothing function of the graph clock to the renderer.
Changed: Moved the mixer processing to a separate thread in the renderer for better performance.
Fixed: Calculation of jitter is now correct with "weighted average" instead of just the diff of one frame.
Fixed: Buildup of frames in the frame queue was not possible when waiting for VSync which resulted in bad decoding performance.
Fixed: Added detection of invalid frame times to fix stuttering VC1 using the built in m2ts splitter.
Fixed: Dropping frames was not possible when Video FPS was greater than or equal to the Movie fps, which resulted in audio and video getting out of sync when seeking or just the video getting behind some frames
Fixed: Better detection of movie FPS.
Fixed: Pause the graph when the video is more than one second behind the audio to allow the video to catch up

Known issues
* Sometimes there are glitches in the VSync wait. I'm still investigating, but it seems to happen when another thread/process is locking the D3D device for an extended period. Might be partially fixable by predicting the VSync.
* Playing a video with HIGHER fps than the screen refresh could be smoother. Will implement fix for this later.

Vista 32, Aero, Nvidia 9400, the newest driver, MPC HC Beliyaal's version

Can not play VC-1 INTERLACED video in m2ts, mkv container using MPC HC internal decoder (black screen), using WMV and ffdshow decoder (slow and incorrect frame rate).
Beliyaal, will you please help me!:thanks:

Casimir666
25th January 2009, 15:44
Hey guys,

check out "wmcodecdsp.h", there are a number of GUIDs for the new audio formats in there. I think the MPC HC splitters should make use of these (in addition to the ones already in use):


Wmcodecdsp.h is a part of which SDK i cannot find it?

Do you agree that it's not necessary to modify the parser to propose those subtypes (because it will break ffdshow compatibility), but rather to add it as input mediatype for the audio decoder?

jeffy
25th January 2009, 16:09
@Casimir666?
http://social.msdn.microsoft.com/Forums/en-US/windowsdirectshowdevelopment/thread/59a052c7-294a-48d8-ae12-d7933f97d275/

Jay Bee
25th January 2009, 16:40
Can not play VC-1 INTERLACED video in m2ts, mkv container using MPC HC internal decoder (black screen), using WMV and ffdshow decoder (slow and incorrect frame rate).
Beliyaal, will you please help me!:thanks:


+1

I just spent a few hours trying all the VC-1 decoders I could find (Arcsoft, Microsoft, MPC, Sonic, ffdshow, Cyberlink, Intervideo, Mainconcept, Nero). Not one of them will play interlaced VC-1 properly and connect to the MPC Mpeg Splitter.

In fact the only one that performed well at all was Arcsoft, but it only connects to its own splitter, which doesn't support audio stream switching.

Is there any particular reason that there doesn't appear to be much interest in getting this format to work? It is out there on real BDs after all. Is it just really hard to do or is there perhaps a lack of samples (I could provide some)?

Just wondering.

CruNcher
25th January 2009, 18:31
Arcsoft uses some of Gabest his stuff so i'm rather surprised that it doesn't connect
but like you so far i only got Arcsoft to work with VC-1 Interlaced when inside transport streams, talked with Haali about this also but no info yet what is causing the black screen @ playback :(
http://forum.doom9.org/showthread.php?t=143210

alexins
25th January 2009, 19:04
Media Player Classic HomeCinema (x86/x64), svn 983 (http://www.xvidvideo.ru/content/view/602/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: Prevent display or computer to sleep during playback.

Swin
25th January 2009, 19:10
Hi !

There is any way to automatically change the refresh speed of the monitor where the file is to be played ?

I use an LCD monitor as principal and my Z2000 as secondary, but I always have to use mediainfo to see the framerate of the file, then change it using the catalyst control center, and then play the film.

It would be fantastic to play the file and MPC to change automatically the refresh speed of the screen where it is displayed.

In the options, I've seen there the possibility to change the resolution, but the options showed are only for the main monitor, I suppose, because I don't see any HD resolution. And this affects to the refresh speed to but we will have the same problem.

Here in Spain is very frequent to have files at 25 fps and at 23,967.

It would be ideal to have a table like for files
at use
23,976 24 fps
24 24 fps
25 50 fps
30 60 fps
....

Because there are people without 24 fps ready displays.

Same request here. Is it possible? Or is it possible to expand the "Change fullscreen resolution" function to 1920x1080 32bpp 24hz and 50hz?


I third this option. I actually asked the same question on the VLC forum but the reply was although interested, not likely.

As MPC-HC has the option to change the resolution of the output to the monitor on beginning playback, I guess it would be a pretty straight forward task to expand this so that the resolution could be set depending on what MPC detects as the source material - probably through a user mapped option table.

My Pioneer Plasma has allows for several different resolutions. Although its native resolution of 1024x768, a resolution 1360x768 gives the correct aspect ratio and a steady picture suitable for computer graphics. However, you end up with limited picture adjustment on the TV if you feed it with this resolution. In addition, video and movies seem to look better if you feed the screen with either 1920x1080 or 1280x720 and of course, the TV has full picture adjustment available.

Being able to use MPC to automatically switch between different resolutions and refresh rates would be a very nice feature to have.

parsifal
25th January 2009, 19:32
Media Player Classic HomeCinema (x86/x64), svn 983 (http://www.xvidvideo.ru/content/view/602/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: Prevent display or computer to sleep during playback.

Does this change also take effect when the video is paused or has reached the end? Thanks!

Casimir666
25th January 2009, 19:58
Does this change also take effect when the video is paused or has reached the end? Thanks!

It prevent sleep mode only when video is playing.

Rain1
25th January 2009, 20:02
Thanks alot for the sleep mode fix :thanks:

It prevent sleep mode only when video is playing.

that makes sense

parsifal
25th January 2009, 20:02
Thanks, good to know!

DeepBeepMeep
25th January 2009, 20:36
I have noticed something strange with Beliyaal's patch: some frames are skipped (it is quite obvious when the tearing bar is on) although they are not reported by the stats (I have a beautiful straight line).

Moreover further tests of the jitter that randomly appears and won't go away (mentioned in earlier posts) show that it is quite frequent in screen refresh frequency such as 72Hz and much less in 23.967/24Hz


Nvidia8600GTS/XPSP3/WMR9 Full Screen/Reclock

After further observation it seems that no frame is skipped but instead I have some tearing (VSync is lost) during a couple of frames. This may explain why no jitter is detected. It is quite a surprise since sofar I had never had tearing in VMR9 Fullscreen exclusive mode. I wonder if it is not related to the trick used to keep the menus accessible in full screen mode. Please note I dont have this issue using the standard mpc htpc builds.

nlnl
25th January 2009, 20:40
Arcsoft uses some of Gabest his stuff so i'm rather surprised that it doesn't connect
but like you so far i only got Arcsoft to work with VC-1 Interlaced when inside transport streams, talked with Haali about this also but no info yet what is causing the black screen @ playback :(
http://forum.doom9.org/showthread.php?t=143210

Can you play interlaced VC-1 video in mkv container? I can not - very slow frame rate (WMV decoder + MPC HC Beliyaal's version).

Beliyaal
25th January 2009, 21:40
I didn't manage to do any updates to the renders this weekend, but I got stuck installing a PC with NVidia graphics card and XP+XPx64+Vistax64+Windows7x64 to be able to test with the configuration that seems to have most problems.

Also added some Blu-ray fixes to SVN:
Added: Support for Blu-ray clip info (language for audio and subtitles in m2ts files)
Changed: Sort MPEC audio streams according to quality. The best quality stream will be played by default.
Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer.
Fixed: If Blu-ray clip info is available all subtitle streams will be available from the start of the clip.

New build with latest SVN:
In original post (http://forum.doom9.org/showthread.php?p=1238556#post1238556)

madshi
25th January 2009, 22:05
Wmcodecdsp.h is a part of which SDK i cannot find it?

Do you agree that it's not necessary to modify the parser to propose those subtypes (because it will break ffdshow compatibility), but rather to add it as input mediatype for the audio decoder?
It's in the Vista SDK (v6.0).

AFAIK a DirectShow splitter can export/propose multiple media types at the same time. I'd suggest to add the official MS GUIDs as another media type alternative. Because otherwise if Microsoft adds a TrueHD decoder to Windows 7, it wouldn't work with your splitter. You know, there are already AC3, AAC and h264 decoders from Microsoft shipping with Windows 7. Maybe TrueHD decoding will be added, too? I don't really think so, but let's wait and see...

BTW, I've also posted the new GUIDs in the ffdshow thread and they've already agreed to add them to their decoders, too. Nero (Menno) is also already informed.

Edit: The latest ffdshow SVN is now updated to accept the new GUIDs.

alexins
25th January 2009, 22:42
Wmcodecdsp.h is a part of which SDK i cannot find it?

Do you agree that it's not necessary to modify the parser to propose those subtypes (because it will break ffdshow compatibility), but rather to add it as input mediatype for the audio decoder?

This file is part of the SDK 6.0, 6.0A, 6.1, 7.0.

http://s61.radikal.ru/i174/0901/ec/c7a6c046fa89t.jpg (http://radikal.ru/F/s61.radikal.ru/i174/0901/ec/c7a6c046fa89.png.html)

ADude
25th January 2009, 22:48
Also added some Blu-ray fixes to SVN:
Added: Support for Blu-ray clip info (language for audio and subtitles in m2ts files)
Changed: Sort MPEC audio streams according to quality. The best quality stream will be played by default.
Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer.
Fixed: If Blu-ray clip info is available all subtitle streams will be available from the start of the clip.

New build with latest SVN:
In original post (http://forum.doom9.org/showthread.php?p=1238556#post1238556)

Just to clarify, he is saying that he put some fixes for audio and subtitles in the regular development build, and then compiled his special version with that latest development build 985.

Alexins has not yet posted a build 985, so that is the only compile with the audio and subtitles changes.

Beliyaal
25th January 2009, 22:57
Just to clarify, he is saying that he put some fixes for audio and subtitles in the regular development build, and then compiled his special version with that latest development build 985.

Alexins has not yet posted a build 985, so that is the only compile with the audio and subtitles changes.

Another thing to clarify is that some of this code is only run when playing from a network path (\\computer\Share\X). What I really should have done was to fix the old code to work with network paths instead I accidently reimplementing the same functionality in another place.

ADude
25th January 2009, 23:03
Another thing to clarify is that some of this code is only run when playing from a network path

Are you referring to code that is part of 984 and 985, or code that is part of your special version only ?

Beliyaal
25th January 2009, 23:06
Are you referring to code that is part of 984 and 985, or code that is part of your special version only ?

984 and 985

alexins
25th January 2009, 23:07
Media Player Classic HomeCinema (x86/x64), svn 985 (http://www.xvidvideo.ru/content/view/603/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/)

Added: Support for Blu-ray clip info (language for audio and subtitles in m2ts files); Changed: Sort MPEC audio streams according to quality. The best quality stream will be played by default; Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer; Fixed: If Blu-ray clip info is available all subtitle streams will be available from the start of the clip; Fixed: Extended stream info broke for sources without Blu-ray clip info.

Mercury_22
25th January 2009, 23:12
Now with SVN 985 the BUG from here @ Beliyaal
With your version 6 I'm "losing" sound only with DTS-HD XLL ! = Can't play DTS-HD XLL ! :helpful:
Now switching back from DTS-HD XLL to AC3 it's working after seeking !

(audio filter = ffdshow-mt 2624 icl10)

Sample (http://rapidshare.com/files/185566143/TEST.m2ts.html)

it's in the SVN = I'm losing the sound not only with Beliyaal's version BUT WITH SVN TOO

Media Player Classic HomeCinema (x86/x64), svn 985 (http://www.xvidvideo.ru/content/view/603/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/)

Added: Support for Blu-ray clip info (language for audio and subtitles in m2ts files); Changed: Sort MPEC audio streams according to quality. The best quality stream will be played by default; Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer; Fixed: If Blu-ray clip info is available all subtitle streams will be available from the start of the clip; Fixed: Extended stream info broke for sources without Blu-ray clip info.

NOW MPC starts playing with the DTS-HD XLL stream (SVN 983 starts with AC3 stream) and when i'm switching to ac3 everything It's OK but when I'm switching back to DTS-HD XLL I'M LOSING THE SOUND and if I'm switching again to AC3 I have sound BUT THE VIDEO IT'S ACCELERATED = it's playing at a faster speed something like in FF

P.S. SVN 983 it's working fine:helpful:

tetsuo55
25th January 2009, 23:34
Just read something interesting about windows 7

Translated from italian
http://74.125.79.100/translate_c?hl=en&sl=it&tl=en&u=http://www.tomshw.it/business.php%3Fguide%3D20081127%26page%3Dwindows7-netbook-notebook-05&prev=_t&usg=ALkJrhjUcn1swYMqwr0-W4BFhhFQuggcnw

Windows 7 add's some api options that greatly improve buffering/power consumption for Disc playback and Network streaming.

STaRGaZeR
26th January 2009, 00:57
Beliyaal, if you can add your fix for the shaders problem and multiple monitors to SVN it'll be nice. In the normal build when switching between windowed and fullscreen the shaders are deactivated and then reactivated in half a second or so, which is pretty noticeable when running the levels conversion shader for example. Your code fixes this too :)

ADude
26th January 2009, 03:11
Beliyaal, if you can add your fix for the shaders problem and multiple monitors to SVN it'll be nice. In the normal build when switching between windowed and fullscreen the shaders are deactivated and then reactivated in half a second or so, which is pretty noticeable when running the levels conversion shader for example. Your code fixes this too :)

I think that the general idea is for Beliyaal to fix all the bugs in his version, and then when no one can find any further problems introduced by his version, then (and only then) he should integrate it with the main SVN code.

Until then, it would be faster and more efficient for him to work on the bugs in his version.

Of course, as a volunteer, it's up to him to choose what he will do, but the above is what makes sense to me.

73ChargerFan
26th January 2009, 03:20
Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer.
Would you please add an option for this? It isn't broken on my system.

STaRGaZeR
26th January 2009, 05:18
I think that the general idea is for Beliyaal to fix all the bugs in his version, and then when no one can find any further problems introduced by his version, then (and only then) he should integrate it with the main SVN code.

Until then, it would be faster and more efficient for him to work on the bugs in his version.

Of course, as a volunteer, it's up to him to choose what he will do, but the above is what makes sense to me.

The problem is already fixed and tested by several users, so I'm suggesting him to do the same as he has done to other bugs he has fixed: put them in the main trunk so people could benefit from them earlier.

Aleksoid1978
26th January 2009, 05:59
Beliyaal, if you can add your fix for the shaders problem and multiple monitors to SVN it'll be nice. In the normal build when switching between windowed and fullscreen the shaders are deactivated and then reactivated in half a second or so, which is pretty noticeable when running the levels conversion shader for example. Your code fixes this too :)

You have one or more monitors ???
I fix shaders ON/OFF for one monitor(when fullscreen and window mode run on the same monitor).

clsid
26th January 2009, 12:25
Beliyaal's fixes should preferably be applied one by one, with some time between them (1 or 2 days). That would allow better testing of the individual fixes/changes.

tetsuo55
26th January 2009, 12:38
Would you please add an option for this? It isn't broken on my system.

There are software decoders for DTS-HD, do you mean that you are using one of these (like arcsoft)?

Beliyaal's fixes should preferably be applied one by one, with some time between them (1 or 2 days). That would allow better testing of the individual fixes/changes.

Yeah that would be best.

At the very least each fix should be submitted as a seperate revision

Mercury_22
26th January 2009, 13:16
Beliyaal's fixes should preferably be applied one by one, with some time between them (1 or 2 days). That would allow better testing of the individual fixes/changes.



Yeah that would be best.

At the very least each fix should be submitted as a seperate revision

Good idea but since they are in SVN maybe it's better to revert one by one those which have been reported with bugs (like the DTS..)

STaRGaZeR
26th January 2009, 15:02
You have one or more monitors ???
I fix shaders ON/OFF for one monitor(when fullscreen and window mode run on the same monitor).

One, but sometimes two, and there was a problem when changing the player between monitors with shaders enabled. Beliyaal fixed it, and it also fixed this on/off issue. But your fix works regardless :)

The jitter graph is still way off after the changes in rev931.

alexins
26th January 2009, 15:12
Media Player Classic HomeCinema (x86/x64), svn 986 (http://www.xvidvideo.ru/content/view/605/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 : When switching between fullscreen and windowed mode on the same screen/monitor shaders not deactivated/reactivated.

73ChargerFan
26th January 2009, 17:54
Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer.
Would you please add an option for this? It isn't broken on my system.
There are software decoders for DTS-HD, do you mean that you are using one of these (like arcsoft)?

No, I'm not - I'm looking to purchase an HDMI capable receiver. I have an ati 4850, and will get the new auzentech solution if it ever comes out.

I have played dozens of videos with unaltered dts-ma audio streamed to my current receiver using SPDIFER, and they already work. The built-in DTS 1536 -> SPDIF doesn't work for me and for others, and we've been using SPDIFER as a work-around ever since. That needs to be fixed.

Adding a work-around for his system/device/os/driver combination is okay, but make it optional, as it isn't necessary for others. If this kludge code is enabled, it won't come out, except by him. Then I won't have a chance of bitstreaming or decoding it.

Finally, we are at the beginning of a new development cycle, with a new OS coming out, a new framework, better audio cards & video solutions... we even have a working freeware Dolby TrueHD decoder now. Who knows what will be possible in 12 months?

Beliyaal
26th January 2009, 19:09
No, I'm not - I'm looking to purchase an HDMI capable receiver. I have an ati 4850, and will get the new auzentech solution if it ever comes out.

I have played dozens of videos with unaltered dts-ma audio streamed to my current receiver using SPDIFER, and they already work. The built-in DTS 1536 -> SPDIF doesn't work for me and for others, and we've been using SPDIFER as a work-around ever since. That needs to be fixed.

Adding a work-around for his system/device/os/driver combination is okay, but make it optional, as it isn't necessary for others. If this kludge code is enabled, it won't come out, except by him. Then I won't have a chance of bitstreaming or decoding it.

Finally, we are at the beginning of a new development cycle, with a new OS coming out, a new framework, better audio cards & video solutions... we even have a working freeware Dolby TrueHD decoder now. Who knows what will be possible in 12 months?

1. I use SPDIF:er for the exact same reason.
2. I have debugged SPDIF:er and determined why it's not working. It has nothing to do with my drivers.
3. Please give me an example where a DTS-HD track works with SPDIF:er.
4. I'm getting all solutions that has any chance of bitstreaming DTS-HD tracks to my receiver. You won't have to worry about not supporting it.
5. I'm thinking of integrating SPDIF:er in MPC-HC, at which time I will fix SPDIF:er instead. With an option to strip the data.

tetsuo55
26th January 2009, 20:23
No, I'm not - I'm looking to purchase an HDMI capable receiver. I have an ati 4850, and will get the new auzentech solution if it ever comes out.

I have played dozens of videos with unaltered dts-ma audio streamed to my current receiver using SPDIFER, and they already work. The built-in DTS 1536 -> SPDIF doesn't work for me and for others, and we've been using SPDIFER as a work-around ever since. That needs to be fixed.

Adding a work-around for his system/device/os/driver combination is okay, but make it optional, as it isn't necessary for others. If this kludge code is enabled, it won't come out, except by him. Then I won't have a chance of bitstreaming or decoding it.

Finally, we are at the beginning of a new development cycle, with a new OS coming out, a new framework, better audio cards & video solutions... we even have a working freeware Dolby TrueHD decoder now. Who knows what will be possible in 12 months?

I'm not sure what you mean.

First SPDIFER does not even know DTS-MA exists, besides DTS-MA only works with hdmi1.3 which your videocard does not have.
Secondly, because you actually do have audio your audio decoder must be doing the stripping for you.

What do you mean with:
The built-in DTS 1536 -> SPDIF?
(I use ffdshow for all my audio decoding)


5. I'm thinking of integrating SPDIF:er in MPC-HC, at which time I will fix SPDIF:er instead. With an option to strip the data.

Yeah i think that is the best way forward.
We should be able to send all audio codecs with hardware-decoding support over either SPDIF or HDMI, and all stripable audio codecs should be optionally stripable for SPDIF/HDMI1.2 or lower

73ChargerFan
26th January 2009, 21:12
Secondly, because you actually do have audio your audio decoder must be doing the stripping for you.

That may be, I don't know.

What do you mean with:
The built-in DTS 1536 -> SPDIF?

The audio stream is dts encoded at 1536 kbps, with mpc-hc dts transform enabled and "DTS Decoder" option set to SPDIF. This does not work, with dts streams on dvds, or with dts-ma streams. This does not work with my realtek or c-media devices. (ac3 works fine) The result is the signal cuts in and out, the audio repeats in 1 second intervals, I get loud BANGS...

But I can pass dts using spdifer.

PS - I'm not trying to annoy.:o

73ChargerFan
26th January 2009, 21:12
3. Please give me an example where a DTS-HD track works with SPDIF:er.Ooh, sorry if you got the impression that I was decoding the -HD info anywhere, I'm not, my receiver is DTS capable.

What I'm saying, is that I'm not testing out your version on my HTPC yet. With MPC-HC the following works:

(mkv, .ts, .m2ts with DTS-MA & DTS core)->internal or Haali splitter->SPDIFer->Default DirectSound Device (Auzentech XPlosion c-media card or on-board Realtek HDA) -> optical cable -> Pioneer 1015TX receiver DTS is received light.

SPDIFer options:
"SPDIF passthrough" AC3 & DTS checked
"SPDIF/DTS mode" set to Auto
"SPDIF/DTS conversion" set to "Do not convert"
"SPDIF options" Restrict SPDIF sample rate to 48 Hz set (necessary for Realtek, not for the c-media board).

MPC-HC - DTS source filter enabled, DTS transform filter disabled

I've watched BD rips with DTS-MA made using tsMuxer, mkvmerge, and also the original .m2ts (using anydvd) streamed across my network.

I've got the drivers installed for the realtek hdmi audio on the ATI 4850, but haven't tried it out. I'm waiting for the next generation HDMI receivers to come out.

ADude
26th January 2009, 22:47
5. I'm thinking of integrating SPDIF:er in MPC-HC, at which time I will fix SPDIF:er instead. With an option to strip the data.

I am assume what you mean here is that you want to replace MPC-HC's SPDIF code with the open source code from the SPDIFER project - is that correct ?

If so, while that would give MPC-HC better working audio, you would still have a divergence as soon as the SPDIFER project releases a new version.

The point here is that using the SPDIFER code is an acknowledgement that the idea of "internal built-in filters" is flawed.

It requires MPC-HC developers to maintain code unnecessarily.

MPC-HC should have no internal filters, but should make available a package of filters - including the DXVA filters created by MPC-HC developers - but also including open source filters created elsewhere, when they are preferable, such as AC3FILTER & SPDIFER for audio.

Beliyaal
26th January 2009, 23:05
I am assume what you mean here is that you want to replace MPC-HC's SPDIF code with the open source code from the SPDIFER project - is that correct ?

If so, while that would give MPC-HC better working audio, you would still have a divergence as soon as the SPDIFER project releases a new version.

The point here is that using the SPDIFER code is an acknowledgement that the idea of "internal built-in filters" is flawed.

It requires MPC-HC developers to maintain code unnecessarily.

MPC-HC should have no internal filters, but should make available a package of filters - including the DXVA filters created by MPC-HC developers - but also including open source filters created elsewhere, when they are preferable, such as AC3FILTER & SPDIFER for audio.

The problem I see with the SPDIFER project is that it seems to be dead. The last release was 2007 and from what I can see the source code isn't even available in CVS, so it seems hard to contribute my fixes to that project.

DTS pass-through playback is broken out of the box with MPC-HC which I don't think is acceptable. We either need SPDIFer or some other fix for this issue. I'm not sure at what layer I would like the code to be. The options at the moment seem to be:

* As a separate filter.
* As part of the DTS decoder.
* As part of a built in sound renderer (yet to be written).

loretta80
26th January 2009, 23:08
Have the same "Bangs" here with DTS Decoder set to Spdif out.

Realtec onboard sound ALC 882 with 2.14 drivers. Receiver is able to decode DTS. With ffdshow or AC3filter set to Spdif everything is OK. Maybe they transcode to a lower bitrate? FFdshow does not show anything on infopage while using spdif.


That may be, I don't know.


The audio stream is dts encoded at 1536 kbps, with mpc-hc dts transform enabled and "DTS Decoder" option set to SPDIF. This does not work, with dts streams on dvds, or with dts-ma streams. This does not work with my realtek or c-media devices. (ac3 works fine) The result is the signal cuts in and out, the audio repeats in 1 second intervals, I get loud BANGS...

But I can pass dts using spdifer.

PS - I'm not trying to annoy.:o

Kado
26th January 2009, 23:15
@ADude
MPC-HC should have no internal filters

I think the idea if MPC HC is to provide a player capable of playing most A/V without resorting to external filters (using DirectX) but but also being able to use external filters to extend the player's capability unlike VLC.

Aleksoid1978
26th January 2009, 23:41
One, but sometimes two, and there was a problem when changing the player between monitors with shaders enabled. Beliyaal fixed it, and it also fixed this on/off issue. But your fix works regardless :)


When move player's window from one monitor to other with shaders enabled - need to deactivate and then activate shaders or give black screen and no video.

ADude
27th January 2009, 03:59
I think the idea if MPC HC is to provide a player capable of playing most A/V without resorting to external filters (using DirectX) but but also being able to use external filters to extend the player's capability unlike VLC.

But, just taking an external filter and pasting its code into MPC-HC makes the difference between "internal" and "external" meaningless. You might as well "bundle" the filters into the download and allow the user to install them or not (cf Zoom Player).

In fact, as noted a few days back, Haali Splitter only works right with two audio streams if the audio filters are external.

The main point is that in order to have internal filters for everything, you have to constantly maintain many different pieces of code. That is not really workable for a relatively small open source project - some things end up not working, which is currently the case with the internal audio and the internal splitter.

If you just provide a bundle of filters, then whenever you have a filter by the same developers that works well, such as the DXVA filters, then you include that instead of some other filter. But when the filters that are part of the same project are not currently working, then you can just include some other filter in the bundle (like Haali Splitter or AC3FILTER).

ADude
27th January 2009, 04:02
The problem I see with the SPDIFER project is that it seems to be dead. The last release was 2007 and from what I can see the source code isn't even available in CVS, so it seems hard to contribute my fixes to that project.

SPDIFER is a subset of AC3FILTER, for those who only use SPDIF.

AC3FILTER was last updated in July 2008, which is also the date of the last post by the author in its Forum.

What problem have you found with SPDIFER that needs fixing ?

Beliyaal
27th January 2009, 04:40
SPDIFER is a subset of AC3FILTER, for those who only use SPDIF.

AC3FILTER was last updated in July 2008, which is also the date of the last post by the author in its Forum.

What problem have you found with SPDIFER that needs fixing ?

I though we were talking about SPDIFER which hasn't been updated recently, not AC3FILTER which is a little bloated.

But anyway, the bug is that neither SPDIFER nor AC3FILTER can handle DTS-HD streams.

ADude
27th January 2009, 06:19
I though we were talking about SPDIFER which hasn't been updated recently, not AC3FILTER which is a little bloated.

But anyway, the bug is that neither SPDIFER nor AC3FILTER can handle DTS-HD streams.

First, if true, that would not be a "bug". I have a 15 year old TV that does not handle HD TV, but that is not a "bug", it is just not designed for that.

Second, 73ChargerFan posts above that he uses SPDIFER with DTS-HD streams and they work fine. Since SP/DIF connections cannot handle 6 channels of lossless audio, all it needs to do is pass the core and he says that it does so.

Mercury_22
27th January 2009, 10:55
Nobody else beside me has problems playing DTS-HD XLL lossless streams starting with SVN 984 ?

I mean the only way I can play those XLL streams is if MPC-HC starts playing them first (from the beginning), but if I change to the other stream type (e.g. AC3) when I change back to the DTS-HD XLL lossless stream I'm losing the sound and if I'm switching again to the other stream type (e.g. AC3) I have sound but the video starts acting strange (accelerated) And if MPC-HC starts playing with the other stream type I CAN'T play the DTS-HD XLL lossless stream at all

:helpful:

P.S. SVN 983 it's working OK DTS-HD XLL Sample1 50MB (http://rapidshare.com/files/185566143/TEST.m2ts.html), DTS-HD XLL Sample2 100MB (http://rapidshare.com/files/190091030/BARAKA.m2ts.html), DTS-HD XLL Sample3 100MB (http://rapidshare.com/files/190095940/CHRONOS.m2ts.html)

Beliyaal
27th January 2009, 13:16
First, if true, that would not be a "bug". I have a 15 year old TV that does not handle HD TV, but that is not a "bug", it is just not designed for that.

Second, 73ChargerFan posts above that he uses SPDIFER with DTS-HD streams and they work fine. Since SP/DIF connections cannot handle 6 channels of lossless audio, all it needs to do is pass the core and he says that it does so.

Don't take my word for it, just try it yourself, it can NOT pass only the core data through (test with an older build of MPC-HC). Mercury_22 continently provided DTS-HD samples in his latest post.

Beliyaal
27th January 2009, 13:22
Nobody else beside me has problems playing DTS-HD XLL lossless streams starting with SVN 984 ?

I mean the only way I can play those XLL streams is if MPC-HC starts playing them first (from the beginning), but if I change to the other stream type (e.g. AC3) when I change back to the DTS-HD XLL lossless stream I'm losing the sound and if I'm switching again to the other stream type (e.g. AC3) I have sound but the video starts acting strange (accelerated) And if MPC-HC starts playing with the other stream type I CAN'T play the DTS-HD XLL lossless stream at all

:helpful:

P.S. SVN 983 it's working OK DTS-HD XLL Sample1 50MB (http://rapidshare.com/files/185566143/TEST.m2ts.html), DTS-HD XLL Sample2 100MB (http://rapidshare.com/files/190091030/BARAKA.m2ts.html), DTS-HD XLL Sample3 100MB (http://rapidshare.com/files/190095940/CHRONOS.m2ts.html)

I have reproduced your bug and I'm working on it. Please refrain from putting yourself in a position where you need to change back to DTS-HD in the meantime!

Mercury_22
27th January 2009, 14:37
I have reproduced your bug and I'm working on it. Please refrain from putting yourself in a position where you need to change back to DTS-HD in the meantime!

Thanks for answering cause I was starting to think it's something wrong with my system :thanks:

P.S. Also when you find the bug PLEASE fix your version of MPC too cause for me that version (ver 7) it's working OK (including VC-1) except this bug !

nlnl
27th January 2009, 15:17
Thanks for answering cause I was starting to think it's something wrong with my system :thanks:

P.S. Also when you find the bug PLEASE fix your version of MPC too cause for me that version (ver 7) it's working OK (including VC-1) except this bug !

Can you play interlaced VC-1 video in m2ts or mkv?

Mercury_22
27th January 2009, 16:30
Can you play interlaced VC-1 video in m2ts or mkv?

YES I CAN play VC-1 INTERLACED with Beliyaal's version of MPC-HC BUT only with WMVideo Decoder DMO !!! :D
Internal VC-1 filters DXVA and NONDXVA are NOT working ! :mad:


P.S. All this with m2ts files I don't have any VC-1 in mkv !

_xxl
27th January 2009, 16:55
@Mercury_22
YES I CAN play VC-1 INTERLACED with Beliyaal's version of MPC-HC BUT only with WMVideo Decoder DMO !!!
Internal VC-1 filters DXVA and NONDXVA are NOT working !

What's wrong with MS VC-1 decoder? Why do you use internal mpc-hc decoder?

Mercury_22
27th January 2009, 17:21
@Mercury_22


What's wrong with MS VC-1 decoder? Why do you use internal mpc-hc decoder?

I DON'T use the internal NONDXVA VC-1 !
Just the DXVA VC-1 because the MS VC-1's DXVA it's NOT working (yet?) just the NONDXVA it's working with my graphics (only with my Graphics it's NOT working ? :confused:) although it was supposed to ! :mad:

P.S. yes I'm using the WMV PowerToy to enable the DXVA in MS VC-1 :p

Jay Bee
27th January 2009, 17:47
What's wrong with MS VC-1 decoder?

It doesn't support dxva on (all? some?) ATI cards. Non dxva mode stutters on a lot of BD files.

Leak
27th January 2009, 18:07
Since in another thread someone asked why the VMR9 color controls didn't seem to do anything even when using the VMR9 renderer - wouldn't it make sense to make those sliders configure (and use, like is already done with shader scaling) the "procamp" shader instead?

np: Flying Lotus - Orbit 405 (Los Angeles)

STaRGaZeR
27th January 2009, 18:53
When move player's window from one monitor to other with shaders enabled - need to deactivate and then activate shaders or give black screen and no video.

Exactly. That's fixed in Beliyaal's builds.

DeathWolf
27th January 2009, 19:09
Mmmm... There are two things I can think of that'd be nice to see added:
1.the ability to choose the buffers size
2.the ability to disable the internal subtitle renderer yet be able to use the internal matroska/mp4 splitters with dvobsub.

ADude
27th January 2009, 21:06
Don't take my word for it, just try it yourself, it can NOT pass only the core data through
So, you are disputing 73ChargerFan's report at:

http://forum.doom9.org/showthread.php?p=1242097#post1242097

??

Beliyaal
28th January 2009, 02:37
So, you are disputing 73ChargerFan's report at:

http://forum.doom9.org/showthread.php?p=1242097#post1242097

??
Yes, but it might work in his setup if the driver is stripping to CORE, but SPDIFER is NOT doing it. I don't enjoy fixing issues that aren't there. Please prove me wrong with a picture like this one, but with spdifer working.

Screenshot (http://www.olofsson.info/mpchc/SPDIFERnotworking.png)

ADude
28th January 2009, 03:57
So, we will need 73ChargerFan to report what the SPDIFER stream info screen says when he is successfully playing back DTS-HD - if it does not have the same error report as you show in your screenshot, then one might conclude a difference in how the .mts file is encoded/created.

73ChargerFan
28th January 2009, 04:55
Yes, but it might work in his setup if the driver is stripping to CORE, but SPDIFER is NOT doing it.

Haali's splitter is doing it. :o:stupid:

offndr
28th January 2009, 16:10
I am getting tearing with the newest fix v7. But not with the old and stable version from sourceforge; MPC-HC v1.2.908.0 / 32 bits from nov 29th 2008.
I have played several releases and everyone of them tears with versions from 2009 overall.

geforce 8300 onboard
newest gforce drivers
vista aero
reclock 1.8.3.2 beta

I cant make tearing test nor ctrl-J information to show up either. What could be the matter here? (I get the tearingtest to appear in the nov 29th ver.) I have the latest DirectX 10 installed into my vista Ultimate with the latest updates installed.

thanks for the great work on this project.

shaolin95
28th January 2009, 17:02
Guys I use arcsoft tmt audio decoder with MPC-HC..can I get full dolby true and dts-hd from all my blurays and full rips?
I am going to be using analog output to take advantage of my new x-fi card so based on what Ive read I think I am right to think so but just in case.
Also, if there is a way to reset all the filters back to default...or pretty much clean all up as to start over with mpc-hc, please let me know cause mine got messed up and while I got it back working I still cant figure how to get audio from Kung Fu panda for example....it starts playing and a few seconds after that it goes silent.
It happens with all mpc-hc versions.
Thanks

The1n
28th January 2009, 22:38
@Casmir666

Looks like finally Intel is going to give out the DXVA spec for the G45 chipsets.

And for others read this thread over at Intels : http://software.intel.com/en-us/forums/developing-software-for-intel-graphics-technology/topic/60703/

Read post #29.

Casimir666
28th January 2009, 23:12
@Casmir666

Looks like finally Intel is going to give out the DXVA spec for the G45 chipsets.

And for others read this thread over at Intels : http://software.intel.com/en-us/forums/developing-software-for-intel-graphics-technology/topic/60703/

Read post #29.

Thanks for the info.

raynor
29th January 2009, 12:19
Is it possible to add postprocessing to the internal h.264
decoder ?

Lower quality h.264 videos are always quite "blocky",
so postprocessing similar to what the "official" xvid.org and
divx.com decoders offer would be a very welcome addition...

Maybe a slider to select the postprocessing level could be
added to the decoder properties page?

DrNein
29th January 2009, 15:41
Is it possible to add postprocessing to the internal h.264
decoder ?

Lower quality h.264 videos are always quite "blocky",
so postprocessing similar to what the "official" xvid.org and
divx.com decoders offer would be a very welcome addition...

Maybe a slider to select the postprocessing level could be
added to the decoder properties page?

Deblocking is integral to the standard and not meant to be disabled yet some decoders allow it. You should find it functioning normally with MPC-HC ffmpeg unless purposely disabled. If still blocky then chances are the video is simply too low of a bitrate for the resolution and cannot be improved with additional processing.

ooferomen
29th January 2009, 19:45
Thanks for the info.

i see you asked about mpeg2 in that thread. are you planing to add a mpeg2 vld decoder to mpchc? i know there aren't many mpeg2 blu-rays around but they are still pretty hard to play

raynor
29th January 2009, 20:18
Deblocking is integral to the standard and not meant to be disabled yet some decoders allow it. You should find it functioning normally with MPC-HC ffmpeg unless purposely disabled. If still blocky then chances are the video is simply too low of a bitrate for the resolution and cannot be improved with additional processing.

Hi DrNein, are you talking about MPC-HC's internal,
"integrated" decoder (which is based on ffmpeg AFAIK)?

TechFreak
29th January 2009, 22:29
hi

with the new catalyst drivers (9.1) mpc video decoder don't work.

XP Sp3
MPC-HC svn 987 x86
ATI Radeon HD 4350

the movie freeze at the start on 0 sec, black screen

with 8.12 no problems

sorry for my english

DrNein
29th January 2009, 23:26
Hi DrNein, are you talking about MPC-HC's internal,
"integrated" decoder (which is based on ffmpeg AFAIK)?

Yes. The setting can be confirmed from its property page during playback or by double-clicking on its listing(s) under internal filters.

What is the bitrate and resolution of the blocky files referred to? 10Mbps is something of a lower limit for 1080 before quality really suffers. 15Mbps and higher is preferred.

Jay Bee
30th January 2009, 00:01
hi

with the new catalyst drivers (9.1) mpc video decoder don't work.

XP Sp3
MPC-HC svn 987 x86
ATI Radeon HD 4350

the movie freeze at the start on 0 sec, black screen

with 8.12 no problems

sorry for my english

I Confirm. XP, 4670.

hdboy
30th January 2009, 00:24
I'm using build 967 and notice something odd: when I choose file > open file, and click browse... it opens the folder that was browsed last (like quick open file), rather than the folder where the current file selected in the drop down list is. I prefer the second behavior, since the first is already available with the quick open command.

I'm using windows 7 beta. Not sure if this is a w7 peculiarity or this is a recent change.

edit: this seems like a win7 thing. I tried an old build by gabest and it's exhibiting the same behavior.

ranpha
30th January 2009, 00:30
hi

with the new catalyst drivers (9.1) mpc video decoder don't work.

XP Sp3
MPC-HC svn 987 x86
ATI Radeon HD 4350

the movie freeze at the start on 0 sec, black screen

with 8.12 no problems

sorry for my english

If some avsforum posts I've read are correct, Catalyst 9.1 broke DXVA.

Jay Bee
30th January 2009, 00:55
If some avsforum posts I've read are correct, Catalyst 9.1 broke DXVA.

Still works with Cyberlink for me.

ranpha
30th January 2009, 01:01
Still works with Cyberlink for me.

The Cyberlink filter still works with MPC-HC if you have Catalyst 9.1?

Can you post a DXVA Checker screenshot with the Catalyst 9.1 here?

sarastro
30th January 2009, 02:07
hi

with the new catalyst drivers (9.1) mpc video decoder don't work.

XP Sp3
MPC-HC svn 987 x86
ATI Radeon HD 4350

the movie freeze at the start on 0 sec, black screen

with 8.12 no problems

sorry for my english

Maybe this will help finding wat broke the video decoder.
With:
Windows 7 beta 64-bit
MPC-HC build 983 x86 and MPC-HC build 987 x86
Ati catalyst 9.1
Ati IGP 3200

Everything still works, including hardware acceleration.

Aleksoid1978
30th January 2009, 02:32
I think DXVA not work with 9.1 only on WinXP

DeathWolf
30th January 2009, 03:00
In reference to my previous message, has anyone ever managed to get the internal mastroska splitter to connect to dvobsub+coreavc/ffdshow(with both internal and external subtitles)?

STaRGaZeR
30th January 2009, 03:18
DXVA is working fine here too with 9.1

saint-francis
30th January 2009, 03:41
DXVA working fine here also.

Vista x64
3870
cat 9.1
MPC HC 942

pdanpdan
30th January 2009, 06:54
DXVA working as before.

XP SP3
2400
cat 9.1
MPC HC 1.2.987

hoborg
30th January 2009, 07:59
I Confirm. XP, 4670.

Same here. XPSP3, HD4550

Snowknight26
30th January 2009, 09:11
A friend of mine has an issue (which I can't reproduce) where whenever he plays something and closes MPC-HC, the exe is still in the process list and won't play other files till its been killed. Happens for both 64- and 32-bit versions. Any insight about this?

leeperry
30th January 2009, 11:00
whenever he plays something and closes MPC-HC, the exe is still in the process list and won't play other files till its been killed.
I've had this problem for a LONG time, and so do many friends from HCFR.
I've always thought that it was related to a deadlock w/ ffdshow, as it also happens w/ audio files.
ages ago I asked Casimir if MPC HC could kill any already running MPC when it opens, and kill the process when it closes....but that didn't happen, as he can't reproduce.

it never happens w/ KMPlayer.

Jay Bee
30th January 2009, 13:20
The Cyberlink filter still works with MPC-HC if you have Catalyst 9.1?

Can you post a DXVA Checker screenshot with the Catalyst 9.1 here?

I don't know if it works with MPC-HC as I only use the standalone filters.

List seems a bit short?
http://img147.imageshack.us/img147/7641/zwischenablagebildpu5.png

But I know that AVC DXVA is working with Cyberlink as I'm watching HDTV with DVBViewer at 8% CPU.

clsid
30th January 2009, 14:02
I've had this problem for a LONG time, and so do many friends from HCFR.
I've always thought that it was related to a deadlock w/ ffdshow, as it also happens w/ audio files.
ages ago I asked Casimir if MPC HC could kill any already running MPC when it opens, and kill the process when it closes....but that didn't happen, as he can't reproduce.

it never happens w/ KMPlayer.
I have rarely seen MPC deadlock during close. Most freezing issues that I have seen are during file loading.

One effective way of making MPC freeze is the following:
1) Open up an explorer window for a directory that contains a bunch of audio/video files.
2) Start MPC.
3) Drag&Drop a file into the MPC window
4) Repeat step 3 until a freeze occurs. May take a dozen or more attempts. Dragging and dropping quickly increases the chance of success (in triggering a failure :p).

leeperry
30th January 2009, 14:17
One effective way of making MPC freeze is the following:
[...]
Drag&Drop a file into the MPC window
oh yes, I've had this one too....never drag'n drop on MPC :p

clsid
30th January 2009, 16:37
It is just an easy way to replicate the issue. But it can also happen when opening files 'normally' by double-clicking in explorer.

leeperry
30th January 2009, 18:14
It is just an easy way to replicate the issue. But it can also happen when opening files 'normally' by double-clicking in explorer.
It might have also happened to me, but many times(especially in EVR w/ the Avisynth filter of ffdshow enabled), it has remained as a process when closed. I even gave a "Process Monitor" log to Casimir, and apparently it was ffdshow creating the deadlock.
It also happens to many ppl on HCFR w/ the same config.

Snowknight26
30th January 2009, 19:59
Well in my friends case, it happens without ffdshow.

Edit: I just got word that audio still plays even though the main window was supposedly closed.

ash925
31st January 2009, 22:12
dxva not working with cat 9.1 on win xp sp2 ,hd4850,.Tried mpc-hc 986,987

her34
31st January 2009, 23:56
bookmarks/favorites are broken in current version 987

i traced back and found last correctly working version is 980. in 981 it doesn't work properly.

the problem happens when you restore a bookmark for a video that is longer than the video you are currently watching.

so suppose you are watching video1 which is 10 minutes long. if you then restore a bookmark for video2 saved at 30minute mark, mpc will load video2 at 10minute mark. if you restore the same bookmark again while now in video2, mpc will go to 30minute mark.

Pr3d
1st February 2009, 01:32
I didn't manage to do any updates to the renders this weekend, but I got stuck installing a PC with NVidia graphics card and XP+XPx64+Vistax64+Windows7x64

Nice.
Did you have any problem to make working DXVA on Windows 7 X64?
Im asking this because im using this OS with MPCHC X64 908 and im not able to use that functionality. MPC Video Decoder always says me "Not using Dxva" and i dont know why.
This doesnt happen on Vista X64 with the same config.

Thanks.

Snowknight26
1st February 2009, 01:34
Be sure you're using the ATI drivers from the website, not the ones from Windows Update.


With r987, when playing a DTS-HD MA track, there is audio corruption when seeking. 16, 24, 32-bit (even when not seeking), and even IEEE Float output formats exhibit this issue.
Also, the volume for DTS-HD MA tracks (or DTS rather) is louder than usual.

Edit: Some more issues. Switching audio tracks (from DTS to that aformentioned AC3 track) takes upwards of 5 seconds. Switching back from AC3 -> DTS(-HD MA) takes a long time too but causes the app to crash.

Samples:
http://www.stfcc.org/misc/00000.cut.m2ts
http://www.stfcc.org/misc/00000.cut2.m2ts (easier with this one, its double the size)

Edit: And some more.. MPC-HC x64 won't play FLAC files. It opens them but pauses the track at the end. Unpausing then seeking anywhere results in it going back to the end of the track.

Edit: Really on a roll here. Seeking through that Blu-ray (interlaced H.264) sometimes causes visual corruption that lasts for approx 1-5 frames. DXVA was enabled.

http://www.stfcc.org/misc/mpc-hc.r987.png

Edit: Hmm. The audio corruption seems to happen with all formats.

Pr3d
1st February 2009, 20:03
Be sure you're using the ATI drivers from the website, not the ones from Windows Update.

Are you talking to me?
Anyway, im using the website driver (for Seven ones), even if i think they're not necessary.
Hasn't MPCHC its own internal codecs to make the DXVA working?

clsid
1st February 2009, 20:18
Proper functioning of DXVA and all other video playback depends on correctly working drivers.

rica
1st February 2009, 21:32
Hi guys.
I've been trying to find out a workaround to Vista mixer's down-conversion issue. What i want to do is to get original audio from my speakers over analog cables to my ordinary receiver.

Please have a look at this post first:

http://forum.doom9.org/showthread.php?p=1244414#post1244414

So the question is you authors would you add WASAPI output support to MPC_HC, maybe over madflac?

Thanks.


_ _ _ _

Beliyaal
1st February 2009, 22:59
Weekly report.

SVN changes:
Changed: Merged old and new Bluray clip info into old code
Changed: More information (such as bitrate, channels etc) for Bluray streams even with clip info available
Fixed: Made old Bluray clip info work with network paths

Beliyaal build changes:
Added: You can now double click index.bdmv or MovieObject.bdmv to start a bluray with playlist support (instead of opening with Open DVD in menu). You need to select playlists and reset in file associations.

New build with these changes available in signature.

Noticed:
The new 9.1 ATI drivers seems to have glitches, missing VSyncs with Vista desktop composition (not visible in jitter graph). Worked out that the best MPC-HC results are achieved by (for Radeon 4870x2 at 1920x1080x23.976):
* Disabling desktop composition (right click on mplayerc.exe and check "Disable desktop composition" in Compatibility tab).
* EVR Custom with: D3D Fullscreen[ ] Alternate VSync[X] Lock backbuffer[X] EVR Buffers 20
* Select accurate VSync in Renderer Settings
* Change VSync offset to about -6

Ger
1st February 2009, 23:37
bookmarks/favorites are broken in current version 987

i traced back and found last correctly working version is 980. in 981 it doesn't work properly.

the problem happens when you restore a bookmark for a video that is longer than the video you are currently watching.

so suppose you are watching video1 which is 10 minutes long. if you then restore a bookmark for video2 saved at 30minute mark, mpc will load video2 at 10minute mark. if you restore the same bookmark again while now in video2, mpc will go to 30minute mark.

I have also been noticing erratic bookmark functionality lately, but since I've been using mostly Beliyaal's builds I thought it might be a side effect from one of his changes, but I couldn't reproduce reliably so I didn't quite know what to report.

But if you've nailed it down to SVN build 981 then it must be caused by Aleksoid's seek range fix, so perhaps Aleksoid or one of the other devs can have a look at how this change could break the bookmark function under certain circumstances. :thanks:

Mercury_22
1st February 2009, 23:55
Weekly report.

SVN changes:
Changed: Merged old and new Bluray clip info into old code
Changed: More information (such as bitrate, channels etc) for Bluray streams even with clip info available
Fixed: Made old Bluray clip info work with network paths

Beliyaal build changes:
Added: You can now double click index.bdmv or MovieObject.bdmv to start a bluray with playlist support (instead of opening with Open DVD in menu). You need to select playlists and reset in file associations.

New build with these changes available in signature.

Noticed:
The new 9.1 ATI drivers seems to have glitches, missing VSyncs with Vista desktop composition (not visible in jitter graph). Worked out that the best MPC-HC results are achieved by (for Radeon 4870x2 at 1920x1080x23.976):
* Disabling desktop composition (right click on mplayerc.exe and check "Disable desktop composition" in Compatibility tab).
* EVR Custom with: D3D Fullscreen[ ] Alternate VSync[X] Lock backbuffer[X] EVR Buffers 20
* Select accurate VSync in Renderer Settings
* Change VSync offset to about -6

:thanks: for the new changes but no fix for the DTS-XLL bug ? :( :helpful:

P.S. Why not include ALL the changes from your version in the SVN version too (merge) ? since as far as I can see there are NOT MAJOR BUGS SPECIFIC to your version (I CAN'T find any) and SVN are NOT "oficial releases" ?

alexins
2nd February 2009, 00:25
Media Player Classic HomeCinema (x86/x64), svn 988 (http://www.xvidvideo.ru/content/view/620/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: Merged old and new Bluray clip info into old code; Changed: More information (such as bitrate, channels etc) for Bluray streams even with clip info available; Fixed: Made old Bluray clip info work with network paths.

Snowknight26
2nd February 2009, 00:38
Hah, the archives are roughly 1.5x that of r987's.

rahzel
2nd February 2009, 02:06
dxva not working with cat 9.1 on win xp sp2 ,hd4850,.Tried mpc-hc 986,987
Add me to list of people who can't get DXVA working with Cat 9.1 using XP Pro SP3. :( Seems like it's XP users only.

I'm starting to dislike ATI's Catalyst Crew more and more. Since I've owned my HD3200, I've had problems fixed, but new ones introduced with every driver release. First it was slow 2D performance while internet browsing, which was FINALLY fixed just recently. Then they added the Pixel Format option which wouldn't stick on YCbCr, always reverted back to RGB FULL 444. Now that's fixed, and they break DXVA with XP.

Mc Onyx
2nd February 2009, 02:57
Can anyone look into AAC decoding of 7.1 channels, it doesn't work with internal AAC decoder, or with FFDshow. Not sure what's wrong, but all i get is crackling, also tested on other computers. Thanks.

ADude
2nd February 2009, 03:19
P.S. Why not include ALL the changes from your version in the SVN version too (merge) ? since as far as I can see there are NOT MAJOR BUGS SPECIFIC to your version (I CAN'T find any) and SVN are NOT "oficial releases" ?

Because the bugs in the Beliyaal version reported days ago have still not been fixed, such as that .FLV file playback is broken in the Beliyaal version but works fine in the equivalent SVN version. I play low quality .FLV files regularly in addition to HD .MKV files, so it is "major" to me.

Beliyaal
2nd February 2009, 07:15
:thanks: for the new changes but no fix for the DTS-XLL bug ? :( :helpful:


As you may have noticed the changes were minor, and I didn't have time to fix the DTS switching bug.

P.S. Why not include ALL the changes from your version in the SVN version too (merge) ? since as far as I can see there are NOT MAJOR BUGS SPECIFIC to your version (I CAN'T find any) and SVN are NOT "oficial releases" ?

There are still many bugs, and playback on NVidia hardware is not working well.

pbmtp
2nd February 2009, 08:10
Hi Beliyaal,

i tested your latest version (i am using a nvidia card gf8800 GT using latest 181.22 driver, WinXP SP3). If i select EVR it works, if i select EVR custom presenter, your mpc-hc version fail back to standard video renderer. EVR Custom presenter wors for me in standard MPC-HC from svn.

Thanks

Aleksoid1978
2nd February 2009, 08:19
Hi Beliyaal,

i tested your latest version (i am using a nvidia card gf8800 GT using latest 181.22 driver, WinXP SP3). If i select EVR it works, if i select EVR custom presenter, your mpc-hc version fail back to standard video renderer. EVR Custom presenter wors for me in standard MPC-HC from svn.

Thanks

Why you use EVR/EVR Custom in WinXP ??? DXVA not work in WinXP+EVR.

Beliyaal
2nd February 2009, 08:41
Hi Beliyaal,

i tested your latest version (i am using a nvidia card gf8800 GT using latest 181.22 driver, WinXP SP3). If i select EVR it works, if i select EVR custom presenter, your mpc-hc version fail back to standard video renderer. EVR Custom presenter wors for me in standard MPC-HC from svn.

Thanks

Could you try if it works if you install the latest DirectX redist (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=886acb56-c91a-4a8e-8bb8-9f20f1244a8e)?

pbmtp
2nd February 2009, 08:48
Hi,

i dont use DXVA, i do some postprocessing using ffdshow, i prefer EVR CP as it is smoother than the other renderer available on my hw/software. I am already using lastest DirectX redist.

Beliyaal
2nd February 2009, 09:43
Hi,

i dont use DXVA, i do some postprocessing using ffdshow, i prefer EVR CP as it is smoother than the other renderer available on my hw/software. I am already using lastest DirectX redist.

Ok, are you absolutely sure that you have installed the redist? This is not the same as the latest version of DirectX and includes D3DX which is separate from D3D. I had the same issue on my XP until I upgraded to SP3 and installed the redist and .Net 3.5. It might be .Net as well .Net 3.5 download (http://www.microsoft.com/downloads/details.aspx?familyid=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en)

pbmtp
2nd February 2009, 13:31
Hi,

I have .Net 3.5 + sp1 installed and the lastest d3dx9_XX.dll i have has number 40. And the exact same config works in EVR CP using latest mpc-hc from svn.

Px
2nd February 2009, 18:01
Why you use EVR/EVR Custom in WinXP ??? DXVA not work in WinXP+EVR.
http://forum.ixbt.com/post.cgi?id=attach:10:51719:3091:1
;)

loretta80
2nd February 2009, 19:14
Is it true that some nvidia cards are able to accelerate High@L5.1 profiles and Ati cards not?

pdanpdan
2nd February 2009, 19:20
WinXp+EVR on ATI - DXVA workd only for VC-1

wOxxOm
2nd February 2009, 22:52
XPsp3en - MPCHC 1.2.958.0 - internal h264 decoder (FFmpeg) + Haali renderer - garbled or no display at all when playing mkv ordered chapters (linked segments) video file for about 10 seconds of just selected chapter. FFDShow/CoreAVC @ MPCHC = ok. KMPlayer (built-in h264) = ok.

internal h264 decoder (FFmpeg) + EVR c/a = ok

ADude
2nd February 2009, 23:10
MPC-HC (build 979) will not play back correctly a 720p .MOV quicktime file with AAC audio.

The file plays fine with VLC.

With MPC-HC, the audio glitches - and I cannot tell whether it is maxing the CPU or not, because whenenver I take it off fullscreen, MPC-HC crashes (only with this one file). The FILTER menu selection is grayed out.

war59312
3rd February 2009, 01:45
Crash when trying to play this file:

http://movies.apple.com/movies/paramount/gijoe/gijoeriseofcobra-sbspot_h1080p.mov

Problem signature:
Problem Event Name: APPCRASH
Application Name: mplayerc.exe
Application Version: 1.2.988.0
Application Timestamp: 498624cc
Fault Module Name: QuickTime.qts
Fault Module Version: 7.60.92.0
Fault Module Timestamp: 49628b19
Exception Code: c0000005
Exception Offset: 000096bf
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Information 1: fd00
Additional Information 2: ea6f5fe8924aaa756324d57f87834160
Additional Information 3: fd00
Additional Information 4: ea6f5fe8924aaa756324d57f87834160


Plays fine in WMP 11.

Running Vista SP1 x86.

xiulet
3rd February 2009, 03:24
Crash when trying to play this file:

http://movies.apple.com/movies/paramount/gijoe/gijoeriseofcobra-sbspot_h1080p.mov



Plays fine in WMP 11.

Running Vista SP1 x86.

works ok for me :) mpc hcx32 988, coreaac.

in the other hand, I am using the new free(only reproduction) divx7 x264, several days ago, and it's fine, less cpu consumition than coreavc and better grain resolution( i thing so), and so better quality than dxva mpc hc(notorius). I have some captures to uploat, if someone interesting in :)

thanks you, adéu.

flanger216
3rd February 2009, 03:28
I'm getting broken playback of .dts files when using the internal DTS/AC3 source filter. It seems to be playing them back ~5% too fast: the reported duration is too short and the pitch is too high.

Quick update: these problems only occur when using Reclock. Otherwise, all DTS files playback fine. However, 44.1khz DTS files still report an incorrect duration - usually too short by about 20 seconds. This is as of revision 988.

pbmtp
3rd February 2009, 08:13
Beliyaal,

perhaps you could provide me with a debug version that log the error before failing back to default renderer while trying to initialize EVR CP ?

stax76
3rd February 2009, 11:43
I created a thread about adding a plugin interface to MPC so MPC can be extended with new features by plugins, the thread can be found here (http://forum.doom9.org/showthread.php?t=144748).

ADude
3rd February 2009, 20:56
in the other hand, I am using the new free(only reproduction) divx7 x264, several days ago, and it's fine, less cpu consumition than coreavc and better grain resolution( i thing so), and so better quality than dxva mpc hc(notorius).

I think that you are confused about the names.

x264 is encoding software that creates H.264 files (also known as "AVC" files).

DIVX is a company that makes encoding software, and also releases a player and decoder in the package.

So, if you can clarify what you are talking about, that would be helpful.

All of this discussion is very technical, so it makes it hard to follow if people do not use the right terms for what they are talking about.

xiulet
3rd February 2009, 21:12
I think that you are confused about the names.

x264 is encoding software that creates H.264 files (also known as "AVC" files).

DIVX is a company that makes encoding software, and also releases a player and decoder in the package.

So, if you can clarify what you are talking about, that would be helpful.

All of this discussion is very technical, so it makes it hard to follow if people do not use the right terms for what they are talking about.

o.k i am talking about this:
http://www.papuweb.com/fotoweb/forum/divx%20h.264.JPG

sorry for my english.

adéu.

DeathWolf
3rd February 2009, 23:04
mmm, if someone's motivated enough, could he/she try to modify the internal mkv splitter to actually overwrite the stream's ar flag in case there's already a container one?(fairly common case, and which has the problem that with coreavc, for example, the stream ar takes prescedence, because of nasty avc in avi issues for example)

ADude
3rd February 2009, 23:35
sorry for my english.

It doesn't have to do with English, "H.264" is not in English. :D

It is just copying the name just as it was shown: "Divx7 H.264 decoder".

Anyway, the problems that two of us are having with MOV files are with the internal decoder.

So, the question is - how do I get MPC-HC to use external filters on this MOV file ? If I uncheck the MP4/MOV internal source filter, MPC-HC still plays back the file exactly the same, and again with FILTERS grayed out in the menu.

littleD
3rd February 2009, 23:50
So, the question is - how do I get MPC-HC to use external filters on this MOV file ? If I uncheck the MP4/MOV internal source filter, MPC-HC still plays back the file exactly the same, and again with FILTERS grayed out in the menu.

Fastest way is to rename .mov to .hdmov. As a source filter u can use also haali.

xiulet
4th February 2009, 00:19
It doesn't have to do with English, "H.264" is not in English. :D

It is just copying the name just as it was shown: "Divx7 H.264 decoder".

Anyway, the problems that two of us are having with MOV files are with the internal decoder.

So, the question is - how do I get MPC-HC to use external filters on this MOV file ? If I uncheck the MP4/MOV internal source filter, MPC-HC still plays back the file exactly the same, and again with FILTERS grayed out in the menu.

ok, i don't know, i am using quicktime alternative , and filters grayed out too.

salutacions, adéu.

Mercury_22
4th February 2009, 00:25
It doesn't have to do with English, "H.264" is not in English. :D

It is just copying the name just as it was shown: "Divx7 H.264 decoder".

Anyway, the problems that two of us are having with MOV files are with the internal decoder.

So, the question is - how do I get MPC-HC to use external filters on this MOV file ? If I uncheck the MP4/MOV internal source filter, MPC-HC still plays back the file exactly the same, and again with FILTERS grayed out in the menu.

Just change MPC's Quicktime format to directshow ! :)

DrNein
4th February 2009, 02:53
Just change MPC's Quicktime format to directshow ! :)

Exactly. Then a DXVA AVC decoder and a more feature rich AAC decoder can be used (particularly for headphone modes). And if the internal MP4/MOV source filter remains enabled then the reliable Apple Media Handler (splitter) from QT Alternative will be still be used whereas if it is unchecked then an external may be used due to higher merit -so keep the internal enabled.

As for the name H.264, it does not make sense to use it instead of the name AVC (Advanced Video Codec) which was agreed upon by the standards organizations which jointly created it. H.264 and 14496-10 have no inherent meaning... they were just the next in a sequential naming pattern and may as well refer to a cheese sandwich. We do not refer to MPEG-2 video by the even more esoteric names H.262 or 13818-2 because, again, the single name was agreed upon as a common reference.

ADude
4th February 2009, 02:53
Just change MPC's Quicktime format to directshow ! :)

Aha ! :thanks:

I had a hunch there was some simple fix.

Now, it uses the AVC and AAC decoders and works fine.

ADude
4th February 2009, 03:34
in the other hand, I am using the new free(only reproduction) divx7 x264, several days ago, and it's fine, less cpu consumition than coreavc and better grain resolution( i thing so), and so better quality than dxva mpc hc(notorius). I have some captures to uploat, if someone interesting in :)

thanks you, adéu.

The CPU consumption is less for CoreAVC as from this post in another thread here :AMD Athlon 64 X2 4000+ 2.1 Ghz
Using timecodec.exe with a video encoded with H264 resolution 1920x1080
ffdshow dfps: 34.1
ffdshow MT dfps: 53.1
Divx 7 dfps: 83.5
CoreAVC 1.8.5 dfps: 101.6

The captures would be interesting, though, although captures do not usually prove video quality since MPEG4 is lossey and needs to lose unnoticeable detail in order to have real-world file sizes. That unnoticeable detail can be seen in captures, but is not noticed in the video playback.

Aside from that, an H.264 encoder developer stated:

If two H.264 decoders differ in quality, you're doing something wrong. H.264 decoders are required to give bit-identical output.

BatKnight
4th February 2009, 03:52
Beliyaal,

I tested your MPC-HC 988 + ver 8 and noticed that with x264 mkv files and EVR Custom the video speeds up every 5 seconds. The video is 23.976 fps but the player keeps changing from 24.05 to 23.50 fps when the jitter occurs, so the playing isn't smooth every 5 seconds aproximately.

This doesn't happen on EVR, only on EVR Custom. This also doesn't happen the same way on the SVN 988 because it's harder to notice the speedup.

Playing it on EVR is awesome, I just wish the EVR Custom wouldn't jitter and de-sync as it does.

Tested with:
Vista SP1
ATI Radeon HD 4350, catalyst 8.12
EVR Custom
I am running Aero enabled with Desktop Composition

You may see on the following screenshots captured at the moment of the jitter/speed-up:

MPC-HC SVN 988 EVR Custom: Small jitter
http://www.apsatanismo.org/misc/svn988_EVRCustom.jpg

MPC-HC Belyaal 988 ver 8 EVR Custom: Noticeable jitter
http://www.apsatanismo.org/misc/Belyaal988v8_EVRCustom.jpg

MPC-HC Belyaal 988 ver 8 EVR: PERFECT!
http://www.apsatanismo.org/misc/Belyaal988v8_EVR.jpg

Why this difference?

Thanks for your efforts

Bat

Beliyaal
4th February 2009, 08:56
Why this difference?

Thanks for your efforts

Bat

I'm trying to understand your graphs:

* Have you forced the screen refresh rate with for example PStrip to 23.976 FPS?
* Is the movie using DTS 1.5 mbit sound?

war59312
4th February 2009, 09:44
Aha ! :thanks:

I had a hunch there was some simple fix.

Now, it uses the AVC and AAC decoders and works fine.Indeed, no more crash. Thanks!!

mark0077
4th February 2009, 11:09
Hi Beliyaal and all,

I know theres alot of bug fixes already going on with mpc-hc so I don't expect this to be looked at straight away, but the problem I am having is with lip-sync. I always thought it was my old machine, but two days ago I upgraded to a core i7 and gtx 295 and my video is still delayed from my audio.

This is using svn 988 + Beliyaal Fixes Ver 8, evr custom presentation, nothing fancy. Tried using blu-ray lastnight and dvds. I know my LCD has about a 40 or 50ms lag to it, but this is more on the region of 200ms I would guess, noticable lag. Is this a well known issue as I see others on avs forums complaining about it.... Doesn't happen with media player...

What element in the chain of filters, renderer, handles the syncing of video to audio, and if this is eventually fixed / solved, is there anywhere to enter an audio delay, of whatever the LCD lag is to compensate.

So basically I am asking

1) Is this lip sync issue known and is it being looked at anytime soon
2) When it is sorted, is it possible to have an area in the renderer settings to enter an audio delay to get back the sync problem with TV's with lags which is a pretty common scenario.

Thanks Guys!

BatKnight
4th February 2009, 11:34
I'm trying to understand your graphs:

* Have you forced the screen refresh rate with for example PStrip to 23.976 FPS?
* Is the movie using DTS 1.5 mbit sound?
No Powerstrip installed. The 60Hz are the max the Sharp LCD does via HDMI.
Yes, the movie is DTS 1.5mbit and it's being passthrough SPDIF via the latest ffdshow.

There are no Vobsub or any other renders in the way.

Bat

Beliyaal
4th February 2009, 13:39
No Powerstrip installed. The 60Hz are the max the Sharp LCD does via HDMI.
Yes, the movie is DTS 1.5mbit and it's being passthrough SPDIF via the latest ffdshow.

There are no Vobsub or any other renders in the way.

Bat

The timing issue is because of an issue somewhere that I have not been able to determine. It is an issue ONLY with 1.5 mbit DTS tracks. The fix now is to route DTS passthrough through SPDIFER.

If you are running 60 Hz I'm guessing that you have disabled VSync? You might want to enable Accurate VSync as well as this increases the timing precision even with VSync disabled.

BatKnight
4th February 2009, 15:25
The timing issue is because of an issue somewhere that I have not been able to determine. It is an issue ONLY with 1.5 mbit DTS tracks. The fix now is to route DTS passthrough through SPDIFER.

If you are running 60 Hz I'm guessing that you have disabled VSync? You might want to enable Accurate VSync as well as this increases the timing precision even with VSync disabled.
Ok, I'm going to try SPDIFER. I would like to tell you that I am not using the MPC-HC parser or its internal DTS filter. The DTS track is being managed by ffdshow and passed-through by ffdshow too.

I've tried 60Hz, 59Hz and 50Hz and all of them give the same issue.
And yes, I had to disable Vsync, otherwise the graph lines would look like a rolercoaster: up and down.

I didn't understand if you are advising me to keep vsync on when playing 23.976 files over a 60Hz refresh rate, or to disable it.

Nevertheless, other thing I've noticed is that I can't force Vsync to be always off. I have to press V every time I open a file, to disable it

Let me know if you need more input or testing.
Thanks

Bat

Beliyaal
4th February 2009, 15:43
Ok, I'm going to try SPDIFER. I would like to tell you that I am not using the MPC-HC parser or its internal DTS filter. The DTS track is being managed by ffdshow and passed-through by ffdshow too.
I have seen this problem with Haali splitter as well, and ffdshow has it as well. The only thing that fixes it is SPDIFER.

I've tried 60Hz, 59Hz and 50Hz and all of them give the same issue.
And yes, I had to disable Vsync, otherwise the graph lines would look like a rolercoaster: up and down.

I didn't understand if you are advising me to keep vsync on when playing 23.976 files over a 60Hz refresh rate, or to disable it.

For now VSync off is probably best for 60 FPS and desktop composition enabled. I plan to fix this however so it works as well as VSync off. The graph you see when turning on VSync is closer to the reality, VSync off only "hides" the real jitter. What I was telling you to enable is "Accurate VSync", wich also affects other timing than the actual VSync.

xiulet
4th February 2009, 17:49
The CPU consumption is less for CoreAVC as from this post in another thread here :

The captures would be interesting, though, although captures do not usually prove video quality since MPEG4 is lossey and needs to lose unnoticeable detail in order to have real-world file sizes. That unnoticeable detail can be seen in captures, but is not noticed in the video playback.

Aside from that, an H.264 encoder developer stated:

divx7 10%(approx.)
coreavc(1.8.5.0) 12%(approx)
dxva(ati 4850) 2% (aprpox.)
Haali Media Splitter 2009-01-11

Up divx7, down dxva:
http://www.papuweb.com/fotoweb/forum/divx7-dxva.png

Up divx7, down coreavc:
http://www.papuweb.com/fotoweb/forum/divx7-coreavc.png


Up divx7(18% appx.), down coreavc(21% appx.):
http://www.papuweb.com/fotoweb/forum/dvix7-coreavc%202.PNG

i hope there are interesting in some way. Sorry but captures are not in real video size, i don't know how to make it.

That unnoticeable detail can be seen in captures, but is not noticed in the video playback.
is't true? Is very dificult to perveive the really differences on video playback but...:mad:

saludos, adéu.

Mangix
4th February 2009, 23:57
right click the video and click Normal. that gets rid of resizing.

BatKnight
5th February 2009, 00:42
I have seen this problem with Haali splitter as well, and ffdshow has it as well. The only thing that fixes it is SPDIFER.
I had AC3Filter installed, and it worked. I no longer have the jitter problem with that DTS 1.5mbit track being SPDIF'ed.

For now VSync off is probably best for 60 FPS and desktop composition enabled. I plan to fix this however so it works as well as VSync off. The graph you see when turning on VSync is closer to the reality, VSync off only "hides" the real jitter. What I was telling you to enable is "Accurate VSync", wich also affects other timing than the actual VSync.

Thanks. Don't forget please to make possible for Vsync to be always off or always on, on MPC-HC, because on my case, I have to press V everytime I close and open MPC-HC.

Bat

alexins
5th February 2009, 02:37
Media Player Classic HomeCinema (x86/x64), svn 989 (http://www.xvidvideo.ru/content/view/623/1/)

Supported languages: CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

FIX : bug with shader deactivate/activate when switching between fullscreen and windowed mode. FIX : "16-235 -> 0-255 [SD]" shader.

For the correct work of this assembly is required to make a reset the Shaders

jimz06
5th February 2009, 03:14
I'm having a problem with a straight .m2ts rip of Master and Commander blu ray. The disc plays fine on the PS3 and the rip plays fine on Popcornhour and in MPC-HC with CoreAVC. With DXVA though I get occasional image breakups like the following:

Clean Picture (http://home.comcast.net/~thesoubras/Pictures/Clipboard05.jpg)

and then just a second later the breakup:

Picture Breakup (http://home.comcast.net/~thesoubras/Pictures/Clipboard02.jpg)

I've tried the stable release and the 988 release with no difference and also played right off the disc to rule out problems with the rip. CPU usage is in single digits or teens so DXVA is working. Same repeatable problem on two different computers, one with an 8500GT and the other with a GTX 260. Is this some issue with my setup or am I running into some sort of limitation of MPC-HC?

jace112
5th February 2009, 06:48
Hi Guys

I'm having some troubles getting the sound from a .mkv file.

Sound is supposed to be 5.1 DTS. My receiver should decode the signal (DTS passthrough via Toslink)

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : A_DTS
Duration : 1h 50mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Language : English

Here is a sample : http://rapidshare.com/files/194004140/KB1-001.mkv.html

I have no problem decoding DTS usually :

http://www.demo-world.eu/trailers/redirect-dts.php?file=dts_sparks_(sprite_suite_mix).rar

http://www.demo-world.eu/trailers/redirect-dts.php?file=dts_orchestra.rar

:confused:

lych_necross
5th February 2009, 07:29
I have just a tiny request of people who post large pictures here. Please don't post large pictures on this thread directly. Link to them instead. There are tons of free image hosting sites on the net. It gets confusing to read a thread where several people post huge screen shots which may or may not be helpful.

THX-UltraII
5th February 2009, 08:36
Hi guys, does MPC-HC supports .iso files (standard def. dvd's)? Is there a list somewhere where you can find file compatibility?

Aleksoid1978
5th February 2009, 08:55
Hi guys, does MPC-HC supports .iso files (standard def. dvd's)?

No, not support.

McConnor
5th February 2009, 12:39
Hello altogether,

I was really glad to see that MPC will play the MTS Files from my Camcorder (Canon HF100) with DXVA Support. I was not so glad to see that the playback is somehow choppy. I suspect an Issue with Deinterlacing but I dont know how to influence that. Can someone help me to get a smooth playback. Thanks alot.

Here is a sample file:
http://archiv.to/?Module=Details&HashID=FILE498ACE5455B3A

Greetings,

McConnor

clsid
5th February 2009, 14:42
The "16-235 -> 0-255 [SD]" shader is broken now :mad:

The ATI driver checks for height >= 720 to choose which levels it uses.

Please revert.

tetsuo55
5th February 2009, 16:51
The "16-235 -> 0-255 [SD]" shader is broken now :mad:

The ATI driver checks for height >= 720 to choose which levels it uses.

Please revert.


LOL, maybe we should email ATI with the correct values that we talked about in the ffdshow thread

flanger216
5th February 2009, 19:22
LOL, maybe we should email ATI with the correct values that we talked about in the ffdshow thread

Actually might not be a bad idea... they can be surprisingly receptive to feedback. In fact, an even better idea might be to post it to their forums, which are read by their driver engineers.

Rectal Prolapse
5th February 2009, 19:23
ATI is apparently aware of the "issue" and says that is by design and will never be fixed! But this is according to the AVSForum.com ATI 2x00 card thread.

mark0077
5th February 2009, 19:52
Hi guys,

Finall got HD working properly on my machine (old one wasn't fast enough). I have a 1080p .ts file of The Dark Knight.

It has a few different audio options, and I have problems with them with MPC. Using built in audio decoder and video decoder.

5.1 DD True HD - Front Right speaker gives no output, on EXTREMELY loud scenes it gives a bit of a fluttering noise... very strange. All other channels are fine. I suspect internal audio decoder bug as it works perfectly using ffdshow audio decoder.
5.1 DD - When I switch to this, subtitles gets enabled....
2.0 DD

It takes like 10 seconds to switch between audio modes also.

Any more information you guys need to fix this let me know :D

Pyr0
5th February 2009, 21:46
Hi

I'm not sure what's been changed in the recent builds, but svn 982 is the last version that the 'After Playback>Stand By' option worked
the newer ones turn off my monitor, but do not put the PC into standby mode

Aleksoid1978
6th February 2009, 00:00
The "16-235 -> 0-255 [SD]" shader is broken now :mad:

The ATI driver checks for height >= 720 to choose which levels it uses.

Please revert.

Ok, revert ... but check SD as "height<720" is wrong way. 99% rip HD - height<720(544, 536 ...) but width = 1280.

alexins
6th February 2009, 00:09
Ok, revert ... but check SD as "height<720" is wrong way. 99% rip HD - height<720(544, 536 ...) but width = 1280.

I agree with that. Moreover, "16-235 -> 0-255 [SD]" in mpc-hc 989, has worked correctly, without errors (I specifically tested it on files with a different ratio screen).

flanger216
6th February 2009, 01:35
Bug report: the x86 FLAC source filter only works if I use it in conjunction with the internal FLAC decoder. If I try to connect it to ffdshow, playback fails.

Also, neither the filter nor the decoder in the x64 build seem to work at all.

STaRGaZeR
6th February 2009, 01:42
Bug report: the x86 FLAC source filter only works if I use it in conjunction with the internal FLAC decoder. If I try to connect it to ffdshow, playback fails.

Also, neither the filter nor the decoder in the x64 build seem to work at all.

I confirm the ffdshow issue, if FLAC source is checked and FLAC decoder unchecked (so ffdshow will be loaded) the player is stuck at 00:00 with no sound. It doesn't crash at least. x64 works for me but with the same limitation as x86, only the internal FLAC decoder works as it should.

Mercury_22
6th February 2009, 12:36
@ Beliyaal
PLEASE can you merge the "fix" for VC-1 from your version to SVN ? Or that mean you have to merge your entire EVR custom ? :helpful:

@ Everybody
About the "16-235 -> 0-255 [SD]" problem why don't use the same values as ffdshow Revision 2655 - Directory Listing
Modified Fri Feb 6 10:52:25 2009 UTC (41 minutes, 8 seconds ago) by h_yamagata
YCbCr specification: Auto:
width > 1024 or height >=600: BT.709
width <=1024 and height < 600: BT.601 ?

clsid
6th February 2009, 14:29
I have tested the behavior of the ATI driver using the resizer in ffdshow. That allowed me to test many different resolutions. The video width did not make any difference whatsoever. Height >= 720 was the point at which the levels become different.

HD 3470, 8.12 driver.

The question to be answered is not "when is it officially SD", but "when do the levels need correction".

88keyz
6th February 2009, 14:46
Tried the new SVN build posted here a couple of day ago and now when I have PowerDVD8 Ultra's AVC decoder selected as my prefered decoder the video frame distorts. It works fine with the MPC decoder though. Tried going back to build 908 and its the same. Using Vista x64, any thoughts.

With PowerDVD8 Ultra AVC Decoder:
http://img7.imageshack.us/img7/2639/samplesu1.th.jpg (http://img7.imageshack.us/img7/2639/samplesu1.jpg)

With MPC Decoder:
http://img520.imageshack.us/img520/8643/sample2wt4.th.jpg (http://img520.imageshack.us/img520/8643/sample2wt4.jpg)

:confused:

McConnor
6th February 2009, 15:05
Hello altogether,

I was really glad to see that MPC will play the MTS Files from my Camcorder (Canon HF100) with DXVA Support. I was not so glad to see that the playback is somehow choppy. I suspect an Issue with Deinterlacing but I dont know how to influence that. Can someone help me to get a smooth playback. Thanks alot.

Here is a sample file:
http://archiv.to/?Module=Details&HashID=FILE498ACE5455B3A


I saw that some people have downloaded the file to have a look. Is it me or do you have those "glitches" too? When using a third party avc decoder everything looks fine but then there is no DVXA-Accerleration anymore. Already any thoughts about how to improve on this choppy playback?

flanger216
7th February 2009, 05:59
I saw that some people have downloaded the file to have a look. Is it me or do you have those "glitches" too? When using a third party avc decoder everything looks fine but then there is no DVXA-Accerleration anymore. Already any thoughts about how to improve on this choppy playback?

Choppy playback on my end, too. The splitter reports the frame rate as '21881.838 fps' :scared:, and the output stats list the frame rate as '0 fps.' I'm also getting really erratic buffer-usage. Could be a bug in MPC-HC, but it's equally likely that your HD camcorder records out-of-spec MTS files. For instance, when I set my Canon HV20 to progressive recording, it actually records 24p within a 60i container, which yields predictably disastrous playback results.

DrNein
7th February 2009, 06:51
Ok, revert ... but check SD as "height<720" is wrong way. 99% rip HD - height<720(544, 536 ...) but width = 1280.

It seems this is a another case of encoding outside of the standard. So, in addition to reference frames, encoders intending HD format should conform to 1280x720 and 1920x1080 only. There is no reason to crop the blank area from widescreen content anyway.


However, for uniform calibration, SD colour level expansion to 0-255 (same as standard HD) can be can be enabled with the registry String Value "UseBT601CSC".

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{unique alpha-numeric string}\0000]
"UseBT601CSC"="1"

The active string can be found listed in CCC - Information Center - Graphics Software - 2D Driver File Path.


Alternatively, use DXVA Checker (http://bluesky23.hp.infoseek.co.jp/dxvac/DXVAChecker_1.10.1.0.zip) (thanks to ACrowley for the tip in another thread):

CTRL+R (or right-click on a tab and select Video Acceleration Settings), scroll down, click in the checkbox for UseBT601CSC, and click Okay.

McConnor
7th February 2009, 08:18
Choppy playback on my end, too. The splitter reports the frame rate as '21881.838 fps' :scared:, and the output stats list the frame rate as '0 fps.' I'm also getting really erratic buffer-usage. Could be a bug in MPC-HC, but it's equally likely that your HD camcorder records out-of-spec MTS files. For instance, when I set my Canon HV20 to progressive recording, it actually records 24p within a 60i container, which yields predictably disastrous playback results.

Hmmm, Im really no crack but I downloaded DGAVCDec 1.8. This piece of software reports the frame rate as 25.0 fps with the resolution (frame size of 1440x1080, display size 1920x1080) Bitrate 9.639. Stream Type "Transport [192], Profile High, Level 4) ...whatever that means :)

This does look like an MPC HC bug to me then. Or is there any magic switch Im missing?

Mikel
7th February 2009, 15:01
Hello

I also have the same camera and similar problems with DXVA and MTS files.

I think it must be related to the MPC decoder, since CoreAVC is playing fine without any glitch.

Any suggestions?

Mikel

ikarad
7th February 2009, 15:34
I confirm this bug with 1.2.982.0 but I succeed to determine that this bug
occured only when I use "open dvd" function of MPC-HC to see a dvd movie.
Of course I use launch dvd function after to launch separated subtitles.
http://nsa04.casimages.com/img/2009/01/25/mini_090125085029605625.jpg (http://www.casimages.com/img.php?i=090125085029605625.jpg)

With vmr9 renderless I don't have any problem but with evr custom subtitle
are not well displayed

video with vmr9 renderless + open dvd function used and load subtitle
function used
http://www.zshare.net/video/53942871e808c7fa/

the same with evr custom + open dvd function used and load subtitle
function used
http://www.zshare.net/video/5394192223105971/

the same with evr custom without open dvd function and with load subtitle
function used
http://www.zshare.net/info.html?54630604-c08bdba16932c7a40cfdb7ac86f4351f

This function seems to have some problems.

MPC-HC v1.2.982
no dxva acceleration
xp sp3
geforce gtx280 180.48
xfi titanium

I try the last version 1.2.989 and this bug still exists

Kado
7th February 2009, 15:40
It seems this is a another case of encoding outside of the standard. So, in addition to reference frames, encoders intending HD format should conform to 1280x720 and 1920x1080 only. There is no reason to crop the blank area from widescreen content anyway.

No reason? If the frame is smaller it will consume less space after being encoded. There's no reason to encode black bars!
The ones making things complicated are ATI since with NVIDIA you can choose the luma range in the control panel without tricks.

flanger216
7th February 2009, 16:29
Hmmm, Im really no crack but I downloaded DGAVCDec 1.8. This piece of software reports the frame rate as 25.0 fps with the resolution (frame size of 1440x1080, display size 1920x1080) Bitrate 9.639. Stream Type "Transport [192], Profile High, Level 4) ...whatever that means :)

This does look like an MPC HC bug to me then. Or is there any magic switch Im missing?

Nah, definitely MPC-HC then. MediaInfo also reports the file as in-spec and 25 fps, and I just tested it with VLC, which played it back perfectly. Also noticed I'm getting a ton of dropped frames in MPC-HC (~33%), which explains the choppiness. Probably an issue with the splitter - that wonky reported frame-rate surely isn't helping anything.

flanger216
7th February 2009, 16:45
x64 works for me but with the same limitation as x86, only the internal FLAC decoder works as it should.

After further testing, I've found that FLAC also works for me in x64, but only if I use the internal FLAC filter with the internal decoder and I disable the internal audio switcher.

So it seems that:

The x86 and x64 FLAC source filters only want to connect to the internal decoder.

The X64 FLAC decoder only wants to connect directly to the audio renderer.

How discombobulating :)

THX-UltraII
7th February 2009, 17:25
Ok guys,Guys, I m having an issue with MPC HC running in combination with a .vbs script of ReClock for autochanging the refreshrate. Ill try to explain what the problem is:

ReClock has the option to call in a .vbs script. The purpose of this is to automatically change the refresh rate of my video card output. So, in order to do this there a several options. You can do this for example with Powerscript and refer the script to Powerscript. However, powerstrip is not compatible with the latest videocards like mine. So then there is a second scenario where you make profiles with the ATI CCC and let the script 'see' these custom made profiles. So, I ve made a RunEvent.vbs script that calls in my ATI profiles. It runs perfectly and my video card is switching automatically now when switching to a movie with a different refresh rate. But there is still one important bug for me:

I use Media Player Classic, the Home Cinema version. I use VMR9 renderless because I need this. Why? Because when using VMR9 renderless MPC HC made an option called 'Direct3D Fullscreen (Remove Tearing)'. I HAVE to use this feature of MPC HC in order to get perfect tearing free playback (let s not begin to argue about this because I really need this feature, believe me, I ve done my homework :agree:). BUT when I use this option the script (or MPC HC, that I don t know) get screwed up or something and I get a black screen. I do hear the audio however. When I do not use the remove tearing option everything runs fine (audio+video) except for the tearing ;).

Is there a way to solve this problem? Has it got something to do with the script? I think it is the combination of the script with MPC HC but don t know how to figure out what is wrong.

Maybe I can get some input in this topic.

Here is the script that I m using:

'ATI Profile Version - Sets refresh rate using profile interface (CLI).

' Check for args/call
Set objArgs = WScript.Arguments
If objArgs.Count < 10 Then
MsgBox "Bad argument count !", MB_OK, "ReClock Event Notification"
WScript.Quit 1
End If

' Get Parms
eventName = objArgs(0)
mediaType = objArgs(1)
soundMode = objArgs(2)
currentMonitor = objArgs(3)
totalMonitorCount = objArgs(4)
currentResolution = objArgs(5)
currentRefreshRate = objArgs(6)
originalPlaybackSpeed = objArgs(7)
currentPlaybackSpeed = objArgs(8)
currentMediaFile = objArgs(9)

' If you need to debug, replace false with true in the following line
if false Then MsgBox _
eventName & " " & _
mediaType & " " & _
soundMode & " " & _
currentMonitor & " " & _
totalMonitorCount & " " & _
currentResolution & " " & _
currentRefreshRate & " " & _
originalPlaybackSpeed & " " & _
currentPlaybackSpeed, _
MB_OK, "ReClock Event Notification"

newTimings = ""

If eventName = "YELLOW" Then

If soundMode = "PCM" Then

' Call the profile that match best what we need in PCM mode
Select Case mediaType & ":" & currentResolution
Case "CINEMA:1920x1080"
If currentRefreshRate <> "25" Then newtimings = "25"

Case "CINEMA:1920x1080"
If currentRefreshRate <> "24" Then newtimings = "24"

Case "NTSC:1920x1080"
If currentRefreshRate <> "30" Then newTimings = "30"
End Select

ElseIf soundMode = "SPDIF" Then

' In SPDIF mode we need an exact multiple to minimize the drops/repeats
' Note: be careful in NTSC mode, because if "currentRefreshRate" is already "60"
' when we go here then we won't switch but it may be 60 "bad" hz instead of 59.94 "wanted" hz
' The same problem exists for NTSC film (23.976fps)
' A solution is to force settings in the GREEN icon notification, but that would mean a pause
' each time we play a file with SPDIF ...
' That's why we use 59.94 hz and 71.928 hz for PCM too so we will never user 60 and 72 hz
Select Case currentResolution & "x" & originalPlaybackSpeed
Case "1920x1080x23976"
If currentRefreshRate <> "24" Then newTimings = "24"

Case "1920x1080x25000"
If currentRefreshRate <> "25" Then newTimings = "25"

Case "1920x1080x29970"
If currentRefreshRate <> "30" Then newTimings = "30"
End Select

End if

End If

If newTimings <> "" Then

Set wshShell = CreateObject("WScript.Shell")
WshShell.Run """" & "C:\Program Files\ATI Technologies\ATI.ACE\Core-Static\CLI.exe"" Start Load profilename=" & _
"""" & newTimings & """" , 0, true

WScript.Sleep(5000)

' In case we did a configuration change we MUST return 0 to
' indicate ReClock it need to recalibrate itself.
WScript.Quit 0

End If

' We have done nothing. Return 1 to indicate ReClock that
' the configuration has not changed
WScript.Quit 1


Here s the topic on the ReClock forum that is related to these scripts:

http://forum.slysoft.com/showthread.php?t=20043

Thxz for all help

McConnor
7th February 2009, 20:18
Nah, definitely MPC-HC then. MediaInfo also reports the file as in-spec and 25 fps, and I just tested it with VLC, which played it back perfectly. Also noticed I'm getting a ton of dropped frames in MPC-HC (~33%), which explains the choppiness. Probably an issue with the splitter - that wonky reported frame-rate surely isn't helping anything.

So where can one report bugs? Is this thread read by the author or is there a specific bug-tracker-page? I would so like to play my Full-HD recorded movies but without the ingenious DVXA-Acceleration of MPC-HC its not really working fine. Yes, VLC will play the file fine but Full HD-Content without DXVA is bringing my system to the verge of collapsing...

ADude
7th February 2009, 20:41
So where can one report bugs? Is this thread read by the author or is there a specific bug-tracker-page? I would so like to play my Full-HD recorded movies but without the ingenious DVXA-Acceleration of MPC-HC its not really working fine. Yes, VLC will play the file fine but Full HD-Content without DXVA is bringing my system to the verge of collapsing...

Just use external filter, either ffdshow or CoreAVC or DXV7.

DrNein
7th February 2009, 21:27
No reason? If the frame is smaller it will consume less space after being encoded. There's no reason to encode black bars!
The ones making things complicated are ATI since with NVIDIA you can choose the luma range in the control panel without tricks.

How much can be saved? Can resolutions other than standard 1280x720 and 1920x1080 be played on all hardware?

It seems novice encoders have a tendency to shoot themselves in the foot. HD formats are not XviD and should not be subjected to arbitrary mangling if expected to play on industry standard devices.

Rain1
7th February 2009, 21:46
No reason? If the frame is smaller it will consume less space after being encoded. There's no reason to encode black bars!

I don't know, I rather look @ the black bars than miss any part of media due to cropping

Black bars were created to match AR of the media with the screen, no (?)

Leak
7th February 2009, 22:33
Black bars were created to match AR of the media with the screen, no (?)
ITYM "Aspect ratio information in the stream"...

np: Joy Division - Twenty Four Hours (Still Extras)

McConnor
7th February 2009, 23:20
Just use external filter, either ffdshow or CoreAVC or DXV7.

DXV7 ? Cant find it - or better said: Google cant find it. Anyhow bugs should be reported... So where could one do that?

Snowknight26
7th February 2009, 23:27
Playing 5.1 channel FLAC tracks still has huge issues with the x64 r990 build. As soon as you start playing, there is no sound, but when you seek, the framerate drops to something ridiculously low (15 instead of 23.976) and the audio is extremely slow.

ADude
7th February 2009, 23:49
DXV7 ? Cant find it - or better said: Google cant find it. Anyhow bugs should be reported... So where could one do that?

Sorry, I was distracted when typing originally, it is:

Divx7 - if you download Divx Player Version 7, it includes an H.264 decoder that is roughly competitive with others (see earlier in this thread, less than a week).

DrNein
8th February 2009, 00:25
I don't know, I rather look @ the black bars than miss any part of media due to cropping

Black bars were created to match AR of the media with the screen, no (?)

Yes, all shenanigans are precluded when the aspect ratio of the video frame consistently matches that of the display standard, regardless of the viewable image AR contained within.

Good point about losing image to cropping as well -particularly if restricted to a divisor since it cannot match all ARs.

wOxxOm
8th February 2009, 01:09
btw, MPCHC looks million times better without WS_THICKFRAME | WS_BORDER - I've always wondered how to remove that ugly ugly ugly 3px frame around the video in windowed mode... well it's easy - just replace 680080cf00 with 6800804b00 (one byte change CF->4B) in mplayerc.exe

STaRGaZeR
8th February 2009, 01:09
After further testing, I've found that FLAC also works for me in x64, but only if I use the internal FLAC filter with the internal decoder and I disable the internal audio switcher.

So it seems that:

The x86 and x64 FLAC source filters only want to connect to the internal decoder.

The X64 FLAC decoder only wants to connect directly to the audio renderer.

How discombobulating :)

Good find, I always have the internal switcher disabled :)

offndr
8th February 2009, 12:41
When I disable vsync it stays of until the next time I start MPC-HC. Then it is enabled again. Is this a bug? Or am I doing something wrong?

With vsync enabled I get choppy playback.

Kado
8th February 2009, 14:13
@DrNein ,Rain1
I suppose the problem was the luma range setting applied by ATI driver and not failure to playback the video using DXVA. If I recall properly the videos play fine but the luma range used is incorrect. It's always better to allow the end user to have control over the settings instead of using an automated system that may not always work correctly.

tetsuo55
8th February 2009, 16:18
So where can one report bugs? Is this thread read by the author or is there a specific bug-tracker-page? I would so like to play my Full-HD recorded movies but without the ingenious DVXA-Acceleration of MPC-HC its not really working fine. Yes, VLC will play the file fine but Full HD-Content without DXVA is bringing my system to the verge of collapsing...

You can report bugs here:

http://sourceforge.net/tracker2/?func=browse&group_id=170561&atid=854651

First check if the bug has not already been reported.

If you don't submit a bug to the bugtracker the chances of it getting fixed are very slim(even then there is no guarantee as this is a volunteer project, and we need as many as we can get),at the very least the report will not get lost in the 100's of pages in this thread.

clsid
8th February 2009, 17:07
Also keep in mind that the developers work on MPC-HC in their spare time. They have lots of bugs and feature requests on their ToDo lists. So some things simply get assigned a low priority and it might take a while before a bug that you report actually gets fixed.

Xorp
8th February 2009, 21:09
For TrueHD tracks the description should be "Dolby TrueHD" not "Dolby Digital True HD".

DrNein
9th February 2009, 00:43
@DrNein ,Rain1
I suppose the problem was the luma range setting applied by ATI driver and not failure to playback the video using DXVA. If I recall properly the videos play fine but the luma range used is incorrect. It's always better to allow the end user to have control over the settings instead of using an automated system that may not always work correctly.

Yes, the issue is luma range rather than greater failure but problems with both it and DXVA are due to non-compliant encoding -in the case of DXVA using the wrong level and/or reference frames and in the case of luma range the wrong resolutions. Maybe other hardware (and its software) treat this differently but ATI default for this setting does rather logically assume that anything other than HD standard resolutions is to be treated as otherwise. For instance, by definition of the standard 1920x800 is not HD so odd results should not be surprising. End user control is good for us and thankfully it is a simple fix but generally with a standard we should expect to trade some flexibility for the ability to playback anywhere with the same result.

boyumeow
9th February 2009, 06:18
When I disable vsync it stays of until the next time I start MPC-HC. Then it is enabled again. Is this a bug? Or am I doing something wrong?

With vsync enabled I get choppy playback.

If I m not wrong, it was intended by the dev for testing. Thanks.

Mercury_22
9th February 2009, 12:46
Starting with ffdshow rev 2660 MPC-HC it's crashing because some incompatibility of the internal mpeg splitter with the new ffdshow when I'm seeking or playing any ts or m2ts using ffd's audio. MPC-HC with other splitters it's NOT crashing !
Can someone take a look at it ! PLEASE ! :helpful: cause I DON'T think it's just FFD's fault :thanks:

Maybe this Revision 2660 - Directory Listing
Modified Sat Feb 7 08:55:27 2009 UTC (40 hours, 42 minutes ago) by h_yamagata
Use MSVC's STL instead of uClibc++.can give you a hint about where is the problem
More here: http://forum.doom9.org/showthread.php?p=1247099#post1247099

EDIT: Problem solved with FFD's rev 2669 but still since other spliters (Haali, Cyberlink ...) had no problems I think someone should take a look into it

flanger216
9th February 2009, 17:37
I've determined that using the audio switcher with the Xiph x64 FLAC filter/decoder also doesn't work - it crashes the player completely. Seems the x64 audio switcher is generally unstable.

rt87
10th February 2009, 13:30
I agree with that. Moreover, "16-235 -> 0-255 [SD]" in mpc-hc 989, has worked correctly, without errors (I specifically tested it on files with a different ratio screen).

sorry for off-topic here, but @alexins: did you check your private messages (http://forum.doom9.org/private.php)?

Scoty
10th February 2009, 17:29
I have buy a Nvidia GTX 260 and use the Driver 181.22 with mplayerc_homecinema_x86_v1.2.908.0 but i can not use DXVA.
Why can i not use DXVA??

hdboy
10th February 2009, 20:23
I have an oddity with some 1080p mkv and mp4 files where "video size" is reported as 960x540 while video is 1920x1080. see

http://img156.imageshack.us/img156/8939/mpcpropwr1.th.png (http://img156.imageshack.us/my.php?image=mpcpropwr1.png)

I'm using mpc 989, coreavc 1.8.5, haali splitter dated jan 09.

clsid
10th February 2009, 20:49
That is the resolution that is reported back by the video renderer I think. If you look below on your screenshot, you'll see that the input resolution is reported correctly.

Haali video renderer can sometimes resize to half the resolution. It does that in windowed mode when the original resolution is too big to fit your screen.

Rille
10th February 2009, 21:45
@Beliyaal

I'm having problems with huge judder after watching a movie for a while. It can work fine for anything between 1-60 minutes but suddenly starts stuttering:
http://img27.imageshack.us/img27/6272/judderxk0.th.jpg (http://img27.imageshack.us/my.php?image=judderxk0.jpg)

It will continue to do this until i pause for a few seconds and press play again:
http://img27.imageshack.us/img27/6088/afterpausezu5.th.jpg (http://img27.imageshack.us/my.php?image=afterpausezu5.jpg)

Tested on two computers. Both use:
ATI and Catalyst 8.12/9.1 (tested both)
Vista SP1 32bit with Aero enabled
EVR custom, DXVA
Tried D3D fullscreen and standard. Tried vsync, accurate vsync, locked/unlocked backbuffer, 5-20 buffers.
Using reclock and monitor set at 50Hz

Any ideas? Problem doesn't occour with first testbuild you made (the one that had lots of tearing).

gngn
11th February 2009, 00:42
it seems that multichannel flac streams (embedded in containers or not) are not decoded within the internal filter, correct ? missing feature or bug ?

with rev988 it will play, but it wont downmix to stereo.

madshi
11th February 2009, 11:48
Just received information from Microsoft about how to pass TrueHD/DTS-HD to a DirectShow audio renderer in Windows 7. If anybody is interested, please PM me.

lexor
11th February 2009, 12:51
xvidvideo.ru linked in OP is down (for me, at least), where else can I get recent mpc-hc builds?

Kado
11th February 2009, 14:45
@Scoty
Please! Have you actually read how to make DXVA work? Like renderer used, intermediate filters, reference frames, etc? Without any details help won't come to you.

Kado
11th February 2009, 15:32
CoreAVC v1.9.0 added CUDA H.264 video decoding! Probably rendering DXVA usesless as it (probably) does not have the DXVA limitations.

Leak
11th February 2009, 15:47
Probably rendering DXVA usesless as it (probably) does not have the DXVA limitations.
I'm pretty sure it draws a lot more power though since it's using the card's shader units for decoding - and low-end cards might not even have beefy enough shaders for CUDA decoding but since they've usually got the same video decoders as the high-end models they'll work just fine with DXVA.

Don't dismiss DXVA outright - if your graphics card sounds like a leafblower when using the shaders for decoding whereas it's quiet with DXVA I'd call that a significant difference... ;)

lexor
11th February 2009, 15:54
I'm pretty sure it draws a lot more power though since it's using the card's shader units for decoding - and low-end cards might not even have beefy enough shaders for CUDA decoding but since they've usually got the same video decoders as the high-end models they'll work just fine with DXVA.

Don't dismiss DXVA outright - if your graphics card sounds like a leafblower when using the shaders for decoding whereas it's quiet with DXVA I'd call that a significant difference... ;)
It doesn't use shaders, it uses dedicated ASIC. And the problem isn't with low-end cards (as all cards have the same ASIC unit), it's just a matter of having enough on board RAM. The problem is with the old cards, which don't have the unit.

Can't comment on power, don't have CoreAVC yet (still waiting on 64bit support) until then ffdshow is good enough. You are, however, forgetting a major advantage of other solutions, instant random seek, as opposed to 3sec delay on random jump that MPC's own implementation incurs. (and my hardware is not weak, see sig)

Now can someone please give me a link to a recent mpc-hc 32bit build (I've got an 64bit version for testing and it doesn't connect to 32 bit filters) xvidvideos.ru is still down.

The1n
11th February 2009, 16:01
@Casimir666

Have you seen that an Intel representative is asking for your email address over at the intel devel forums, regarding G45 and MPC DXVA.

I really hope that they can help you fix this for MPC.

The1n

sneaker_ger
11th February 2009, 18:03
Now can someone please give me a link to a recent mpc-hc 32bit build (I've got an 64bit version for testing and it doesn't connect to 32 bit filters) xvidvideos.ru is still down.

MPC-HC 989 32bit (from xvidvideo.ru):
http://netload.in/dateiMHY5LJKKvv/mpc-homecinema.989.7z.htm

Px
11th February 2009, 18:25
It doesn't use shaders, it uses dedicated ASIC.
If you don't want look stupid, read Wiki (http://en.wikipedia.org/wiki/CUDA) at least

Leak
11th February 2009, 18:32
It doesn't use shaders, it uses dedicated ASIC.
Considering that there's no mention of video decoding in the official CUDA documentation (http://www.nvidia.com/object/cuda_develop.html) I very much doubt that those decoders are using the dedicated video decoding hardware on the cards - I'd rather assume they'd implement a software decoder using the card's shader units.

And even then all people using ATI and Intel graphics chipsets would agree to disagree with "CUDA rendering DXVA useless"...

STaRGaZeR
11th February 2009, 18:40
If you don't want look stupid, read Wiki (http://en.wikipedia.org/wiki/CUDA) at least

Right now it's you the one who look stupid. CoreAVC uses a dedicated ASIC present inside the GPU, not the shaders. It's accessed through CUDA. DGAVCDecNV uses the same method.

lexor
11th February 2009, 18:44
@sneaker_ger: thank you very much.

If you don't want look stupid, read Wiki (http://en.wikipedia.org/wiki/CUDA) at least

Considering that there's no mention of video decoding in the official CUDA documentation (http://la.nvidia.com/object/cuda_develop.html) I very much doubt that those decoders are using the dedicated video decoding hardware on the cards - I'd rather assume they'd implement a software decoder using the card's shader units.

And even then all people using ATI and Intel graphics chipsets would agree to disagree with "CUDA rendering DXVA useless"...

My info comes from neuron2's log of his discussion with Nvidia CUDA engineer. I'm sorry if I don't take both your sources as overruling.

Px
11th February 2009, 18:56
CoreAVC uses a dedicated ASIC present inside the GPU, not the shaders.
Really? Then how you explain this post:
- On 1080i HDTV with DVBViewer CUDA doesn't seem to work (as said above)
- On 720p MKV CUDA is working but the framerate is too slow
- On 1080p MKV CUDA is working with low CPU (<15%) but the framerate is very slow...

http://forum.corecodec.com/viewtopic.php?p=8820#p8820

STaRGaZeR
11th February 2009, 19:04
Really? Then how you explain this post:

http://forum.corecodec.com/viewtopic.php?p=8820#p8820

Yes, really.

Why should I know about CoreAVC bugs? I'm not a CoreAVC developer.

lexor
11th February 2009, 19:08
Seriously, if you don't believe us, there is no need to argue, just go into h264 subforum and ask in the CoreAVC thread. Betaboy is pretty active there, now that there is a new release.

Px
11th February 2009, 19:23
Why should I know about CoreAVC bugs?
So, that is a bug, and not the consequence of small quantity of shader units, ok :rolleyes:
just go into h264 subforum and ask in the CoreAVC thread
You post information about ASIC, so you must prove this because it not follow from general information about CUDA

gngn
11th February 2009, 19:24
after a quick check, the new CoreAVC presents the same limitations as DXVA with MPC-HC. especially SD with over 11ReFrames.
but you can use VSFilter for subs and postprocessing with ffdshow ...

lexor
11th February 2009, 19:31
You post information about ASIC, so you must prove this because it not follow from general information about CUDA

I don't owe you anything. Especially after your insulting first post on the subject.

If you do not feel that this is important enough to ask CoreAVC dev about, why should I do the work on your behalf? Especially since I already read what Nvidia engineer has to say on the subject, and therefore there is no further knowledge to be gained here for me.

STaRGaZeR
11th February 2009, 19:37
So, that is a bug, and not the consequence of small quantity of shader units, ok :rolleyes:

Whatever floats your boat mate, this discussion is useless. Do some research before calling someone stupid ;)

You post information about ASIC, so you must prove this because it not follow from general information about CUDA

It's well know that it uses the internal ASIC accessed through CUDA, but you say it uses the shaders, so you should post information about how CoreAVC or DGAVCDecNV use the shaders. Please tell us how neuron2 or the CoreAVC developers have written a CUDA based decoder from scratch. It's a pity you won't find any info, because it doesn't exist.

Kado
11th February 2009, 20:02
Well I tried it and using CUDA is the same as using MPC-HC DXVA because it uses the H.264 bitstream decoder. The difference is that you can use any renderer you want and still use the DXVA capabilities!
DXVA Checker still says that the CoreAVC filter does not support DXVA maybe because it accesses the Bitstream decoder differently, but if you start playback the icon goes green.
Since it uses the Bitstream decoder the card will not heat up (not that that was a problem for me because I have an Arctic Cooling Accelero Xtreme 9800 (http://www.arctic-cooling.com/catalog/product_info.php?cPath=2_&mID=102) over my 9800GTX:D)!

P.S.=> It seems that forceware 185.20 are not supported by CoreAVC because I had to downgrade to 182.05 to use CUDA.

Vobsub can now be used along with CUDA/DXVA.
Tried with EVA 1.01 H.264 and it gives a blocky image with weird colors and MPC-HC DXVA decoder using DXVA produces a normal picture.
CoreAVC rule set to use or not DXVA is worser than MPC-HC decoder because it decodes 12 ref frame files giving corrupted playback.

Px
11th February 2009, 21:19
It's well know that it uses the internal ASIC accessed through CUDA, but you say it uses the shaders
CUDA is made to use shader blocks in general purpose computing, so when someone talking about acceleration with CUDA - it means the same.
But you claiming that not in this case - ok, I've read corresponding threads and see that "CUDA Decoder" is only interface to bitstream decoder, same as DXVA with same limitations
Ok, I've taking my words back :)

nitec
11th February 2009, 21:47
Hi,

Guru3D released an article about MPC-HC and hardware video acceleration.

http://www.guru3d.com/article/accelerate-x264-1080p-movies-over-the-gpu-guide/1

Casimir666
11th February 2009, 22:09
Have you seen that an Intel representative is asking for your email address over at the intel devel forums, regarding G45 and MPC DXVA.

I really hope that they can help you fix this for MPC.

The1n

Ok thanks :-)

Snowknight26
11th February 2009, 22:59
Guru3D released an article about MPC-HC and hardware video acceleration.

The whole article is a laugh. :rolleyes:

STaRGaZeR
12th February 2009, 00:18
CUDA is made to use shader blocks in general purpose computing, so when someone talking about acceleration with CUDA - it means the same.
But you claiming that not in this case - ok, I've read corresponding threads and see that "CUDA Decoder" is only interface to bitstream decoder, same as DXVA with same limitations
Ok, I've taking my words back :)

No, it does not mean the same. VP2 is not a "shader block" and it can be accessed through CUDA. Shaders are general purpose units, while VP2 is a dedicated processor that can only do certain things in this case related to video decoding. That invalidates your claim.

DXVA does not use the shaders, it uses VPx (which is the ASIC embedded into the GPU we're talking about). CoreAVC and DGAVCDecNV use the same VPx processor to decode the video, but accessed through CUDA instead of the Microsoft API. This will result in the same problems/advantages that when using DXVA, with the benefit of not needing to connect the decoder to the renderer directly, and being renderer independent, which is a big plus. But if you try to play a file exceding the decoding capabilities of the VPx unit it'll show blockiness or any kind of visual glitches. That's the limitation of hardware decoders.

Px
12th February 2009, 00:39
No, it does not mean the same.
In all cases, except this marketing stuff (Let's use cool name CUDA!!!111) it means the same

THX-UltraII
12th February 2009, 09:33
Anyone heard from Beliyaal anything? I saw that his last post dates from the 4th of this month. Anyone know if he is still working on new MPC-HC patches?

THX-UltraII
12th February 2009, 13:00
and another question about the ac3filter that untill now cannot be answered on the AVS, videotech or AC#filter forum. Always keep in mind that I want just passthrough of SPDIF and NO decoding being done by AC3filter:

1.
When I play regular dvd's (VIDEO_TS folders with included .vob files) SPDIF passthrough work great (sample 1). I can see in the Decoder info that the sound is only beeing passed through by AC3 filter and that the filter does not decode it.

2.
When I play HD content, it gets different. Playing .mkv files gives my also SPDIF passthrough (sample 2). But playing my .wmv material, the ac3 filter has to decode it (sample 3) or else I do not see Dolby Digital on my receiver display. I know this has something to do with how the movie was ripped and decoded. Also also see that the presented signal is PCM. I would like to know if these kind of files (where the audio is presented in PCM) can be played in some way that my receiver does the decoding.

Before asking more questions, Ill first post this one, one thing at a time ;)


sample 1:
Input format: MPEG Program Stream - 48000
User format: PCM24 - 0
Output format: SPDIF 3/2.1 (5.1) 48000

Use SPDIF
SPDIF status: SPDIF passthrough
SPDIF passthrough for: MPA AC3 DTS
Use AC3 encoder (encode stereo PCM)
Do not check SPDIF sample rate
Do not query for SPDIF output support

Decoding chain:
(MPEG Program Stream - 48000) -> Demux -> (AC3 - 48000) -> Spdifer -> (SPDIF 3/2.1 (5.1) 48000) -> Dejitter -> (SPDIF 3/2.1 (5.1) 48000)

Filters info (in order of processing):

Demux:
-

Spdifer:
Stream format: AC3 3/2.1 (5.1) 48000Hz
Bitstream type: byte stream
Frame size: 1536
Samples: 1536
Bitrate: 384kbps
SPDIF stream type: 0x1
Frame interval: 1536
Actual bitrate: 384kbps
Output format: SPDIF 3/2.1 (5.1) 48000Hz
SPDIF format: wrapped
Bitstream: 16bit LE
Frame size: 6144

Dejitter:
-

sample 2:
Input format: DTS - 48000
User format: PCM24 - 0
Output format: SPDIF 3/2.1 (5.1) 48000

Use SPDIF
SPDIF status: SPDIF passthrough
SPDIF passthrough for: MPA AC3 DTS
Use AC3 encoder (encode stereo PCM)
Do not check SPDIF sample rate
Do not query for SPDIF output support

Decoding chain:
(DTS - 48000) -> Spdifer -> (SPDIF 3/2.1 (5.1) 48000) -> Dejitter -> (SPDIF 3/2.1 (5.1) 48000)

Filters info (in order of processing):

Spdifer:
Stream format: DTS 3/2.1 (5.1) 48000Hz
Bitstream type: 16bit big endian
Frame size: free format
Samples: 512
Bitrate: unknown
SPDIF stream type: 0xb
Frame interval: 2012
Actual bitrate: 1509kbps
Output format: SPDIF 3/2.1 (5.1) 48000Hz
SPDIF format: wrapped
Bitstream: 16bit LE
Frame size: 2048

Dejitter:
-

sample 3:
Input format: PCM24 3/2.1 (5.1) 48000
User format: PCM24 - 0
Output format: SPDIF 3/2.1 (5.1) 48000

Use SPDIF
SPDIF status: AC3 encode
SPDIF passthrough for: MPA AC3 DTS
Use AC3 encoder (encode stereo PCM)
Do not check SPDIF sample rate
Do not query for SPDIF output support

Decoding chain:
(PCM24 3/2.1 (5.1) 48000) -> Processor -> (Linear PCM 3/2.1 (5.1) 48000) -> Encoder -> (AC3 3/2.1 (5.1) 48000) -> Spdifer -> (SPDIF 3/2.1 (5.1) 48000) -> Dejitter -> (SPDIF 3/2.1 (5.1) 48000)

Filters info (in order of processing):

Processor:
(PCM24 3/2.1 (5.1) 48000) -> PCM->Linear converter -> (Linear PCM 3/2.1 (5.1) 48000) -> Input levels -> (Linear PCM 3/2.1 (5.1) 48000) -> Equalizer -> (Linear PCM 3/2.1 (5.1) 48000) -> SRC -> (Linear PCM 3/2.1 (5.1) 48000) -> Mixer -> (Linear PCM 3/2.1 (5.1) 48000) -> Bass redirection -> (Linear PCM 3/2.1 (5.1) 48000) -> Dither -> (Linear PCM 3/2.1 (5.1) 48000) -> AGC -> (Linear PCM 3/2.1 (5.1) 48000) -> Delay -> (Linear PCM 3/2.1 (5.1) 48000) -> Spectrum -> (Linear PCM 3/2.1 (5.1) 48000) -> Output levels -> (Linear PCM 3/2.1 (5.1) 48000)

Encoder:
-

Spdifer:
Stream format: AC3 3/2.1 (5.1) 48000Hz
Bitstream type: byte stream
Frame size: 2560
Samples: 1536
Bitrate: 640kbps
SPDIF stream type: 0x1
Frame interval: 2560
Actual bitrate: 640kbps
Output format: SPDIF 3/2.1 (5.1) 48000Hz
SPDIF format: wrapped
Bitstream: 16bit LE
Frame size: 6144

Dejitter:
-

japa
12th February 2009, 13:21
I have a problem with subtitles, some characters are not displayed correctly... Can anyone help me?
http://i42.tinypic.com/334kok1.jpg

Casshern
12th February 2009, 14:08
Hi,

i think this is a AC3Filter related question - and has nothing to do with MPC HC. But let me try to answer: wmv is a container format and often contains audio encoded with microsofts audio codec. Most receivers cannot decode this format - so it has to be decoded by the pc first. If its decoded its in PCM. From this point there are soime alternative:
1) Mix it down to stereo and transfer it as such over SP/DIF to the receiver
2) Use a number of analog connections to get the multichannel sound to the receiver
3) Reencode the PCM to AC3 and then pass the multichannel sound to the receiver. Most receivers can handle AC3

You can configure ac3filter on what to do if it gets passed the alread decoded pcm channels. The decoding to pcm is done by microsofts directshow filters before ac3filter.

I hope this answers you question.

and another question about the ac3filter that untill now cannot be answered on the AVS, videotech or AC#filter forum. Always keep in mind that I want just passthrough of SPDIF and NO decoding being done by AC3filter:

1.
When I play regular dvd's (VIDEO_TS folders with included .vob files) SPDIF passthrough work great (sample 1). I can see in the Decoder info that the sound is only beeing passed through by AC3 filter and that the filter does not decode it.

2.
When I play HD content, it gets different. Playing .mkv files gives my also SPDIF passthrough (sample 2). But playing my .wmv material, the ac3 filter has to decode it (sample 3) or else I do not see Dolby Digital on my receiver display. I know this has something to do with how the movie was ripped and decoded. Also also see that the presented signal is PCM. I would like to know if these kind of files (where the audio is presented in PCM) can be played in some way that my receiver does the decoding.

Before asking more questions, Ill first post this one, one thing at a time ;)


sample 1:


sample 2:


sample 3:

sneaker_ger
12th February 2009, 14:08
I have a problem with subtitles, some characters are not displayed correctly... Can anyone help me?
http://i42.tinypic.com/334kok1.jpg

Did you save the file using the wrong character encoding? Please upload your subtitle file.

smok3
12th February 2009, 16:04
japa: with mpc you would press o, then see the subtitle section and check if your font is related to your location, probably 'central european'.

http://somestuff.org/subtitlesMpc.png

daMaster
12th February 2009, 17:12
I've discovered a memory leak in the MPC Video Decoder v1.2.908.0 (DirectShow filter MPCVideoDec.ax) when using DXVA for H.264/AVC/VC1 with the following set up:
- OS: Vista
- GPU: ATI Radeon HD 3470, Catalyst 9.1 drivers
- DirectShow media player: MediaPortal
- Renderer: EVR

When I play a 720p/1080p H.264 video and then stop it, there's some residual memory that doesn't get cleaned up. After playing and stopping 12-15 such HD videos, that accumulation of residual memory gets up to 800-900 MB!

If I disable DXVA decoding in the MPC Video Decoder's property page, then this memory leak does not occur, so it would seem it only happens with hardware acceleration.

Here is a ProcessExplorer (http://download.sysinternals.com/Files/ProcessExplorer.zip) performance graph of the MediaPortal.exe process comparing the private bytes usage with the PowerDVD 8 H.264/AVC/VC1 decoder (LEFT) and the MPC Video Decoder (RIGHT). Each private bytes spike is when a video is playing and the following dip is when a video is stopped. As you can see, with the PowerDVD 8 decoder the private bytes usage returns pretty much to the amount it was before the video was played. On the right hand with MPC Video Decoder, the private bytes usage is slightly higher after each video is stopped than what it was before the video was started.

http://img21.imageshack.us/img21/4913/mpcmemoryleakhd0.png


Can other folks that use the MPC Video Decoder with DXVA test this out to help validate the issue? I am hoping users with different video cards (NVidia vs. ATI) and different DirectShow media players can test this out to see if they have the same issue.

I've already reported this issue on the MPC SourceForge open discussion forum: Memory leak in DirectShow filter MPCVideoDec (https://sourceforge.net/forum/forum.php?thread_id=2994581&forum_id=583789). I am really hoping the MPC devs will be able to fix this since MPC Video Decoder is my preferred decoder. It is more lenient than the PowerDVD 8 decoder and I find the picture quality is slightly better (smoother motion), but I can't use it with this memory leak since after a while I have to restart MediaPortal once it starts crashing.

Amour
12th February 2009, 19:02
Worked out that the best MPC-HC results are achieved by (for Radeon 4870x2 at 1920x1080x23.976):
* Disabling desktop composition (right click on mplayerc.exe and check "Disable desktop composition" in Compatibility tab).
* EVR Custom with: D3D Fullscreen[ ] Alternate VSync[X] Lock backbuffer[X] EVR Buffers 20
* Select accurate VSync in Renderer Settings

While disabling desktop composition is absolutly ugly, I'd like to know your advices for a "best results" configuration using any non-problematic video card under Vista/Seven. Thanks

MPC-HC 989 32bit (from xvidvideo.ru):
http://netload.in/dateiMHY5LJKKvv/mpc-homecinema.989.7z.htm
Thanks. I hope http://www.xvidvideo.ru/ will be back soon.

I have a problem with subtitles, some characters are not displayed correctly... Can anyone help me?

Are you using Haali Media Splitter?
Because there is an issue related to subtitles encodings with Haali.

ADude
12th February 2009, 22:51
CoreAVC 1.9.0 distribution includes new release of Haali Splitter dated 11/01/09, v 1.9.42.1

Px
12th February 2009, 22:54
CoreAVC 1.9.0 distribution includes new release of Haali Splitter dated 11/01/09, v 1.9.42.1
Also available on his website - http://haali.cs.msu.ru/mkv/

whurlston
13th February 2009, 05:28
Patch for the "MPC - MPA Decoder Filter" so that all property options can be seen when viewing the properties.

Index: MpaDecSettingsWnd.h
===================================================================
--- src/filters/transform/mpadecfilter/MpaDecSettingsWnd.h (revision 991)
+++ src/filters/transform/mpadecfilter/MpaDecSettingsWnd.h (working copy)
@@ -80,7 +80,7 @@
LPCTSTR GetDolbyMode (DolbyDigitalMode ddmode);

static LPCTSTR GetWindowTitle() {return _T("Settings");}
- static CSize GetWindowSize() {return CSize(320, 240);}
+ static CSize GetWindowSize() {return CSize(320, 320);}

DECLARE_MESSAGE_MAP()
};
\ No newline at end of file

daMaster
13th February 2009, 05:30
I've discovered a memory leak in the MPC Video Decoder v1.2.908.0 (DirectShow filter MPCVideoDec.ax) when using DXVA for H.264/AVC/VC1 with the following set up:
- OS: Vista
- GPU: ATI Radeon HD 3470, Catalyst 9.1 drivers
- DirectShow media player: MediaPortal
- Renderer: EVR

When I play a 720p/1080p H.264 video and then stop it, there's some residual memory that doesn't get cleaned up. After playing and stopping 12-15 such HD videos, that accumulation of residual memory gets up to 800-900 MB!

If I disable DXVA decoding in the MPC Video Decoder's property page, then this memory leak does not occur, so it would seem it only happens with hardware acceleration.

Here is a ProcessExplorer (http://download.sysinternals.com/Files/ProcessExplorer.zip) performance graph of the MediaPortal.exe process comparing the private bytes usage with the PowerDVD 8 H.264/AVC/VC1 decoder (LEFT) and the MPC Video Decoder (RIGHT). Each private bytes spike is when a video is playing and the following dip is when a video is stopped. As you can see, with the PowerDVD 8 decoder the private bytes usage returns pretty much to the amount it was before the video was played. On the right hand with MPC Video Decoder, the private bytes usage is slightly higher after each video is stopped than what it was before the video was started.

http://img21.imageshack.us/img21/4913/mpcmemoryleakhd0.png


Can other folks that use the MPC Video Decoder with DXVA test this out to help validate the issue? I am hoping users with different video cards (NVidia vs. ATI) and different DirectShow media players can test this out to see if they have the same issue.

I've already reported this issue on the MPC SourceForge open discussion forum: Memory leak in DirectShow filter MPCVideoDec (https://sourceforge.net/forum/forum.php?thread_id=2994581&forum_id=583789). I am really hoping the MPC devs will be able to fix this since MPC Video Decoder is my preferred decoder. It is more lenient than the PowerDVD 8 decoder and I find the picture quality is slightly better (smoother motion), but I can't use it with this memory leak since after a while I have to restart MediaPortal once it starts crashing.

So I also managed to reproduce this in mplayerc.exe. I set it up to use MPC Video Decoder as an external DirectShow filter and just kept playing and re-opening the same 1080p MKV file.

Here is the ProcessExplorer performance graph showing the private bytes usage of mplayerc.exe:

http://img11.imageshack.us/img11/128/croppercapture22da1.png

japa
13th February 2009, 06:19
Did you save the file using the wrong character encoding? Please upload your subtitle file.

Not sure what u mean exactly. I just download subs from internet and they display correctly in other programs and using filters like ffdshow or vobsub just not with MPCHC built in subtitle support. Anyway here is the subtitle file http://www.box.net/shared/g0hhmz62nd.


japa: with mpc you would press o, then see the subtitle section and check if your font is related to your location, probably 'central european'.

It is set as central european just like on your screenshot.


Are you using Haali Media Splitter?
Because there is an issue related to subtitles encodings with Haali.

No, I dont have it installed so i guess its using the internal Matroska splitter?

Casimir666
13th February 2009, 08:46
Patch for the "MPC - MPA Decoder Filter" so that all property options can be seen when viewing the properties.

Index: MpaDecSettingsWnd.h
===================================================================
--- src/filters/transform/mpadecfilter/MpaDecSettingsWnd.h (revision 991)
+++ src/filters/transform/mpadecfilter/MpaDecSettingsWnd.h (working copy)
@@ -80,7 +80,7 @@
LPCTSTR GetDolbyMode (DolbyDigitalMode ddmode);

static LPCTSTR GetWindowTitle() {return _T("Settings");}
- static CSize GetWindowSize() {return CSize(320, 240);}
+ static CSize GetWindowSize() {return CSize(320, 320);}

DECLARE_MESSAGE_MAP()
};
\ No newline at end of file


Commited

whurlston
13th February 2009, 10:02
Commited

Thanks Casimir666.

THX-UltraII
13th February 2009, 11:17
Casimir, any idea when you will release a new build after the 29th nov08 one?

daMaster
13th February 2009, 14:53
Casimir, any comments regarding the memory leak I reported above? Do you think this could be bug #1962448 cropping back up?

Thanks

Dibbler
13th February 2009, 17:15
Hello

Just to confirm the findings of damaster...

Running Vista 32 (SP1) and using a NVidia 9400 IGP whilst using MPCVideoDec DirectShow filter to decode a 1080p mkv file I find the following memory retention problem arises...

http://www.freeimagehosting.net/uploads/th.51f8a59c7d.jpg (http://www.freeimagehosting.net/image.php?51f8a59c7d.jpg)

as you can note the retention of the memory increase after the file is played back and then replayed again.

Using the PowerDVD 8 filter I get the following...

http://www.freeimagehosting.net/uploads/th.926834f4ca.jpg (http://www.freeimagehosting.net/image.php?926834f4ca.jpg)

...the memory retention does not happen and the usage remains constant regardless of how often the file is played.

The above is repeatable each and every time when using the noted filters.

sneaker_ger
13th February 2009, 17:44
Not sure what u mean exactly. I just download subs from internet and they display correctly in other programs and using filters like ffdshow or vobsub just not with MPCHC built in subtitle support. Anyway here is the subtitle file http://www.box.net/shared/g0hhmz62nd.




It is set as central european just like on your screenshot.



No, I dont have it installed so i guess its using the internal Matroska splitter?

Make sure you have set the following option accordingly:
http://www.abload.de/img/mpcaec1.png

japa
13th February 2009, 18:47
Make sure you have set the following option accordingly:

Yep, it is set correctly, I also tried all the other options none helped. Funny thing is that it works in old MPC, but not here in MPCHC.

I think something is wrong with Unicode support because strangely if I open the subtitle file in notepad and save as Unicode instead ANSI it displays properly here (MPCHC), but not in other programs. :confused:

P.S. Sorry for my bad English, I can send pictures if u don't understand me.

sneaker_ger
13th February 2009, 18:59
Yep, it is set correctly, I also tried all the other options none helped. Funny thing is that it works in old MPC, but not here in MPCHC.

I think something is wrong with Unicode support because strangely if I open the subtitle file in notepad and save as Unicode instead ANSI it displays properly here (MPCHC), but not in other programs. :confused:

P.S. Sorry for my bad English, I can send pictures if u don't understand me.

I've tested your file here (Windows XP and MPC-HC 989 32Bit) and it displays the same way as your screenshot of KMPLayer when I set the option above to "EASTEUROPE". :confused:
I've got to pass on this one ...

Rectal Prolapse
13th February 2009, 22:20
Having an issue with the Beliyaal versions of MPC-HC (it might affect regular MPC-HC too):

VMR9 procamp controls are not present when I go into the VMR9 filter page - they aren't there. Even enabling the procamp shader doesn't make it work. Also, adjusting the settings in the MPC-HC Options page has no effect.

Any ideas? Thanks! (This is with a default NVIDIA 182.05 driver install - so the video image settings are set to application controlled in the NV control panel).

stax76
13th February 2009, 22:30
I noticed it's not possible to assign different commands to the same key, enabling this would for instance allow to use the arrow keys for DVD menu navigation and while playback to jump for instance.

Px
14th February 2009, 00:17
About "Private bytes" - http://blogs.technet.com/markrussinovich/archive/2008/11/17/3155406.aspx

daMaster
14th February 2009, 00:19
About "Private bytes" - http://blogs.technet.com/markrussinovich/archive/2008/11/17/3155406.aspx

How does this explain the memory leak? And why would the behavior be different in DXVA mode vs. software mode?

Px
14th February 2009, 00:41
How does this explain the memory leak?
Read the article carefully, this can be not a real leak ^)

daMaster
14th February 2009, 01:37
Read the article carefully, this can be not a real leak ^)

I did read the article and I already clearly understand memory usage (I'm a software engineer as well).

This is indeed a memory leak if I've ever seen one. With every invocation and usage of the MPC Video Decoder in DXVA mode to play a video it uses up a certain amount of memory, let's say X bytes. When the video is stopped, it should release those X bytes that were previously allocated, however it does not. It only releases Y bytes where Y < X. As a result, you have a leak of X - Y bytes. As one continues to play N movies, that leak grows, such that the process now uses N * (X - Y) bytes which are wasted because they were never properly de-allocated. The problem here is that the value of (X - Y) is rather large and so after playing about 16 1080p videos in DXVA mode, N * (X - Y) reaches nearly 1GB! How you can say this is not a memory leak is beyond me.

Note that in software decoding mode this is not a problem at all and (X - Y) is so tiny it is negligible or Y = ~X.

If you understand mem allocation, then I don't need to explain to you that somewhere in the code some memory is not being de-allocated correctly in DXVA mode or some object is not being de-referenced or cleaned up.

shaolin95
14th February 2009, 02:51
Guys I got a quick Q.
What is the recommended DTS and DTS-HD (core I know) choice....libdts or libavcodec?

Aleksoid1978
14th February 2009, 04:15
Guys I got a quick Q.
What is the recommended DTS and DTS-HD (core I know) choice....libdts or libavcodec?

libavcodec.

Mercury_22
14th February 2009, 10:47
Since http://xvidvideo.ru/ it's still down can somebody compile the latest SVN, x64 too PLEASE ? :helpful:

@ Beliyaal
Any news about VC-1 Fix or your MPC-HC version ? :confused:

THX-UltraII
14th February 2009, 11:42
Since http://xvidvideo.ru/ it's still down can somebody compile the latest SVN, x64 too PLEASE ? :helpful:

@ Beliyaal
Any news about VC-1 Fix or your MPC-HC version ? :confused:

2x +1 :)

Beliyaal
14th February 2009, 13:34
Since http://xvidvideo.ru/ it's still down can somebody compile the latest SVN, x64 too PLEASE ? :helpful:

@ Beliyaal
Any news about VC-1 Fix or your MPC-HC version ? :confused:

Are you talking about submitting VC-1 fix to SVN? I haven't really fixed the VC-1 issue, rather worked around it by correcting incorrect frame times. This is an integral part of my new renderer code and I can't submit it until I can submit the whole patch.

I haven't been able to compile the x64 build either yet and rather put my time into something else.

Beliyaal
14th February 2009, 13:37
Having an issue with the Beliyaal versions of MPC-HC (it might affect regular MPC-HC too):

VMR9 procamp controls are not present when I go into the VMR9 filter page - they aren't there. Even enabling the procamp shader doesn't make it work. Also, adjusting the settings in the MPC-HC Options page has no effect.

Any ideas? Thanks! (This is with a default NVIDIA 182.05 driver install - so the video image settings are set to application controlled in the NV control panel).

Try installing this:
http://www.microsoft.com/downloads/details.aspx?familyid=886ACB56-C91A-4A8E-8BB8-9F20F1244A8E&displaylang=en

Beliyaal
14th February 2009, 13:38
Any ideas? Problem doesn't occour with first testbuild you made (the one that had lots of tearing).

I'll be working on judder issues this weekend, hopefully the next build will be better.

Mercury_22
14th February 2009, 13:46
Are you talking about submitting VC-1 fix to SVN? I haven't really fixed the VC-1 issue, rather worked around it by correcting incorrect frame times. This is an integral part of my new renderer code and I can't submit it until I can submit the whole patch.

I haven't been able to compile the x64 build either yet and rather put my time into something else.

Abot: VC-1 I was afraid of that, anyway :thanks: for your effort !

It's there any chance for you to update your version with latest updates from the SVN ? PLEASE !:helpful:

menlvd
14th February 2009, 23:42
Abot: VC-1 I was afraid of that, anyway :thanks: for your effort !

It's there any chance for you to update your version with latest updates from the SVN ? PLEASE !:helpful:

+1 i'll forgot dl x64 ver before install W7_x64, and thats very bad :(

Beliyaal
15th February 2009, 00:25
New version available at link in signature:

* Updated to latest SVN.
* Animated subtitles now works with buffering.

BatKnight
15th February 2009, 02:10
New version available at link in signature:

* Updated to latest SVN.
* Animated subtitles now works with buffering.
In this 944 Ver9 version I get a lot of jitter/skipping after a few seconds of start playing. This doesn't happen on your 988 ver8 version.

I also listen to a lot of HDD reading when playing the file (could be the cause of the jitter). When playing the same file with 988 ver8 I can hardly hear it and the video plays smooth, almost 0 jitter.

Bat

Kado
15th February 2009, 04:54
New version available at link in signature:

* Updated to latest SVN.
* Animated subtitles now works with buffering.

Thank you very much for that added feature! Now I get no dropped frames and proper ASS/SSA subtitle effects!

I've found some adverse effects with this build if using the new build with buffering, some subtitles don't show up. I'll report properly tomorrow.

thuan
15th February 2009, 05:21
@Beliyaal:

Thank you for your new build, finally animated buffered subtitles. I have some troubles with it though:

- Karaoke feels not as smooth as without buffering (this is subjective).
- Have problem with this karaoke ass (http://www.mediafire.com/download.php?jlyetejadyw), flashing sub at around 2 mins.

Other than that I have generally random stutters that has been happening to me from build1, but you said that your renderer patch does not work well with nvidia hardware yet so I haven't posted any bug report. Do u need the graph then?

I have a Core 2 Duo E4300 @1.8GHz, 945 chipset, 8600GT GFX card with 182.05 driver, Vista x64 SP1 up to date. MPC-HC Beliyaal b9, EVR Custom, 5 frame buffer.

EDIT: The stutters seem to happen when in high motion scenes and/or with sub in any configuration: with/without alternate Vsync combined with/without Accurate Vsync or without activating any option that will activate your new renderer features.

STaRGaZeR
15th February 2009, 05:59
Thanks Beliyaal! I don't have any problems so far except the subtitle desync I've reported in previous posts that happens in all your builds. This could also benefit the VSFilter guys.

Thank you for your new build, finally animated buffered subtitles. I have some troubles with it though:

- Karaoke feels not as smooth as without buffering (this is subjective).
- Have problem with this karaoke ass (http://www.mediafire.com/download.php?jlyetejadyw), flashing sub at around 2 mins.

- It looks exactly the same for me, the transitions and fades have the exact same duration in Beliyaal's build and SVN builds.
- Are you sure those effects are not supposed to be like that? Looking at your script they look right.

daMaster
15th February 2009, 07:57
New version available at link in signature:

* Updated to latest SVN.
* Animated subtitles now works with buffering.

Hi Beliyaal, any chance to look into the memory leak problem?

Thanks

thuan
15th February 2009, 09:09
- It looks exactly the same for me, the transitions and fades have the exact same duration in Beliyaal's build and SVN builds.
- Are you sure those effects are not supposed to be like that? Looking at your script they look right.

The duration for transition and fads are indeed the same but the sub flashes with Beliyaal's build with bufferred animated sub. To be exact, it starts from "hiru wo" at 2:01 to "sora wo" at 2:20.

@daMaster: it does look that way to me, too from as long as I can remember with any DXVA decoder not just MPC DXVA one including CoreAVC with CUDA decoder used in vanilla MPC by clsid. So It might not be MPC-HC fault.

Beliyaal
15th February 2009, 12:00
The duration for transition and fads are indeed the same but the sub flashes with Beliyaal's build with bufferred animated sub. To be exact, it starts from "hiru wo" at 2:01 to "sora wo" at 2:20.

It might be that your computer cannot keep up with the subs. Try changing the buffering to 10 instead of 5 and if that doesn't work try changing the resolution to a lower one.

Also the thread that renders subtitles is of low priority, maybe I should change it to a higher priority. Next build will have above normal instead of low priority.

Also I think I need to add an option for supporting animated subtitles so those with low specs can turn it off. Edit: Or maybe just display the last available subtitle when it can't keep up.

ikarad
15th February 2009, 12:02
Where can we download beta version of MPC-HC because xvidvideo.ru is down?

Kado
15th February 2009, 13:52
@Ikarad
Here. (http://forum.doom9.org/showpost.php?p=1238556&postcount=5934)

@Beliyaal
Try this subtitles (http://www.mediafire.com/download.php?zgzydrzmv4d).
Its right at the start. Using SNV, patch 8 or earlier with buffering 0 the mpc loads 1 core away and with buffering they play without effects (normal cpu load).
With patch 9 , 0 buffering makes the same as svn but using buffering they just don't show up (1 core loaded away) unless you pause the video.

@thuan
I can't replicate your problem.

thuan
15th February 2009, 13:58
@Beliyaal: You're right about subtitle flashing, my computer indeed can't keep up. So what about the micro stutters then? Is it because of not enough CPU power, too?
http://xs136.xs.to/xs136/09070/untitled567.jpg.xs.jpg (http://xs.to/xs.php?h=xs136&d=09070&f=untitled567.jpg)

EDIT: @Kado: yeah, you have a monstrous PC compared to mine IIRC. Do you have the stutters then? You're also on nvidia right, 9800GTX IIRC?

TherapyClown
15th February 2009, 14:02
@Beliyaal:
can you please upload your files to a different host, or someone here can supply a mirror?
I'm facing difficulties downloading your version.

Thanks...

Beliyaal
15th February 2009, 14:07
@Beliyaal: You're right about subtitle flashing, my computer indeed can't keep up. So what about the micro stutters then? Is it because of not enough CPU power, too?
http://xs136.xs.to/xs136/09070/untitled567.jpg.xs.jpg (http://xs.to/xs.php?h=xs136&d=09070&f=untitled567.jpg)

EDIT: @Kado: yeah, you have a monstrous PC compared to mine IIRC. Do you have the stutters then? You're also on nvidia right, 9800GTX IIRC?

Does the stuttering disappear if you enable Accurate VSync?

thuan
15th February 2009, 14:17
EDIT: The stutters seem to happen when in high motion scenes and/or with sub in any configuration: with/without alternate Vsync combined with/without Accurate Vsync or without activating any option that will activate your new renderer features.

As I said before, in any configuration.

ikarad
15th February 2009, 14:19
@Ikarad
Here. (http://forum.doom9.org/showpost.php?p=1238556&postcount=5934)

@Beliyaal
Try this subtitles (http://www.mediafire.com/download.php?zgzydrzmv4d).
Its right at the start. Using SNV, patch 8 or earlier with buffering 0 the mpc loads 1 core away and with buffering they play without effects (normal cpu load).
With patch 9 , 0 buffering makes the same as svn but using buffering they just don't show up (1 core loaded away) unless you pause the video.

@thuan
I can't replicate your problem.

thank you but I speak about standard beta version of MPC-HC and not beliyaal beta version.

Beliyaal
15th February 2009, 14:30
As I said before, in any configuration.

Sorry missed that. If you pause and unpause until the audio sync line is between the upper and lower bounds of the vsync jitter, does it play correctly?

thuan
15th February 2009, 14:42
Yes, if I pause then play or do a seek, it plays correctly again.

EDIT: You are right that it happens when the audio sync line is out of vsync jitter bounds.

clsid
15th February 2009, 15:56
The speedup function in MPC-HC does not work very well. Can anyone confirm that? All I gets is stutters and an instable frame-rate. It works better with the old MPC.

MatMaul
15th February 2009, 15:58
New version available at link in signature:

* Updated to latest SVN.
* Animated subtitles now works with buffering.
I have a massive hit performance with this version when I use subtitles (standard srt), my cpu usage just doubles and I get jerky playback (confirmed by the CTRL+J graph).
no problem with the version 8.

Kado
15th February 2009, 16:01
@ikarad
Check here (http://forum.doom9.org/showthread.php?p=1248235#post1248235).

Beliyaal
15th February 2009, 16:25
I have a massive hit performance with this version when I use subtitles (standard srt), my cpu usage just doubles and I get jerky playback (confirmed by the CTRL+J graph).
no problem with the version 8.

A performance hit is expected as the subtitles are animated. The problem is that the subtitle provider always reports animated subtitles even when they aren't. Next version will have a switch for disabling animated subtitles and flashing subtitles will not occur even on slow CPUs.

Egh
15th February 2009, 16:31
@Beliyaal:

thanks for the animated subs fix! Somebody had to do it really, all these years since classic appeared ;)

As for the subs, I reckon there's a bug, and I reckon it is caused by new subtitles feature, as I have last x64 build from from xvidvideo.ru before it went down, and it doesn't have such a problem.

I have two monitors, and the output is selected as "Current". That allows me to move the window between my monitors and although initially it shows blank screen in several seconds it recovers (Haali renderer is used on Nvidia 185.20 7900GTX just in case you need it). This kind of behavior was implemented relatively recently, maybe 2-3 months ago (before if you moved MPCHC window then you had to restart video from beginning).

In short, Both x64 and your ver9 build recover video playback after being moved to a different monitor however Ver9 doesn't recover subtitle rendering (even if I move it back to original monitor and restart the video).

MatMaul
15th February 2009, 16:31
A performance hit is expected as the subtitles are animated. The problem is that the subtitle provider always reports animated subtitles even when they aren't. Next version will have a switch for disabling animated subtitles and flashing subtitles will not occur even on slow CPUs.
any chance to modify the provider to report animated subtitles correctly ?
because with this kind of performance hit animated subtitles need to be disabled by default.

pbmtp
15th February 2009, 16:38
Hi Beliyaal,

i found why your version is not working on my computer after compiling a version of mpc-hc based on your last patch. In CEVRAllocatorPresenter constructor you load mfplat.dll which is not present on my computer. Thus EVR custom presenter fail to init and mpc-hc fall back to default video renderer. After installing windows media player 11 which install that dll all is working fine. I think you should note that information somewhere for future users.

pb

Kado
15th February 2009, 17:34
@beliyaal
Have you tried to reproduce my issue? The cpu usage is not the problem but the subs not showing up.
Also I suppose that although you need a 3d gpu to use the internal subtitle renderer the subs are rendererd by the cpu it self, the gpu is just for presentation right?

Beliyaal
15th February 2009, 17:55
@beliyaal
Have you tried to reproduce my issue? The cpu usage is not the problem but the subs not showing up.
Also I suppose that although you need a 3d gpu to use the internal subtitle renderer the subs are rendererd by the cpu it self, the gpu is just for presentation right?

I was not able to reproduce with your sub file.

It might actually be the CPU-usage (yes the subtitles are rendered with CPU and displayed with D3D). The next version will show subtitles even when the CPU is too slow.

Or it might be the move between monitors bug that has something to do with it.

ikarad
15th February 2009, 17:59
@ikarad
Check here (http://forum.doom9.org/showthread.php?p=1248235#post1248235).

v1.2.989 is the last version?

Beliyaal
15th February 2009, 18:09
any chance to modify the provider to report animated subtitles correctly ?
because with this kind of performance hit animated subtitles need to be disabled by default.

I'm thinking that having it enabled by default on 4 hardware threads or more CPU:s should be safe.

Mercury_22
15th February 2009, 19:03
Revision 995 - Directory Listing
Modified Sun Feb 15 15:57:23 2009 UTC (2 hours ago) by casimir666
Changed : improved DXVA VC1 decoder
Added : support for Flac in Ogg splitter

Improved DXVA VC1 :eek: :thanks:

Only if someone will be kind enough to compile this rev :) :rolleyes: :helpful:

Egh
15th February 2009, 19:11
It might actually be the CPU-usage (yes the subtitles are rendered with CPU and displayed with D3D).


No wonder, that's why MPC (HC) is best in subs quality! Although I wonder if it is possible for slow CPU users to reduce AA as it takes most of the CPU I reckon (for those who doesn't know -- MPC uses x8 supersampling for subs rendering).

Leak
15th February 2009, 19:46
bwahn, I think you also need to compile the Baseclasses.

Simplest way is to copy only the .cpp and .h files from the SDK's Baseclasses' directory into the baseclasses directory of the mpc-hc trunk (it should already be existing and have a Visual Studio project inside it but no source code files). Then in Visual Studio build the Baseclasses project in the MPC-HC solution.
Is that (still) supposed to work? Because if I only do that the BaseClasses solution compiles fine, but I'm getting 46 errors all over when compiling the MPC-HC solution that it can't find 'streams.h'...

Sure, I can get everything to compile fine by adding the BaseClasses folder to VS2008's global include directories, but shouldn't the affected solutions rather include a relative path to the BaseClasses folder?

(Copying the headers to trunk/include doesn't quite fix it either, as a few projects don't even reference that directory...)

np: Distance - Feel Me (Chestplate)

STaRGaZeR
15th February 2009, 21:03
No wonder, that's why MPC (HC) is best in subs quality! Although I wonder if it is possible for slow CPU users to reduce AA as it takes most of the CPU I reckon (for those who doesn't know -- MPC uses x8 supersampling for subs rendering).

Are you 100% sure about that?

Kado
15th February 2009, 21:17
@ikarad
It was the last compiled version before xvidvideo.ru went offline.

@Egh
Have you read the warning on the subtitles page in mpc-hc options, because the way in understand it it means that it uses no anti-aliasing and if you force anti-aliasing it will only use more cpu cycles!

Snowknight26
15th February 2009, 21:28
As soon as you open MPC-HC, if you hit Ctrl+C, the window shinks as if a file was closed.

Beliyaal
16th February 2009, 00:55
New version available in link in signature:

* Updated to latest SVN.
* Animated subtitles can now be turned off in options.
* Better handling of animated subtitles when computer isn't fast enough. No flashing should occur.

@STaRGaZeR: Can you check if the sync is correct in this one with animated subtitles enabled? In the clip I tried the subtitle disappear at exactly the frame of a scene change.

MatMaul
16th February 2009, 01:12
I noticed an other bug (animation disabled) :
if I seek before the current position in the video the subtitles don't show up anymore. if I seek after no problem.

Beliyaal
16th February 2009, 01:15
I noticed an other bug (animation disabled) :
if I seek before the current position in the video the subtitles don't show up anymore. if I seek after no problem.

Edit: Looks looks like a new bug, will look at fixing it. It works if you seek longer forward before seeking backward it also works.

gngn
16th February 2009, 01:31
i get 50% CPU load even with DXVA on.
XP SP3
VMR9 renderless
182.05 Nvidia drivers

edit: actually i get 50% only with the encodes of one specific anime series, and after alot of backward/forward seeking and "Display stats" on/off ....

STaRGaZeR
16th February 2009, 01:43
New version available in link in signature:

* Updated to latest SVN.
* Animated subtitles can now be turned off in options.
* Better handling of animated subtitles when computer isn't fast enough. No flashing should occur.

@STaRGaZeR: Can you check if the sync is correct in this one with animated subtitles enabled? In the clip I tried the subtitle disappear at exactly the frame of a scene change.

The desync is still there. Things like turning the subs on/off (in Haali's splitter) or seeking randomly decreases/increases the delay. I've seen up to 2 frames.

I'm also experiencing MatMaul's issue.

EDIT: In fact if you turn on subtitles and then you do a stop-play, all lines will be in sync. Looks like everything that requires the player to do anything other than playing continuously breaks the sync. Turning subs on/off, changing between fullscreen and windowed and seeking so far.

Beliyaal
16th February 2009, 01:49
Ok, new build:

* Fixed subtitle not appearing when seeking bug.
* Fixed subtitles disappearing when changing monitors.

Kado
16th February 2009, 02:00
@Beliyaal
Patch 11 fixed my previousely reported issue. CPU gets loaded but thats normal because it also happens with 0 buffering, even when using SVN builds.
Thanks for the fresh builds, new features and bug fixes!

Beliyaal
16th February 2009, 02:07
EDIT: In fact if you turn on subtitles and then you do a stop-play, all lines will be in sync. Looks like everything that requires the player to do anything other than playing continuously breaks the sync. Turning subs on/off, changing between fullscreen and windowed and seeking so far.

That was the final clue I needed! Fixed and new build available.

STaRGaZeR
16th February 2009, 02:56
That was the final clue I needed! Fixed and new build available.

Fixed, and big http://www.xtremesystems.org/forums/images/smilies/clap.gif to you :D

Concerning the perfomance issue with animations enabled I see the same CPU utilization than with buffering disabled on regular SVN builds. Just make sure that they're disabled by default so nobody complains and everything is the same as before but with the option to enable them.

Another thing to consider: in your builds when the player is set to Playback->Playback->Repeat forever and the file ends, the image freezes for 3-4 seconds, then it resumes showing the frames located 3-4 seconds after the beginning of the file. Sound plays fine from the beginning as it should, so it's only the video part.

PS: the memory leak is impressive, ~300MB up each time I open a new file :eek:

EDIT:

http://thumbnails13.imagebam.com/2686/371f9626851837.gif (http://www.imagebam.com/image/371f9626851837)

Looks like the old issue with bicubic resizer, the transparent grid, is back in your builds too. Look at their faces and eyes. I think this was an issue before but Casimir found a solution and it's not present in SVN builds. This does not happen just after opening the player, maybe you have to open several files to see it because it's totally random.

Egh
16th February 2009, 03:55
@Egh
Have you read the warning on the subtitles page in mpc-hc options, because the way in understand it it means that it uses no anti-aliasing and if you force anti-aliasing it will only use more cpu cycles!

and @STaRGaZeR:


Oh lol :) It is not even recent addition, it is the way the Gabest himself designed it ;)

Of course Cashimir or anyone else could have changed this, but in MPC it is done the way I described.

Kado -- do not confuse AA done by GPU and the old good software way. If you render any picture with x2 resolution and then downsize it by half then you can tell you use supersampling (it is even used in some old but still great AVS scripts :P).

What MPC does, it takes subs and renders them onto a texture (target resolution of the texture is selected in the options). But actual character rendering is done on the texture 8 times larger than target. I.e. each target pixel is 8x8==64 original texels. Otherwise explain how MPC does rendering with subpixel precision regarding such styling parameters like width, shadow etc in the ASS styles.

Regarding subs rendered completely by D3D, there have been some attempts to do so (by Haali for instance) but they all failed in comparison by quality with software rendering of MPC.

Update: quickly сhecked the new ver12 out: seems that subtitle rendering now properly recovering when MPC window is moved to a different monitor. Good job, cheers!

Snowknight26
16th February 2009, 04:23
FLAC > 2.0 channels doesn't work* in either the x86 build of r997.

THX-UltraII
16th February 2009, 09:37
That was the final clue I needed! Fixed and new build available.


this is exactly what I needed! Big thumbs up for your version! I really like the feature that the menu can be shown in the d3d (remove tearing) mode!

Can you explain what the checkbox Alternate VSync does and which users this feature need?

thxz.

marc99
16th February 2009, 10:04
Beliyaal, version 12 doesn't play smooth HD+subs. Version 9 works better.

Mercury_22
16th February 2009, 11:10
Regarding the DTS BUG present in both versions SVN ( starting with SVN rev 984 ) and Beliyaal's Nobody else beside me has problems playing DTS-HD XLL lossless streams starting with SVN 984 ?

I mean the only way I can play those XLL streams is if MPC-HC starts playing them first (from the beginning), but if I change to the other stream type (e.g. AC3) when I change back to the DTS-HD XLL lossless stream I'm losing the sound and if I'm switching again to the other stream type (e.g. AC3) I have sound but the video starts acting strange (accelerated) And if MPC-HC starts playing with the other stream type I CAN'T play the DTS-HD XLL lossless stream at all

:helpful:

P.S. SVN 983 it's working OK DTS-HD XLL Sample1 50MB (http://rapidshare.com/files/185566143/TEST.m2ts.html), DTS-HD XLL Sample2 100MB (http://rapidshare.com/files/190091030/BARAKA.m2ts.html), DTS-HD XLL Sample3 100MB (http://rapidshare.com/files/190095940/CHRONOS.m2ts.html)
and confirmed here
I have reproduced your bug and I'm working on it. Please refrain from putting yourself in a position where you need to change back to DTS-HD in the meantime!
I've discovered that the BUG it's NOT occurring when changing between DTS HD and DTS HD MASTER
Only when changing from a different than DTS ( HD ? ) audio stream type to DTS HD MASTER ( XLL, 1536Kbps ) the sound it's LOST, the PAUSE command it's NOT working anymore and the video it's accelerated
:helpful:
@ Beliyaal : I hope this gives you more clues :rolleyes:
Sample DTS HD - DTS HD MASTER (http://rapidshare.com/files/198706825/TestDTS-DTS.m2ts.html)

rt87
16th February 2009, 11:53
That was the final clue I needed! Fixed and new build available.

With Ver 12, my subtitles don't animated even "Disable animation" is unchecked (10 subpictures are buffered).

THX-UltraII
16th February 2009, 12:10
Looks like the old issue with bicubic resizer, the transparent grid, is back in your builds too. Look at their faces and eyes. I think this was an issue before but Casimir found a solution and it's not present in SVN builds. This does not happen just after opening the player, maybe you have to open several files to see it because it's totally random.

So choosing 'bilinear (PS 2.0)' is the 'workaround' till it gets fixed correct?

chros
16th February 2009, 12:20
@Beliyaal: can you work on the D3D fullscreen switch to make it work on-the-fly?

tetsuo55
16th February 2009, 13:34
Beliyaal, doesn't the splitter tell the subtitle renderer what type of subtitles it is sending?

Not all subtitle types support animation (SRT, vobsub for example do not).

This way subtitle type could automatically enable/disable animation support
I don't think the on/off button is needed once the overhead issue is fixed. There is already a warning that animated subtitles are cpu intensive when the person downloads/creates them

Beliyaal
16th February 2009, 13:54
Beliyaal, version 12 doesn't play smooth HD+subs. Version 9 works better.
How is the CPU usage? What is your hardware configuration? The new version has higher priority for the subtitle thread, so if you computer isn't fast enough it will probably work worse.

With Ver 12, my subtitles don't animated even "Disable animation" is unchecked (10 subpictures are buffered).
Are you maybe using an external subtitle filter instead of the internal one?

@Beliyaal: can you work on the D3D fullscreen switch to make it work on-the-fly?
How do you change to D3D fullscreen on the fly? Some keyboard combo that isn't in the menu?

Beliyaal
16th February 2009, 13:59
Beliyaal, doesn't the splitter tell the subtitle renderer what type of subtitles it is sending?

Not all subtitle types support animation (SRT, vobsub for example do not).

This way subtitle type could automatically enable/disable animation support
I don't think the on/off button is needed once the overhead issue is fixed. There is already a warning that animated subtitles are cpu intensive when the person downloads/creates them

The system for this is already in place, the problem is that the subtitle provider doesn't report if the subtitle is animated. If someone feels that it's important they can fix it in:
RTS.cpp: CRenderedTextSubtitle::IsAnimated
SSF.cpp: CRenderer::IsAnimated

rt87
16th February 2009, 14:18
How is the CPU usage? What is your hardware configuration? The new version has higher priority for the subtitle thread, so if you computer isn't fast enough it will probably work worse.


Are you maybe using an external subtitle filter instead of the internal one?


How do you change to D3D fullscreen on the fly? Some keyboard combo that isn't in the menu?

I'm using haali's splitter.
for subtitle filter, I keep external VSFilter blocked in MPC.

tetsuo55
16th February 2009, 14:24
The system for this is already in place, the problem is that the subtitle provider doesn't report if the subtitle is animated. If someone feels that it's important they can fix it in:
RTS.cpp: CRenderedTextSubtitle::IsAnimated
SSF.cpp: CRenderer::IsAnimated

I don't think either of those subtitle formats are really used by anyone.

The only subtitle format's that could possibly contain animated parts are:
JACOSub .jss
MPEG-4 Timed Text .ttxt
Ogg Writ
RealText .rt
SAMI .smi
Structured Subtitle Format .ssf
(Advanced) SubStation Alpha .ssa or .ass (advanced)
Universal Subtitle Format .usf

My list could be incomplete but none of the other formats support styling in any way, its just plain text or images.

From the above list only (Advanced) SubStation Alpha is popular and Universal Subtitle Format is being revived.
Of all the possible formats only these 2 will need to have animation enabled.

THX-UltraII
16th February 2009, 14:30
@Beliyaal:

Can you explain what the checkbox Alternate VSync does and which users this feature need?

Beliyaal
16th February 2009, 14:38
I don't think either of those subtitle formats are really used by anyone.

The only subtitle format's that could possibly contain animated parts are:
JACOSub .jss
MPEG-4 Timed Text .ttxt
Ogg Writ
RealText .rt
SAMI .smi
Structured Subtitle Format .ssf
(Advanced) SubStation Alpha .ssa or .ass (advanced)
Universal Subtitle Format .usf

My list could be incomplete but none of the other formats support styling in any way, its just plain text or images.

From the above list only (Advanced) SubStation Alpha is popular and Universal Subtitle Format is being revived.
Of all the possible formats only these 2 will need to have animation enabled.

At least ass is implemented through the RTS.cpp file.

Beliyaal
16th February 2009, 14:40
@Beliyaal:

Can you explain what the checkbox Alternate VSync does and which users this feature need?

If the VSync is broken in the graphics driver this can help. Especially together with lock back buffer. What it does is check the scan line manually and try to flip at the correct moment.

Beliyaal
16th February 2009, 14:42
I'm using haali's splitter.
for subtitle filter, I keep external VSFilter blocked in MPC.

Are you sure that the subtitle you are trying to view is animated? You can PM me the sample that doesn't work if you want.

rack04
16th February 2009, 14:45
If the VSync is broken in the graphics driver this can help. Especially together with lock back buffer. What it does is check the scan line manually and try to flip at the correct moment.

Should lock back buffer be used otherwise?

marc99
16th February 2009, 14:46
How is the CPU usage? What is your hardware configuration? The new version has higher priority for the subtitle thread, so if you computer isn't fast enough it will probably work worse.


Core 2 Duo 4300.
V9 subtitles=ON CPU usage 10-20%.
V12 subtitles=ON CPU 60-70%.
V12 subtitles=OFF or animation=OFF CPU 10-20%.

nitec
16th February 2009, 14:48
MPC and Vobsub accepts ASS tags in .srt subtitles. You can make positioning, coloring, animations, karaoke etc with .srt subtitles too. I have .srt files that have these effects. So you can add .srt to animated subtitles category.

Beliyaal
16th February 2009, 14:51
Should lock back buffer be used otherwise?
It doesn't hurt. It for example prevents the graphics card from buffering up a lot of frames and thus should prevent possible latency.

rack04
16th February 2009, 14:54
What output colorspace does MPC-HC use with internal transform filters?

Kado
16th February 2009, 15:31
@Beliyaal
Using patch 11 ou 12 MPC drops frames like hell if using buffered subs (desktop res 1680x1050) while they are visible and with no buffering frames are only dropped right before the subs show up (like svn builds).
Try with haruhi video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html).
PC specs are in the signature.

Play with the file for a while back and forth, and open it some times as it may play normally the first time.

STaRGaZeR
16th February 2009, 15:41
and @STaRGaZeR:


Oh lol :) It is not even recent addition, it is the way the Gabest himself designed it ;)

Of course Cashimir or anyone else could have changed this, but in MPC it is done the way I described.

Nice, that explains why the subs are so blurred (in fact they're antialiased). It's possible to change the level of AA?

Core 2 Duo 4300.
V9 subtitles=ON CPU usage 10-20%.
V12 subtitles=ON CPU 60-70%.
V12 subtitles=OFF or animation=OFF CPU 10-20%.

Check V12 subtitles=ON or animation=OFF.

cca
16th February 2009, 15:57
@Beliyaal
Using patch 11 ou 12 MPC drops frames like hell if using buffered subs (desktop res 1680x1050) while they are visible and with no buffering frames are only dropped right before the subs show up (like svn builds).
Try with haruhi video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html).
PC specs are in the signature.

Play with the file for a while back and forth, and open it some times as it may play normally the first time.

I tried the same video since I happen to already have it, it seems that the texture resolution selected in the subtitles setup page can make a difference, if I select "Desktop" it drops frames, with 1024x768 it doesn't. My current setup on my sig.

EDIT: Forgot to mention, my desktop resolution is 1360x768 aero is enabled, I also use reclock.
EDIT2: Tried another video, "Rozen Maiden" encoded by Ayu, it has a pretty heavy soft karaoke. It drops frames even with 800x600 texture resolution. Clearly the current rendering engine we have is not ready, we a lesser spec PC animated subs are a no go, better to use VSfilter.

Kado
16th February 2009, 16:13
But using 1024x768 reduces the quality of the subtitles visibly. I don't use any additional filters in the chain. Enabling and disabling the status (CTRL+J) helps with the frame drops.

The issue in the edit part of this post (http://forum.doom9.org/showthread.php?p=1250212#post1250212) happens with me as well but the picture only shows if if pause then play it again or skip to somewhere else after the image got stuck.

@Egh
OK. :)

cca
16th February 2009, 16:17
@kado see my edited post above, even with the texture reduction the rendering engine is still too slow even for a 2.5GHz Quadcore. Unacceptable for everyday usage.

clsid
16th February 2009, 16:22
Wouldn't it be possible to somehow detect if a subtitle is animated during the parsing? For example if certain tags are encountered. Then send that information upstream to the subtitle renderer.

Kado
16th February 2009, 16:33
@cca
For me to avoid that I use no buffering as it only drops frames before the subtitle presentation and not always, even with desktop resolution, and cpu usage is normal.
Beliyaal idea and efforts were good but something is going wrong there.

tetsuo55
16th February 2009, 16:36
MPC and Vobsub accepts ASS tags in .srt subtitles. You can make positioning, coloring, animations, karaoke etc with .srt subtitles too. I have .srt files that have these effects. So you can add .srt to animated subtitles category.

ASS is basically an upgrade from SRT, so a program that can read both can decode both.

Accurately though, an SRT file should not have any styling information, if it does it is a misnamed ASS.

For best results the subtitle renderer should be smart enough to detect the content

---
Best solution is if the animated part is optimized to the point that it doesn't add any overhead at all to non-animated subtitles

cca
16th February 2009, 16:51
ASS karaoke effects can be very CPU taxing if done in real time, some kind of buffering solution is needed, the current buffering in the SVN builds are texture based, but with ASS each frame can need a different texture. So either you need to increase the buffered textures a lot, or use some other kind of buffering.

For example, with VSFilter if you use the EVR buffers or use Haali render which also has a lot of buffering, even effects that will cause jerkiness and dropped frames normally with renderers like VMR9 or Overlay mixer can be displayed, because the CPU is rendering them ahead of time.

alexins
16th February 2009, 17:10
Media Player Classic HomeCinema (x86/x64), svn 997 (http://www.xvidvideo.ru/content/view/630/1/)

Supported languages: CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Beliyaal
16th February 2009, 17:23
ASS karaoke effects can be very CPU taxing if done in real time, some kind of buffering solution is needed, the current buffering in the SVN builds are texture based, but with ASS each frame can need a different texture. So either you need to increase the buffered textures a lot, or use some other kind of buffering.

For example, with VSFilter if you use the EVR buffers or use Haali render which also has a lot of buffering, even effects that will cause jerkiness and dropped frames normally with renderers like VMR9 or Overlay mixer can be displayed, because the CPU is rendering them ahead of time.

The problem with buffering the subtitles in the same frames as the video is that the subtitles will be the same resolution as the video. If EVR buffers work the 10 buffers available for subtitles shouldn't be a problem.

Not sure what is causing the performance problems, but it might be possible to fix it. I have some ideas what might be causing it.

cca
16th February 2009, 17:36
The problem with buffering the subtitles in the same frames as the video is that the subtitles will be the same resolution as the video. If EVR buffers work the 10 buffers available for subtitles shouldn't be a problem.

Not sure what is causing the performance problems, but it might be possible to fix it. I have some ideas what might be causing it.

Well, I can only theorize and express my thoughts, but I am no coder. I hope that by discussing and testing a solution to the problem will be found eventually :) .

carnage_pl
16th February 2009, 20:11
Core 2 Duo 4300.
V9 subtitles=ON CPU usage 10-20%.
V12 subtitles=ON CPU 60-70%.
V12 subtitles=OFF or animation=OFF CPU 10-20%.
I have the same problem

Pyr0
16th February 2009, 21:10
can anyone else confirm that the option to standby after playback doesn't work since the change in build 983: CHANGED: Prevent display or computer to sleep during playback. please?

http://img91.imageshack.us/img91/2631/standbyaj2.jpg

pdanpdan
16th February 2009, 22:18
I don't know if it's a bug or not, but:
- I have a TV set in extended mode (2nd display), and mpc interface is on the 1st display
- I play a file with D3D Fullscreen / Full Screen Monitor = Display 2
- I press Ctrl+C
- the interface is shown on the 2nd display
Is there any way that I can make the interface return on the 1st display on close? MPC-HC 1.2.997.0 + Beliyaal Fixes Ver 12. Thank you.

Beliyaal
16th February 2009, 22:54
New version available:

* Fixed memory leak causing stuttering with buffered subtitles.
* Better dirty rect reporting to D3D for subtitle texture update (better performance).
* Added more resolutions to options for max subtitle texture size.
* Subtitle queue statistics added to renderer stats.

High CPU usage when rendering subtitles cause much less stuttering now. There still is some stuttering, but I cannot fix that until I do an overhaul of the jitter code.

Mercury_22
17th February 2009, 00:20
New version available:

* Fixed memory leak causing stuttering with buffered subtitles.
* Better dirty rect reporting to D3D for subtitle texture update (better performance).
* Added more resolutions to options for max subtitle texture size.
* Subtitle queue statistics added to renderer stats.

High CPU usage when rendering subtitles cause much less stuttering now. There still is some stuttering, but I cannot fix that until I do an overhaul of the jitter code.

A new bug ! :
Your version 13 plays a 1080i60 vc1 m2ts file at 30 frame rate but the SVN version it's playing smooth the same file with the same settings at 60frame rate ! :helpful: :(

EDIT: your version 8 it's also playing correct & smooth at 60 frame rate
EDIT 2: tested your versions 9, 10, 11, 12, too and the problem it's starting with version 12 !! Ver 12:
* Fixed out of sync because incorrect correction of frame times.

PLEASE fix this :helpful: it's causing a very bad video and flickering subtitles


Sample VC-1 1080i60 M2TS (http://rapidshare.com/files/198995619/TEST_1080i60vc1.m2ts.html)

P.S. Both internal VC-1 filters, DXVA & NON-DXVA still not working with this type of file

Rille
17th February 2009, 00:28
I'll be working on judder issues this weekend, hopefully the next build will be better.

Only tested one movie so far (with v12) but played fine without me having to pause once =)

daMaster
17th February 2009, 00:32
@daMaster: it does look that way to me, too from as long as I can remember with any DXVA decoder not just MPC DXVA one including CoreAVC with CUDA decoder used in vanilla MPC by clsid. So It might not be MPC-HC fault.

Did you see my original post? I compared the Cyberlink PowerDVD decoder running in DXVA mode to the MPC Video Decoder running in DXVA mode. There is no memory leak with the Cyberlink decoder but there is with the MPC Video Decoder.

Here is my original post: http://forum.doom9.org/showthread.php?p=1248688#post1248688

Klaus_1250
17th February 2009, 04:52
@Beliyaal: First of all, thanx for your patches. Latest version play back content smooth as butter (combined with Reclock, Powerstrip and custom monitor timings). Never seen such a straight line

Except when using subtitles, which is no different than the normal MPC-HC, in which I get occasionally delayed/dropped frames because the subtitle rendering takes too long :-( (watching high-def h264 anime with styled subs) Performance issues (high CPU use) seem to be solved in v13 of your patchset

Machine is a P4 3.2, 2GB with Ati 3850AGP using Win XP SP3 and VMR9 renderless.

Sidenote: The reported screen refresh rate I see in MPC-HC is usually not correct, probably because Powerstrip changes it when starting playback using reclock.

Sidenote2: MPC still doesn't handle in-file framerate changes correctly (24-->60); it speeds up, but only makes it halfway and drops the rest of the frames (997 with and without reclock/powerstrip)

THX-UltraII
17th February 2009, 08:57
@Beliyaal: Keep up the good work! You re aiming for the best version ever made of MPC-HC! big thumbs up!!!

a general question about MPC-HC:
At the external filter options you can select 3 different options per filter: Prefer, Block and Merit. I think I understand Prefer and Block (they just do what they say correct?) but what is Merit (standard a filter is on this option).

Kado
17th February 2009, 12:29
@THX-UltraII
Filters are registered in windows with a "merit", filters with higher merit will tried to be used first, like a ticket queue. In MPC you can set the merit manually for your selected filters but thats only valid for mpc and not other players.

@Klaus_1250
Here the frame rate changes from 24 to 60 and I get no dropped frames whatsoever.

Mercury_22
17th February 2009, 12:30
@Beliyaal: Keep up the good work! You re aiming for the best version ever made of MPC-HC! big thumbs up!!!

a general question about MPC-HC:
At the external filter options you can select 3 different options per filter: Prefer, Block and Merit. I think I understand Prefer and Block (they just do what they say correct?) but what is Merit (standard a filter is on this option).

From RadLight FilterManager Each filter is registered with a merit value. When the
filter graph manager builds a graph, it enumerates all the
filters registered with the correct media type. Then it
tries them in order of merit, from highest to lowest. (It
uses additional criteria to choose between filters with
equal merit.) It never tries filters with a merit value less
than or equal to MERIT_DO_NOT_USE. A filter that
should never be considered for ordinary playback should
have a merit of MERIT_DO_NOT_USE or less. Filters can
be registered with intermediate values not defined by
this enumeration, such as MERIT_NORMAL + 1.

STANDARDIZED MERIT VALUES

MERIT_PREFERRED = 0x800000
MERIT_NORMAL = 0x600000
MERIT_UNLIKELY = 0x400000
MERIT_DO_NOT_USE = 0x200000
MERIT_SW_COMPRESSOR = 0x100000
MERIT_HW_COMPRESSOR = 0x100050
I hope this helps :)

THX-UltraII
17th February 2009, 12:53
and when I ReClock, Haali Media Splitter, AVC Video Decoder and AC3Filter as external filters, can I set them all on prefer?

One thing I did notice is that it makes no difference if I set these 4 filters in the external filters or leave the external filters empty. They are used anyway. So the external filter use is a questionmark for me anyway.

Mercury_22
17th February 2009, 13:12
and when I ReClock, Haali Media Splitter, AVC Video Decoder and AC3Filter as external filters, can I set them all on prefer?

One thing I did notice is that it makes no difference if I set these 4 filters in the external filters or leave the external filters empty. They are used anyway. So the external filter use is a questionmark for me anyway.

This is because they already have the highest merit on your system and you didn't check the corresponding internal filters

Use RadLight FilterManager (http://www.dvbviewer.info/forum/index.php?showtopic=2543&view=findpost&p=190573) to see all the directshow filters merit on your system

THX-UltraII
17th February 2009, 13:37
This is because they already have the highest merit on your system and you didn't check the corresponding internal filters

Use RadLight FilterManager (http://www.dvbviewer.info/forum/index.php?showtopic=2543&view=findpost&p=190573) to see all the directshow filters merit on your system

thxz, Ill try this tonight.

NanoBot
17th February 2009, 14:00
Hi,

I would like to remind the developers to a request concerning multi monitor environments I made a while ago:

http://forum.doom9.org/showthread.php?p=1222592#post1222592

As far I have traced the thread for other opinions about my suggestion, I only found

http://forum.doom9.org/showthread.php?p=1222632#post1222632

where Leak supports my idea, that the main window should stay on the monitor where MPC was initially started.

That's why I would like to renew my proposal made in my posting cited above.

C.U. NanoBot

cca
17th February 2009, 14:02
New version available:

* Fixed memory leak causing stuttering with buffered subtitles.
* Better dirty rect reporting to D3D for subtitle texture update (better performance).
* Added more resolutions to options for max subtitle texture size.
* Subtitle queue statistics added to renderer stats.

High CPU usage when rendering subtitles cause much less stuttering now. There still is some stuttering, but I cannot fix that until I do an overhaul of the jitter code.

This version is much better, but I 'm sure there is still room for improvement. You are certainly on the right track!

xiulet
17th February 2009, 15:29
A new bug ! :
Your version 13 plays a 1080i60 vc1 m2ts file at 30 frame rate but the SVN version it's playing smooth the same file with the same settings at 60frame rate ! :helpful: :(

EDIT: your version 8 it's also playing correct & smooth at 60 frame rate
EDIT 2: tested your versions 9, 10, 11, 12, too and the problem it's starting with version 12 !!

PLEASE fix this :helpful: it's causing a very bad video and flickering subtitles


Sample VC-1 1080i60 M2TS (http://rapidshare.com/files/198995619/TEST_1080i60vc1.m2ts.html)

P.S. Both internal VC-1 filters, DXVA & NON-DXVA still not working with this type of file

i can't see this video with 997 :O Using mpeg/ps/ts/pva internal filter, neither dxva or normal vc-1.

saludos, adéu.

Mercury_22
17th February 2009, 16:14
i can't see this video with 997 :O Using mpeg/ps/ts/pva internal filter, neither dxva or normal vc-1.

saludos, adéu.

Like I've said before Both internal VC-1 filters, DXVA & NON-DXVA still not working with this type of file and starting with version 12 Beliyaal's version it's using a WRONG frame rate for VC-1 i m2ts files !
(and I was so happy that finally MPC-HC it's able to play correct my VC-1i blu-ray, now it's broken again :mad:)

Use WMVideo Decoder DMO (uncheck BOTH VC-1 internal filters )!

Edit: maybe this is a clue : The same m2ts VC-1, 1080i60 file it's reported by eac3to as 60 Frame rate (the frame rate used by ver 11) and by tsMuxeR as 29.97 Frame rate ( the frame rate used by ver 12 ):confused:

STaRGaZeR
17th February 2009, 16:46
Another thing to consider: in your builds when the player is set to Playback->Playback->Repeat forever and the file ends, the image freezes for 3-4 seconds, then it resumes showing the frames located 3-4 seconds after the beginning of the file. Sound plays fine from the beginning as it should, so it's only the video part.

Beliyaal, this seems to be mitigated when the number of EVR buffers is low, like 3 or 5 instead of 20, just to let you know.

hdboy
17th February 2009, 18:04
Hi,

I would like to remind the developers to a request concerning multi monitor environments I made a while ago:

http://forum.doom9.org/showthread.php?p=1222592#post1222592

As far I have traced the thread for other opinions about my suggestion, I only found

http://forum.doom9.org/showthread.php?p=1222632#post1222632

where Leak supports my idea, that the main window should stay on the monitor where MPC was initially started.

That's why I would like to renew my proposal made in my posting cited above.

C.U. NanoBot

I second this request.

Motivation: my 2nd 'monitor' is my TV, and due to the room constraint, I cannot place my PC where I can operate it and see the TV at the same time. So having the controls (that means the controls, seek bar, and any dialog) on my PC monitor while playing video on the TV would be golden.

also, very often, with certain combination of filter and renderer, starting in primary monitor then switching to full screen to the TV results in no video. I have to start mpc with command line argument /monitor 2 for it to work. So it would be nice to have a way to start video display in 2nd monitor while leaving controls in the 1st at startup.

Lastly, I don't know if this is feasible but what would be ideal is to be able to mirror full screen video in 2nd monitor. mpc would behave normally in the 1st monitor, with controls and video, but the video would be mirrored full screen on the 2nd monitor. I guess you would have to have 2 renderers going at the same time, but would you need 2 decoders as well?

video cards have this feature, but it only works on overlay, suffers from aspect ratio bugs, and in the case of nvidia, no longer works on vista. Would be great if mpc can do this itself. I'd like to hear from the devs whether they think it's feasible (even if they don't think it's worth doing :) mpc dual monitor support is already very good; making it great would really put the 'home cinema' in mpc-hc.

Pyr0
17th February 2009, 18:22
can anyone else confirm that the option to standby after playback doesn't work since the change in build 983: CHANGED: Prevent display or computer to sleep during playback. please?

http://img91.imageshack.us/img91/2631/standbyaj2.jpg

Nobody has a spare 30 seconds to do a quick test ?

Klaus_1250
17th February 2009, 18:27
@Klaus_1250
Here the frame rate changes from 24 to 60 and I get no dropped frames whatsoever.

Thanx for the info. Did some more testing. If the screen is in 60Hz, MPC-HC copes with the frame-rate change. If it is any other, it doesn't. If the refresh-rate was changed at the start of playback, the problem seems to be bigger :-(

XhmikosR
17th February 2009, 18:30
@Pyr0: With rev997 on Vista SP1 32bit it works fine.

Kado
17th February 2009, 18:48
Thanx for the info. Did some more testing. If the screen is in 60Hz, MPC-HC copes with the frame-rate change. If it is any other, it doesn't. If the refresh-rate was changed at the start of playback, the problem seems to be bigger :-(

I did some tests before and VMR9 and EVR output at the max the refresh rate is set, in my case 60hz=60franmes max.

Klaus_1250
17th February 2009, 18:59
I did some tests before and VMR9 and EVR output at the max the refresh rate is set, in my case 60hz=60franmes max.
In my case, I can choose between 60, 70 and 75 (+ 59,94 and 72 with reclock/powerstrip). For ~24fps, I switch to 72Hz, but as the frame-rate goes to 60, I end up with 45-48fps.

Rille
17th February 2009, 20:08
Only tested one movie so far (with v12) but played fine without me having to pause once =)

Went out of sync today again about 30 mins. into Heroes =(

http://img300.imageshack.us/img300/244/v12judderbk6.th.jpg (http://img300.imageshack.us/my.php?image=v12judderbk6.jpg)

Worked fine again after pausing for a few secs.

cca
17th February 2009, 20:52
@Beliyaal:
In my last post I wasn't very detailed, here are some more details. Version 13 no longer drops frames even when I play the opening of Rozen Maiden. I 've set the subtitle buffers at 10, which is the max setting, can this be increased? I ask because I see the buffers empty fast when playing this particular video, but my PC is fast enough and it doesn't get to zero, so no frames drop.

Another issue, the vsync is not very good, I get much better results if I disable VSync and use the ReClock vsync correction, then I get perfectly smooth playback. My specs are in my signature, using ATI Catalyst 9.1, aero is enabled, EVR buffers at 20.

Kado
17th February 2009, 21:46
I still get blinking subtitles with gg's Maria+Holic even with buffer at 10. Can provide the subtitles if required. Otherwise the video plays fine.

cca
17th February 2009, 22:00
I still get blinking subtitles with gg's Maria+Holic even with buffer at 10. Can provide the subtitles if required. Otherwise the video plays fine.

Just tried Maria+Holic episode 6, plays absolutely fine here. It's even DXVA compatible (never tried it before, as I needed VSfilter for proper subs!).

ikarad
17th February 2009, 22:11
I have a problem with dxva.
I see a video at 29.970 fps but in MPC-HC video is at 60 fps.

http://nsa05.casimages.com/img/2009/02/17/mini_090217101454251621.jpg (http://www.casimages.com/img.php?i=090217101454251621.jpg)

is-it normal?

Dxva accelerate video or not? I think it is not normal.

I use MPC-HC 1.2.997, vmr9 renderless, xp sp3, geforce gtx280 182.05

one question: How desactivate dxva because before there was an option to activate or desactivate and now it doesn't exist?

Kado
17th February 2009, 22:16
@cca
Try episode 4 @ min 9.55 where Ryuuken is being called a stalker and the subs display "shivering" on the upper right corner. They don't blink always, so try a few times.

@ikarad
Tried to use mediainfo to see the frame rate? Maybe it's interlaced? Also fraps says that it's 60frames.

cca
17th February 2009, 22:42
@cca
Try episode 4 @ min 9.55 where Ryuuken is being called a stalker and the subs display "shivering" on the upper right corner. They don't blink always, so try a few times.

Ok, It does indeed blink, I was able to reproduce it. Not only there, immediately when the episode starts I saw blinking. Probably bugs that will be sorted out over time hopefully.

ikarad
17th February 2009, 23:04
@cca
Try episode 4 @ min 9.55 where Ryuuken is being called a stalker and the subs display "shivering" on the upper right corner. They don't blink always, so try a few times.

@ikarad
Tried to use mediainfo to see the frame rate? Maybe it's interlaced? Also fraps says that it's 60frames.

yes it's interlaced.
But if I use H264 codec from ffdshow my video is at 29.97 fps as indicated above.

I tried to advance frame per frame and I notice that dxva add some frames. It is very strange and it isn't normal.

Although, if deinterlaced was correct, my video must be at 30 i/s or 24 i/s (if inverse telecine was used) and not 60 i/s.

tetsuo55
17th February 2009, 23:21
Beliyaal build 13

Ati HD2400pro AGP
Ati Catalyst 8.5 HOTFIX
X-Fi with latest drivers set to entertainment mode
WinXP SP2 fully patched, DirectX november
VMR9
-Everything disabled except Accurate V-Sync in options
-Everything disabled in renderer settings(right click menu) except accurate V-Sync
***Note if have to manually uncheck V-Sync on every restart of the player***


-Internal DXVA decoder, h264
-Internal DTS decoder (with default settings)

only this setting will give me an almost straight line(it looks like it was drawn by a 5 year old)
Randomly i will get higher jitter for a fraction of a second. all the jitter is between 0 and 2 ms when it happens

Any other setting will give me a constant jitter, no combination of settings gives me a flat line. jitter is sometimes visable and can cause image corruption due to the DXVA decoder not recieving its data on time.

I guess that fixing the jitter might completely fix the remaining DXVA problems(apart from the decoder limitations)

cca
17th February 2009, 23:31
Argh, after the first time I managed to reproduce the blinking subtitles problem, I must have tried like 30 times the same episode, and I couldn't reproduce it but only 1 or 2 times. Sneaky problem!

EDIT: May be related or not, but I think there is a memory leak somewhere, unless it's the buffers. I notice like 600MB allocated for MPC at this moment.

EDIT2: I see the memory usage increase every time I open another file, it's consistent.

kutjong
17th February 2009, 23:37
yes it's interlaced.
But if I use H264 codec from ffdshow my video is at 29.97 fps as indicated above.

I tried to advance frame per frame and I notice that dxva add some frames. It is very strange and it isn't normal.

Although, if deinterlaced was correct, my video must be at 30 i/s or 24 i/s (if inverse telecine was used) and not 60 i/s.
Nothing wrong with 60 fps. It just means that a deinterlacer that doubles the framerate is used, and this is good, full temporal resolution is retained since your source is 60 fields/s.

Rectal Prolapse
17th February 2009, 23:57
Quote:
Originally Posted by Rectal Prolapse View Post
bwahn, I think you also need to compile the Baseclasses.

Simplest way is to copy only the .cpp and .h files from the SDK's Baseclasses' directory into the baseclasses directory of the mpc-hc trunk (it should already be existing and have a Visual Studio project inside it but no source code files). Then in Visual Studio build the Baseclasses project in the MPC-HC solution.

Leak says:
Is that (still) supposed to work? Because if I only do that the BaseClasses solution compiles fine, but I'm getting 46 errors all over when compiling the MPC-HC solution that it can't find 'streams.h'...


Hey Leak - those instructions I think only apply to the really early versions of MPC-HC (probably 1.1.0.0 or even earlier). I believe the new MPC-HCs include the BaseClasses project, OR they already refer to the new Platform SDK version. I don't remember exactly.

Leak
18th February 2009, 01:15
I believe the new MPC-HCs include the BaseClasses project,
Nope, the BaseClasses folder only contains a project file.

OR they already refer to the new Platform SDK version. I don't remember exactly.
I'm using the latest one for Vista (6.0A), but I have to add the BaseClasses samples directory in VC2008's global include directories for everything to compile - but I just don't think that should be neccessary since not every project I compile needs them...

daMaster
18th February 2009, 01:24
I see the memory usage increase every time I open another file, it's consistent.

I've been posting about this memory leak for over a week now and it is an issue that seems to be ignored by the devs over and over as I've received no responses to my posts.

Here are my various posts and that of an NVidia user confirming the same leak. The leak is in the MPC Video Decoder DirectShow filter in DXVA mode. I have also reported the issue here: https://sourceforge.net/forum/forum.php?thread_id=2994581&forum_id=583789

I've discovered a memory leak in the MPC Video Decoder v1.2.908.0 (DirectShow filter MPCVideoDec.ax) when using DXVA for H.264/AVC/VC1 with the following set up:
- OS: Vista
- GPU: ATI Radeon HD 3470, Catalyst 9.1 drivers
- DirectShow media player: MediaPortal
- Renderer: EVR

When I play a 720p/1080p H.264 video and then stop it, there's some residual memory that doesn't get cleaned up. After playing and stopping 12-15 such HD videos, that accumulation of residual memory gets up to 800-900 MB!

If I disable DXVA decoding in the MPC Video Decoder's property page, then this memory leak does not occur, so it would seem it only happens with hardware acceleration.

Here is a ProcessExplorer (http://download.sysinternals.com/Files/ProcessExplorer.zip) performance graph of the MediaPortal.exe process comparing the private bytes usage with the PowerDVD 8 H.264/AVC/VC1 decoder (LEFT) and the MPC Video Decoder (RIGHT). Each private bytes spike is when a video is playing and the following dip is when a video is stopped. As you can see, with the PowerDVD 8 decoder the private bytes usage returns pretty much to the amount it was before the video was played. On the right hand with MPC Video Decoder, the private bytes usage is slightly higher after each video is stopped than what it was before the video was started.

http://img21.imageshack.us/img21/4913/mpcmemoryleakhd0.png


Can other folks that use the MPC Video Decoder with DXVA test this out to help validate the issue? I am hoping users with different video cards (NVidia vs. ATI) and different DirectShow media players can test this out to see if they have the same issue.

I've already reported this issue on the MPC SourceForge open discussion forum: Memory leak in DirectShow filter MPCVideoDec (https://sourceforge.net/forum/forum.php?thread_id=2994581&forum_id=583789). I am really hoping the MPC devs will be able to fix this since MPC Video Decoder is my preferred decoder. It is more lenient than the PowerDVD 8 decoder and I find the picture quality is slightly better (smoother motion), but I can't use it with this memory leak since after a while I have to restart MediaPortal once it starts crashing.

So I also managed to reproduce this in mplayerc.exe. I set it up to use MPC Video Decoder as an external DirectShow filter and just kept playing and re-opening the same 1080p MKV file.

Here is the ProcessExplorer performance graph showing the private bytes usage of mplayerc.exe:

http://img11.imageshack.us/img11/128/croppercapture22da1.png

Hello

Just to confirm the findings of damaster...

Running Vista 32 (SP1) and using a NVidia 9400 IGP whilst using MPCVideoDec DirectShow filter to decode a 1080p mkv file I find the following memory retention problem arises...

http://www.freeimagehosting.net/uploads/th.51f8a59c7d.jpg (http://www.freeimagehosting.net/image.php?51f8a59c7d.jpg)

as you can note the retention of the memory increase after the file is played back and then replayed again.

Using the PowerDVD 8 filter I get the following...

http://www.freeimagehosting.net/uploads/th.926834f4ca.jpg (http://www.freeimagehosting.net/image.php?926834f4ca.jpg)

...the memory retention does not happen and the usage remains constant regardless of how often the file is played.

The above is repeatable each and every time when using the noted filters.

I did read the article and I already clearly understand memory usage (I'm a software engineer as well).

This is indeed a memory leak if I've ever seen one. With every invocation and usage of the MPC Video Decoder in DXVA mode to play a video it uses up a certain amount of memory, let's say X bytes. When the video is stopped, it should release those X bytes that were previously allocated, however it does not. It only releases Y bytes where Y < X. As a result, you have a leak of X - Y bytes. As one continues to play N movies, that leak grows, such that the process now uses N * (X - Y) bytes which are wasted because they were never properly de-allocated. The problem here is that the value of (X - Y) is rather large and so after playing about 16 1080p videos in DXVA mode, N * (X - Y) reaches nearly 1GB! How you can say this is not a memory leak is beyond me.

Note that in software decoding mode this is not a problem at all and (X - Y) is so tiny it is negligible or Y = ~X.

If you understand mem allocation, then I don't need to explain to you that somewhere in the code some memory is not being de-allocated correctly in DXVA mode or some object is not being de-referenced or cleaned up.

Pyr0
18th February 2009, 01:30
@Pyr0: With rev997 on Vista SP1 32bit it works fine.

Thank you for the input XhmikosR, it's greatly appreciated :)

Can anybody test in Vista x64 SP1 please?
when i try to use the standby option in either mpchc version (x86/x64) the monitor blanks, but the system does not power down. but this only happens with the builds after 982

cca
18th February 2009, 08:15
To prevent misunderstandings, I must clarify that my last posts about memory leak etc are about Beliyaal's patched version 13, they do not concern the pure SVN version or the standalone decoder package.

73ChargerFan
18th February 2009, 08:19
I've been posting about this memory leak for over a week now and it is an issue that seems to be ignored by the devs over and over as I've received no responses to my posts.
I'm sure the volunteer developers have read your posts by now, and will work on it when they can. If you're reading this thread, you should know that bugs are being fixed and created with each new version, sometimes twice or more each week. This is what beta testing is all about.

THX-UltraII
18th February 2009, 08:40
@Beliyaal: I tried your latest version last night and noticed tearing at the top of the video that is playing. The tearing does not go away when picking d3d and/or alternative vsync/lock-back-buffer settings. (tried al sorts of combination on this one). The Casimir official version build (and unofficial snv's) does not have this problem. How can I report something to you that could be causing this so you can look into this?

alexins
18th February 2009, 09:02
Media Player Classic HomeCinema (x86/x64), svn 998 (http://www.xvidvideo.ru/content/view/637/1/)

Supported languages: CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Change : in D3DFullScreen mode main window with the controls and menus remains on the monitor where it is located before the playback starts.

pdanpdan
18th February 2009, 09:15
Thank you

ikarad
18th February 2009, 11:13
Beliyaal build 13

Ati HD2400pro AGP
Ati Catalyst 8.5 HOTFIX
X-Fi with latest drivers set to entertainment mode
WinXP SP2 fully patched, DirectX november
VMR9
-Everything disabled except Accurate V-Sync in options
-Everything disabled in renderer settings(right click menu) except accurate V-Sync
***Note if have to manually uncheck V-Sync on every restart of the player***


-Internal DXVA decoder, h264
-Internal DTS decoder (with default settings)

only this setting will give me an almost straight line(it looks like it was drawn by a 5 year old)
Randomly i will get higher jitter for a fraction of a second. all the jitter is between 0 and 2 ms when it happens

Any other setting will give me a constant jitter, no combination of settings gives me a flat line. jitter is sometimes visable and can cause image corruption due to the DXVA decoder not recieving its data on time.

I guess that fixing the jitter might completely fix the remaining DXVA problems(apart from the decoder limitations)

One question:
On the tracker
https://sourceforge.net/tracker2/?limit=100&func=&group_id=170561&atid=854651&assignee=&status=2&category=&artgroup=&keyword=&submitter=&artifact_id=&limitz=100&assignee=&status=&category=&artgroup=&submitter=&keyword=&artifact_id=&reset=Reset&limitz=100&mass_category=&mass_priority=&mass_resolution=&mass_assignee=&mass_artgroup=&mass_status=&mass_cannedresponse=

there is some bugs with high priority (9). Does it mean that it's your priority or not?

ikarad
18th February 2009, 11:17
Nothing wrong with 60 fps. It just means that a deinterlacer that doubles the framerate is used, and this is good, full temporal resolution is retained since your source is 60 fields/s.

Thanks.
It's too bad but I would prefer inverse telecine to deinterlace. It's a better method than doubling the framerate.

thuan
18th February 2009, 14:38
So my PC with an E4300 is not enough for Beliyaal builds and I also plan to build a new system soon. My budget allows for either a Core 2 Duo E8400, a Xeon E3110 which is exactly the same as the E8400 but also around 30 bucks cheaper over here or a Core 2 Quad Q8200. I won't be encoding, mostly playing back fansubbed anime with softsubs which play horribly under my current processor and Beliyaal builds and working which involves running virtual machines and coding. So which is the recommended processor under the assumption that I won't be overclocking?

thuan
18th February 2009, 15:49
Thanks for your suggestion, but what if I want it now, to be honest I don't care about future product if I need more power now. The idea of waiting for something better will only make you wait more. I need a product that can run Beliyaal build adequately and supports VM well, now. So back to my question please. The thing that makes me pondering between a E8400/E3110 and a Q8200 is Intel VT. I wonder if it does indeed improve VM performance and I might also need it if I am to code using this feature. Quad core from intel supports this feature are all high end.

daMaster
18th February 2009, 16:08
I'm sure the volunteer developers have read your posts by now, and will work on it when they can. If you're reading this thread, you should know that bugs are being fixed and created with each new version, sometimes twice or more each week. This is what beta testing is all about.
Yes, I understand that the devs are volunteers and that this is beta software. However, a simple acknowledgement that the issue has been registered and will be fixed would have ensured that it doesn't get lost in this thread.

I would recommend using Google Code to track issues. Just a suggestion.

As for the memory leak: I am getting it with v1.2.908.0 and I just tested SVN release 997 and the leak is still there.

Kado
18th February 2009, 16:41
@thuan
My Pentium D handles Beliyaal build 13 just fine. What do you get? Dropped frames? Heavy CPU load? Blinking subs?

NanoBot
18th February 2009, 16:46
Hi alexins,

Media Player Classic HomeCinema (x86/x64), svn 998 (http://www.xvidvideo.ru/content/view/637/1/)
...

Change : in D3DFullScreen mode main window with the controls and menus remains on the monitor where it is located before the playback starts.


Now the D3D mode in a multimonitor environment works exaktly like I desired it, many :thanks: for the change.

C.U. NanoBot

chros
18th February 2009, 16:46
How do you change to D3D fullscreen on the fly? Some keyboard combo that isn't in the menu?
Like in ZoomPlayer ...
Now, we must check the D3DFullscreen checkbox, and the player is always start in fullscreen mode ... (which is bad with the 2nd monitor/ fullscreen combo, if the 2nd monitor is the LCD-TV, which is not always on.)
It would be nice if D3Dfullscreen is worked as the standard mode: if we hit ALT+ENTER then it would go to this mode ... (I meant it on-the fly ...)

Thanks

thuan
18th February 2009, 16:53
@thuan
My Pentium D handles Beliyaal build 13 just fine. What do you get? Dropped frames? Heavy CPU load? Blinking subs?

random stuttering especially when there's sub with heavy animation like karaoke, and blinking sub.
http://xs136.xs.to/xs136/09070/untitled567.jpg.xs.jpg (http://xs.to/xs.php?h=xs136&d=09070&f=untitled567.jpg)
That's with SD video and 800x600 sub. I think that's pretty bad performance.

clsid
18th February 2009, 16:59
tetsuo55 or Beliyaal,

Could any of you two perhaps create a dedicated topic for discussing Beliyaal's experimental version? The situation is very confusing right now with all the bug reports and if they also apply to the regular SVN builds or not.

Kado
18th February 2009, 17:12
@thuan
Use patch 13 (http://www.olofsson.info/mpchc/MPCHC_x86_svn997_beliyaal_13.zip), because according to your image you are not using it. It fixed several performance issues.

cca
18th February 2009, 17:16
BTW, I think clsid is right, we better split the topic soon.

thuan
18th February 2009, 17:17
@Kado: I did try it, it's a mixed result and still far from perfect. Either way, I will get a new CPU and mainboard. So which CPU do you guys think is better?

daMaster
18th February 2009, 17:18
To prevent misunderstandings, I must clarify that my last posts about memory leak etc are about Beliyaal's patched version 13, they do not concern the pure SVN version or the standalone decoder package.

Actually, as in my original posts about the issue, the memory leak occurs in v1.2.908.0 of the stand-alone filters, but only in DXVA mode. That means there is some memory not being freed up in the DXVA portions of the MPC Video Decoder filter's code. I tried going through the code but I have to set it all up in debug mode to really nail down the source of the problem.

Brazil2
18th February 2009, 17:33
In CEVRAllocatorPresenter constructor you load mfplat.dll which is not present on my computer. After installing windows media player 11 which install that dll all is working fine. I think you should note that information somewhere for future users.
Wait, does this mean that future versions of MPC-HC will use WMP11 components ? Thus making the installation of WMP11 a requirement for MPC-HC to work ?

Beliyaal
18th February 2009, 18:58
Wait, does this mean that future versions of MPC-HC will use WMP11 components ? Thus making the installation of WMP11 a requirement for MPC-HC to work ?

It's not a WMP11 component, it's media foundation platform, which EVR is a part of. But I think I can remove the dependency on this particular dll.

cca
18th February 2009, 19:01
About Beliyaal's version 13, the memory leak happens regardless if DXVA is in use, and it's worse when the internal subtitle renderer is used. Since it's still in testing stage though, things like that can be expected.

clsid
18th February 2009, 19:01
mfplat.dll is part of the Media Foundation platform, which is a standard component of Windows Vista and above.

Chumbo
18th February 2009, 19:21
@Beliyaal: I tried your latest version last night and noticed tearing at the top of the video that is playing. The tearing does not go away when picking d3d and/or alternative vsync/lock-back-buffer settings. (tried al sorts of combination on this one). The Casimir official version build (and unofficial snv's) does not have this problem. How can I report something to you that could be causing this so you can look into this?
I had the same issue last night. I have an ATI (Sapphire) HD 4830 with Catalyst 9.1. I'll try the more recent patched 13 tonight.

tetsuo55
18th February 2009, 19:21
One question:
On the tracker
https://sourceforge.net/tracker2/?limit=100&func=&group_id=170561&atid=854651&assignee=&status=2&category=&artgroup=&keyword=&submitter=&artifact_id=&limitz=100&assignee=&status=&category=&artgroup=&submitter=&keyword=&artifact_id=&reset=Reset&limitz=100&mass_category=&mass_priority=&mass_resolution=&mass_assignee=&mass_artgroup=&mass_status=&mass_cannedresponse=

there is some bugs with high priority (9). Does it mean that it's your priority or not?

I did set the priorities, (9) this is what it means.

1. This bug needs to be fixed before a new stable build can be released
2. The bug is probably not a bug or already fixed, we need more confirmation in this case

The priority of any bug is based on MPC-HC's short and longterm goals.

tetsuo55
18th February 2009, 19:22
tetsuo55 or Beliyaal,

Could any of you two perhaps create a dedicated topic for discussing Beliyaal's experimental version? The situation is very confusing right now with all the bug reports and if they also apply to the regular SVN builds or not.


I think that's a very good idea.
However i cannot split threads

Egh
18th February 2009, 19:25
Hmm, interesting thing, I only noticed that due to Beliyaal's new context menu (Renderer Settings), however it is true in SVN build version as well.

Most of the renderer's settings are available only in D3D mode, however two items are enabled in the menu (both main menu of SVN and context menu in Beliyaal's version) which don't apparently do anything. The reason for that is that I use Haali renderer :).

Were there any plans to make "Tearing test" and "Remaining time" work when Haali renderer is on? Or should they be disabled in the menu ...

Also, I've tried 998SVN build, it is great that now MPCHC automatically outputs video to a different monitors in D3D mode whilst retaining controls on the original screen! Wonderful :) I wonder though how can this be implemented in non D3D mode, with Haali renderer for instance...
As well I have a suggestion: in case D3D mode is on and controls are on a different screen it is better to disable context menu on fullscreen D3D surface (they don't work there anyway and you can use them in the control window anyway).

Pyr0
18th February 2009, 20:06
Thank you for the input XhmikosR, it's greatly appreciated :)

Can anybody test in Vista x64 SP1 please?
when i try to use the standby option in either mpchc version (x86/x64) the monitor blanks, but the system does not power down. but this only happens with the builds after 982
third time lucky, maybe...

can anybody test the standby after playback option in vista x64 please?

Leak
18th February 2009, 20:12
I think that's a very good idea.
However i cannot split threads
I'm pretty sure one the mods will help you with that if you PM them...

np: Sage Francis - Hell Of A Year (Human The Death Dance)

Rectal Prolapse
18th February 2009, 21:46
Nope, the BaseClasses folder only contains a project file.


I'm using the latest one for Vista (6.0A), but I have to add the BaseClasses samples directory in VC2008's global include directories for everything to compile - but I just don't think that should be neccessary since not every project I compile needs them...

Ok. I vaguely remember it being a little easier when using VS2005 and the Windows XP Platform SDK for SP2. But of course the SDKs keep changing and you have to do annoying stuff to get it to work. :(

moviefan
18th February 2009, 22:29
I have a problem playing back some few Blu-ray m2ts files (I think only if there are DTS streams included). At the beginning, CPU usage is at about 10% or so, depends on the picture - DXVA is used. But then the picture stutters, audio gets async (I pass through the audio via HDMI to my AV receiver), the receiver loses audio connection for a fraction of a second, and CPU usage goes up to about 60%. Also I cannot seek in these Blu-rays - the moment I do, the picture switches very quickly between the previous and the new one... This does happen only very rarely with some Blu-rays! Can anyone help me? This is really annoying!

Regards
moviefan

turbojet
18th February 2009, 22:32
moviefan are these videos encoded to .264 then muxed to bluray?

Also, is there a way to stop mpc-hc from vertically stretching subtitles in full screen?

cca
18th February 2009, 23:55
third time lucky, maybe...

can anybody test the standby after playback option in vista x64 please?

Bug reproduced by me, instead of stand by the system enters "away mode", it's obvious if you check the system log. Reproduced with svn build 988, system specs at my signature.

moviefan
19th February 2009, 00:07
They are H264 originally purchased Blu-rays, so I didn't do anything to them ;). And as I said: seeking impossible, watching too, since audio gets out of sync, video stutters, CPU usage jumps up to around 60%... For whatever reason... I have just done another test with a movie that only contains AC3 audio streams. There is no problem with stuttering, but the CPU usage strangely goes up to above 50% as well sometimes although I use DXVA. Can anyone explain this weird behaviour?

CPU: Intel Pentium Dual-Core E5200 @ 3 GHz
RAM: 4 GB DDR-800 (Corsair)
Graphics: Club3D ATI Radeon HD4670 (ATI Catalyst 8.12)

DrNein
19th February 2009, 00:18
Testing D3D Fullscreen of 1.2.908.0 with two displays (XP VMR9r):

If VMR9 mixer mode is enabled then there is no image. If YUV mixing is also enabled then there is an image.

With some video (certain AVC trailers at least), the AR is distorted to narrow on Display 2 until the MPC-HC window is moved slightly or the zoom function used.

With some video (perhaps AVC PAFF), the recommended 3D surface produces jerky and broken-up images Both 2D and Regular offscreen plain surfaces are okay.

turbojet
19th February 2009, 00:27
ok moviefan, I was just wondering because I see some of the async and seeking issues you mentioned with m2ts muxed from .264 files, but all other players handle them fine with same directshow filters. Solution I found was using mkv as an intermediate file.

I haven't experienced this with retail BD's, but I have experienced high cpu/ram usage when seeking retail BD's but after a few seconds it goes back to normal.

moviefan
19th February 2009, 00:28
Hm, the thing is that I would like to be able to watch my Blu-rays on my HTPC... So I don't want to create mkv files first before watching ;)

Beliyaal
19th February 2009, 00:32
Hm, the thing is that I would like to be able to watch my Blu-rays on my HTPC... So I don't want to create mkv files first before watching ;)

Probably the DTS 1.5 Mbit bug. Test passing DTS through spdifer:
http://ac3filter.net/projects/spdifer

Rectal Prolapse
19th February 2009, 01:49
Try installing this:
http://www.microsoft.com/downloads/details.aspx?familyid=886ACB56-C91A-4A8E-8BB8-9F20F1244A8E&displaylang=en

It was already installed - but I reinstalled it again and still the same result!

Any ideas?

BTW it works in MPC-HC 1.0.11.0 (probably the best version of MPC-HC aside from the standalone filters lol).

EDIT: Oh wait - after I played with it in MPC-HC 1.0.11.0, it suddenly works in your version. However, both versions have their own .ini file settings - maybe something had to be initialized in the registry first?

daMaster
19th February 2009, 05:26
I've discovered a memory leak in the MPC Video Decoder v1.2.908.0 (DirectShow filter MPCVideoDec.ax) when using DXVA for H.264/AVC/VC1 with the following set up:
- OS: Vista
- GPU: ATI Radeon HD 3470, Catalyst 9.1 drivers
- DirectShow media player: MediaPortal
- Renderer: EVR

When I play a 720p/1080p H.264 video and then stop it, there's some residual memory that doesn't get cleaned up. After playing and stopping 12-15 such HD videos, that accumulation of residual memory gets up to 800-900 MB!

If I disable DXVA decoding in the MPC Video Decoder's property page, then this memory leak does not occur, so it would seem it only happens with hardware acceleration.

Here is a ProcessExplorer (http://download.sysinternals.com/Files/ProcessExplorer.zip) performance graph of the MediaPortal.exe process comparing the private bytes usage with the PowerDVD 8 H.264/AVC/VC1 decoder (LEFT) and the MPC Video Decoder (RIGHT). Each private bytes spike is when a video is playing and the following dip is when a video is stopped. As you can see, with the PowerDVD 8 decoder the private bytes usage returns pretty much to the amount it was before the video was played. On the right hand with MPC Video Decoder, the private bytes usage is slightly higher after each video is stopped than what it was before the video was started.

http://img21.imageshack.us/img21/4913/mpcmemoryleakhd0.png


Can other folks that use the MPC Video Decoder with DXVA test this out to help validate the issue? I am hoping users with different video cards (NVidia vs. ATI) and different DirectShow media players can test this out to see if they have the same issue.

I've already reported this issue on the MPC SourceForge open discussion forum: Memory leak in DirectShow filter MPCVideoDec (https://sourceforge.net/forum/forum.php?thread_id=2994581&forum_id=583789). I am really hoping the MPC devs will be able to fix this since MPC Video Decoder is my preferred decoder. It is more lenient than the PowerDVD 8 decoder and I find the picture quality is slightly better (smoother motion), but I can't use it with this memory leak since after a while I have to restart MediaPortal once it starts crashing.

Tested all of the following versions of MPC Video Decoder DirectShow filters and they all exhibit the same memory leak:
- v1.1.0.0
- v1.1.604.0
- v1.2.908.0
- SVN 997

Brazil2
19th February 2009, 11:17
It's not a WMP11 component, it's media foundation platform, which EVR is a part of. But I think I can remove the dependency on this particular dll.
It would be nice to do so :)

Thanks to everyone for clarifications about that.

Brazil2
19th February 2009, 11:23
I'm comparing this post and the following ones about audio output format:
http://forum.doom9.org/showthread.php?p=1170322#post1170322

With this post and the following ones:
http://forum.doom9.org/showthread.php?p=1251159#post1251159

So I wonder which audio output format should be used in MPC-HC. 16 bits, 24 bits or 32 bits float ?
My sound card is based on a Realtek ALC888 chip, 7.1 channel HD audio.

ikarad
19th February 2009, 13:23
I did set the priorities, (9) this is what it means.

1. This bug needs to be fixed before a new stable build can be released
2. The bug is probably not a bug or already fixed, we need more confirmation in this case

The priority of any bug is based on MPC-HC's short and longterm goals.

Thanks.
I hope that this problem (priority 9) will be corrected as soon as possible.
https://sourceforge.net/tracker2/?func=detail&aid=2466321&group_id=170561&atid=854651

tetsuo55
19th February 2009, 13:26
Thanks.
I hope that this problem (priority 9) will be corrected as soon as possible.
https://sourceforge.net/tracker2/?func=detail&aid=2466321&group_id=170561&atid=854651

Do you have this problem with Beliyaal's build?

Mercury_22
19th February 2009, 13:27
Can someone PLEASE :helpful: explain to me what's the role of "AUDIO SWITCHER" beside the obvious options I can check there !
I mean: IT'S BETTER TO USE IT OR NOT :helpful:

Also how can I see the audio ( AC3, DTS, AAC ) decoder's settings without opening any file and why there is NO " Same as Input " option in "Decode to speakers" like in FFDShow ? :confused:

:helpful:

@Beliyaal
I found (maybe) a new clue regarding the DTS bug starting with SVN 984 when changing the audio strem ( no matter what type of audio stream - AC3, DTS, ...) the video it's JUMPING AHEAD 2-3 sec !
Which is NOT HAPPENING WITH SVN 983 . this applay to your version too !

clsid
19th February 2009, 14:10
The main task of the audio switcher is to prevent that multiple audio streams are played simultaneously. If you don't have files with multiple audio streams or if you use a splitter that has an internal stream switcher (haali), then you could turn it off. But unless you have some troubles when it is turned on, I see no real reason to turn it off.

Mercury_22
19th February 2009, 14:36
The main task of the audio switcher is to prevent that multiple audio streams are played simultaneously. If you don't have files with multiple audio streams or if you use a splitter that has an internal stream switcher (haali), then you could turn it off. But unless you have some troubles when it is turned on, I see no real reason to turn it off.

So it's not just another filter in the chain ? cause I can play files with multiple audio streams (NOT simultaneously) using internal splitter WITHOUT IT :helpful:

:thanks: for your replay

ikarad
19th February 2009, 14:52
Do you have this problem with Beliyaal's build?

Yes I have the same problem with the last Beliyaal's build.

But I have never seen that Beliyaals had corrected this problem between "open dvd" function and "load subtitle" function with evr custom.

although beliyaal build doesn't work very well because I have tearing with this version (if i select vsync) and not tearing with standard version of MPC-HC (not beliyaal version)

ikarad
19th February 2009, 15:06
Can someone PLEASE :helpful: explain to me what's the role of "AUDIO SWITCHER" beside the obvious options I can check there !
I mean: IT'S BETTER TO USE IT OR NOT :helpful:

Also how can I see the audio ( AC3, DTS, AAC ) decoder's settings without opening any file and why there is NO " Same as Input " option in "Decode to speakers" like in FFDShow ? :confused:

:helpful:

@Beliyaal
I found (maybe) a new clue regarding the DTS bug starting with SVN 984 when changing the audio strem ( no matter what type of audio stream - AC3, DTS, ...) the video it's JUMPING AHEAD 2-3 sec !
Which is NOT HAPPENING WITH SVN 983 . this applay to your version too !

where is this option "audio switcher"? because I don't find in MPC-HC.

EDIT: I found this option but at home it is always turn off because I have never seen an interest and I don't use haali. I use only mpc-HC + ffdshow

alexins
19th February 2009, 15:18
Media Player Classic HomeCinema (x86/x64), svn 1000 (http://www.xvidvideo.ru/content/view/638/1/)

Supported languages: CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

FIX : Favorites bug, when the file restore from bookmark and trying to restore the position to play.

clsid
19th February 2009, 15:27
Revision 988 causes the standalone MPEG splitter to crash on Vista x64 when playing for example a .vob file.

Edit: turned out to be a build problem. Details (http://forum.doom9.org/showthread.php?p=1252464#post1252464).

GrofLuigi
19th February 2009, 15:30
Media Player Classic HomeCinema (x86/x64), svn 1000 (http://www.xvidvideo.ru/content/view/638/1/)

Congratulations on the 1k !!!

Or the real anniversary will be svn 1024? :p

GL

THX-UltraII
19th February 2009, 15:36
@Beliyaal: I tried your latest version last night and noticed tearing at the top of the video that is playing. The tearing does not go away when picking d3d and/or alternative vsync/lock-back-buffer settings. (tried al sorts of combination on this one). The Casimir official version build (and unofficial snv's) does not have this problem. How can I report something to you that could be causing this so you can look into this?


Beliyaal, any ideas on this?

Maybe it is better to start your own official thread. This way you will have better overview I think. Just a free tip! :D

Mercury_22
19th February 2009, 16:12
@beliyaal

Revision 988 causes the standalone MPEG splitter to crash on Vista x64 when playing for example a .vob file.

Please fix asap.

Here is a sample file:
http://samples.mplayerhq.hu/MPEG2/TITLE01-ANGLE1.VOB

No crash here using standalone_filters-svn997_x64 (http://www.xvidvideo.ru/content/view/630/2/)from Alexins and MPC-HC SVN 1000 64-bit also from Alexins :confused:
OR I misunderstood you ?

daMaster
19th February 2009, 16:23
I see the memory usage increase every time I open another file, it's consistent.

Everybody should test this use case in DXVA mode with 720p/1080p video. Keep the MPC-HC processing running and don't close it. Open a 1080p H.264/VC1 video, make sure you're in DXVA mode. Now either stop the video or let it keep playing and open another 1080p H.264/VC1 video.

Use Task Manager or ProcessExplorer to monitor the memory usage of the MPC-HC process while doing this and lo and behold, look what happens! Eventually MPC-HC crashes or becomes unusable.

Egh
19th February 2009, 16:38
Media Player Classic HomeCinema (x86/x64), svn 1000 (http://www.xvidvideo.ru/content/view/638/1/)



congratulations, 1000 builds is a major milestone :)

MPC-HC -- best video player atm :)

moviefan
19th February 2009, 17:41
Probably the DTS 1.5 Mbit bug. Test passing DTS through spdifer:
http://ac3filter.net/projects/spdifer

I tried that without success unfortunately. I installed spdifer, set it as external filter and priority "prefer". There is no audio output at all now (edit: actually, there is only no audio with DTS-HD, normal DTS works, but problems remain), CPU usage around 0-5%, but suddenly it jumps up to over 50%, the picture stutters. Seeking is still impossible and I have updated to revision 1000 by now. What is going on here? This is really annoying - I want to watch my Blu-rays without problems all the time! Any suggestions?

Mercury_22
19th February 2009, 18:01
I tried that without success unfortunately. I installed spdifer, set it as external filter and priority "prefer". There is no audio output at all now (edit: actually, there is only no audio with DTS-HD, normal DTS works, but problems remain), CPU usage around 0-5%, but suddenly it jumps up to over 50%, the picture stutters. Seeking is still impossible and I have updated to revision 1000 by now. What is going on here? This is really annoying - I want to watch my Blu-rays without problems all the time! Any suggestions?

Do not use internal DXVA or non DXVA AVC OR VC-1 filters !
Try FFDSHOW !

Everybody should test this use case in DXVA mode with 720p/1080p video. Keep the MPC-HC processing running and don't close it. Open a 1080p H.264/VC1 video, make sure you're in DXVA mode. Now either stop the video or let it keep playing and open another 1080p H.264/VC1 video.

Use Task Manager or ProcessExplorer to monitor the memory usage of the MPC-HC process while doing this and lo and behold, look what happens! Eventually MPC-HC crashes or becomes unusable.

I can confirm your memory bug with internal DXVA AVC !


@ DEVS
Why not replace ffmpeg with ffmpeg-mt code ? it's NOT possible ? :confused: :helpful:
cause internal AVC and VC-1 are almost unusable (non DXVA)

deets
19th February 2009, 18:17
hmm any joy getting ITV HD or BBC HD ts files to play using DXVA? i get unwatchable green garbled blocks on ITV :( or glitching on BBC

moviefan
19th February 2009, 18:31
Do not use internal DXVA or non DXVA AVC OR VC-1 filters !
Try FFDSHOW !

I can confirm your memory bug with internal DXVA AVC !


I just tried ffdshow and CoreAVC, CPU usage is between 10% and 50%, but then again it jumps up to to 90% or so. I'm getting more and more angry with this ****! I haven't noticed this problem really so much before, but when I look at Blu-rays with only AC3 audio tracks, CPU usage jumps up, too, but somehow it doesn't result in stuttering and sync loss of the receiver. That cannot be normal when I have average usage of 10% with DXVA... What's wrong with this player?

Mercury_22
19th February 2009, 18:45
I just tried ffdshow and CoreAVC, CPU usage is between 10% and 50%, but then again it jumps up to to 90% or so. I'm getting more and more angry with this ****! I haven't noticed this problem really so much before, but when I look at Blu-rays with only AC3 audio tracks, CPU usage jumps up, too, but somehow it doesn't result in stuttering and sync loss of the receiver. That cannot be normal when I have average usage of 10% with DXVA... What's wrong with this player?

Did you tryed SVN rev 983 ?
and what filters & settings do you use ?

moviefan
19th February 2009, 19:18
I have also tried rev 983 now, as you said, with the same result. All in all I have used the current stable version (rev. 908), 983 and 1000, all show the same problem using the internal decoders with DXVA, using CoreAVC, ffdshow, and for audio I already used the internal decoder, ffdshow, AC3Filter and spdifer all passing the bitstream through to my receiver via HDMI. I just don't get what is happening...

My settings: generally all to "system default", no filters. MPC HC only shows MPC video decoder, DTS decoder, audio switcher, video renderer and ATI HD Audio rear output.

Edit: I have remuxed the video stream without any audio to m2ts and this doesn't cause any problems when playing it with whatever of the above mentioned versions of MPC HC using internal DXVA decoder. Playing the original DTS track itself with MPC HC, this doesn't cause any problems either. So there must be a problem with playing video and audio together. I would conclude there is either a problem with the demuxing of the m2ts container when it is played back or there is an issue with the graphics card streaming audio and video together via HDMI. What is your opinion? (Remember: 1. AC3 is also affected but the CPU load increase is not noticable in terms of playback; 2. all Blu-rays are not seekable when they show the DTS sync and video stuttering problem I have been reporting about in my last posts.)

Mercury_22
19th February 2009, 19:39
I have also tried rev 983 now, as you said, with the same result. All in all I have used the current stable version (rev. 908), 983 and 1000, all show the same problem using the internal decoders with DXVA, using CoreAVC, ffdshow, and for audio I already used the internal decoder, ffdshow, AC3Filter and spdifer all passing the bitstream through to my receiver via HDMI. I just don't get what is happening...

My settings: generally all to "system default", no filters. MPC HC only shows MPC video decoder, DTS decoder, audio switcher, video renderer and ATI HD Audio rear output.

Edit: I have remuxed the video stream without any audio to m2ts and this doesn't cause any problems when playing it with whatever of the above mentioned versions of MPC HC using internal DXVA decoder. Playing the original DTS track itself with MPC HC, this doesn't cause any problems either. So there must be a problem with playing video and audio together. I would conclude there is either a problem with the demuxing of the m2ts container when it is played back or there is an issue with the graphics card streaming audio and video together via HDMI. What is your opinion?

What if you use your sound card + speakers NO HDMI ?
And you use internal splitter or haali ?

clsid
19th February 2009, 19:39
No crash here using standalone_filters-svn997_x64 (http://www.xvidvideo.ru/content/view/630/2/)from Alexins and MPC-HC SVN 1000 64-bit also from Alexins :confused:
OR I misunderstood you ?
Alexins build indeed does not crash. Maybe because he is using a different version of the baseclasses or Windows SDK. Still, there must be some kind of bug in revision 988, because when I build 987 it does not crash.

I am going to re-install VS2008 now.

moviefan
19th February 2009, 19:42
What if you use your sound card + speakers NO HDMI ?
And you use internal splitter or haali ?

Okay, I'll try that. I cannot easily connect my receiver with the sound card, but that should not matter, should it? As long as I set the audio output to the sound card, even if there is no audible output.

I use the internal splitter, not haali.

I'll report back in a couple of minutes.

Mercury_22
19th February 2009, 19:46
Alexins build indeed does not crash. Maybe because he is using a different version of the baseclasses or Windows SDK. Still, there must be some kind of bug in revision 988, because when I build 987 it does not crash.

I am going to re-install VS2008 now.

Maybe this explains those complains about your 64-bit builds of FFDShow I've seen on FFD's thread ?

Mercury_22
19th February 2009, 19:51
Okay, I'll try that. I cannot easily connect my receiver with the sound card, but that should not matter, should it? As long as I set the audio output to the sound card, even if there is no audible output.

I use the internal splitter, not haali.

I'll report back in a couple of minutes. Just connect some Headphones to the soundcard instead of speakers

EDIT : DO NOT CONNECT THE RECEIVER ! JUST some Headphones or speakers to the soundcard !
EDIT 2 Also do you have directx_nov2008_redist on your system ?

moviefan
19th February 2009, 19:54
It seems even worse, I have almost all the time a CPU usage of above 50% with DXVA. The video stutters all the time, totally unwatchable.

Edit: Weid, now CPU usage is around 10% using the sound card (no HDMI). But then again it goes up to like 60% or so, video stutters. I just installed DirectX9.25.1476 (probably the latest one) as I thought it wouldn't hurt an maybe help, but it doesn't...

Oh, your second edit refers to installing the latest DirectX9, which I just did... ;) Doesn't help.

Edit: It seems to be a problem with all audio streams, not particularly AC3 or at least there is a problem whatever the audio compression is. I also tried to mux the video and audio to mkv and the problem of stuttering video and too high CPU usage considering DXVA is used appears again, even when I use my sound card for sound output, not the graphics card.

mark0077
19th February 2009, 21:01
Reporting back on two previous bugs I mentioned. Testing in version 1000 one is fixed, one still remains

BUG: True-HD and vc1 within a .ts file. Listening to the True-HD track leaves the front right channel mute, not sure why. (All channels work using ffdshow true-hd decoder)
FIXED BUG: Switching from True-HD -> Dolby Digital 5.1 makes subtitles enabled (THANKS GUYS)

Could someone take a look at true hd within transport stream (.ts) files?

Mercury_22
19th February 2009, 21:11
It seems even worse, I have almost all the time a CPU usage of above 50% with DXVA. The video stutters all the time, totally unwatchable.

Edit: Weid, now CPU usage is around 10% using the sound card (no HDMI). But then again it goes up to like 60% or so, video stutters. I just installed DirectX9.25.1476 (probably the latest one) as I thought it wouldn't hurt an maybe help, but it doesn't...

Oh, your second edit refers to installing the latest DirectX9, which I just did... ;) Doesn't help.

Edit: It seems to be a problem with all audio streams, not particularly AC3 or at least there is a problem whatever the audio compression is. I also tried to mux the video and audio to mkv and the problem of stuttering video and too high CPU usage considering DXVA is used appears again, even when I use my sound card for sound output, not the graphics card.

What OS do you use ? and just one last thing copy the m2ts file from Disc to your HDD and play it from there

moviefan
19th February 2009, 21:45
What OS do you use ? and just one last thing copy the m2ts file from Disc to your HDD and play it from there

I use Windows XP Professional SP3. Copying the m2ts to my HDD doesn't change anything, problems remain. Do you have any idea what could be wrong here? Don't you notice similar problems? I see you have a similar hardware configuration, especially looking at the graphics card and the CPU (similar to my E5200 somehow) and 4 GB RAM (I have DDR-800).

Mercury_22
19th February 2009, 22:05
I use Windows XP Professional SP3. Copying the m2ts to my HDD doesn't change anything, problems remain. Do you have any idea what could be wrong here? Don't you notice similar problems? I see you have a similar hardware configuration, especially looking at the graphics card and the CPU (similar to my E5200 somehow) and 4 GB RAM (I have DDR-800).

I don't have any problems playing m2ts using MPC-HC SVN 1000 & FFDShow except the DTS & VC-1i bugs So the only remaining things I can think of is that you don't use EVR CUSTOM and .NET 3.5 SP1 (you also need latest vcredist (http://code.msdn.microsoft.com/KB961894/Release/ProjectReleases.aspx?ReleaseId=2067) 2005)
Do you ?

EDIT: Also reset MPC-HC's settings especially if you used Beliyaal versions too and if all this are not solving your problem update ALL your drivers

clsid
19th February 2009, 22:32
Maybe this explains those complains about your 64-bit builds of FFDShow I've seen on FFD's thread ?Which ones? I haven't seen any.

Problem remains after a re-install of VS2008, DirectX SDK August2007, and Windows SDK 6.0.

Mercury_22
19th February 2009, 22:43
Which ones? I haven't seen any.

Problem remains after a re-install of VS2008, DirectX SDK August2007, and Windows SDK 6.0.

This here I've been testing the now merged ffmpeg-mt and all I can say is that it works way better than when it was a different branch. No crashes whatsoever. The garbled frames issue when seeking is vastly reduced, I've only found it in some samples. There are no rainbows but instead there is a bit of blockiness and other frames rests:

http://thumbnails7.imagebam.com/2705/11619e27046860.gif (http://www.imagebam.com/image/11619e27046860)

As you can see the garbage is part of a previous frame. Found this in Blu-ray's with 4 ref frames and with MBAFF streams. Also it seems to be random, I can't reproduce the same blockiness when seeking to a concrete frame twice. Everything else is perfect in ffmpeg-mt as far as I've tested.

On a side note, I've been playing with clsid's and xvidvideo.ru's x64 builds and I found something interesting. With clsid's builds the Resize filter is slow as hell compared to the 32-bit version, while in xvidvideo.ru's builds isn't. In fact it's faster than 32-bit. But in clsid's libavcodec MP3 decoder works and with mp3lib the sound is garbled, in xvidvideo's libav MP3 and mp3lib both don't work.

EDIT : And on a side note is the latest SVN 2699 FFD 64-bit compiling ? cause alexins has compiled just the 32-bit ?

I really don't understand why you all devs from FFD and MPC-hc don't agree / share and POST the exact settings and version and .... you use to compile MPC-HC and FFDSHOW :confused:
Cause I've seen many asking in both threads about details of what to use and how ...

zn
19th February 2009, 22:49
RE: GMA X4500 MHD

http://software.intel.com/en-us/forums/developing-software-for-visual-computing/topic/60703/page/2/

The GUIDs are already available by a DXVA query. It's more complicated than just that. It's okay, it will all be obvious Real Soon Now.

Hi All.. Yeah, its close. Casimir666 - can you contact me (eric.sardella@intel.com). I need some help getting it to work with MPC. I tried to email you, but got no response. When I get MPC working, then I'll post the whitepaper. I just need to make sure its working first. It shouldnt be very much heavy lifting.

any progress on this?

clsid
19th February 2009, 22:50
Those issues have nothing to do with Visual Studio. MinGW64 is used for compiling libavcodec and libmplayer. MinGW64 is still a bit buggy. Different versions give different bugs in ffdshow. I am currently using MinGW64 GCC 4.3.3 build by Komisar.

Casimir666
19th February 2009, 23:50
RE: GMA X4500 MHD

http://software.intel.com/en-us/forums/developing-software-for-visual-computing/topic/60703/page/2/


any progress on this?

Working on it with Eric.

her34
20th February 2009, 01:17
"open dvd" bug

if the computer has 2 dvd drives and only the second drive has a dvd in it, then the "open dvd" command won't find it. in previous versions the dvd would open. can this be fixed?

THX-UltraII
20th February 2009, 13:49
Strugling with lipsync problems for months now. Yesterday was a breakthrough! I finally found out something which you guys maybe can help with:

When I disable the d3d (remove tearing) option I get NO LIPSYNC problems. When I enable it I get lipsync troubles from the very beginning of a movie. Lock-back-buffer doesn t help.

So, probably you think: Why not keep d3d disabled? Because I can t. I HAVE to use this feature in to get 100% tearing-free playback. Haali is also no option: in Haali the tearing is less than with VMR9 but still present.

So the conclusion is that with VMR9 renderless d3d something goes wrong.

Mercury_22
20th February 2009, 13:51
Strugling with lipsync problems for months now. Yesterday was a breakthrough! I finally found out something which you guys maybe can help with:

When I disable the d3d (remove tearing) option I get NO LIPSYNC problems. When I enable it I get lipsync troubles from the very beginning of a movie. Lock-back-buffer doesn t help.

So, probably you think: Why not keep d3d disabled? Because I can t. I HAVE to use this feature in to get 100% tearing-free playback. Haali is also no option: in Haali the tearing is less than with VMR9 but still present.

So the conclusion is that with VMR9 renderless d3d something goes wrong.

Why don't use EVR custom ?

@XXL Please post requirements like "Attention! To work correctly, the program needed to install DIRECTX End-User Runtime version 9.25.1476 (05.11.2008) . " in the first post

tetsuo55
20th February 2009, 14:58
I decided against splitting the thread. The subject is too entangled.

I made a new thread for Beliyaal's build

http://forum.doom9.org/showthread.php?p=1252376#post1252376

Please move all discussion there until the changes are commited to the trunk

JohnLai
20th February 2009, 15:14
Maybe offtopic a bit. Based on the info on the internet and this forum, I get confused on the resizer. Which setting provided the sharpest image quaility at their respective renderer? Correct me if the information that I intrepreted is wrong......

VMR9
Bicubic A=-1.00 is the sharpest
Bicubic A=-0.60 is the less sharp
All of VMR9 resizing is using Single pass.

Haali Renderer
I do know that Haali is using Double pass for bicubic resize.
Sharpness = -0.00 Oversharpen
Sharpness = -0.60 Perfect Bicubic resizing and sharpening
Sharpness = -0.61 (default value, anyone know why the default is -0.61?)
Sharpness = -1.00 overblurring

THX-UltraII
20th February 2009, 15:34
Why don't use EVR custom ?

I did read somewhere that this is possible with XP SP3 right? You know how to?

Mangix
20th February 2009, 16:06
Maybe offtopic a bit. Based on the info on the internet and this forum, I get confused on the resizer. Which setting provided the sharpest image quaility at their respective renderer? Correct me if the information that I intrepreted is wrong......

VMR9
Bicubic A=-1.00 is the sharpest
Bicubic A=-0.60 is the less sharp
All of VMR9 resizing is using Single pass.

Haali Renderer
I do know that Haali is using Double pass for bicubic resize.
Sharpness = -0.00 Oversharpen
Sharpness = -0.60 Perfect Bicubic resizing and sharpening
Sharpness = -0.61 (default value, anyone know why the default is -0.61?)
Sharpness = -1.00 overblurring

Bicubic A is the same thing as the sharpness slider in Haali. -0.00 = weak or no sharpening and -1 = the most sharp. But using Haali, you actually have an adjustable slider.

daMaster
20th February 2009, 16:12
I can confirm your memory bug with internal DXVA AVC !

Yes the memory leak happens with internal DXVA AVC/VC-1 and with the MPC Video Decoder stand-alone filter. And I tested all publicly released versions back to v1.1.0.0 and even SVN 997. The memory leak is in all of those releases :(

I think more people need to test this use case please:
1. Keep the MPC-HC processing running and don't close it.
2. Open a 1080p H.264/VC1 video, make sure you're in DXVA mode. Let the video play for a second or two.
3. Now either stop the video or let it keep playing and open another 1080p H.264/VC1 video.
4. Use Task Manager or ProcessExplorer to monitor the memory usage of the MPC-HC process while doing this and lo and behold, look what happens! Eventually MPC-HC crashes or becomes unusable.
5. Repeat steps 2 and 3 over and over (about 16-20 1080p videos does the trick).

Mercury_22
20th February 2009, 16:41
I did read somewhere that this is possible with XP SP3 right? You know how to?
A.F.I.K. for Xp you need Microsoft .NET Framework 2 or better 3.5 SP1 for EVR and

update for the .NET Framework 3.5 Service Pack 1 (http://support.microsoft.com/kb/959209)

THX-UltraII
20th February 2009, 16:51
A.F.I.K. for Xp you need Microsoft .NET Framework 2 or better 3.5 SP1 for EVR and

update for the .NET Framework 3.5 Service Pack 1 (http://support.microsoft.com/kb/959209)

thxz, I ll give it a shot tonight. Just install these and after this I am able to select EVR?

THX-UltraII
20th February 2009, 16:52
btw, catalyst 9.2 is coming out today guys. Good news I say!

Mercury_22
20th February 2009, 17:00
thxz, I ll give it a shot tonight. Just install these and after this I am able to select EVR?
If my memory still serves me well YES :)

73ChargerFan
20th February 2009, 17:28
DXVA won't work with EVR on XP.

clsid
20th February 2009, 18:26
Good news. I solved my build problem with the MPEG splitter. I think the cause was an outdated build of the dsutil lib.

To avoid such accidental issues in the future, I think that the dsutil (and baseclasses) project should be added to the Filters solution file. They are currently the only prerequisites that are missing from the solution. That way always up-to-date library builds will be used.

Brazil2
20th February 2009, 19:39
thxz, I ll give it a shot tonight. Just install these and after this I am able to select EVR?
You don't even need to install all of this crap, in fact all you need is this:
http://www.badongo.com/file/13209861

mikegun
20th February 2009, 19:55
DXVA won't work with EVR on XP.

unless you have an ati 2600 pro agp card !
no subtitles working though

pdanpdan
20th February 2009, 19:59
unless you have an ati 2600 pro agp card !
no subtitles working though

Can you please post a screenshot from DXVAChecker?

mikegun
20th February 2009, 20:09
Can you please post a screenshot from DXVAChecker?

no I can't. setting the output to evr custom the decoder shows that dxva is used. maybe evr sustom is not used ?

clsid
20th February 2009, 20:34
MPC only uses libpng for exporting screenshots and for displaying its own logo. It does not use it to read user-made png files. Nevertheless, it shall be updated asap.

cca
20th February 2009, 21:34
Anyone tried ATI Catalyst 9.2 yet? At least the version for Vista 64 seems to output everything (yes even HD!) at TV levels when used with EVR Custom presenter. The strange thing is that it works fine with normal EVR, or ever VMR9 Renderless.

Mercury_22
20th February 2009, 22:01
Anyone tried ATI Catalyst 9.2 yet? At least the version for Vista 64 seems to output everything (yes even HD!) at TV levels when used with EVR Custom presenter. The strange thing is that it works fine with normal EVR, or ever VMR9 Renderless.

Yes I can confirm that :confused: :helpful: Can someone take a look to be sure it's the drivers and not something with the EVR custom ?

CiTay
20th February 2009, 22:07
Another confirmation, Catalyst 9.2 with EVR custom. "UseBT601CSC" doesn't work anymore.

Kado
20th February 2009, 22:12
@daMaster
The leak happens just by using mpc hc h.264 dxva, there's no need to be full hd videos.

@clsid
I use a custom logo (http://pwp.netcabo.pt/kado/mpc-hc.png) encoded to png. Also if you open a png with mpc libpng is not used?

cca
20th February 2009, 22:15
Regarding the ATI Catalyst 9.2 issue, I guess it's time activate the 16-235 -> 0-255 [SD][HD] shader, it's the easier workaround I guess.

CiTay
20th February 2009, 22:41
Regarding the ATI Catalyst 9.2 issue, I guess it's time activate the 16-235 -> 0-255 [SD][HD] shader, it's the easier workaround I guess.

No, i rather have the driver use the right colorspace conversion than fixing it at a later stage. I mean, it could be that the darkest and brightest steps are just left out instead of it being compressed to TV levels, so then you'd lose quality by just expanding it later. I don't know really. But i feel that the driver fix is the better solution.

cca
20th February 2009, 22:51
No, i rather have the driver use the right colorspace conversion than fixing it at a later stage. I mean, it could be that the darkest and brightest steps are just left out instead of it being compressed to TV levels, so then you'd lose quality by just expanding it later. I don't know really. But i feel that the driver fix is the better solution.

Good luck convincing ATI then. I would just like to say that this driver behavior is similar to the Nvidia drivers before they added the options to adjust dynamic range.

Also to emphasize, it ONLY happens with EVR Custom, ALL the other renderers work as with the previous driver versions, including normal EVR.

CiTay
20th February 2009, 23:00
Good luck convincing ATI then. I would just like to say that this driver behavior is similar to the Nvidia drivers before they added the options to adjust dynamic range.

It just doesn't make sense that they would deliberately mess with that for 9.2. I'm sure it's fixable somehow, just like those crashes and black screen problems with Catalyst 8.11 and EVR custom. A new MPC HC came out and everything worked fine again.

Mercury_22
20th February 2009, 23:05
Good luck convincing ATI then. I would just like to say that this driver behavior is similar to the Nvidia drivers before they added the options to adjust dynamic range.

Also to emphasize, it ONLY happens with EVR Custom, ALL the other renderers work as with the previous driver versions, including normal EVR.

Exactly ! since it's happening only with MPC-HC and only with EVR custom maybe it's NOT (just) the driver
Can any of the devs take a look at this PLEASE :helpful:

clsid
20th February 2009, 23:10
Yes, this levels issue and also the memory leak should be given top priority.

Brazil2
20th February 2009, 23:17
Please, could anyone tell me if the audio Output Sample Format options of MPC-HC are similar to the Ffdshow ones (as discussed in this thread (http://forum.doom9.org/showthread.php?p=1251159#post1251159)) ?

Px
20th February 2009, 23:45
Can you please post a screenshot from DXVAChecker?
May I guess - you don't read all pages of this topic? :rolleyes:

leeperry
21st February 2009, 00:54
I was wondering, what's the mp3 decoder in Gabest's MPEG Audio decoder please?

http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/src/filters/transform/mpadecfilter/?pathrev=969

libmad? so using libmad in ffdshow will be using the same exact decoder then?

:thanks:

Chumbo
21st February 2009, 05:35
I'm using a Sapphire (ATI) HD 4830 PCIe with CATALYST 9.1 under Win XP Pro with Sp3.

With revision 1000 VMR9 renderless - MPC video decoder does not work with VMR9 renderless at all so can't use for vc-1 or avc. No longer works with older releases as well so not sure why VMR9 is hosed altogether. Mpeg2 works fine with Cyberlink's decoder with or without DXVA.

With revision 1000 EVR Custom - MPC video decoder works fine with EVR Custom with D3D on to remove tearing. For mpeg2, I use Cyberlink's decoder so I have to turn off DXVA but works fine.

With beliyaal patch 13 VMR9 renderless - Same results with revision 1000

With beliyaal patch 13 EVR Custom - MPC video decoder works but is not smooth with EVR Custom, i.e., a bit jerky, at least enough to be distracting. Turning on D3D gets rid of tearing, but have to keep the sync options unchecked otherwise tearing reappears. Mpeg2 is same as revision 1000 with EVR Custom. Can't use the D3D GUI support because, when on, tearing is introduced again. I tried all sync options and no go. Also, when in D3D, Ctrl-C doesn't always restore the player so I have to use Alt-X to exit to restore my screen.

pdanpdan
21st February 2009, 10:44
May I guess - you don't read all pages of this topic? :rolleyes:

Oh, but I do, and I also know that Ati+EVR doesn't work on XP for H264, olny for VC1

Leak
21st February 2009, 12:30
I'm using a Sapphire (ATI) HD 4830 PCIe with CATALYST 9.1 under Win XP Pro with Sp3.
Catalyst 9.2 came out yesterday - I haven't tried it yet, but I'd assume that DXVA should be working again with it...

np: Nine Inch Nails - Ghosts I (Ghosts I-IV)

cca
21st February 2009, 12:40
Catalyst 9.2 came out yesterday - I haven't tried it yet, but I'd assume that DXVA should be working again with it...

np: Nine Inch Nails - Ghosts I (Ghosts I-IV)

Actually I read at the Rage3D forums that it still doesn't in Windows XP. Can't confirm myself as I use Vista 64.

Casimir666
21st February 2009, 14:18
Yes, this levels issue and also the memory leak should be given top priority.

Ok found the leak.

Mercury_22
21st February 2009, 14:41
Ok found the leak.

:thanks:
Revision 1002 - Directory Listing
Modified Sat Feb 21 13:16:58 2009 UTC (23 minutes, 4 seconds ago) by casimir666
Fixed : memory leak in DXVA decoder (when opening new file)
:)
How 'bout the levels ? :helpful:

ash925
21st February 2009, 15:07
mpc-hc isn't working for me.cat 9.2 installed, the last time mpc-hc dxva worked was when I had cat 8.12 installed.My gfx card is hd4850.Any help is appreciated.

cca
21st February 2009, 15:08
The Leves issue is around for a long time now, it became apparent when SP1 for Vista was released. I suspect some flag or something is not passed properly to the renderer when the Custom Presenter is used, but only the devs can help.

Until then I 'm falling back to Catalyst 9.1 as a temporary workaround, but this really need to be addressed once and for all.

loretta80
21st February 2009, 16:08
9.2 on WinXP32 Sp3 here.
System HD2600 PciE, MPC-HC 997, VMR9 renderless
Tested (23,975fps)
h264 1080p L4.1 5 Ref with Subs DXVA OK
h264 720p L4.1 3 Ref w/o Subs DXVA OK
h264 1080p L5.1 8 Ref w/o Subs DXVA failed (can nvidia play this correct?)

standalone filter on Zoomplayer 6 works too

BTW i use every time when i install a new driver the HD driver tweaks:
http://home.comcast.net/~exdeus/ati-hd2x00/

same results on MPC-HC 1000

CiTay
21st February 2009, 16:12
Until then I 'm falling back to Catalyst 9.1 as a temporary workaround, but this really need to be addressed once and for all.

I'm back to 9.1 as well. Vista x64, Radeon 4670.

Chumbo
21st February 2009, 16:22
Catalyst 9.2 came out yesterday - I haven't tried it yet, but I'd assume that DXVA should be working again with it...

np: Nine Inch Nails - Ghosts I (Ghosts I-IV)
9.2 is severly mucked up. Takes over 5 minutes to initialize on my system and the same when I change resolutions. I had to go back to 9.1.

edterbak
21st February 2009, 21:02
I have the HD4350 and for me catalyst 9.1 and 9.2 dont have working DXVA. Im still on cat 8.12


PHOTO OF CAT 9.2 + DXVA CHECKER (http://forum.team-mediaportal.com/attachments/offtopic-57/35679d1235203367-ati-catalyst-9-2-out-now-9.2-dxva.png)

Also, way more important, I confirm the Memory Leakage problem.

cengizhan
21st February 2009, 23:27
:o Off topic : I still have a hope that someday filename pattern used for saving screenshot will change from snapshot... to file_name_date or a custom format so that i wont have to use kmplayer :) :thanks:

her34
22nd February 2009, 00:09
:o Off topic : I still have a hope that someday filename pattern used for saving screenshot will change from snapshot... to file_name_date or a custom format so that i wont have to use kmplayer :) :thanks:

+1 :thanks:

Snowknight26
22nd February 2009, 03:20
Going fullscreen while a video is playing, hitting Ctrl+C, then pressing escape to get out of fullscreen doesn't work.

THX-UltraII
22nd February 2009, 10:39
went to EVR last night. This solved all my tearing problems I had! No more d3d fullscreen needed.

Some questions because I m new with EVR:
- Where is the EVR buffers for and do I leave it on 5 (default) for best results?
- Where is the option lock back-buffer for and is it best to leave it OFF (default)?

A general MPC-HC question:
Why is none of my media starting in Fullscreen? I always have to double-click in MPC-HC to make it go fullscreen. I have ENABLED launch files in fullscreen but this doesn t help.

Bunnikside
22nd February 2009, 11:15
Thanks for the great program!

I was wondering if there is a Dutch translation on the way?

If not I would like to do some translationwork.

Steveo08
22nd February 2009, 11:28
i have a question about the quality from the h.264 decoder.

a few days ago i tested cyberlink's latest power dvd 8 decoder with mkv movies in mpc-hc. and i thought it was the best i ever have seen on my plasma.

but i want results. so i install coreavc 1.90, latest ffdshow (ffmpeg-mt), latest mpc-hc with dxva and the decoder from power dvd 8.

i made pictures as *.png in mpc-hc from all four decoders from the same mkv movie scene.

when i had made the pics i compared them with each other.

after comparing the pics, i can't see any difference between the quality from the pics. they look all the same.

video renderer was evr custom with bicubic A=-1.0 (PS2.0) and pixel shader 16-235 -> 0-255 [SD][HD].

so can anybody confirm my results?

Casimir666
22nd February 2009, 13:32
I have made an experimental build for the Intel G45 chipset : http://www.zshare.net/download/5601782898c28b1f/

Could somebody with a G45 can try to play an H264 file and post some screenshots?

tetsuo55
22nd February 2009, 13:37
:o Off topic : I still have a hope that someday filename pattern used for saving screenshot will change from snapshot... to file_name_date or a custom format so that i wont have to use kmplayer :) :thanks:

I support this idea, please add it to the feature request tracker.

tetsuo55
22nd February 2009, 13:38
Going fullscreen while a video is playing, hitting Ctrl+C, then pressing escape to get out of fullscreen doesn't work.

Please see the first post for the correct way to report bugs

tetsuo55
22nd February 2009, 13:40
Thanks for the great program!

I was wondering if there is a Dutch translation on the way?

If not I would like to do some translationwork.

There is no dutch translation yet, so you are welcome to do so.

ikarad
22nd February 2009, 14:55
Do you have this problem with Beliyaal's build?

where is this option "audio switcher"? because I don't find in MPC-HC.

EDIT: I found this option but at home it is always turn off because I have never seen an interest and I don't use haali. I use only mpc-HC + ffdshow

i give you an example which contains sample of dvd with separated subtitle.
http://www.zshare.net/info.html?56020870-d4d04aa2176e63620e5482be7d253046

subtitles are not synchronized with video but it's not a problem to see the problem with load subtitle and open dvd functions.

khagaroth
22nd February 2009, 15:25
All the people with DXVA problems, did you properly uninstall 9.1 before installing 9.2 (including rebooting into safe mode and running driversweeper (http://www.guru3d.com/category/driversweeper/) or some other simmilar tool)? DXVA doesn't work for me with 9.1 either, but it works fine with 9.2.

THX-UltraII
22nd February 2009, 16:44
went to EVR last night. This solved all my tearing problems I had! No more d3d fullscreen needed.

Some questions because I m new with EVR:
- Where is the EVR buffers for and do I leave it on 5 (default) for best results?
- Where is the option lock back-buffer for and is it best to leave it OFF (default)?

A general MPC-HC question:
Why is none of my media starting in Fullscreen? I always have to double-click in MPC-HC to make it go fullscreen. I have ENABLED launch files in fullscreen but this doesn t help.

chros
22nd February 2009, 17:30
@XXL Please post requirements like "Attention! To work correctly, the program needed to install DIRECTX End-User Runtime version 9.25.1476 (05.11.2008) . " in the first post
What part of MPC-HC require this?
(I'v got WinXP x32 SP3, which includes v9.0c)

clsid
22nd February 2009, 17:44
It is required for the shaders.

Updates for DirectX are released every two months. You don't need to download the whole runtime. You can also use the DirectX web-installer to only download the missing updates.

Mercury_22
22nd February 2009, 17:45
What part of MPC-HC require this?
(I'v got WinXP x32 SP3, which includes v9.0c)

More here http://www.xvidvideo.ru/content/view/638/2/

EDIT @clsid Since you've fixed your VS2008 :) can you please compile lates MPC-HC SVN ? cause we all like to test the memory leak FIX PLEASE ! :helpful:

clsid
22nd February 2009, 18:29
I leave compiling and uploading MPC-HC builds to others. I don't have time for that.

Klaus_1250
22nd February 2009, 18:45
after comparing the pics, i can't see any difference between the quality from the pics. they look all the same.

video renderer was evr custom with bicubic A=-1.0 (PS2.0) and pixel shader 16-235 -> 0-255 [SD][HD].

so can anybody confirm my results?
No. You can try uploading the pics, so someone could comment, but your methodology is still flawed.

daMaster
22nd February 2009, 18:49
Ok found the leak.

Awesome! Thanks! I look forward to testing rev 1001.

The1n
22nd February 2009, 18:50
I have made an experimental build for the Intel G45 chipset : http://www.zshare.net/download/5601782898c28b1f/

Could somebody with a G45 can try to play an H264 file and post some screenshots?

Been trying on an gm45 chipset laptop which runs vista64 , do you have an exp 64 bit build ?

Im just getting not using dxva on my rig. can this be because its 64 bit os ? , i can tell you that this laptop runs mpchc with cyberlink nicely with dxva.

clsid
22nd February 2009, 18:53
The 32-bits version also works on Vista64. No need for a 64-bit version.

The1n
22nd February 2009, 19:04
thx clsid

Also tried the build on an intel dg45id g45 motherboard , gives me same as the laptop not using dxva, if im disabling internal h264 ffmpeg then im getting no filter found error . This runs vista32.

I have a third motherboard this is also using g45 express, Asus P5Q-EM this does also return not using dxva. Runs vista64.

All the clips im trying to feed works very nice with cyberlink filter and dxva , lot of them are bluray remux movies. So should def. be compliant.

alexins
22nd February 2009, 19:15
Media Player Classic HomeCinema (x86/x64), svn 1004 (http://www.xvidvideo.ru/content/view/641/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

CHANGED: LibPNG updated to release 1.2.35 (fix security bug); Fixed : memory leak in DXVA decoder (when opening new file); NEW : Belarusian translation

daMaster
22nd February 2009, 19:34
Ok found the leak.

Just tested rev 1004 and the memory leak is fixed! Awesome! :thanks:

Bunnikside
22nd February 2009, 20:07
There is no dutch translation yet, so you are welcome to do so.


Please show where I can do the translation

chros
22nd February 2009, 20:35
@clsid: thanks for the info ...

I remuxed a 1080i bluray into mkv using eac3to: 29.97 fps , interlaced (opera).
when using DXVA (VMR9 renderless) it reports double framerate, and the video is blocky ... (no matter waht splitter is used: Haali vs internal mkv splitter)
Plus: with this double framerate (60 fps) I get dropped frames on my secondary "monitor" which is an LCD TV, 60 Hz ...

If sample is helpful I'll upload it, if someone tells me where ...

Thanks

Casimir666
22nd February 2009, 21:10
Been trying on an gm45 chipset laptop which runs vista64 , do you have an exp 64 bit build ?

Im just getting not using dxva on my rig. can this be because its 64 bit os ? , i can tell you that this laptop runs mpchc with cyberlink nicely with dxva.

You don't need the x64 build to have DXVA, only to use Evr or Evr custom and disable ffdshow/vsfilter.

THX-UltraII
22nd February 2009, 21:24
went to EVR last night. This solved all my tearing problems I had! No more d3d fullscreen needed.

Some questions because I m new with EVR:
- Where is the EVR buffers for and do I leave it on 5 (default) for best results?
- Where is the option lock back-buffer for and is it best to leave it OFF (default)?

A general MPC-HC question:
Why is none of my media starting in Fullscreen? I always have to double-click in MPC-HC to make it go fullscreen. I have ENABLED launch files in fullscreen but this doesn t help.

The1n
22nd February 2009, 21:28
@Casimir666

I have no ffdshow or vsfilter innstalled, and i use evr renderer am i supposed to get dxva mode to anything else than not using dxva if this was working. something like with nvidia "using fgt" or similar.

This is the output from mpc from an h264 movie:
Video: DXVA 1920x1088 (16:9) 23.98fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {1B81BE68-A0C7-11D3-B984-00C04F2E73C5}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}

no accel for me with this version.

Steveo08
22nd February 2009, 21:39
i have a question about the quality from the h.264 decoder.

a few days ago i tested cyberlink's latest power dvd 8 decoder with mkv movies in mpc-hc. and i thought it was the best i ever have seen on my plasma.

but i want results. so i install coreavc 1.90, latest ffdshow (ffmpeg-mt), latest mpc-hc with dxva and the decoder from power dvd 8.

i made pictures as *.png in mpc-hc from all four decoders from the same mkv movie scene.

when i had made the pics i compared them with each other.

after comparing the pics, i can't see any difference between the quality from the pics. they look all the same.

video renderer was evr custom with bicubic A=-1.0 (PS2.0) and pixel shader 16-235 -> 0-255 [SD][HD].

so can anybody confirm my results?




ok here are my pics to compare:

http://img530.imageshack.us/my.php?image=coreavc.png
http://img100.imageshack.us/my.php?image=dxva.png
http://img407.imageshack.us/my.php?image=ffdshow.png
http://img16.imageshack.us/my.php?image=pwddvd8.png

yesgrey
22nd February 2009, 21:46
ok here are my pics to compare
You should use always the same frame. Comparisons with different frames are useless, because you don't know if the differences came from the decoder or from the different frame.;)

Casimir666
22nd February 2009, 21:51
@Casimir666

I have no ffdshow or vsfilter innstalled, and i use evr renderer am i supposed to get dxva mode to anything else than not using dxva if this was working. something like with nvidia "using fgt" or similar.

This is the output from mpc from an h264 movie:
Video: DXVA 1920x1088 (16:9) 23.98fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {1B81BE68-A0C7-11D3-B984-00C04F2E73C5}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}

no accel for me with this version.

Ok i forget one things, could you try with this one :
http://www.zshare.net/download/560359490231a7b5/

You should see "H.264 bitstream decoder, ClearVideo(tm)" on DXVA status.

Steveo08
22nd February 2009, 22:00
You should use always the same frame. Comparisons with different frames are useless, because you don't know if the differences came from the decoder or from the different frame.;)

i know what you mean ;-)

but believe me, i jumped to the same time each decoder, but sometimes it was a little bit more, with the same time! i don't know why.

cengizhan
22nd February 2009, 22:10
I support this idea, please add it to the feature request tracker.
I have added it to the tracker. :)

clsid
22nd February 2009, 22:12
ok here are my pics to compare:

http://img530.imageshack.us/my.php?image=coreavc.png
http://img100.imageshack.us/my.php?image=dxva.png
http://img407.imageshack.us/my.php?image=ffdshow.png
http://img16.imageshack.us/my.php?image=pwddvd8.pngSeems pretty much identical quality too my eyes. Except for the powerdvd one, that looks blurry.

chros
22nd February 2009, 22:19
Seems pretty much identical quality too my eyes. Except for the powerdvd one, that looks blurry.
I have made this test a week ago with different decoders and renderers (using the capture mode of irfanview)...

Haali's renderer is blurrier than the others (VMR9 renderless, EVR custom), and the other two is identical (ecxept for CoreAVC decoder bug, see http://forum.doom9.org/showthread.php?p=1253266#post1253266 ) ...

Otherwise, the picture quality was the same, no matter what kind of decoder and renderer combination was used ... (including ffdsow RGB-HQ output ...)

PS: and yes, with some decoder and renderer combination I can't get the same frame, no matter what I'm doing ... :)

The1n
22nd February 2009, 22:20
Ok i forget one things, could you try with this one :
http://www.zshare.net/download/560359490231a7b5/

You should see "H.264 bitstream decoder, ClearVideo(tm)" on DXVA status.

Now i can see the H.264 bitstream decoder. Clearvideo
But the movies i tried to feed this version wont startup now only black screen and no audio. Playtime is at 00:00:00 at all video files i play, if i disable h264 dxva the files play nicely again.
So conclusion no audio/video when dxva is enabled in this version.

Steveo08
22nd February 2009, 22:22
Seems pretty much identical quality too my eyes. Except for the powerdvd one, that looks blurry.



in my opinion I see also in such a way. the best fix point at the screens is the suit from the man in the front, there is a more noticeably difference between power dvd and the other decoders.

Casimir666
22nd February 2009, 22:39
Now i can see the H.264 bitstream decoder. Clearvideo
But the movies i tried to feed this version wont startup now only black screen and no audio. Playtime is at 00:00:00 at all video files i play, if i disable h264 dxva the files play nicely again.
So conclusion no audio/video when dxva is enabled in this version.

Ok thanks for you tests.

The1n
22nd February 2009, 22:47
Ok thanks for you tests.

Anytime, hope this will work soon.

yesgrey
22nd February 2009, 23:34
but believe me, i jumped to the same time each decoder, but sometimes it was a little bit more, with the same time! i don't know why.
Have you tryed using an avisynth script?
Now I only do that when doing any comparisons, that way I also can avoid any interference from the video renderer... If you don't know how I can send you a script for you to see...;)

Steveo08
22nd February 2009, 23:51
Have you tryed using an avisynth script?
Now I only do that when doing any comparisons, that way I also can avoid any interference from the video renderer... If you don't know how I can send you a script for you to see...;)


no, i haven't used avisynth i just used mpc for taking pictures.

it would be nice from you, if send me your script :-)

nico.belic@gmx.net

Beliyaal
23rd February 2009, 00:27
New version available (link in signature):

* Updated to latest SVN.
* Fixed source and line info for memory leak detection everywhere.
* Fixed circular COM reference memory leak in EVR Custom render relating to COuterEVR.
* Removed dependency on mfplat.dll.
* Disable subtile animation by default if number of cores < 3.
* D3D Fullscreen GUI support is now off by default. (On causes same tearing as non-fullscreen)
* VSync option now saved.

I'm aware that stuttering is still a problem, and I'm going to rewrite the code in relation to this.

Please discuss this build in the new thread in the link in the signature.

yesgrey
23rd February 2009, 00:50
it would be nice from you, if send me your script :-)
Here is, is very simple:
DirectShowSource("your_file")
#Trim(250,250)
#Trim(8,8)++Trim(74,74)++Trim(97,97)++Trim(109,109)++Trim(134,134)++Trim(155,155)

ConvertToRGB32(matrix="rec709")

ImageWriter("picture_file_name", 0, 0, "png")

if you use DirectShowSource you have to change the merit of the decoder you want to test so it is the used for the decoding.
The Trim lines are commented. You should use the one you prefer. If you only want to compare one frame, use the first, if you want to compare more, set them in the second trim line and use it.
Then, you just need to play the script in mpc-hc and the pictures will be saved to the location you want.
I hope this helps.;)

gngn
23rd February 2009, 02:26
if you use DirectShowSource you have to change the merit of the decoder you want to test so it is the used for the decoding.

or make a graph file with Graphstudio or graphedith using the different decoders. load the movie in Graphstudio, delete the Output renderer, save the graph, and use the graph in the avisynth file instead of the actual file (you have to set audio as false):

DirectShowSource("graph_file.grf", audio=false)

sneaker_ger
23rd February 2009, 02:53
Does anyone have a binary of vsfilter.dll from the current guliverkli2 SVN? I want to try out the VFR options of TextSub.

/edit: OK, it's on xvidvideo.ru in the MPC (not HC) package...

Sagekilla
23rd February 2009, 04:23
Hi all,

Anyone know how I can get MPC-HC to playback a blu-ray with VC-1 content? I'm trying to get my Blu-ray version of Serenity to playback. Unfortunately it seems like VLC doesn't support VC-1 for some reason (despite what the main site says) and MPC-HC can't render the file. Any chance this is a mistake on my part or is there any way for me to get this working?

Thanks!

hoborg
23rd February 2009, 08:16
Hi.
I cannot download Standalone filters 1004 32bit - link seems to be broken.

THX-UltraII
23rd February 2009, 08:42
went to EVR last night. This solved all my tearing problems I had! No more d3d fullscreen needed.

Some questions because I m new with EVR:
- Where is the EVR buffers for and do I leave it on 5 (default) for best results?
- Where is the option lock back-buffer for and is it best to leave it OFF (default)?

A general MPC-HC question:
Why is none of my media starting in Fullscreen? I always have to double-click in MPC-HC to make it go fullscreen. I have ENABLED launch files in fullscreen but this doesn t help.

whurlston
23rd February 2009, 09:01
Hi.
I cannot download Standalone filters 1004 32bit - link seems to be broken.

Works for me: http://www.xvidvideo.ru/component/option,com_docman/task,doc_download/gid,1251/

(Check "I agree" then hit the "Continue" button.)

Leak
23rd February 2009, 09:38
went to EVR last night.[...]
You know what? Everyone who's even the slightest bit interested in this site already knew that from your 3 OTHER posts with THE EXACT SAME CONTENT.

Cut it out already! :rolleyes:

serj_popov
23rd February 2009, 09:47
Thank you very much authors for the player! But I cannot view popular 3gp video from mobile phones. This video consist of h.263.1 video (sorenson S263 codec) and amr sound - talked me last build of mpchc. By default such formats don't support by mpchc itself. I must install ffdshow or Nero Suite to view such video files. Will be such codecs supported by media player soon?

yesgrey
23rd February 2009, 10:14
or make a graph file with Graphstudio or graphedith using the different decoders. load the movie in Graphstudio, delete the Output renderer, save the graph, and use the graph in the avisynth file instead of the actual file (you have to set audio as false):

DirectShowSource("graph_file.grf", audio=false)
Thanks! That would be better.:)
To be honest, I don't change the merits by hand. I use zoomplayer to select the decoder, put ffdshow in the chain, and then use the script in ffshow's avisynth dialog...;)

Steveo08
23rd February 2009, 11:35
Here is, is very simple:
DirectShowSource("your_file")
#Trim(250,250)
#Trim(8,8)++Trim(74,74)++Trim(97,97)++Trim(109,109)++Trim(134,134)++Trim(155,155)

ConvertToRGB32(matrix="rec709")

ImageWriter("picture_file_name", 0, 0, "png")

if you use DirectShowSource you have to change the merit of the decoder you want to test so it is the used for the decoding.
The Trim lines are commented. You should use the one you prefer. If you only want to compare one frame, use the first, if you want to compare more, set them in the second trim line and use it.
Then, you just need to play the script in mpc-hc and the pictures will be saved to the location you want.
I hope this helps.;)

ok, thank you, i will try it!

muikster
23rd February 2009, 17:05
Hi, can there be a fix for the major issue with Ati cards and DXVA (pixelation, image looping etc)? This only occurs with WinXP and WMR9 renderless. But it is the only way to have subtitles and DXVA in WinXP.

Casshern wrote about this on Nov 2nd:
WinXP + DXVA + VMR9 -> leads to sporadic garbled video, jumping frames and corruption. It it not clear whether the bug is in Microsofts VMR9 (for XP), ATIs Catalyst driver or is an initialisation issue, but its a "known" bug.

http://forum.doom9.org/showthread.php?p=1209070&highlight=looping#post1209070

foxyshadis
23rd February 2009, 19:24
THX-UltraII, thank you for opening another thread on the issue, however, struck for violating rule 12 in this thread.

tetsuo55
23rd February 2009, 19:57
Hi, can there be a fix for the major issue with Ati cards and DXVA (pixelation, image looping etc)? This only occurs with WinXP and WMR9 renderless. But it is the only way to have subtitles and DXVA in WinXP.

Casshern wrote about this on Nov 2nd:


http://forum.doom9.org/showthread.php?p=1209070&highlight=looping#post1209070

This problem should be related to heavy jitter.

Beliyaal's build fixes the problem partly, he is working further on the jitter issues in the hopes of getting a straight line for everyone.

i suggest trying his latest build and see how that works out
You can find it here
http://forum.doom9.org/showthread.php?t=145203

If it does not help, please report the problem in that thread with all the information beliyaal asks for.
(Once the beta testing for his build is completed it will be commited to the trunk)

hrr
23rd February 2009, 21:50
Hi !Catalyst 9.2 came out yesterday - I haven't tried it yet, but I'd assume that DXVA should be working again with it...

np: Nine Inch Nails - Ghosts I (Ghosts I-IV)

Catalyst 9.2 agphotfix with DXVA working here with XP SP3 and ATI HD2400 AGP without problem.

Mercury_22
23rd February 2009, 22:06
Is it hard to add a MPEG2 DXVA filter ? There are a lots of systems that could benefit from this ( HTPCs usually DON'T use powerful CPUs ) and a lots of MPEG2 HDTV & BLU-RAYs out there :confused:

CAN it be done ? :helpful: :thanks:

Klaus_1250
23rd February 2009, 22:10
This problem should be related to heavy jitter.

Beliyaal's build fixes the problem partly, he is working further on the jitter issues in the hopes of getting a straight line for everyone.

For me Beliyaal's version works is with subs than normal MPC-HC.

And with both MPC-HC 1004 and Beliyaals v15 I can get a perfect straight line for h264 HD on a P4 3.2 with Win XP SP3 and HD3850 AGP using VMR9 Renderless.

Only issue I still have are those damn L5.1 mkv's.

Is it hard to add a MPEG2 DXVA filter ? There are a lots of systems that could benefit from this ( HTPCs usually DON'T use powerful CPUs ) and a lots of MPEG2 HDTV & BLU-RAYs out there
AFAIK, ATi no longer has MPEG2 DXVA. They did untill Cat 8.4 or 8.5 or so. But even on a relatively old processor, MPEG2 HD shouldn't be a problem. For Bluray's, I think the whole decryption-encryption-decryption is what kills performance, not so much the MPEG2 HD part.

Mercury_22
23rd February 2009, 22:28
For me Beliyaal's version works is with subs than normal MPC-HC.

And with both MPC-HC 1004 and Beliyaals v15 I can get a perfect straight line for h264 HD on a P4 3.2 with Win XP SP3 and HD3850 AGP using VMR9 Renderless.

Only issue I still have are those damn L5.1 mkv's.


AFAIK, ATi no longer has MPEG2 DXVA. They did untill Cat 8.4 or 8.5 or so. But even on a relatively old processor, MPEG2 HD shouldn't be a problem. For Bluray's, I think the whole decryption-encryption-decryption is what kills performance, not so much the MPEG2 HD part.

ATI still has MPEG2 DXVA ! :) And using a mpeg2 DXVA filter result in ( even with my specs ) a smoother playback of my MPEG2 TV cap and Blu-rays than using MPC-HC's internal filter ! :eek:

And there are (lots of) mobile CPUs that CAN'T handle well 40000Kbps and over MPEG2 ts & m2ts ! Trust me I know this first hand !

Klaus_1250
23rd February 2009, 23:59
Ok, thanx. Curious. I had DXVA for MPEG2 with the older Catalysts, but not anymore (HD3850). Cyberlink still uses hardware acceleration though. But DXVAChecker doesn't list it anymore.

flanger216
24th February 2009, 00:42
Is it hard to add a MPEG2 DXVA filter ? There are a lots of systems that could benefit from this ( HTPCs usually DON'T use powerful CPUs ) and a lots of MPEG2 HDTV & BLU-RAYs out there :confused:

CAN it be done ? :helpful: :thanks:

As of Vista, Microsoft's built-in MPEG2 decoder has full hardware acceleration.

DrNein
24th February 2009, 01:26
DXVA of MPEG-2 is still active and shown in DXVA Checker (C, D, IDCT) with an HD3650 and Catalyst 8.10, at least.

A free decoder is included with the Avivo package.

ooferomen
24th February 2009, 03:27
As of Vista, Microsoft's built-in MPEG2 decoder has full hardware acceleration.

the one that comes with vista only does mpeg2 IDCT to get full acceleration you need the OEM only TV pack

flanger216
24th February 2009, 03:51
the one that comes with vista only does mpeg2 IDCT to get full acceleration you need the OEM only TV pack

Ah, good call. Just checked, and it's the same with Windows 7. And here I was, thinking I was getting full DXVA like a sucker.

Inspector.Gadget
24th February 2009, 04:29
Hi all,

Anyone know how I can get MPC-HC to playback a blu-ray with VC-1 content? I'm trying to get my Blu-ray version of Serenity to playback. Unfortunately it seems like VLC doesn't support VC-1 for some reason (despite what the main site says) and MPC-HC can't render the file. Any chance this is a mistake on my part or is there any way for me to get this working?

Thanks!

Sorry for the late reply, but try using WMV Powertoy to force the WMV VC-1 DMO Obect to do DXVA and feed it with the internal MPC-HC decoder; Haali's splitter is buggy with 1080i VC-1 content, as on the David Gilmour concert Blu-ray "Remember That Night".

Mercury_22
24th February 2009, 10:36
As of Vista, Microsoft's built-in MPEG2 decoder has full hardware acceleration.

Maybe on some systems cause on mine it's the worst filter in comparison with FFDShow, MPC-HC's internal and Cyberlink ( TerraTec )
How can you be sure it's using "full hardware acceleration" cause (in my case) i think it's NOT ?

DXVA of MPEG-2 is still active and shown in DXVA Checker (C, D, IDCT) with an HD3650 and Catalyst 8.10, at least.

A free decoder is included with the Avivo package.

Yes it's still showing in DXVA Checker ! Catalyst 9.2 here !
Avivo package it's still NOT available for 64-bit (yet ) :mad: and the 32-bit it's NOT working on 64-bit vista in / for a 32-bit chain ! (tested with Avivo Package 9.2 32-bit ) :(


But ALL this are beside the point because I aggree not to re-invent the wheel, but having splitter + decoder + renderer out of the box for most common video format is one of the goal. Don't forget that i rename the project mpc-homecinema, which mean "support for HD media". There is few open source player with M2TS/DXVA support ;) we are talking about an integrate solution here :)

EDIT: @Devs
So can we hope for a MPEG-2 DXVA internal filter ? PLEASE ! :helpful: :)

JohnLai
24th February 2009, 12:25
I have some question regarding the shader BT.601 -> BT.701.

Isn't the BT.701 suppose to known as BT.709?
Does this shader permanantly on for SD and HD or it auto activate depending on video resolution?

Another off topic a bit, if I output the dvd video by using NV12 (dxva or ffdshow) while my lcd monitor is calibrated to SRGB profile, will there be any difference in term of visual quaility?

Since I use ATI card, should I tick the "Use Extended Display Identification Data (EDID)" at Catalyst control center?

clsid
24th February 2009, 13:38
So can we hope for a MPEG-2 DXVA internal filter ? PLEASE !At this moment the answer is NO. So please stop whining about it.

Also the fricking emoticons every time are really annoying :helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful::helpful:

clsid
24th February 2009, 13:41
Isn't the BT.701 suppose to known as BT.709?
Does this shader permanantly on for SD and HD or it auto activate depending on video resolution?

Another off topic a bit, if I output the dvd video by using NV12 (dxva or ffdshow) while my lcd monitor is calibrated to SRGB profile, will there be any difference in term of visual quaility?Yes, it is supposed to be 709. It's a typo that nobody has bothered to fix.

If the card does proper NV12 to RGB conversion, then the quality should be the same.

DrNein
24th February 2009, 13:45
Mercury_22, does CyberLink MPEG-2 not work for 64-bit Vista? It is a very good decoder. DXVA can be toggled from its property page and the CPU usage compared. If it does work then the relative performance should imply whether Microsoft's is working. It would be shame to have to use a software-only decoder even given enough brute force CPU power.

I seem to recall it being said before that there are no plans for a "free" DXVA capable MPEG-2 decoder the likes of ffmpeg as for advanced codecs. I suppose that era of necessity seemed passed since most CPUs were adequate and commercial DXVA decoders were practically free anyway. Of course HD disc formats made DXVA relevant again but still, the comeback of demanding MPEG-2 is primarily transitional. Was Casimir666 really referring to DXVA of MPEG-2... and 64-bit?

Mercury_22
24th February 2009, 14:04
Mercury_22, does CyberLink MPEG-2 not work for 64-bit Vista? It is a very good decoder. DXVA can be toggled from its property page and the CPU usage compared. If it does work then the relative performance should imply whether Microsoft's is working. It would be shame to have to use a software-only decoder even given enough brute force CPU power.

I seem to recall it being said before that there are no plans for a "free" DXVA capable MPEG-2 decoder the likes of ffmpeg as for advanced codecs. I suppose that era of necessity seemed passed since most CPUs were adequate and commercial DXVA decoders were practically free anyway. Of course HD disc formats made DXVA relevant again but still, the comeback of demanding MPEG-2 is primarily transitional. Was Casimir666 really referring to DXVA of MPEG-2... and 64-bit?


CyberLink MPEG-2 it's working for 64-bit Vista in a 32-bit chain (this is what I'm using) and yes there is a relative performance difference between M$ and Cyberlink so ....

P.S.
@ Clsid ?

muikster
24th February 2009, 14:44
Catalyst 9.2 agphotfix with DXVA working here with XP SP3 and ATI HD2400 AGP without problem.

I also installed the hotfix and DXVA problems seem to be gone! Hooray! So the problem was in the drivers..

Initial problem was this:
WinXP + DXVA + VMR9 -> leads to sporadic garbled video, jumping frames and corruption. It it not clear whether the bug is in Microsofts VMR9 (for XP), ATIs Catalyst driver or is an initialisation issue, but its a "known" bug.

JohnLai
24th February 2009, 14:48
Yes, it is supposed to be 709. It's a typo that nobody has bothered to fix.

If the card does proper NV12 to RGB conversion, then the quality should be the same.

Proper NV12 to RGB conversion? I just untick every output colorspaces at ffdshow except NV12. Is that count as proper?

Oh, how about the second question about the BT. shader? Permanantly activated for all SD and HD?

mark0077
24th February 2009, 14:49
JohnLai: On all of my nvidia cards, nv12 gives very bad output quality, it seems its only good on ATI cards so depends on what type of card you have. I use rgb32 hq in ffdshow with everything else disabled.

clsid
24th February 2009, 15:05
Proper NV12 to RGB conversion? I just untick every output colorspaces at ffdshow except NV12. Is that count as proper?

Oh, how about the second question about the BT. shader? Permanantly activated for all SD and HD?
I meant the conversion that is done by your graphics card, not what ffdshow is doing.

The shader applies to all resolutions. You can manually edit the shader code to restrict it to only SD or HD. The required code is already in place, commented out.

JohnLai
24th February 2009, 15:29
I see. Well, let just hope that ATI card does a good nv12 to rgb conversion. Too bad ATI card's nv12 output requires the YV12 Chroma Upsampling shader.

I still dont understand the meaning of "uncomment to activate for HD only". Isn't the shader is for DVD or SD video only? Blu Ray disc movie is already at BT.709, right?

Is it recommended for me to tick the aquire EDID part at Catalyst Control Center too? I am using the SRGB profile that availaible in the LCD monitor menu.

BTW....when you mean uncomment, does it mean remove the "*/" and "/*"?

flanger216
24th February 2009, 16:06
Yes, keep the 'use EDID' box checked. You would only want it unchecked if your monitor's white-balance is obviously incorrect (there's no reason - outside of malfunction - for this to happen), or if you need to fine-tune it to some strange, overly specific color temperature (which you would only want for complicated purposes, none of which have anything to do with HTPC use).

Casshern
24th February 2009, 17:48
I tried the 9.2 Hotfix now and found:
1) no more crashes when excessively seeking in DXVA playbacks - so it's the first usable driver for the AGP cards since 8.5
2) Garbled video, frame jumping, corruption (only with vmr9 renderless - overlay and vmr7 work great) unfortunately is still there, if you size the display window larger than 1440x800 (e.g. 1920x1080 fullscreen playback)

Summary: first usable driver since 8.5 - no drawbacks. But main problem in vmr9 renderless is still there at Full HD display resolutions. Only PowerDVD seems to initialize the driver and/or VMR9 renderless properly - it works without any artifacts at 1920x1080 in VMR 9 renderless

Interestingly - but this might be a pure fatamorgana - the jumping frames, corruption, garbled video with vmr9 renderless seems to be reduced (not completly gone) while the mpc controls (seek bar etc.) are displayed at the bottom.

So it's a safe replacement for the trusty 8.5 - no BSOD and working DXVA with vmr7 and overlay (WinXP). Unfortunately still no working VMR9 renderless - meaning that no subltitles for bluray. You still need PDVD for that.

That's my milage on the 9.2 - yours might vary!

regards,

Casshern

I also installed the hotfix and DXVA problems seem to be gone! Hooray! So the problem was in the drivers..

Initial problem was this:

Steveo08
24th February 2009, 18:07
i have a question to a shader.

need i the shader "YV12 Chroma Upsampling"?

i have nvidia 8600gt hdmi and vista 32.


and another question is:

is it possible to make a HQRBG32 conversion, like ffdshow with dxva as decoder?

yesgrey
24th February 2009, 18:25
is it possible to make a HQRBG32 conversion, like ffdshow with dxva as decoder?
No. But if you have a nvidia card and you use the new coreavc decoder with CUDA support (it's also using the GPU for decoding but instead of DXVA uses CUDA), you can use ffdshow with it.

Steveo08
24th February 2009, 18:31
No. But if you have a nvidia card and you use the new coreavc decoder with CUDA support (it's also using the GPU for decoding but instead of DXVA uses CUDA), you can use ffdshow with it.



yes i know, i already test the new coreavc, but the cuda isn't so good as the software version of coreavc, at the moment, there are too many blocks during the movies with some mkv. so the mpc dxva is the better choice.

yesgrey
24th February 2009, 18:54
is it possible to make a HQRBG32 conversion, like ffdshow with dxva as decoder?
So, answering again to your question...
No, unless you can convince your graphics card drivers developers to include it in the drivers...

Steveo08
24th February 2009, 19:02
So, answering again to your question...
No, unless you can convince your graphics card drivers developers to include it in the drivers...



ok, that's what i thought, but i was not sure.

i compared ffdshow HQRGB32 to dxva RGB and ffdshow gives me much better colors.

BatKnight
24th February 2009, 20:15
If I wanted to make a translation contribution to MPC-HC which files should I edit and from where can I get them?

Thanks
Bat

yesgrey
24th February 2009, 21:23
i compared ffdshow HQRGB32 to dxva RGB and ffdshow gives me much better colors.
graphics card drivers convert all video with height >= 720 with BT.709 matrix. If you are watching a resized dvd, the colors will be converted with the wrong matrix. If you want to use dxva, disable any resizing, and the colors should look better...

Steveo08
24th February 2009, 21:44
graphics card drivers convert all video with height >= 720 with BT.709 matrix. If you are watching a resized dvd, the colors will be converted with the wrong matrix. If you want to use dxva, disable any resizing, and the colors should look better...

well, i need my htpc just for 720p mkv's and i don't resize any video. and i don't touch the video in any kind of way, i just use the nvidia edge enhancement @51% and i changed the video color at the nvidia driver to rgb.

and when i compare the two pics with ffdshow hqrgb32 and with dxva rgb, has ffdshow the better colors and i use the same matrix bt.709.

yesgrey
24th February 2009, 23:21
Have you tryed changing the output levels in ffdshow to see if the difference is related to it?

Steveo08
24th February 2009, 23:40
Have you tryed changing the output levels in ffdshow to see if the difference is related to it?




no, i haven't, the output levels are on computer monitor, tomorrow i will test the other output with tv. i hope it is what you mean?

BatKnight
24th February 2009, 23:44
Media Player Classic Home Cinema v1.2.908 has this in the release history:

- Support for M2TS presentation graphics streams (only for EVR Custom and VMR9 Renderless)

I've tested it and it works, but what about support for MKV presentation graphics subtitles? Any ideia if this is being considered by the developers?
This would be very time-saving for us that rip Bluray subtitles to a SUP file having to OCR it, check it and then saving it on a SRT file to be muxed on to the MKV.

Thanks
Bat

yesgrey
24th February 2009, 23:44
i hope it is what you mean?
Yes.
If still different, post two pics so I can see the difference...

Casshern
25th February 2009, 01:20
I might finally hit on something conrete which might enable the devs to fix the jumping frame, video corruption bug with VMR9 Renderless and DXVA on some ATI cards.

First the conditions of the problem
1) VMR9 Renderless regardless of options (surfacetype/vmr mixer/direct3d etc.)
2) Win XP SP3
3) High Resolution Display of playback window. Easiest to see at 1920x1080 fullscreen
4) DXVA playback of high bitrate VC1 or H264 titles
5) Catalyst 9.2 (and all previous versions) but lets stick to this version
6) Cards: mostly AGP ATI 2400/2600/2600 PRO but also some people with PCX 2x00 report this problem
7) PowerDVD 7 works with VMR9 renderless
8) Its a little dependent on the stream - some streams show little corruption. Some - mostly high bitrate stuff which uses the whole 16:9 resolution - show very high reproducable corruption

Let me first stress that Overlay and VMR7 pose no problem as DXVA works there without problems. Albeit you got no subtitle support

NEW FINDINGS (for both regular MPC HC and the beliyaal version):
1) With lock back buffers there is no tearing even without direct3d mode.
1a) If lockback buffers are enabled - one can stop the corruption completely by opening the rightclick context menu! As long as you do not close the menu the video works perfect.
2) Without Lock Back buffers there is tearing - regardless of any other option.
2a) If the "tear" is in the middle of the video there is NO corruption. As soon as you hit pause/play a couple of times to change the "tear" position (i have exact 47.952 powerstrip timings) and the "tear" is outside the visible video area the frame corruption jumping returns. Then after a while when the tear move back into the picture the corruption gets less and finally disappears.

SPECULATIVE CONCLUSIONS: I think the timing of the changing of video buffers in relation to vsync is the problem. Probably in the MPC HC Presenter code at some point there needs to be a small timing adjustment - thats why PowerDVD7 works and the right context menu makes the problem disappear. The corruption looks like DXVA is writing to the wrong video buffer. Maybe the presenter/vmr9 directx component switches buffers to early after a vsync or to late.

Additional Info about the beliyaal version:
1)Without lockback buffers i get tearing in every other possible combination of options. Even if i increase the vsync offset so the "tear" is moved out of the visible video area (even outside the screen area) the tear soon (1-3 seconds) returns inside the video area.
2)with lockback buffers the same behaviour as in the normal version described above is shown- also no matterr which combination of options i tried (and believe me i tried all of them - even restarting the player after every change)

If the root cause cannot be found or is not within MPC HC realm (maybe its a directx/ati driver thingie) than still the right context menu phenomenon gives me hope that a simple workaroung might be possible. Maybe some 1 pixel menu could be opened somewhere - ugly but it might work.....

If you need more info testing just let me know....

Casshern
25th February 2009, 02:06
Additional Note: The same behaviour is shown under EVR Custom Presenter (Win XP SP3). As soon as you turn on lock back buffers you get jumping frames and corruption. But as soon as you right click for the context menu everything is fine as long as the context menu is on screen.

regards,
Casshern


I might finally hit on something conrete which might enable the devs to fix the jumping frame, video corruption bug with VMR9 Renderless and DXVA on some ATI cards.

First the conditions of the problem
1) VMR9 Renderless regardless of options (surfacetype/vmr mixer/direct3d etc.)
2) Win XP SP3
3) High Resolution Display of playback window. Easiest to see at 1920x1080 fullscreen
4) DXVA playback of high bitrate VC1 or H264 titles
5) Catalyst 9.2 (and all previous versions) but lets stick to this version
6) Cards: mostly AGP ATI 2400/2600/2600 PRO but also some people with PCX 2x00 report this problem
7) PowerDVD 7 works with VMR9 renderless
8) Its a little dependent on the stream - some streams show little corruption. Some - mostly high bitrate stuff which uses the whole 16:9 resolution - show very high reproducable corruption

Let me first stress that Overlay and VMR7 pose no problem as DXVA works there without problems. Albeit you got no subtitle support

NEW FINDINGS (for both regular MPC HC and the beliyaal version):
1) With lock back buffers there is no tearing even without direct3d mode.
1a) If lockback buffers are enabled - one can stop the corruption completely by opening the rightclick context menu! As long as you do not close the menu the video works perfect.
2) Without Lock Back buffers there is tearing - regardless of any other option.
2a) If the "tear" is in the middle of the video there is NO corruption. As soon as you hit pause/play a couple of times to change the "tear" position (i have exact 47.952 powerstrip timings) and the "tear" is outside the visible video area the frame corruption jumping returns. Then after a while when the tear move back into the picture the corruption gets less and finally disappears.

SPECULATIVE CONCLUSIONS: I think the timing of the changing of video buffers in relation to vsync is the problem. Probably in the MPC HC Presenter code at some point there needs to be a small timing adjustment - thats why PowerDVD7 works and the right context menu makes the problem disappear. The corruption looks like DXVA is writing to the wrong video buffer. Maybe the presenter/vmr9 directx component switches buffers to early after a vsync or to late.

Additional Info about the beliyaal version:
1)Without lockback buffers i get tearing in every other possible combination of options. Even if i increase the vsync offset so the "tear" is moved out of the visible video area (even outside the screen area) the tear soon (1-3 seconds) returns inside the video area.
2)with lockback buffers the same behaviour as in the normal version described above is shown- also no matterr which combination of options i tried (and believe me i tried all of them - even restarting the player after every change)

If the root cause cannot be found or is not within MPC HC realm (maybe its a directx/ati driver thingie) than still the right context menu phenomenon gives me hope that a simple workaroung might be possible. Maybe some 1 pixel menu could be opened somewhere - ugly but it might work.....

If you need more info testing just let me know....

Snowknight26
25th February 2009, 06:18
Out of curiosity, why does the levels shader use 16/219 instead of 16/240(239?)?

Casimir666
25th February 2009, 08:21
If I wanted to make a translation contribution to MPC-HC which files should I edit and from where can I get them?

Thanks
Bat

Please send my your email in a private message, and I'll tell you how you can translate mpc.

littleD
25th February 2009, 09:33
Additional Note: The same behaviour is shown under EVR Custom Presenter (Win XP SP3). As soon as you turn on lock back buffers you get jumping frames and corruption. But as soon as you right click for the context menu everything is fine as long as the context menu is on screen.

regards,
Casshern

Im not sure if it is helpul, but i have similar behaviour. Win xp sp3 no dxva. When using evr custom or vmr renderless, rightclicking for menus gives straight lines (ctr+j) in beliyaal build. But after checking Lock back buffer, that doesnt work.
In regular version when rightclicked , the straight line is interrupted by jitter in regular interval, which looks smth like this: ___^^^^___^^^^___^^^^ :)

Steveo08
25th February 2009, 09:38
Yes.
If still different, post two pics so I can see the difference...



alright, i will do it in the evening.

sneaker_ger
25th February 2009, 17:35
The following sample (AVC in MKV) is not displayed with the correct AR when using CoreAVC or ffdshow(and haali):
http://uploaded.to/?id=mv2ygu

The window opens with the correct AR for some miliseconds but then resizes to the wrong AR.

Amour
26th February 2009, 07:58
I got an issue with the following .wmv file:
http://www.megaupload.com/?d=QMCMUWUZ

The seek bar doesn't work.

clsid
26th February 2009, 14:32
The following option doesn't work properly:
MPC Options -> Playback -> Formats -> Explorer Context Menu -> File(s)

If I uncheck it and restart MPC, then it is checked again.

daMaster
26th February 2009, 17:49
About "Private bytes" - http://blogs.technet.com/markrussinovich/archive/2008/11/17/3155406.aspx
Read the article carefully, this can be not a real leak ^)

Hey buddy, I just wanted to thank you for that lesson on private bytes :rolleyes:

If you haven't been following, then you'll know that what I was reporting was indeed a memory leak and was found and fixed in rev 1002. It has been in the codebase since a very long time (even in v1.1.0.0) and casimir found the leak here after I reported it: http://forum.doom9.org/showthread.php?p=1252727#post1252727

I hope you learned something from all of this yourself: don't underestimate everyone and treat everyone like an idiot. I obviously knew what I was talking about and didn't need you to teach me about private bytes. :stupid:

Px
26th February 2009, 17:58
Hey buddy, I just wanted to thank you for that lesson on private bytes :rolleyes:
:D :p

mark0077
26th February 2009, 22:21
I have started using mpc-hc as an external player for vista media center - media browser plugin.

I start mpc with the fullscreen command line option and it starts videos in fullscreen.

The problem is, that the mpc window goes into fullscreen AFTER the video begins to play. So if a video takes 2 seconds to begin, the mpc-hc window is visible in the centre of the screen, THEN after 2 seconds it goes into fullscreen mode.

Logically I think the fullscreen part of the code should be executed before the file is loaded. This would mean when mpc is used as an external player with the fullscreen option, the split second they click play on a movie, a full black screen is shown for the 0-3 seconds say that it takes for the movie to begin.

Does anyone agree?

clsid
26th February 2009, 22:53
Not entirely logical. For example if a file fails to play, it should not go fullscreen.

mark0077
26th February 2009, 23:10
To me the file failing or not is seperate from the fullscreen option. To me they are not, or at least should not be tied together or limit eachother. The implications of them being tied together are this perceived delay / visible window movement when every movie begins. My proposed solution would be to go to fullscreen immediately before any windowed components are drawn, and THEN if a file fails to play or any other problems, fallback to windowed mode where the error can be seen in the mpc status. To me this is the best of both worlds. :D I think this is a much better solution. It assumes nothing will go wrong (which is right in most cases) but still can handle problems by falling back to windowed on error.

The1n
26th February 2009, 23:25
@Casimir666

Any progress on the G45 dxva, do you have any new test versions soon?

Thx

alexins
26th February 2009, 23:28
Media Player Classic HomeCinema (x86/x64), svn 1005 (http://www.xvidvideo.ru/content/view/647/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Fix typo in shader name (BT601BT701 -> BT601BT709)

Aleksoid1978
27th February 2009, 00:37
The following option doesn't work properly:
MPC Options -> Playback -> Formats -> Explorer Context Menu -> File(s)

If I uncheck it and restart MPC, then it is checked again.

I test - it's work.

Kado
27th February 2009, 03:35
@mark0077
Use minimal preset under "view" then reduce the window to a minimum and put it in the lower right corner or something! Don't use a logo:P
Remember to use "remember last window size" and "remember last window position" in the options under "player".
Or put it in anther monitor if you use two and force a specific monitor to go fullscreen in the options under "playback=>output"

@Aleksoid1978
It works fine here too.

clsid
27th February 2009, 10:38
Did some more testing. It fails only when only a few file extensions in a group are associated with MPC (grey checkbox). For example .wma and .asf, but not .wmp and .wm. Then it fails to remove the "Add to MPC playlist" registry key for .wma and .asf. No problem when all file extensions in a group as associated.

Mercury_22
27th February 2009, 12:55
Did some more testing. It fails only when only a few file extensions in a group are associated with MPC (grey checkbox). For example .wma and .asf, but not .wmp and .wm. Then it fails to remove the "Add to MPC playlist" registry key for .wma and .asf. No problem when all file extensions in a group as associated.

Same here !

Also I CAN'T play DTS in WAV and since this has been fixed in FFDShow maybe it's possible to be fix in MPC-HC too

Steveo08
27th February 2009, 15:02
Have you tryed changing the output levels in ffdshow to see if the difference is related to it?



today i had finally the time to test the output levels in ffdshow and to compare to dxva.

and now i know why i had a difference between ffdshow and rgb.
if i set the color correction to nvidia control panel and output levels with 0-255 i get the same good colors with dxva, like ffdshow.

Brazil2
27th February 2009, 15:08
The following sample (AVC in MKV) is not displayed with the correct AR when using CoreAVC or ffdshow(and haali):
http://uploaded.to/?id=mv2ygu

The window opens with the correct AR for some miliseconds but then resizes to the wrong AR.
Same result for me with any combination of splitters and decoders, even the built-in ones.

However it's playing fine with the correct aspect ratio in MPC-HC v1.1.604 (and also in VLC, for the record).

Same issue with the Haruhi (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html) video which is playing fine in MPC-HC v1.1.604 but not in recent builds.

Kado
27th February 2009, 17:01
@Brazil2
Wrong AR happens if I use VMR9 and intermal mkv splitter. mpc rev1004 beliyaal patch 15.
Haali splitter gives correct AR.

DeathWolf
27th February 2009, 17:17
@Brazil2
Wrong AR happens if I use VMR9 and intermal mkv splitter. mpc rev1004 beliyaal patch 15.
Haali splitter gives correct AR.

haali's splitter overrides(=rewrites) the stream ar if there's a container ar, which the internal splitter doesnt do.
(At least haali's does it with h264, not sure about sp content)
It would be very nice if the internal splitter did that of course... But that's not as simple as it sounds at all.

Kado
27th February 2009, 18:44
But if I use EVR CP with internal splitter I get the correct AR.

Brazil2
27th February 2009, 21:00
Haali splitter gives correct AR.
I don't have Haali splitter but only Arcsoft Matroska splitter and the MPC-HC one.
The funny thing is that these videos are playing fine in VLC. So what are the correct splitters ? VLC and Haali or Arcsoft and MPC-HC ?


But if I use EVR CP with internal splitter I get the correct AR.
Yep it's working fine with EVR CP for me too.
However EVR CP is not working very well for me on Windows XP, lot of stuttering, low FPS sometimes and some slowness / acceleration of the video which is making it unusable so I'm stuck to VMR7/9 (all of that in software mode).

Kado
27th February 2009, 21:45
@Brazil2
Try Haali splitter (http://haali.cs.msu.ru/mkv/) then!

yesgrey
28th February 2009, 01:10
and now i know why i had a difference between ffdshow and rgb.
Great!:)

Casimir666
28th February 2009, 11:26
@Casimir666

Any progress on the G45 dxva, do you have any new test versions soon?

Thx

http://img141.imageshack.us/img141/7453/27670802.th.jpg (http://img141.imageshack.us/my.php?image=27670802.jpg)

Now it display something :p

But as you can see not ready yet.

The1n
28th February 2009, 12:39
Well atleast it's progressing forward ;)

Thx

sneaker_ger
28th February 2009, 13:36
@Brazil2
Try Haali splitter (http://haali.cs.msu.ru/mkv/) then!

I am using Haali Splitter. The AR is not correct nevertheless.

Shakey_Jake33
28th February 2009, 15:14
I'm having a problem with the 64-bit builds of the player, they crash whenever I try and play a .VOB file. These files have (obviously) Mpeg2 video, with 48KHz LPCM audio, and crashes occur even if I use external codecs/spliters/filters. I do not get this problem using the 32-bit version of the player.

To be honest, this could be caused by something else on my system, and I have tried uninstalling all players/codecs, as well as manually removing the registry entries. If I can provide any information which could narrow down the source of the crash, I'd be glad to.

OS is XP 64-bit.

#2
28th February 2009, 21:57
System:
AthlonXP with OCed Moblie chip
2GB Ram
7600GT (AGP) capable of partial DXVA, not bitstream, for HD content
Hauppauge WinTV HVR-3000 (DVB-T/S and Analog) Tuner card.

Software:
MPC-HC
Core AVC
Haali media spliter
ffdshow_rev2686_20090214_dbt
(I also have Cyberlink Power cinema 5 installed)

Content I'm trying to play:
-PAL-B Analog
-DVB-T MPEG2 stream with H.264 video, AAC-LATM audio and MHEG-5 EGP (French/NewZealand standard)

Questions:
-Why can't I see the DVB-T tuner in Open Device dialogue? I only see the Analog tuner. (Card is 3 in 1)
-Why do I get no sound while playing the Analog stream?

I have attached my Graphedit output of the Analog playback.

Thank you very much in advance.

wiak
1st March 2009, 00:35
hmm any joy getting ITV HD or BBC HD ts files to play using DXVA? i get unwatchable green garbled blocks on ITV :( or glitching on BBC
same with Channel 4 HD
so it looks like a problem with MBAFF/PAFF

Amour
1st March 2009, 11:40
I got an issue with the following .wmv file:
http://www.megaupload.com/?d=QMCMUWUZ

The seek bar doesn't work.

Nobody tested it to confirm or not the issue?
It's just 2.84 MB to download.

Egh
1st March 2009, 12:02
Nobody tested it to confirm or not the issue?


I think it is because of the file itself. As for the issue itself I've tried it both on x86 and x64 builds and you cannot use the seek bar there. However on many occasions that happens with partially downloaded files (and WMV contrainer is not the only one affected).

Casimir666
1st March 2009, 13:58
Well atleast it's progressing forward ;)

Thx

Can you do another test with this G45 experimental build :

http://rapidshare.com/files/203981653/mplayerc_experimental_g45.rar.html

alexins
1st March 2009, 15:22
Can you do another test with this G45 experimental build :

http://rapidshare.com/files/203981653/mplayerc_experimental_g45.rar.html

I placed this build (http://rapidshare.com/files/203981653/mplayerc_experimental_g45.rar.html) on the Russian-language forum (http://forum.ru-board.com/topic.cgi?forum=5&topic=28196&start=1220#18), test results negative.
http://i018.radikal.ru/0903/cd/499607096dd6.jpg

Amour
1st March 2009, 15:24
However on many occasions that happens with partially downloaded files (and WMV contrainer is not the only one affected).
It isn't a partially downloaded file. I have this issue with all 12 videoclips from Ghost in the Shell.

clsid
1st March 2009, 16:12
Your sample file exhibits the same problems in GraphStudio. So it is not the fault of MPC. Seeking does not even work with WMP. Conclusion, the files are broken, missing the required metadata. VLC should support seeking, but that will also result in visible video corruption.

ikarad
1st March 2009, 17:12
Do you have this problem with Beliyaal's build?

i give you an example which contains sample of dvd with separated subtitle.
http://www.zshare.net/info.html?56020870-d4d04aa2176e63620e5482be7d253046

subtitles are not synchronized with video but it's not a problem to see the problem with load subtitle and open dvd functions.

I have the same problem with the last version of mpc-HC 1005
thanks

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

The1n
1st March 2009, 18:29
Can you do another test with this G45 experimental build :

http://rapidshare.com/files/203981653/mplayerc_experimental_g45.rar.html

Hi

Just want to tell you that the videos play but im getting not using dxva on all videos, tried evr and custom evr same result (Vista x64).

Keep up the good work.

Thx

carlo_0000
2nd March 2009, 00:11
why did the mpchc h264/avc dxva codec no deinterlace 1080i videos ? on my readon2400pro (gpu usage is low 20-25%)

because when i play , i get big ligne's

it olso no work with dvb (only 720p), i already explain that in other post, the pic is green/gray cuted in 4

rica
2nd March 2009, 02:55
m2ts:

make an ISO fie using Clown BD and latest tsmuxer 1.8.19.:
ftp://213.221.6.90/tsMuxer/

Install ReCock 1.3.8.9 with WASAPI support first:

http://forum.slysoft.com/showthread.php?t=19931

We gonna setup MPC-HC:

Uninstall Haali first.

output:
DirectShow audio: Recolock Audio Renderer.

internal filters > source filters:
flac, matroska and mpeg ps/ts/pva must be unticked.

internal filters > transform filters:
flac and vc1 must be unticked.

external filters:
Arcsoft mpeg demux and Arcsoft audio decoder has to be selected and set to preferred.

What is boring is everytime you have to set audio to 5.1 in Arcsoft Audio Decoder properties page.

flac mkv:

load madflac and it's gonna work with 96/6/24 with ReClock.

For more details:
http://forum.slysoft.com/showthread.php?p=179427#post179427


_ _ _ _

Mangix
2nd March 2009, 04:02
WASAPI doesn't work in 24-bit. at least not on my machine

mrcorbo
2nd March 2009, 04:45
WASAPI doesn't work in 24-bit. at least not on my machine

As of ver 1.8.3.9 the option has been added to set the output bit depth for PCM audio in Reclock. If you set this to 32bit-int does it work?

Mangix
2nd March 2009, 07:47
yes it does

Snowknight26
2nd March 2009, 08:39
Can you do another test with this G45 experimental build :

http://rapidshare.com/files/203981653/mplayerc_experimental_g45.rar.html

Have an alternative link?

yesgrey
2nd March 2009, 10:22
@rica,
You should not use bit perfect when talking about reclock if you are resampling with it. Yes, I know its resampler in Excellent mode is very good, but it's not bitperfect.;)

Floatylite99
2nd March 2009, 12:09
Snowknight26,

I've uploaded the file to http://rapidshare.com/files/204347131/mplayerc_experimental_g45.rar.

This is a premium account so shouldn't expire.

Casimir666,

Hope this is OK as it was your file originally. If not I'll remove.

rica
2nd March 2009, 12:18
@rica,
You should not use bit perfect when talking about reclock if you are resampling with it. Yes, I know its resampler in Excellent mode is very good, but it's not bitperfect.;)

I am not resampling; this is why i need to use MPC-HC with Arcsoft filters instead of TMT itself. Check out the link i gave above:)

yesgrey
2nd March 2009, 12:47
I am not resampling
Are you checking the "slave reference clock to audio" option and setting the media speed to "original speed" in reclock?

rica
2nd March 2009, 13:18
Are you checking the "slave reference clock to audio" option and setting the media speed to "original speed" in reclock?

I set the media speed to "original speed".

yesgrey
2nd March 2009, 13:47
I set the media speed to "original speed".
So you are resampling. Compare the cpu load of your working mode vs the "slave reference clock to audio" checked.
I think it would be better continuing this discussion in reclock's thread... ;)

rica
2nd March 2009, 13:51
So you are resampling. Compare the cpu load of your working mode vs the "slave reference clock to audio" checked.
I think it would be better continuing this discussion in reclock's thread... ;)

See you this evening on ReClock thread:)

mencius
2nd March 2009, 20:21
Hi guys. When viewing videos in fullscreen, sometimes I see odd lines at the top/bottom or sides of the screen that seems to move or change color when the video is playing.

I am using the following:
MPC-HC 1.2.908.0
Vista 32bits SP1
Athlon X2 4200
Asus M2N-MX SE
Asus Radeon HD 3450

Thank you.

avivahl
3rd March 2009, 10:40
Hi guys. When viewing videos in fullscreen, sometimes I see odd lines at the top/bottom or sides of the screen that seems to move or change color when the video is playing.

I am using the following:
MPC-HC 1.2.908.0
Vista 32bits SP1
Athlon X2 4200
Asus M2N-MX SE
Asus Radeon HD 3450

Thank you.1st, make sure you're using the latest ATI drivers (http://www.amd.com/). Then, try using the latest development revision (http://www.xvidvideo.ru/)
and configure it to use EVR. Do you still see the lines? If you do, post a screenshot.

mariush
4th March 2009, 03:07
I'm not sure if it was reported or maybe it's just on my computer.

Q6600, 4GB, Radeon 4850
8.573-090113a-074230C-ATI
Catalyst™ Version 09.1
Windows 2003


MPC-HC 1.2.908.0 doesn't work with DXVA anymore with this driver.

Settings used: VMR9 renderless , 3D surfaces, Bicubic 0.75 resizer (tried enabling VMR9 mixer mode and yuv mixing but doesn't change anything and weren't needed before)

What do I mean by not working anymore? The movie is opened in MPC-HC, in the status bar it says the correct movie length, it says "Playing" but actually it just stays like that, not even processing one frame. See picture attached.

I see now there's a 9.2 version of the video driver posted... I'll install it and update the message if the problem is fixed.


PS. Installed 9.2... no luck, same thing, black screen, player says "Playing" but no frame is decoded by any filter. Also tried the MPC-HC-Beliyaal build and it behaves exactly the same.

Btw. if I try to use VMR7 renderless or EVR custom, it won't try to decode using DXVA, it goes straight to ffmpeg. according to the website this is what should happen anyways.
With VMR 7 windowed or VMR9 windows or Overlay mixer, it uses DXVA but the same black screen and no frames of any kind decoded.

If there's anything I can do debugging this, please let me know.

Kado
4th March 2009, 12:43
@mariush
It was already known and reported that ATI broke DXVA for the internal MPC DXVA decoder in Catalyst 9.x drivers. Some users say that DXVA works fine with Cyberlink's decoder.
Thanks anyway.

cca
4th March 2009, 13:43
Catalyst 9.2 AGP hotfix is said to have DXVA fixed.

mikegun
4th March 2009, 14:48
@mariush
It was already known and reported that ATI broke DXVA for the internal MPC DXVA decoder in Catalyst 9.x drivers. Some users say that DXVA works fine with Cyberlink's decoder.
Thanks anyway.

can confirm that. with an agp hd2600 dxva is broken since 8.3 (I think)

Thunderbolt8
4th March 2009, 15:08
there seems to be some problem of mpc-hc with some combination of filters. when I use madflac and ac3filter at the same time (which I need to do to output 5.1 flac tracks as 2.0 as I only have 2 speakers and my soundcard doesnt do it automatically) and then switch between a flac track and an ac3 track of a mkv file (so for example the normal movie track and the audio commentary), then the ac3filter basically disappears when I switch back from ac3 to flac and I dont have those applied setting of ac3filter at playback any more and would have to restart mpc.

when the flac track is the only track in the .mkv then its all fine, then ac3filter and madflac work together fine. but if not and I switch back and forth to that track, then the ac3filter connection and channelconversion from 5.1 -> 2.0 (and all other ac3filter settings) are lost.

hrr
4th March 2009, 16:16
Hi !I tried the 9.2 Hotfix now and found:
1) no more crashes when excessively seeking in DXVA playbacks - so it's the first usable driver for the AGP cards since 8.5
2) Garbled video, frame jumping, corruption (only with vmr9 renderless - overlay and vmr7 work great) unfortunately is still there, if you size the display window larger than 1440x800 (e.g. 1920x1080 fullscreen playback)...
Have you patched the registry ? It is necessary with every driver update. I had problems when I updated to 9.2 until I ran the .vbs utility to patch the registry again. After that, all is working correctly.

rack04
4th March 2009, 17:37
I'm trying to play a blu-ray folder using MPC-HC svn 1005. It seems to play fine but in the VMR and Video Filter Properties it shows the fps to be 3333333.33 fps. I'm playing the blu-ray folder using File->Play DVD. Here are some screenshots.

http://i11.photobucket.com/albums/a199/rack04/untitled-2.jpg

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

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

UPDATE: The VMR and Video Filter Properties show 23.976 fps using Haali Media Splitter. So the problem is with the internal MPEG TS splitter.

Casshern
4th March 2009, 18:32
Hi !
Have you patched the registry ? It is necessary with every driver update. I had problems when I updated to 9.2 until I ran the .vbs utility to path the registry again. After that, all is working correctly.
Yeah tried all of the exdeus patches... they have no impact on the problem i am describing. DXVA works with VMR7 and Overlay, just not with VMR9 Renderless. We narrowed down the problem to the VSYNC handling in the custom presenter and/or directx. I think it might be fixable. Let's see when beliyaal is back.

Snowknight26
4th March 2009, 20:16
MPC-HC flips targa files vertically:
http://stfcc.org/misc/mpc-hc.targa.png

Example targa:
http://stfcc.org/misc/normal.tga

adoy
4th March 2009, 22:18
@Snowknight26: I can confirm that, but why would you use MPC-HC for targa files? Just curious... :rolleyes:

Egh
4th March 2009, 22:58
One thing with MPC which is rather weird: I have two monitors, typically display video in fullscreen mode on Haali Renderer.

Most of the times if the video is playing I'm able to give any window an input focus on the other display, switch between application etc, and the video is continuing to play in fullscreen mode. However sometimes that just doesn't work and for no obvious (to me, at least) reason when I click on any window on the other monitor MPC-HC restores to window mode. "On Top" mode is set to "While Playing", monitor output as DISPLAY1, the MPC can be started on any screen per se, fullscreen output is always to a specifiс display. Seems this behaviour is not affected by pausing and resuming video.

Typical usage scenario: MPC started on DISPLAY2 from TC7, drag&drop an mkv file from TC7, alt+enter for fullsceen, video is correctly displayed on DISPLAY1 in 2-3 seconds. Then I continue to use windows on D2 and everything is alright for some time then suddenly when switching applications MPCHC rolls back to window mode and thus goes to Display2 (i.e. the screen the window was started on). It is a bit annoying as then I have to switch focus to MPC window and alt+enter it again, and before I do that video goes blank as apparently DX surface is associated with the other screen.

Any workarounds for that issue or is it caused by windows interface itself?

Snowknight26
4th March 2009, 23:01
@Snowknight26: I can confirm that, but why would you use MPC-HC for targa files? Just curious... :rolleyes:

I wouldn't, I'm just posting on my friend's behalf.

alexins
4th March 2009, 23:58
Media Player Classic HomeCinema (x86/x64), svn 1007 (http://www.xvidvideo.ru/content/view/656/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Added : New shader "Sharpen Complex 2" (required hardware compatible with pixel shader 2.A)

littleD
5th March 2009, 10:21
Hi, I use Win XP sp3 and EVR custom renderer. When playing videos in dxva mode, I cant see display stats and tearing test. Those are shown only when dxva2 is used. No problem with vmr9 or nodxva mode. It works with all videos.
Is this bug or some limitation?

hoborg
5th March 2009, 11:00
Hi, I use Win XP sp3 and EVR custom renderer. When playing videos in dxva mode, I cant see display stats and tearing test. Those are shown only when dxva2 is used. No problem with vmr9 or nodxva mode. It works with all videos.
Is this bug or some limitation?

EVR + DXVA on XP? ...

tetsuo55
5th March 2009, 14:29
Those only work if you check "3d of screen surfaces"

littleD
5th March 2009, 15:06
Yes, its true. EVR custom use 3d screen by default. But still, when using evr custom everything is ok when dxva2 is active. However, when playing video that can be accelarated only by dxva1 in my card, no statistics and shaders (forgot mention it earlier).

edit: Hmm.. what i found is in that case MPC HC automatically switch to the vmr renderer.

pdanpdan
5th March 2009, 15:16
With latest version of both MPC-HC and Beliyaal version, after I play any video (mkv h264) with Direct3D Fulscreen activated, and I try to play another one, the player freeze with a black screen.
Video play on a secondary monitor (TV), with interface on primary monitor.
Win XP SP3, ATI 2400 PCI-e, latest driver (9.2), doesn't matter if play through DXVA or software, VMR9 Renderless, VMR9 Mixer Mode active, Lock Back-Buffer active.
If I kill the player and start again it works until I change the video again.
Also if Direct3D Fulscreen deactivated, if I start video on primary monitor and switch to fullscreen on secondary (F11) the video freeze.
If I move the interface on secondary monitor and start video and the fullscreen everything is OK.
It seems that it has something to do with ATI Drivers - just installed 9.2 AGP Hotfix, and the disabled Vector Adaptive deinterlacing and everything is fine now.

chros
5th March 2009, 17:46
Added : New shader "Sharpen Complex 2" (required hardware compatible with pixel shader 2.A)
What sharpen shaders provides better quality?

Casimir666
5th March 2009, 18:51
What sharpen shaders provides better quality?

According to people who test it on the french forum, the Sharpen complex 2 have better results.

73ChargerFan
5th March 2009, 20:34
I found a great how-to guide for mpc at nunnally.ahmygoddess.net (http://nunnally.ahmygoddess.net/all-the-things-you-may-want-to-know-about-media-player-classic-homecinema/).

I was looking for information on how to write shader scripts, and found that instead. Where should I look for shaders?

hrr
5th March 2009, 20:42
Yeah tried all of the exdeus patches... they have no impact on the problem i am describing. DXVA works with VMR7 and Overlay, just not with VMR9 Renderless. We narrowed down the problem to the VSYNC handling in the custom presenter and/or directx. I think it might be fixable. Let's see when beliyaal is back.

I'm using MPC 1004, VMR9 renderless with exedeus patch and it works perfectly.

I suppose you did a full uninstall of older ati drivers before install the 9.2.

Apart from this, I don't know why it fails to you and not to me... :confused:

The_Rebel
5th March 2009, 23:36
Why do the x64 builds not show all of the external dshow filters? (ie CoreAVC and Cyberlink)

Aleksoid1978
5th March 2009, 23:49
Why do the x64 builds not show all of the external dshow filters? (ie CoreAVC and Cyberlink)

Because CoreAVC and Cyberlink is x86 filters and can't work with x64 app.

kutjong
6th March 2009, 00:40
Is it possible to add advanced options back to VMR9 such as the Procamp and the deinterlacing tab?

With regular MPC they are there but not with MPC-HC. Why were these tabs removed?
I think it's very important to know what kind of deinterlacing is used... :)

Casshern
6th March 2009, 03:00
There is a possibility that the 2400 behaves a little different than the 2600 AGP even though i find that unlikely. The problem only occurs on high bitrate material (more with vc1 than with h264 - but some blu ray titles exhibit the problem more others only rarely) with a display resolution of 1920x1080 in full screen mode at a display frequency of an exact multiple of 23.976 (e.g. 47.952). It also is very sensitive to vertical blank timing. So there are a number of variables - but i am not alone with this prob, there are tons of users reporting the same, so i doubt its my setup.




I'm using MPC 1004, VMR9 renderless with exedeus patch and it works perfectly.

I suppose you did a full uninstall of older ati drivers before install the 9.2.

Apart from this, I don't know why it fails to you and not to me... :confused:

Tagert
6th March 2009, 13:02
I can't get the program to playback my wmv clips :o
I seem to recall I did play some of those clips way back.
I can't seem to open them although filters and stuff in the program are enabled.

clsid
6th March 2009, 13:19
MPC plays WMV files just fine. It does however depend on files in the operating system for playing them. So if your Windows installation is broken, or if you ripped out WMP, then you got a problem. You need to install the Windows Media Format Runtimes to 'fix' it.

Tagert
6th March 2009, 14:04
hmm okey.
I'm running windows xp x64.
I already have windows media player 11 installed.
I have installed the x64 version of MPC HC.
I've tried disabling the internal filters just incase ffdshow could support the wmv file playback, but that didn't work either.

Tried googling abit for the windows media format runtime but I only end up finding 32bit versions for it :(

tetsuo55
6th March 2009, 15:52
Semi good news everyone.

I found the exact problem with the ATi 9.2 driver.
I have a workaround in place (at least for my system)

I'm 99% sure now that the bug is in MPC-HC and not the catalyst driver

Steps to take:
-Remove all previous ati drivers
-Reboot into safe mode and run Driver sweeper
-Reboot into regular windows and install 9.2 AGP Hotfix
-Apply DeusEx patches
-Reboot
-Apply DeusEx patches

Now the final step, and this is the the one that will fix it.
-Change your display to 1920x1080@50 or lower refresh rate.
-Lower resolutions can stay at 60hz
-Anything below 60hz will work: 50,30,25,24

Jong
6th March 2009, 17:59
What is the precise definitiion of this 9.2 bug? Is it the no DXVA problem? Is it Vista only? Because 9.2 (without hotfix, ATI3850) on XP works fine @50Hz and 60Hz here, H.264 and VC-1 - last stable release and the latest Beliyaal build.

Or maybe this is something completly different?

Jong
6th March 2009, 18:03
EVR + DXVA on XP? ...I thought so too, but with 9.2 and my 3850 VC-1 works with DXVA2 under XP. Not sure if it worked before 9.2. No DXVA for H.264 though.

tetsuo55
6th March 2009, 18:46
What is the precise definitiion of this 9.2 bug? Is it the no DXVA problem? Is it Vista only? Because 9.2 (without hotfix, ATI3850) on XP works fine @50Hz and 60Hz here, H.264 and VC-1 - last stable release and the latest Beliyaal build.

Or maybe this is something completly different?

Video screen remains black and timer remains at 0, some users report only VMR9 affected other report all renderers affected.
This happens in XP.

Although every card/connection can suffer from this problem most reports are:
-AGP and PCI cards, any model
-2400 and 2600 any connection

Casshern
6th March 2009, 20:34
I tried this ages ago, here are my findings:

1) Changing parameters like refreshrate does seem to help
2) But the errors are still there only that they become rare (like every 10 minutes) and also much less severe

Back than i analysed this futher and came to these conclusions:
1) if you have a resolution with a high backporch value the errors/jumpingframes/corrupiton increases
2) the same referesh rate with front/back porches exchanged (high front porch - low back porch) decreases the errors

Sadly, no geometry/refreshrates/porch/sync values eliminate the problem completely - i also have a 60hz 1920x1080 profile which works pretty decent (like a corruption every 7-12 minutes) and a 47,952 which shows it every couple of minutes.

I tracked the problem down to the vertical sync handling of MPC HC in conjunction with catalyst and directx9... i think the problem can be solved within MPC HC. Just try opening the right mousebutton context menu - if thats on screen everything is perfect - even in fullscreen and any refreshrate.



Semi good news everyone.

I found the exact problem with the ATi 9.2 driver.
I have a workaround in place (at least for my system)

I'm 99% sure now that the bug is in MPC-HC and not the catalyst driver

Steps to take:
-Remove all previous ati drivers
-Reboot into safe mode and run Driver sweeper
-Reboot into regular windows and install 9.2 AGP Hotfix
-Apply DeusEx patches
-Reboot
-Apply DeusEx patches

Now the final step, and this is the the one that will fix it.
-Change your display to 1920x1080@50 or lower refresh rate.
-Lower resolutions can stay at 60hz
-Anything below 60hz will work: 50,30,25,24

DrNein
6th March 2009, 22:43
I thought so too, but with 9.2 and my 3850 VC-1 works with DXVA2 under XP. Not sure if it worked before 9.2. No DXVA for H.264 though.

It's a Microsoft conspiracy. But wait... DXVA of MPEG-2 also works with EVR.

I went on a testing bender:
http://forum.doom9.org/showthread.php?p=1258395#post1258395

Jong
7th March 2009, 00:59
It's a Microsoft conspiracy. But wait... DXVA of MPEG-2 also works with EVR.

I went on a testing bender:
http://forum.doom9.org/showthread.php?p=1258395#post1258395Yeah, I noticed that too. DXVA Checker reports MPEG-2 DXAV2, but I didn't know if any decoder supported it under XP.

PS. DXVA Checker says WMV 8&9 acceleration is also supported usign DXVA2 (similar to VC-1 I guess). Just H.264 to go!

Jong
7th March 2009, 01:04
Video screen remains black and timer remains at 0, some users report only VMR9 affected other report all renderers affected.
This happens in XP.

Although every card/connection can suffer from this problem most reports are:
-AGP and PCI cards, any model
-2400 and 2600 any connectionOh. Ok. A different problem. Well I can say my 3850 is not affected.

mencius
7th March 2009, 02:16
Hi guys. When viewing videos in fullscreen, sometimes I see odd lines at the top/bottom or sides of the screen that seems to move or change color when the video is playing.

I am using the following:
MPC-HC 1.2.908.0
Vista 32bits SP1
Athlon X2 4200
Asus M2N-MX SE
Asus Radeon HD 3450

Thank you.

1st, make sure you're using the latest ATI drivers (http://www.amd.com/). Then, try using the latest development revision (http://www.xvidvideo.ru/)
and configure it to use EVR. Do you still see the lines? If you do, post a screenshot.

Thanks for your reply.

I update to the latest ATI drivers and used the latest revision. It's still the same.

When using "system default", in full screen I get the following:
There are white lines on the left and bottom left. They change color and move around. (need to see picture fullsize to see it.)
http://img9.imageshack.us/img9/66/defaultv.th.png (http://img9.imageshack.us/my.php?image=defaultv.png)

Using "evr" mode, I don't get the problem in fullscreen. But after returning to window mode from fullscreen, I notice there are lines on the border (middle left) that blinks contstantly.
http://img17.imageshack.us/img17/6853/evr.th.png (http://img17.imageshack.us/my.php?image=evr.png)

EVR custum and vmr9 doesn't have these problems but it seems they are not fast enough to play some HD content so I don't want to use those.

DigitalDeviant
8th March 2009, 02:41
I have a few samples from Blu-ray discs that the subtitles don't show correctly or at all with any recent version.

These subtitles do not show at all, ever:
http://www.megaupload.com/?d=EJV1V7VW
http://www.megaupload.com/?d=FO4WK7WC

This sample most of the subtitles show OK when played back from the disc, except for a few (or maybe just this one since I haven't check all subs) which show up but incorrectly. After I cut it with TsRemux, the subtitle disappeared completely. I enclosed a pic of the problem subs when played from disc.
http://www.megaupload.com/?d=DE4IPPIK

I've tried several versions from xvidvideo.ru and the experimental Beliyaal builds and none work. I'm using Vista Home Basic 32 with an Ati HD3650. I've tried a few different decoders and EVR and VMR9 renderers.

Lincoln Burrows
8th March 2009, 02:46
Question: Is there a way for me to force FFDshow to be used while playing any video files? I was not able to do that while using MPC Homecinema, but FFDshow was listed as a filter while using BSPlayer PRO. I can only see one "MPC Decoder" or something similar listed as a filter.

Let me be very clear about this:

If I can't see FFDshow listed while using MPC-HD, I will not be able to see the video with the best settings, and the image will look dark and not adjusted in terms of contrast and that sort of thing. The pure image from the video looks bad when compared to the filtered image, obtained from FFDshow where I can increase the brightness and contrast.

:helpful:

BTW, the XVID codec is also installed in this machine. But, like I said, it's not being selected as a filter while using BSP or MPC are running (we don't need to, FFDShow was doing the job to modify bright/contrast settings). :cool:

Note: This is a brand new machine, recently with XP installed. In the old machine (and classic MPC), the FFDShow was available/listed as a filter.

ADude
8th March 2009, 04:57
You need to download and install FFDSHOW separately and then enable it in MPC-HC's external filter list.

envagyok
8th March 2009, 09:01
i have laptop with geforce go 7400 gpu
this link :
http://www.nvidia.com/docs/CP/11036/PureVideo_Product_Comparison.pdf

nvidia say, my gpu support purevideo hd, but mpc-hc dxva decoder isn`t use dxva.
i have the latest notebook driver.

Casimir666
8th March 2009, 09:55
I'm looking for someone with a G45 to do some tests. If you are interested, please send me your MSN address in private message.

Egh
8th March 2009, 10:55
i have laptop with geforce go 7400 gpu
this link :
http://www.nvidia.com/docs/CP/11036/PureVideo_Product_Comparison.pdf

nvidia say, my gpu support purevideo hd, but mpc-hc dxva decoder isn`t use dxva.
i have the latest notebook driver.

This comparison is really weird.

How come that "H.264 Decode Acceleration with IDCT and CAVLC/CABAC" is supported on 8600 but not supported on 8800? :confused:

As for your original question, trust me it is way more annoying that mine 7900GTX is not supported ;) Mine is actually the fastest gpu in 7xxx series and still good to play 2009 games with medium-to-high settings. However as I recall 7xxx series had quite a poor support of DXVA and thus MPCHC supports only 8xxx and above.

Px
8th March 2009, 12:15
How come that "H.264 Decode Acceleration with IDCT and CAVLC/CABAC" is supported on 8600 but not supported on 8800? :confused:
Easily, first GeForce 8800 (GTS320/640, GTX and Ultra) have old video acceleration block, same as on GeForce 7xxx series, 8600 was released later and have full video acceleration. Also, when NVIDIA releases new 8800 with G92 core (GT256/512 and GTS 512) it also have full acceleration

THX-UltraII
9th March 2009, 12:25
I'm looking for someone with a G45 to do some tests. If you are interested, please send me your MSN address in private message.

Sold mine a few months ago or else I would surely helped you out!

Do you have a releasedate already for MPC-HC 1.3 ;)

mark0077
9th March 2009, 12:39
Just to note here, even though its something I wouldn't care about, I cannot get DXVA working on my GTX 295....

Kado
9th March 2009, 19:53
Tried the Haruhi video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html) yet? 100% DXVA compliant video.

Blue_MiSfit
9th March 2009, 21:02
i have laptop with geforce go 7400 gpu
this link :
http://www.nvidia.com/docs/CP/11036/PureVideo_Product_Comparison.pdf

nvidia say, my gpu support purevideo hd, but mpc-hc dxva decoder isn`t use dxva.
i have the latest notebook driver.

Are you using the latest driver from nVidia, or your laptop manufacturer?

nVidia just recently made its mobile drivers universally available (except some mobile quadros... like my Latitude's :()

The older drivers from your manufacturer likely don't have any DXVA support.

AFAIK, the 7 series cards (on the desktop, anyway) don't have H.264 or VC-1 decode acceleration. Are you sure your laptop GPU supports this?

~MiSfit

mark0077
9th March 2009, 22:46
Unfortunately testing with mpc-hc and mpc-hc beliyaal's build in vista 32, windows 7 32bit, using nvidia's latest vista and first windows 7 drivers, I have never seen the mpc decoder using DXVA, always says "Not using DXVA". Something to do with the fact this card has two gpu's? Its an XFX GTX 295

Peuj
9th March 2009, 23:48
Tried the Haruhi video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html) yet? 100% DXVA compliant video.

Funny because this one doesn't work for me.
I have a GeForce 8600M GT with drivers 179.48.
With some movies the DXVA is activated but not with this one.
I've downloaded it from another post to test the output color. :)

rt87
10th March 2009, 02:19
Funny because this one doesn't work for me.
I have a GeForce 8600M GT with drivers 179.48.
With some movies the DXVA is activated but not with this one.
I've downloaded it from another post to test the output color. :)

Did you test with DXVAChecker?

Kado
10th March 2009, 03:47
@Peuj, mark0077
Something is wrong with your system then, it works fine in my 9800gtx (182.08 vista x86) (http://pwp.netcabo.pt/kado/haruhi_dxva.png) and in my friends 8600m gt (acer aspire laptop) as well.
Check the filter graph for unwanted filters like vsfilter and use a recent mpc version like build 1008 or Beliyaal patch 15. Also Update DirectX to latest release (November 2008).

mark0077
10th March 2009, 10:42
I have a very simple setup, nothing like that. Even after a fresh install of windows 7 64bit lastnight, and latest NVidia drivers and just mpc-hc latest build, no DXVA is used on any content I try. Its not a problem I don't actually want it, but I am sure others may want it working on these cards if possible.

I read something though about GTX 295 not having full DXVA, because internally its really two souped up GTX 260's. I will run DXVA checker later and see what output it gives.

tetsuo55
10th March 2009, 11:08
I have a very simple setup, nothing like that. Even after a fresh install of windows 7 64bit lastnight, and latest NVidia drivers and just mpc-hc latest build, no DXVA is used on any content I try. Its not a problem I don't actually want it, but I am sure others may want it working on these cards if possible.

I read something though about GTX 295 not having full DXVA, because internally its really two souped up GTX 260's. I will run DXVA checker later and see what output it gives.

Might be a windows 7 64bit/Nvidia driver problem

mark0077
10th March 2009, 11:35
Might be a windows 7 64bit/Nvidia driver problem

Nah vista 32 bit was the same with many driver versions.

Egh
10th March 2009, 12:12
Yeah, I noticed that too. DXVA Checker reports MPEG-2 DXAV2, but I didn't know if any decoder supported it under XP.


I have managed successfully to use DXVA for 1080i MPEG2 video even with 7xxx series g-force :O

Though unfortunately neither EVR nor EVR custom Presenter display anything useful with DXVA but a blank screen. Works with VMR7, VMR9, Overlay Mixer.

So do try to download latest Cyberlink PDVD decoder and see if it works.

As for CPU, compared to Haali+MPCHC internal MPEG2, Cyberlink+VMR was able to decrease 20-23% CPU down to 4-7%. Even with rather complicated scenes which included panning and lots of moving objects.

Any plans to built DXVA into internal MPEG2 codec? :shy:

tetsuo55
10th March 2009, 12:12
Nah vista 32 bit was the same with many driver versions.

Your videocard:
*Has a GT200 chip, the "b" revision to be exact (die shrink to 55nm)
*Actually has 2 of these in SLI mode.
*Supports VP2(unless they decided to add VP3 in addition to the die-shrink)

Also it says on the box that it should work.

Officially you need this driver:
181.71 in the 64bit windows 7 flavour

If that one fails you should try this one:
182.08

If both fail you need to:
1. Send a bug report to Microsoft through the send feedback button (Try powerdvd too before doing this, so you can add that it doesn't work either)
2. Send a support ticket to NVIDIA (powerdvd test needed here too)

PS.
Due to a possible bug in MPC-HC can you try with a resulotion lower than 1920x1080? and a refresh rate lower than 60?

Peuj
10th March 2009, 13:28
@Peuj, mark0077
Something is wrong with your system then, it works fine in my 9800gtx (182.08 vista x86) (http://pwp.netcabo.pt/kado/haruhi_dxva.png) and in my friends 8600m gt (acer aspire laptop) as well.
Check the filter graph for unwanted filters like vsfilter and use a recent mpc version like build 1008 or Beliyaal patch 15. Also Update DirectX to latest release (November 2008).

Yes sorry, you're right there was something wrong with my system.

tetsuo55
10th March 2009, 13:38
I installed windows 7 on my HTPC.

I have not yet hooked it up to the 1920x1080 panel, but on the 1680x1200 panel DXVA seems to be working perfectly fine with both the built in drivers as the Beta drivers. (no tearing on that screen in windowed and fullscreen mode with the SVN build (i don't have beliyaal's yet))

I'm going to hook it back up to the 1920x1080 panel tonight and see if the tearing is gone there too.

So far the system runs a lot better than XP sp2(SP3 causes a problem that requires me to reformat), MS really did good this time

Kado
10th March 2009, 15:01
@Peuj
No prob, glad I could help.

@mark0077
Here, Windows 7 b7022 x86 with either Forceware 181.71 or 182.08, DXVA for h264 works fine (I don't have b7048 yet:(). DirectX in Windows 7 must be updated as well.

Leak
10th March 2009, 17:57
Your videocard:
*Has a GT200 chip, the "b" revision to be exact (die shrink to 55nm)
*Actually has 2 of these in SLI mode.
*Supports VP2(unless they decided to add VP3 in addition to the die-shrink)
[...]
If both fail you need to:
[...]
2. Send a support ticket to ATI (powerdvd test needed here too)
I didn't know ATI now support nVidia cards... :D

But yeah, a bug report to nVidia should be in order then...

np: Roy Davis Jr. - Acid Bass (Can You Jack? Chicago Acid And Experimental House (Disc 1))

tetsuo55
10th March 2009, 18:12
I didn't know ATI now support nVidia cards... :D

But yeah, a bug report to nVidia should be in order then...

np: Roy Davis Jr. - Acid Bass (Can You Jack? Chicago Acid And Experimental House (Disc 1))

LOL

thats what i get for writing 2 posts about 2 different videocards at the same time :P

pdanpdan
10th March 2009, 19:44
Feature request/Bug report (I'm not sure) - Latest MPC-HC/WinXP SP3
With Playlist visible, docked, right-click Remember Items and Hide on Fullscreen checked, when I use Quick Open Files, the playlist is cleared and closed. The video is set to play in window, not fullscreen.

If I use D3D Fullscreen and press CTRL+C, the playlist is also cleared. Is it normal?

alexins
10th March 2009, 22:31
Media Player Classic HomeCinema (x86/x64), svn 1009 (http://www.xvidvideo.ru/content/view/665/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

New : DXVA support for G45 (multi slice not supported yet).

tetsuo55
10th March 2009, 22:41
My tearing is completely gone with windows 7(7048), and i'm not even using the beliyaal build!

DXVA working great with the ATI beta driver

mark0077
11th March 2009, 00:29
Well I don't know what I did (think I installed DX SDK from Nov 2008) but getting some form of DXVA now in the example clip given a few posts up.

This is GTX 295, Windows 7 7048 64bit, mpc-hc 1008, Nvidia Beta Windows 7 Drivers.

Is DXVA Mode: "H.264 bitstream decoder, no FGT" correct or should it say something else?

-----

A side question while I am in the mpc decoder settings, should "Decoding thread number" be set in mpc-hc decoder options as its not set to anything at the moment on my machine. I have the option 1-6 on core i7 with HT enabled. I was expecting 1-4 or 1-8, not 1-6 or "<NOTHING>"

A second side quesiton. Why with Windows 7 with it having DX 11 installed, do we need to install the DX updates... shouldn't it at least have all of the latest dx updates to allow DXVA to work by default?

A third side question. Why can't I see ffdshow video and audio decoders anymore after fresh installing 64bit Windows 7. I have installed ffdshow x64 from xvidvideo.ru (both versions of x64) and am using 1009 64bit build now of mpc-hc. Still doesn't show as an external filter in mpc-hc.

Beliyaal
11th March 2009, 01:02
New version available (link in signature):
* Updated to SVN 1009
* Added: The movie FPS is now estimated. A "L" will appear after the FPS when this happens. Only when this L is displayed will the time correction code be activated.
* Added: Screen refresh rate detection and detection of the number of scanlines of the display.
* Fixed: Correction of timing in VC-1 material should work again. Note that it might stutter a while until the movie FPS is detected when starting to play and when seeking.

Kado
11th March 2009, 02:30
@mark0077
Q: Is DXVA Mode: "H.264 bitstream decoder, no FGT" correct or should it say something else?
A: Is correct.

A1: Current code only supports up to 6 threads so it does not depend on the CPU because in my system (Pentium D) it appears up to 6 threads as well.

A2: DirectX must be updated because the libraries get updated every 2 or 3 months (although the DirectX version remains the same (XP 9.0c/Vista 10/Windows7 11)) and some files required by mpc may not be available with a windows fresh install.

A3: If it's not on the list after the "add filter..." button try to browse manually for the ax file.

Snowknight26
11th March 2009, 05:18
New : DXVA support for G45 (multi slice not supported yet).

Guess that would cause this, no? (H.264 from a Blu-ray):

http://stfcc.org/misc/mpc.g45.png

Casimir666
11th March 2009, 08:10
Guess that would cause this, no? (H.264 from a Blu-ray):

http://stfcc.org/misc/mpc.g45.png

Yes this is a multislice file.

Stingrey
11th March 2009, 10:10
Finally G45 is supported with DXVA.
Just testet it and it works! :D

fil1111
11th March 2009, 12:29
Casimir666
What about VC-1 on G45? Wait?

clsid
11th March 2009, 13:27
Yes this is a multislice file.
Can such files be detected so that DXVA can be disabled automatically? Otherwise I am afraid there are going to be many people with problems.

test12314124
11th March 2009, 15:55
MPCHC SVN1009 still works bad in 24hz, audio is off sync. Works sometimes, for example in direct 3d fullscreen but then goes off sync just by doing a pause/play.

Casimir666
11th March 2009, 19:58
Can such files be detected so that DXVA can be disabled automatically? Otherwise I am afraid there are going to be many people with problems.
We trying to fix it with Intel help.

Casimir666
What about VC-1 on G45? Wait?
Well, maybe but when H264 will be finished

gngn
11th March 2009, 20:15
has anybody else experienced huge subtitles delay if the internal MPC-HC subtitles engine is used and CoreAVC for decoding with CUDA on?
it doesnt affect CoreAVC/Cuda and Directvobsub, or CoreAVC without CUDA and MPC-HC's internal subs engine.

Egh
11th March 2009, 23:21
First I thought that was only Belial's build bug however confirmed this with the latest SVN as well.

If you move a window with video between monitors it turns video into a blank for a second or two until it displays again.

I guess this behaviour is required for Windows. However, the window may be not really blank at all, as you might have stats in it ;) So, even in SVN build, use display stats, VMR9, some HD MPEG2 video and whilst playing the video move the MPCHC window between the monitors back and forward. MPCHC would crash ;) This would happen even if only MPCHC internal codecs are used so unlikely to be related to anything outside of MPC. MPCHC may take several attempts to crash it, however Belial's build (as I suspect due to more stats being displayed) crashes here typically at the first move between monitors. NVIDIA g-force here with 182.08 drivers.

alexins
12th March 2009, 00:09
Media Player Classic HomeCinema (x86/x64), svn 1010 (http://www.xvidvideo.ru/content/view/666/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Fix : improved G45 DXVA decoder.

dzy
12th March 2009, 04:41
ffmpeg 0.5 now decodes rv30, rv40

Will mpc x64 be able to support these?

The1n
12th March 2009, 18:07
Is it possible to passthrough dts/ac3 via hdmi with mpc hc , i have tried removing the dts and ac3 transform filters in internal filters, btw i have a G45 chipset motherboard with hdmi output (Asus p5q-em) on vista64.

Anybody done this ?

Thx

Kado
12th March 2009, 20:03
@The1n
Yes.
In mpc output put in the audio output direct sound : hdmi or spdif;
in ffdshow audio decoder under output check both ac2 and dts passthrough, and in the multichannel device put hdmi or spdif.

If you want to use your external decoder to receive other formats encoded to ac3 use ac3 spdif encode mode and uncheck the other "bit" possibilities.

I used this to try my audigy 2 zs ac3 hardware decoding capabilities.

littleD
12th March 2009, 20:31
Hmm.. i wonder why nobody noticed it yet but..., can u guys confirm that with catalysts 9.2 agphotfix all h.264 5.1 level videos are playable? Of course with accordingly limited ref frames. Or thats my dreams.

tetsuo55
12th March 2009, 20:54
I only have 1 non l4.1 file and that one did not work, but it could be a ton of reasons

The1n
12th March 2009, 21:00
@The1n
Yes.
In mpc output put in the audio output direct sound : hdmi or spdif;
in ffdshow audio decoder under output check both ac2 and dts passthrough, and in the multichannel device put hdmi or spdif.

If you want to use your external decoder to receive other formats encoded to ac3 use ac3 spdif encode mode and uncheck the other "bit" possibilities.

I used this to try my audigy 2 zs ac3 hardware decoding capabilities.


Hi Kado

I think i've been following your guidance but i keep getting error (look at picture)

Do you know what i am doing wrong here ?

Thx

Kado
12th March 2009, 21:41
It's like this:
http://pwp.netcabo.pt/kado/hdmi_pt.png
Also in the codecs use liba52 for AC3 and libdts for DTS not libavcodec.

THX-UltraII
13th March 2009, 08:52
Hi Kado,

Is there a reason why you prefer liba52 and libdts over libavcodec? I asked this question on AVS a few times but nobody there seems to know exactly which is the better decoder of those two?

Beliyaal
13th March 2009, 12:11
New version available (link in signature):
* Update to latest SVN.
* Changed: EVR buffers can now be changed to up to 60 buffers.
* Changed: Subtile buffers can now be changed to up to 60 buffers.
* Changed: Make the 32 bit version Large Address aware, allowing it to use 4 GB instead of 2 GB memory on 64 bit OS.
* Fixed: Hang when launching.
* Fixed: Option for output range in EVR CP. Finally we can use the hardware deinterlacer without loosing color resolution!
* Fixed: Corrected position of sync offset graph.

Please see the new options(0 - 255 and 16 - 235) in render settings to choose the color space when doing yuv to RGB conversion with EVR.

Please report any problems and discuss this build in the thread linked in signature.

mark0077
13th March 2009, 12:20
wrong post

darthfrueder
13th March 2009, 15:55
I am back from a long trip, downloaded the latest mpc-hc and here we are: pleasant surprise! My m2ts files from Canon HF100 now can be flawlessly played!

Thanks a lot!!! :thanks::thanks::thanks:
MPC-HC is the best video player ever!

One small problem though... As far as the camera generates multiple files for every scene I have many m2ts files that should be played together. Some of them are only a few seconds long. I have generated a playlist and tried to play it on my tv in d3d mode. So the problem is that at the end of every clip mpc-hc exists the full screen mode and I can see a small window in the centre of the screen for some time before the next file is started to be played. It is a bit annoying. Nothing like this in the windowed mode - there is just a small pause between files.
I have tried different configuration options (unchecking exit full screen mode after playback, etc), but could not find a solution.

7o9
14th March 2009, 06:50
New version available (link in signature):
....
* Fixed: Hang when launching.


I know it is a tiny detail in your impressive set of improvements, but this one really makes me happy.

Thanks to everyone for all the effort.

littleD
14th March 2009, 09:49
I want to note that definitely, since catalysts 9.2 agphotfix, dxva can be used with 5.1 level h.264 streams! Thats nice improvement.:) The only? limitation is number of ref frames. Videos that worked for me: 480p/11ref, 720p/8ref, 1080p/4ref.

Cyber-Mav
14th March 2009, 14:05
I want to note that definitely, since catalysts 9.2 agphotfix, dxva can be used with 5.1 level h.264 streams! Thats nice improvement.:) The only? limitation is number of ref frames. Videos that worked for me: 480p/11ref, 720p/8ref, 1080p/4ref.

those reference frame limitations you have just described seem to be the level 4.1 restriction which is noticed on here:http://en.wikipedia.org/wiki/H.264#Levels

looks like l5.1 is not supported otherwise you would get the full 16 reference frames support at 1080p.

Kado
14th March 2009, 17:13
@Casimir
What's the registry setting to force the h264 decoder to ignore the reference frame rules and use DXVA on all videos?
Microsoft DTV-DVD decoder in windows 7 can play all streams using dxva.

cca
14th March 2009, 17:37
@Casimir
What's the registry setting to force the h264 decoder to ignore the reference frame rules and use DXVA on all videos?
Microsoft DTV-DVD decoder in windows 7 can play all streams using dxva.

Try this http://forum.doom9.org/showthread.php?p=1167905#post1167905

Richardw322
14th March 2009, 18:13
@Casimir
What's the registry setting to force the h264 decoder to ignore the reference frame rules and use DXVA on all videos?
Microsoft DTV-DVD decoder in windows 7 can play all streams using dxva.

Kado, have you tried build 7048 of Windows 7? I tried it yesterday and it seems to block FFDshow from decoding h264 even in third party programs. 7022 works fine.

Anyone: is there a list of which filter does what in the standalone filters? Some are easy, but others not so easy. Just what does MPCVideodec decode? And what the heck is nutsplitter? Could use on walnuts?:confused:

THX-UltraII
14th March 2009, 18:54
Hi Kado,

Is there a reason why you prefer liba52 and libdts over libavcodec? I asked this question on AVS a few times but nobody there seems to know exactly which is the better decoder of those two?

Leak
14th March 2009, 19:22
Is there a reason why you prefer liba52 and libdts over libavcodec? I asked this question on AVS a few times but nobody there seems to know exactly which is the better decoder of those two?
You know, you keep on sounding like a broken record, what with all your repeated posts with the exact same wording...

If it's *THAT* important to you, why don't you just, you know, PM Kado instead of posting the same stuff over and over?

np: Fink - If Only (Distance And Time)

Gamezcdr
14th March 2009, 20:01
How can I resync on the fly subtitle ? In KmPlayer I have [ and ] keys.

Mangix
14th March 2009, 20:08
f1 and f2

Kado
14th March 2009, 21:03
@cca
Damn! I read that post but only the first part of it! Thanks. Now I can use DXVA with ANY h264 stream without seeing any artifacts with my 9800GTX!:D
Tried a 1080p 16 ref frames file and worked flawlessly, with pdvd8 decoder I get artifacts. You just get a warning before playback.
I found a problem though, when the frame rate changes the decoder does not sees it and the playback stalls or becomes slow etc. The microsoft decoder has the same thing but sometimes "gets the message"!
Change the value to 16 and the warnings go away.

@Richardw322
I'm using build 7057 x86. Maybe its the microsoft decoder that has more merit than ffdshow. Add ffdshow to the list in the external filters and set it to prefer, also enable h264 decoding in ffdshow. I will confirm later on.

@THX-UltraII
I think that on previous versions you had to use those decoders to enable passtrough but that may not be true in recent versions. Also if you are passingtrhough the audio is not decoded anyways.

Richardw322
14th March 2009, 21:12
@Richardw322
I'm using build 7057 x86. Maybe its the microsoft decoder that has more merit than ffdshow. Add ffdshow to the list in the external filters and set it to prefer, also enable h264 decoding in ffdshow. I will confirm later on.



Please do. That is another thing I should have tried. I used a third party replacement for Media Center called GBPVR. GBPVR lets you specify what to use for h264 playback. 7022 is fine, 7048 ignored it and used Microsofts buggy decoder. I used MPC-HC with the internal filters and it was fine. The other thing is I should have used Graphedit to see what is going on. Thought of that while 7022 was installing! (Little late then) As for merit, I pumped up the merit using the slider in FFDshow. Audio worked, but not Video.

Snowknight26
14th March 2009, 21:17
WMP and WMC in Windows 7 use WMF decoders first. If it can't decode the content you are tryin to play with those, it will fall back to DirectShow.

Kado
14th March 2009, 21:58
@Richardw322
ffdshow works fine with mpc-hc.

@Snowknight26
I didn't even tried WiMP or WMC, just MPC-HC. Both MPC and Microsoft decoders worked fine.

Inspector.Gadget
14th March 2009, 22:07
I have a weird problem here. I ripped "The Good, The Bad And The Ugly", IVTC'ed it to 23.976 fps, and encoded it with the DXVA-SD-HQ x264 profile from MeGUI, changing only the bitrate. I muxed that to an mkv container with the original audio (mono AC3).

Using the MPC-HC (build 1.2.1009.0) built-in H.264 DXVA decoder, I get corruption on the bottom ~8 lines of the anamorphic 720x368 encode (which is stretched to 875x368 on playback). This persists regardless of which renderer I use. Using CoreAVC or ffmpeg-mt (ffdshow) or libavcodec (ffdshow) doesn't create similar corruption on any renderer. Screenshot attached:

http://img24.imageshack.us/img24/1381/tuco.th.jpg (http://img24.imageshack.us/my.php?image=tuco.jpg)

I'm on Vista x64 using 32-bit MPC-HC, 32bit ffdshow, and 32-bit Haali splitter. I have an 9650M GT w/ 1GB VRAM.

hrr
15th March 2009, 13:24
Activating mixer mode in VMR9 (or YUV mixing, I don't remember exactly now) must solve your problem.

Inspector.Gadget
15th March 2009, 15:43
Yeah, hrr, that fixes it in the VMR9 renderer but (obviously) not in EVR. Can't Microsoft do anything right? ;)

Richardw322
15th March 2009, 16:39
@Richardw322
ffdshow works fine with mpc-hc.

@Snowknight26
I didn't even tried WiMP or WMC, just MPC-HC. Both MPC and Microsoft decoders worked fine.

Now I am starting to think I am crazy. I never tried ffdshow and MPC, but was using a third party program called GBPVR. It has a config setting to choose ffdshow which I set and no go. FFdshow would not load. Maybe something in 7048 that changed in 7052 (or whatever version your using). Do you have any other non microsoft player where you could see if it loads ffdshow video decoder?

Beliyaal
15th March 2009, 19:20
New version (Link in signature):
* Added: Support for high color resolution. When this option is enabled A2R10B10G10 format is used as surface and backbuffer, and as display mode in fullscreen if possible (EVR CP only).
* Added: Option for enabling frame time correction. Press 'C' to enable/disable frame time correction. You will need to enable this manually for VC-1 content in ts/m2ts files (default is off).
* Added: Shader for converting 0-255 to 16-235.
* Changed: Lock back buffer removed in favor of Event Query (always enabled). Check if alternate VSync is working better now (more stable).
* Fixed: Frame time correction could cause video to be perpeptually out of sync.
* Fixed: Aspect ratio is simplified as far as possible.
* Fixed: VMR9 now forces 4 surfaces that are exchanged. Might fix Radeon 2x00 AGP corruption bug. Might cause new bugs, please test.
* Fixed: Refresh rate now detected in VMR9 as well.
* Fixed: Refresh rate detection should now be more accurate.
* Fixed: Number of EVR buffers now displayed correctly in options.

Please report any problems and discuss this build in the thread linked in the signature.

The1n
15th March 2009, 22:11
For those interested Eric Sardella @ Intel has set up a blog with info regarding G45 dxva.
link : http://software.intel.com/en-us/blogs/2009/03/15/intel-clear-video-and-h264avc/#comment-20990

Enjoy
The1n

Egh
16th March 2009, 02:32
Bug report for SVN 1010.

First thought that was Beliyaal's build fault however was able to reproduce it with 1010 SVN build as well.

Typically I use Haali so haven't noticed that before. Happens with VMR9 renderless. MPC AVC decoder used, no DXVA (7900GTX) latest WHQL, XP x64 SP2.

Right, so when starting the video (AVC 1080p) on my primary monitor with VMR9 enabled MPCHC corrently creates a video chain MPC => VMR9 Renderless. As no colour conversion is obviously needed.

However when I move the window to another monitor, it rebuilds the chain inserting AVI Decompressor (YUY2) and then Color Space Converter, for no apparent reason. VMR9 Mixer mode setting and other options I've tried appear not to be relevant to this bug.

If I use Haali renderer (MPC output is YUY2) on both occasions the chain remains same.

THX-UltraII
16th March 2009, 09:16
I use EVR custom and cannot use dvd controls, not even the mouse control to PLAY the movie :(

littleD
16th March 2009, 09:36
I use EVR custom and cannot use dvd controls, not even the mouse control to PLAY the movie :(

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

alexins
16th March 2009, 11:06
Media Player Classic HomeCinema (x86/x64), svn 1011 (http://www.xvidvideo.ru/content/view/669/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

ADD MpcApi command : CMD_TOGGLEFULLSCREEN, CMD_JUMPFORWARDMED, CMD_JUMPBACKWARDMED, CMD_INCREASEVOLUME, CMD_DECREASEVOLUME, CMD_SHADER_TOGGLE, CMD_CLOSEAPP.

Casshern
16th March 2009, 11:42
Just to let you guys in this thread know:

The DXVA problems with VMR9 Renderless and the 2x00 AGP ATI boards are FIXED in the newest beliyaal build ver 18! Everything works now as it should (no tearing/subtitles/full hardware acceleration).

thanks again beliyaal and i hope the changes make their way into the main MPC HC quickly!

mikegun
16th March 2009, 14:23
Just to let you guys in this thread know:

The DXVA problems with VMR9 Renderless and the 2x00 AGP ATI boards are FIXED in the newest beliyaal build ver 18! Everything works now as it should (no tearing/subtitles/full hardware acceleration).

thanks again beliyaal and i hope the changes make their way into the main MPC HC quickly!

great news, will test this build asap

Steveo08
16th March 2009, 17:43
ADD MpcApi command : CMD_TOGGLEFULLSCREEN, CMD_JUMPFORWARDMED, CMD_JUMPBACKWARDMED, CMD_INCREASEVOLUME, CMD_DECREASEVOLUME, CMD_SHADER_TOGGLE, CMD_CLOSEAPP.[/QUOTE]




what does it mean?

Leak
16th March 2009, 17:46
ADD MpcApi command : CMD_TOGGLEFULLSCREEN, CMD_JUMPFORWARDMED, CMD_JUMPBACKWARDMED, CMD_INCREASEVOLUME, CMD_DECREASEVOLUME, CMD_SHADER_TOGGLE, CMD_CLOSEAPP.
what does it mean?
If I had to guess probably that you can now send Windows messages to MPC from other applications to invoke the above actions, just like you could with a whole lot of other actions (but not these) before.

np: Apollo 440 - Christiane (Dude Descending A Staircase (Disc 2))

Egh
16th March 2009, 19:05
Media Player Classic HomeCinema (x86/x64), svn 1011 (http://www.xvidvideo.ru/content/view/669/1/)


Confirmed chain rebuild bug with 1011 as well. Interestingly it happens only with 1080p videos but not with 720p :rolleyes:

mikegun
16th March 2009, 19:22
great news, will test this build asap

it works indeed. but on some files the internal decoder is not used, but cyberlink and the picture is pixelated. if I block cyberlink there is no picture at all. with older versions cyberlink worked.

tetsuo55
17th March 2009, 10:49
Hmm.. i wonder why nobody noticed it yet but..., can u guys confirm that with catalysts 9.2 agphotfix all h.264 5.1 level videos are playable? Of course with accordingly limited ref frames. Or thats my dreams.

Using the Windows 7 beta driver (this is not 9.2 but older)

I played a 1920x1080 file with 5 ref frames:
The file plays! but with a lot of random macroblocking

JohnLai
17th March 2009, 12:12
Using the Windows 7 beta driver (this is not 9.2 but older)

I played a 1920x1080 file with 5 ref frames:
The file plays! but with a lot of random macroblocking

I dont think ATI will support L5.1 judging from their responds at the AMD Game Forum(Less market demand,waste of resource, etc)

Anyone know why mpc keep crashing when I select EVR Custom Presenter as output? I'm using windows xp with the net 3.5 framework installed. MPC version 1010

G_M_C
17th March 2009, 12:51
I dont think ATI will support L5.1 judging from their responds at the AMD Game Forum(Less market demand,waste of resource, etc)

Anyone know why mpc keep crashing when I select EVR Custom Presenter as output? I'm using windows xp with the net 3.5 framework installed. MPC version 1010

From what i read around these parts of the internet, and judging by the support Neuron2 gets from Nvidia ... I think Ati in NOT the way to go right now. Their support seems much less involved than Nvidia's.

I've got a 1950Pro right now, and i'm seriously considering going to Nvidia in the near future, mainly because of these issues. The other issue being, that i'm starting to get fed up bij the CCC (Catalyst Contol Panel). I seriously slows down boot-time on my machine,'and its usage is not very user friendly imho.

So all-in-all, ending my bit-of-a-rant here, Ive got the feeling that Nv is the way to go for us video-lovers and/or encoders.

tetsuo55
17th March 2009, 13:16
I'm going to get a new videocard soon.

An ATI VS Nvidia (intel is no competition yet imho) for HTPC(using MPC-HC as the main player) discussion is a good idea imho.

The winner used to clearly be ATI, but i have the feeling the tables have turned

Probably best to start a new thread for that though

hoborg
17th March 2009, 13:25
I am starting to hate ATI, they are not able to make DXVA working drivers for XP.

Last 100% working drivers was 8.5 (at last for IGP HD3200).

Now i have HD 4550 - this card is not supported by Cat.8.5.

8.12 - DXVA for HD - OK, MPEG2 - HW deinterlacing broken (PDVD decoder)
9.02 - DXVA for HD - broken (black screen), MPEG2 working

littleD
17th March 2009, 13:28
Then what you guys think about OpenCL? It is similar to CUDA but works on any videocard supporting it. And it will be probably better on the whole. I think it is the way ati goes. But wonder how long we have to wait for first applications.

hoborg
17th March 2009, 13:29
Then what you guys think about OpenCL? It is similar to CUDA but works on any videocard supporting it. And it will be probably better on the whole. I think it is the way ati goes. But wonder how long we have to wait for first applications.

I agree.

Jong
17th March 2009, 13:31
I am starting to hate ATI, they are not able to make DXVA working drivers for XP.

8.12 - DXVA for HD - OK, MPEG2 - HW deinterlacing broken (PDVD decoder)
9.02 - DXVA for HD - broken (black screen), MPEG2 workingIt is not as simple as that. I don't deny some have had problems on moving to 9.2, but DXVA works fine in all modes here (even DXVA2 with EVR for MPEG2 and VC-1) with my PCI-E 3850.

hoborg
17th March 2009, 13:34
It is not as simple as that. I don't deny some have had problems on moving to 9.2, but DXVA works fine in all modes here (even DXVA2 with EVR for MPEG2 and VC-1) with my PCI-E 3850.

I bet you are on Vista.

I was talking about XP...

JohnLai
17th March 2009, 13:43
So, no one know what is the cause of the mpc on my computer keep crashing when EVR Custom is selected?

tetsuo55
17th March 2009, 13:45
OpenCL is interesting.

It is multi-platform.
Some things we need to think of though:
1. Have ATI/NVIDIA/INTEL added OpenCL support to their drivers
2. How far back does OpenCL compatibility go(or does it require new hardware)
3. Does OpenCL use the built in decoders or does it compute completely in shaders?
4. Does it push the decoding limits to L5.1 with 16ref frames?

tetsuo55
17th March 2009, 14:08
Looks like recentisch nvidia cards with recentisch drivers support:

L5.1 with 15 ref frames.
I think MPC still limits to 11 right?

Can you nvidia guys test with limits off and see if more than 11 ref frames work now?

Edit: oops 15 ref frames

Cyber-Mav
17th March 2009, 15:50
i thought evr cp doesnt work in windows xp thats why its crashing your pc? evr cp is only for vista?

leeperry
17th March 2009, 16:44
OpenCL is interesting.

It is multi-platform.
Some things we need to think of though:
1. Have ATI/NVIDIA/INTEL added OpenCL support to their drivers
2. How far back does OpenCL compatibility go(or does it require new hardware)
3. Does OpenCL use the built in decoders or does it compute completely in shaders?
4. Does it push the decoding limits to L5.1 with 16ref frames?
don't hold your breath on OpenCL IMHO.....ATi is far from ready to release it, and nvidia won't document their most sensible instructions from CUDA as this is Open Source and CUDA is not.
plus ATi has always focused on debugging/optimizing their games support, the rest is not much of their concern....they prolly decided to go OpenCL not to lose face against CUDA, which is perfectly working as we speak :scared:

Shakey_Jake33
17th March 2009, 20:25
i thought evr cp doesnt work in windows xp thats why its crashing your pc? evr cp is only for vista?


EVR CP works fine in XP (both 32-bit and 64-bit) if you have .NET Framework Service Pack 3 installed.

alexins
17th March 2009, 20:54
Media Player Classic HomeCinema (x86/x64), svn 1012 (http://www.xvidvideo.ru/content/view/674/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Better match standard DirectShow behavior for selecting the source filter.

JohnLai
17th March 2009, 23:14
EVR CP works fine in XP (both 32-bit and 64-bit) if you have .NET Framework Service Pack 3 installed.

There is no crashing when normal EVR is selected. It only crash when EVR Custom is used.

yesgrey
18th March 2009, 00:32
So, no one know what is the cause of the mpc on my computer keep crashing when EVR Custom is selected?
With so little information... post also your selected settings, or some pics of them.

Cyber-Mav
18th March 2009, 00:33
EVR CP works fine in XP (both 32-bit and 64-bit) if you have .NET Framework Service Pack 3 installed.

tried it and yes it works but dxva is disabled using evr in xp.

Klaus_1250
18th March 2009, 01:19
It is not as simple as that. I don't deny some have had problems on moving to 9.2, but DXVA works fine in all modes here (even DXVA2 with EVR for MPEG2 and VC-1) with my PCI-E 3850.
At the same time, on XP and an AGP 3850, there is no MPEG DXVA support (was removed in one of the 8.x drivers). And almost every 8.x driver I tried had some sort of issue. When it comes to anything but gaming, ATi drivers suck.

I dont think ATI will support L5.1 judging from their responds at the AMD Game Forum(Less market demand,waste of resource, etc)
If ATi isn't offering it, people will choose nVidia or a beefy processor. So the reason there is no market demand is purely to ATi's own policy. They did make a small change to 9.2. Previously, L5.1 gave me a black screen, now it doesn't (though the image is corrupted and sometimes causes a BSOD).


Anyone know why mpc keep crashing when I select EVR Custom Presenter as output? I'm using windows xp with the net 3.5 framework installed. MPC version 1010
Not seeing it on XP SP3, .NET3.5SP1 with EVR CP and Cat 9.2.

gngn
18th March 2009, 01:36
Looks like recentisch nvidia cards with recentisch drivers support:

L5.1 with 15 ref frames.
I think MPC still limits to 11 right?

Can you nvidia guys test with limits off and see if more than 11 ref frames work now?

Edit: oops 15 ref frames

anything with or beyond 12 Reframes (SD or HD) will not work on my 8600GTS

edit: i wonder if the graphics card is the problem, or the fact that i am using XP as OS. i should install windoes 7 one of these days ...

Kado
18th March 2009, 01:59
My 9800gtx decodes any h.264 video I play with MPC-HC internal dxva decoder! even Level 5.1 1920x1080 res 16 reference frames using vista sp2 v.275 and forceware 182.08. Windows 7 also works fine.
Check this post (http://forum.doom9.org/showthread.php?p=1167905#post1167905) to force the internal decoder to always use DXVA even when stream is not compliant. Change the value to 16 so that the warning does not show up.

Although is is not really new, check MPC-HC changelog (http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=log) entry 857 and 867, I still had to force the DXVA decoder always on anyway.

marc99
18th March 2009, 08:23
Reference Frames - Max bFrames, bPyramid Disabled
16 - 1
15 - 3
14 - 7
13 - 16
Reference Frames - Max bFrames, bPyramid Enabled
16 - 4
15 - 7
14 - 16

Tested on Vista 64bit, NVidia 8600GT

Windows 7 beta build 7048, MS internal decoder, no limitation. :)

Casshern
18th March 2009, 10:48
Feature request a:

At the moment it is not possible to deactivate the internal/default "source file" filter. If one want to use a different filter in order to for example have seamless playback for multi-file ts streams one cannot use MPC HC, but has to use Zoom Player where one can change the source file filter.

Feature request b:
Seekbar option to put it at the top instead of bottom.... helps people with different screen maskings.

Thanks for a great player!

Media Player Classic HomeCinema (x86/x64), svn 1012 (http://www.xvidvideo.ru/content/view/674/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Better match standard DirectShow behavior for selecting the source filter.

JohnLai
18th March 2009, 12:12
My specification are :

ATI 4850 with Catalyst 8.12
Pentium E2160
NET 3.5 SP1

All filters in MPC is deselected except H.264 and VC-1 DXVA mode (the rest I prefer to use ffdshow). I am trying to play a mkv h.264 dxva compliant files. Once MPC crashes, Windows reports Application Error; The instruction at "0x00426446" referenced memory at "0x04dc065c". The memory could not be read.

her34
18th March 2009, 21:02
:o Off topic : I still have a hope that someday filename pattern used for saving screenshot will change from snapshot... to file_name_date or a custom format so that i wont have to use kmplayer :) :thanks:

+1

Saving the image as "snapshot" isn't useful and you end up having to rename the image manually. If mpc-hc automatically saved the image with "filename" that would be better.

DrNein
19th March 2009, 06:40
At the same time, on XP and an AGP 3850, there is no MPEG DXVA support (was removed in one of the 8.x drivers). And almost every 8.x driver I tried had some sort of issue. When it comes to anything but gaming, ATi drivers suck.

Different systems sure vary in results. AGP Hotfix 9.2 works fine with my 3650 (FYI, 9.3 was just released). DXVA is fully functional with expected renderers. EVR is almost there. See my test results (particularly posts 13, 22, 23):

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

THX-UltraII
19th March 2009, 12:44
Installed the ATI 9.3 driver package and I think it has a bug that 9.2 didn t have:

So I set the Pixel Format to RGB 4:4:4 Full and overscan to 0% (screen filling 100%), this setting is neede for my projector. After this I click on apply AND go to 'Profiles' and I save my custom made profile called 'projector'.

When I switch back to my monitor and after this switch back again to my projector it goes back to the default YCbCr setting and some underscan. So I always have to adjust these 2 manually even though I saved it in my profile. Is this a bug or am I doing something wrong here?

cheers.

CiTay
19th March 2009, 13:12
I installed Catalyst 9.3 for my Radeon 4670 today (Vista x64, MPC HC x86). The levels are still wrong, same as with 9.2. So the "UseBT601CSC" trick doesn't work anymore since 9.1 and it always shows a picture that's too bright (lows and highs cut off).

I don't know what happened in Catalyst 9.2, but don't really want to use a shader to correct this, because i think this could be fixed on a lower level, so to speak. P.S. I also tried the latest MPC HC build, same thing.

alexins
19th March 2009, 13:18
Media Player Classic HomeCinema (x86/x64), svn 1013 (http://www.xvidvideo.ru/content/view/677/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

CHANGE : MpcApi(can connect to mpc-hc, if it's already run);
CHANGE : Filename pattern used for saving screenshot(format - filename_"snapshot"_date_time) and thumbnails(filename_"thumbs"_date_time);

ranpha
19th March 2009, 13:49
CHANGE : Filename pattern used for saving screenshot(format - filename_"snapshot"_date_time) and thumbnails(filename_"thumbs"_date_time);

+10

A good change. Now making screenshots for my anime reviews will be a cinch.

cca
19th March 2009, 13:51
I installed Catalyst 9.3 for my Radeon 4670 today (Vista x64, MPC HC x86). The levels are still wrong, same as with 9.2. So the "UseBT601CSC" trick doesn't work anymore since 9.1 and it always shows a picture that's too bright (lows and highs cut off).

I don't know what happened in Catalyst 9.2, but don't really want to use a shader to correct this, because i think this could be fixed on a lower level, so to speak. P.S. I also tried the latest MPC HC build, same thing.
This is not going to be "fixed", it's a feature not a bug. If you don't want to use shaders, give Beliyaal's experimental build a try, you can select levels at will (only with EVR custom though).

Otherwise take a look at the "FAQ: How to correct luminance levels" thread.

diman1982
19th March 2009, 16:29
Hello. I have a tearing problem in 24p(basic for hd material) refresh mode, my config:

- winxp sp3 x86
- athlon x2 5600+ (not o/c)
- nvidia 9500gt with latest drivers(btw cuda with coreavc works fine even with hdrips)
- mpc-hc 1.2.1011.0
- signal is going to panasonic lcd tv via hdmi

So, i tried diffent renderers in mpc-hc:
- overlay mixer gives zero tearing and zero stuttering BUT it has a progressive a/v desync.
- vmr9 renderless gives excellent a/v sync but an awfull tearing
other renderers also have either tearing or a/v desync

I tried software and hw(cuda, dxva) decoding with different codecs(mpchc vide decoder, coreavc, ffdshow) - same results

I tried several sync options: vsync in nvidia drivers, checkboxes in "output" section of mpc - same results

SO, how can i fix my problem? maybe i should change something in nvidia driver sattings?
Or should i buy another video card, sometging like Ati 4650?

p.s. the one thing that i REALLY don't want to do is change my OS to Vista. I heard that EVR renderer on vista is good, but i just dont like this os.
thanks in advance.

CiTay
19th March 2009, 16:48
This is not going to be "fixed", it's a feature not a bug. If you don't want to use shaders, give Beliyaal's experimental build a try, you can select levels at will (only with EVR custom though).

Otherwise take a look at the "FAQ: How to correct luminance levels" thread.

I'm not so sure which behavior is the correct one. ATI seems to change some procedures from time to time (changed UseBT601CSC behavior since 9.2 for example). I did some tests regarding UseBT601CSC, it still works for Windows Media Player, presumably because that doesn't use EVR custom. Without UseBT601CSC=1, WMP uses the wrong levels (washed out). So the setting still has some use.

In MPC HC, UseBT601CSC has no effect, as mentioned before, so it seems you have to use the 16-235 -> 0-255 shader now to get the correct luminance range.

The question is, is that really the best way to not lose anything from the range because of double-compression/expansion or whatever might be going on? That's the only thing i care about, not lose anything from the possible luminance range or from the colors.

Or maybe someone should make a test video with B/W gradients and see if there is banding with one method or another...

These different levels are kind of a headache. I guess it gets more complicated once you use HDMI.

test12314124
19th March 2009, 16:49
Hello. I have a tearing problem in 24p(basic for hd material) refresh mode, my config:

- winxp sp3 x86
- athlon x2 5600+ (not o/c)
- nvidia 9500gt with latest drivers(btw cuda with coreavc works fine even with hdrips)
- mpc-hc 1.2.1011.0
- signal is going to panasonic lcd tv via hdmi

So, i tried diffent renderers in mpc-hc:
- overlay mixer gives zero tearing and zero stuttering BUT it has a progressive a/v desync.
- vmr9 renderless gives excellent a/v sync but an awfull tearing
other renderers also have either tearing or a/v desync

I tried software and hw(cuda, dxva) decoding with different codecs(mpchc vide decoder, coreavc, ffdshow) - same results

I tried several sync options: vsync in nvidia drivers, checkboxes in "output" section of mpc - same results

SO, how can i fix my problem? maybe i should change something in nvidia driver sattings?
Or should i buy another video card, sometging like Ati 4650?

p.s. the one thing that i REALLY don't want to do is change my OS to Vista. I heard that EVR renderer on vista is good, but i just dont like this os.
thanks in advance.Yeah the 24hz support is not good at all in mpc-hc, can't get it to work without dropped frames and audio off sync.

cengizhan
19th March 2009, 17:26
CHANGE : Filename pattern used for saving screenshot(format - filename_"snapshot"_date_time) and thumbnails(filename_"thumbs"_date_time);

:thanks:

yesgrey
19th March 2009, 18:22
I heard that EVR renderer on vista is good, but i just dont like this os.
Use the mpc-hc Belyiaal build and EVR CP. You can use EVR in XP, you just need to install microsoft .net 3.5 sp1.
I am using and the results are great.

73ChargerFan
19th March 2009, 18:25
These different levels are kind of a headache. I guess it gets more complicated once you use HDMI.

I agree, I never had those problems with my nvidia 7800gtx (it died.) My ATI 4850 on amd 4600x2 will decode almost everything using dxva now, but I have to switch a bunch of options with every video to get good contrast.

diman1982
19th March 2009, 19:18
Use the mpc-hc Belyiaal build and EVR CP. You can use EVR in XP, you just need to install microsoft .net 3.5 sp1.
I am using and the results are great.
you meen build №18?

what evr custom settings do you use? :
resizer, d3d fullscreen, alternative vsync, evr buffers.

what audio renderer should i use(may be this is important)?

Also, there is a new "render settings" in pop up menu, what checkboxes should i mark there?

yesgrey
19th March 2009, 20:52
you meen build №18?
Yes. I uncheck d3d fullscreen, check alternative vsync, 6 evr buffers.
In "render settings" in pop up menu, check VSync and Accurate VSync.
For audio renderer, I always use Reclock, because is the only that uses Kernel Streaming.

john12ik2
19th March 2009, 21:08
CHANGE : Filename pattern used for saving screenshot(format - filename_"snapshot"_date_time) and thumbnails(filename_"thumbs"_date_time)

If I may make a suggestion:

Rather than [filename_"snapshot"_date_time]

could the 'date_time' be replace with 'timestamp' (hh_mm_ss) of the video, so that it is [filename-"snapshot"-timestamp]?

The 'date_time' information is already contained within the file by looking at the file properties. Placing the timestamp of where the image was taken from would provide a better reference information.

swalker
19th March 2009, 22:46
CHANGE : Filename pattern used for saving screenshot(format - filename_"snapshot"_date_time) and thumbnails(filename_"thumbs"_date_time);

I don't think you're going to appease everybody short of adding prefix/suffix textboxes to the appropriate dialogs.

Snowknight26
19th March 2009, 22:53
When DXVA is being used, a 1080p MBAFF stream that I have is being deinterlaced by my video card (4850), resulting in over 50% of the frames being dropped. When I check the info (Ctrl+4), it shows its being played back at 50fps (original is 25fps) and as I guessed, over 50% of the frames are being dropped. Seems as if its playing at 25fps but every other frame is a duplicate. Maybe would be good to add some check so that MBAFF streams are passed as progressive?

Leak
20th March 2009, 10:39
could the 'date_time' be replace with 'timestamp' (hh_mm_ss) of the video, so that it is [filename-"snapshot"-timestamp]?
Also, in case of DVDs it currently uses a fixed name "dvd_snapshot" if I read the patch correctly - how about using the disc's volume label instead?

JohnLai
20th March 2009, 11:27
Regarding my problem with EVR Custom, what is the evr.dll version that run fine with users on windows xp? I am currently using 6.0.6001.17014 and it keep showing error.

yesgrey
20th March 2009, 12:16
what is the evr.dll version that run fine with users on windows xp? I am currently using 6.0.6001.17014 and it keep showing error.
Mine is 6.0.6001.17052 which came in .net 3.5 sp1.

JohnLai
20th March 2009, 12:50
O.o? strange, how am i suppose to update to that version? I downloaded the installer from http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en , and let it finish downloading and install, yet i still unable to get 6.0.6001.17052.

yesgrey
20th March 2009, 13:02
I got the full package, here (http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe).

And also note this (http://www.microsoft.com/downloads/details.aspx?familyid=6c095bba-6100-4ec9-9c54-6450b0212565&amp;displaylang=en&displaylang=en).

JohnLai
20th March 2009, 13:19
I got the full package, here (http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe).

And also note this (http://www.microsoft.com/downloads/details.aspx?familyid=6c095bba-6100-4ec9-9c54-6450b0212565&amp;displaylang=en&displaylang=en).

Tried all those, full 231mb and those 3 updates. Already reboot and still the same 6.0.6001.17014. I just dont understand why I am the only one who encounter such issue on xp.

yesgrey
20th March 2009, 16:29
Tried all those, full 231mb and those 3 updates. Already reboot and still the same 6.0.6001.17014. I just dont understand why I am the only one who encounter such issue on xp.
You are looking for it in the System32 folder, right?

THX-UltraII
20th March 2009, 16:32
When I play .mkv files I have the possibility to drop CoreAVC (software decoding) and let my card do the decoding. I can achieve this by check the 2 boxes H264/AVC in the Internal Filters/Transform Filters in MPC-HC correct?

tetsuox
20th March 2009, 16:44
When I play .mkv files I have the possibility to drop CoreAVC (software decoding) and let my card do the decoding. I can achieve this by check the 2 boxes H264/AVC in the Internal Filters/Transform Filters in MPC-HC correct?

MPC-HC Internal Codecs selected will override all external codecs, so, Yes. Also for hardware decoding you only have to check H264/AVC (DXVA), no need for the FFMPEG one.

For example, you can check H264/AVC (DXVA) in MPC-HC only, but not H264/AVC (FFMPEG), MPC-HC will fallback to the next AVC decoder in order of merit, in your case it should be CoreAVC.

Please also remember that .mkv (Matroska) is a container, not a codec. :)

clsid
20th March 2009, 16:44
Only enable the DXVA checkbox. Then CoreAVC will be used as fallback. If you also check the FFmpeg box, then the internal software decoder will be used as fallback.

THX-UltraII
20th March 2009, 16:52
thxz clsid. And what about these settings in the DXVA settings:

- Decoding thread number: 1,2,3,4,5 or 6 <=what do I have to pick here?
- H264 skip deblocking mode: None, Default, Non Reference, Bidirectional, Non keyframes or All frames <=what do I have to pick here?
- Error resilience: Careful, Compliant, Aggressive or Very Aggressive<=what do I have to pick here?
- IDCT algorithm: Auto, Lib Mpeg2 MMX, Simple MMX<=what do I have to pick here?
- Read AR from stream <=check or uncheck?

JohnLai
20th March 2009, 16:58
>.< can someone send me the important dll required for the EVR Custom. I know about regsvr32 stuff. So far, i only know evrprop.dll, evr.dll, and dxva2.dll are required, anymore to add?

diman1982
20th March 2009, 17:04
Yes. I uncheck d3d fullscreen, check alternative vsync, 6 evr buffers.
In "render settings" in pop up menu, check VSync and Accurate VSync.
For audio renderer, I always use Reclock, because is the only that uses Kernel Streaming.
thanks a lot! and thanks, Belyiaal!!!
i've tried his build №18. It seems to me that my problem is solved. With evr custom and your properties there are zero tearing. May be there is a little stuttering, but you have to look for it to see it. And it somehow manages to dynamically eliminate a/v desync. I think it's the best 24p solution for me.

clsid
20th March 2009, 17:06
@THX-UltraII

Those settings only apply to software decoding, not DXVA. You should leave them all on the default values. They should not be changed. What they mean is not important for you. The only option that users should change is the number of threads. You should set that equal to the number of CPU cores that your PC has.

JohnLai
20th March 2009, 18:00
Thx for the evr files,. yesgrey3. Now it reports another error instead of memory could not be read which is :-
Application Error
AppName: mplayerc.exe AppVer: 1.2.1013.0 ModName: ntdll.dll
ModVer: 5.1.2600.5512 Offset: 0001b1fa

yesgrey
20th March 2009, 18:03
JohnLai,
Do you have the latest DirectX installed? Go to Belyiaal's thread first post and download the DX redist. Maybe that's your problem...

Stereodude
20th March 2009, 23:11
I have a .mkv that I made directly from the video and audio streams in the a Blu-Ray. The video is WVC1. It uses the VC1 decoder built into MPC HC to play it back, but it will not utilize the DXVA acceleration. It will use the hardware acceleration if played in Arcsoft TMT (but the audio doesn't work there), so the video stream is presumably capable of DXVA acceleration. Is there some reason why it doesn't trigger or work with the DXVA decoder in MPC HC?

It shows this info:

Media Type 0:
--------------------------
Video: WVC1 1920x1080 23.98fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435657-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 146

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 1920
dwPictAspectRatioY: 1080
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 74
biWidth: 1920
biHeight: 1080
biPlanes: 1
biBitCount: 24
biCompression: WVC1
biSizeImage: 6220800
biXPelsPerMeter: 1
biYPelsPerMeter: 1
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ........€...8...
0040: 00 00 00 00 00 00 00 00 4a 00 00 00 80 07 00 00 ........J...€...
0050: 38 04 00 00 01 00 18 00 57 56 43 31 00 ec 5e 00 8.......WVC1.ì^.
0060: 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
0070:|00 00 00 01 0f db 7e 3b f2 1b 8a 3b f8 86 f1 80 .....Û~;ò.Š;ø†ñ€
0080: 4a 02 02 03 09 ae ac f7 27 04 00 00 01 0e 5a df J....®¬÷'.....Zß
0090: f8 40 ø@


Media Type 1:
--------------------------
Video: WVC1 1920x1080 23.98fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435657-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 122

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

BITMAPINFOHEADER:
biSize: 74
biWidth: 1920
biHeight: 1080
biPlanes: 1
biBitCount: 24
biCompression: WVC1
biSizeImage: 6220800
biXPelsPerMeter: 1
biYPelsPerMeter: 1
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 3b 5d 06 00 00 00 00 00 ........;]......
0030: 4a 00 00 00 80 07 00 00 38 04 00 00 01 00 18 00 J...€...8.......
0040: 57 56 43 31 00 ec 5e 00 01 00 00 00 01 00 00 00 WVC1.ì^.........
0050: 00 00 00 00 00 00 00 00|00 00 00 01 0f db 7e 3b .............Û~;
0060: f2 1b 8a 3b f8 86 f1 80 4a 02 02 03 09 ae ac f7 ò.Š;ø†ñ€J....®¬÷
0070: 27 04 00 00 01 0e 5a df f8 40 '.....Zßø@




I'm using MPC-HC Beliyaal version build17 (b.1010)


Did I foul up the .mkv somehow, or is there something else goofy going on?

Thanks!

JohnLai
21st March 2009, 00:41
JohnLai,
Do you have the latest DirectX installed? Go to Belyiaal's thread first post and download the DX redist. Maybe that's your problem...

Too bad, I already install the latest Directx November 2008 again and again.....

ADude
21st March 2009, 01:28
When I play .mkv files I have the possibility to drop CoreAVC (software decoding) and let my card do the decoding. I can achieve this by check the 2 boxes H264/AVC in the Internal Filters/Transform Filters in MPC-HC correct?

Be aware that not all .mkv files will be hardware-decoding compatible.

So, sometimes you may need to do software decoding.

This is why the most practical upgrade is a faster processor and CoreAVC, and thus avoiding the " 2008-2009 hardware decoder bubble ". ;)

yesgrey
21st March 2009, 01:38
Too bad, I already install the latest Directx November 2008 again and again.....
What's your graphics card? drivers version?

JohnLai
21st March 2009, 04:28
Gainward ATI 4850 GS 1GB, Catalyst 8.12 (no hotfix)

tetsuo55
21st March 2009, 10:21
Can anyone confirm?

WMV decoding seems to be broken in Windows7, i get a "this application has crashed" screen.

Happens with latest SVN and Beliyaal build.

Works with the Windows Media Player version that is included with windows 7

EDIT:
Looks like MPC-HC is unable to connect to WMVideo decoder DMO

(Note that WMAudio decoder DMO does connect)

Different renderers do not help, i tried EVR CP, EVR, DX9, all crash

yesgrey
21st March 2009, 12:17
Gainward ATI 4850 GS 1GB, Catalyst 8.12 (no hotfix)
It could be a drivers problem... your drivers date is very close to the DirectX update, so it could exist any incompatibility... maybe it's better trying with the latest... I think it's catalyst 9.3 (I hava an NVidia 8600GT)

alexins
21st March 2009, 12:20
Media Player Classic HomeCinema (x86/x64), svn 1014 (http://www.xvidvideo.ru/content/view/681/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Changed : Playlist file is now saved in mpc folder (patch # 2671496);
Changed : frame by frame modify to support step frame back functionality (except for VMR9).

clsid
21st March 2009, 13:37
Not everyone that uses the INI file is necessarily running MPC as a portable app. They may be running it from program files or any other location with restricted file permissions. So there may not be access rights to write the playlist file.

I think it would be a good idea to store the playlist location in the INI file. Allowing users to store it in any desired location.

Klaus_1250
21st March 2009, 14:57
I've used the registry patch to up the number of Ref frames MPC-HC will accept using DXVA to 15 (1f), but now it gives a rather annoying warning message for all those files. Including when Windows creates thumbnails :-( Not very practical and rather annoying.
How do I remove the warning message?

Miryan
21st March 2009, 15:48
"Changed : Playlist file is now saved in mpc folder (patch # 2671496);"

Thank you for that!

Peuj
22nd March 2009, 00:31
Hi,

I've problem with DXVA or internal H264 filter.
The following video cannot be played correctly using the latest MPC 1014. It's like a lot of frames were missing.
I've tried using coreavc and I don't have the problem.

http://www.sendspace.com/file/19notd

I don't know if more information is need?

Thanks

Kado
22nd March 2009, 00:34
@Klaus_1250
Use "16" value in hex it's "21" in decimal and no warnings will pop up.

@Peuj
It does not play properly here either.

Aleksoid1978
22nd March 2009, 02:15
Hi,

I've problem with DXVA or internal H264 filter.
The following video cannot be played correctly using the latest MPC 1014. It's like a lot of frames were missing.
I've tried using coreavc and I don't have the problem.

http://www.sendspace.com/file/19notd

I don't know if more information is need?

Thanks

H264/AVC in .avi container bad play. Transferred to. mkv and should play excellent.

krbo
22nd March 2009, 11:32
OK, I need a help or at least push to a right direction.

Starting from version somewhere between 900 and 920 (900 is still OK)
I'm having a problem with MPCHC on my HTPC:

Radeon HD 3200
Vista 32 Ultimate
Catalyst 8.5
EVR custom
latest directX runtime
(except AC3filter there are no external codecs )


MPC crashes like a crazy with h.264 video. Well known message:

"The instruction at (various) referenced memory at (various).
The mem couldn't be read. Click OK to terminate"

Most often it happens during opening movie.
Sometimes (depends of a MPC version) movie can be played 2-3 times but
when crash starts I must open some XVID movie to be able to load mkv again
(like xvid "purges" some mem, buffers or whatever went wrong)

Sometimes is enough to pause movie and change channel on TV (so EDID
handshake starts again via HDMI) to have it crashed

Never saw anyone here reports something like this, can be a problem on my
side only but versions below 900 are OK and above problematic (including the latest 1014
which is one of the most stable)

I'm reluctant to new video drivers as 9.1 was not able to install catalyst centre
and I had other problems with.

Any suggestions?

Peuj
22nd March 2009, 11:34
@Klaus_1250
@Peuj
It does not play properly here either.

Thanks.

H264/AVC in .avi container bad play. Transferred to. mkv and should play excellent.

You mean it's not a problem or "transferring" to mkv is a solution to solve the problem?

The thing is, it works well with CoreAVC.

Thanks

tetsuo55
22nd March 2009, 11:44
You mean it's not a problem or "transferring" to mkv is a solution to solve the problem?

The thing is, it works well with CoreAVC.

Thanks

He means, you should remux the file from avi to mkv to fix the problem completely.

The avi container was never meant to support h264 and many filters have problems supporting this correctly.

Peuj
22nd March 2009, 15:27
He means, you should remux the file from avi to mkv to fix the problem completely.

The avi container was never meant to support h264 and many filters have problems supporting this correctly.

Ok thanks I understand now.
I think I'll simply use CoreAVC which don't care about avi container.
It's more simple for me to watch this file than remux first.

Thanks

DigitalDeviant
22nd March 2009, 15:55
I have a few Blu-ray discs where subtitles do not work from at least r934 on. The last version I found that works is r929.

Tekkon Kinkreet
http://www.sendspace.com/file/6o2tsf

Akria
http://www.sendspace.com/file/5t7xv1

Kado
22nd March 2009, 16:00
@Peuj
The video in MKV container plays fine.

Peuj
22nd March 2009, 16:30
@Peuj
The video in MKV container plays fine.

Yes thanks but I don't know how to do this and just wanted to report what I've wrongly considered as a bug because CoreAVC could do it. :)

Thanks

buzzqw
22nd March 2009, 16:42
dumb question:

is possible for mpc-hc to use internal dvxa decoder for supported file AND switch to another decoder (like core-avc) for NON dvxa compatible file ?

thanks

BHH

Leak
22nd March 2009, 16:47
is possible for mpc-hc to use internal dvxa decoder for supported file AND switch to another decoder (like core-avc) for NON dvxa compatible file ?
There's separate options for DXVA and FFmpeg decoding for H.264 and VC-1; just disable the FFmpeg ones and it should use whatever other decoder you have installed in case DXVA isn't used.

np: Adolf Noise - Geklöppel B Zwei (Wo Die Rammelwolle Fliegt)

buzzqw
22nd March 2009, 16:54
thanks Leak, i missed the option!

:thanks:

BHH

Kado
22nd March 2009, 17:08
@Peuj
Use MKVToolnix (http://www.bunkus.org/videotools/mkvtoolnix/).

Peuj
22nd March 2009, 17:40
@Peuj
Use MKVToolnix (http://www.bunkus.org/videotools/mkvtoolnix/).

Thanks

Casimir666
22nd March 2009, 17:50
I have a few Blu-ray discs where subtitles do not work from at least r934 on. The last version I found that works is r929.

Tekkon Kinkreet
http://www.sendspace.com/file/6o2tsf

Akria
http://www.sendspace.com/file/5t7xv1

Ok fixed.

DigitalDeviant
22nd March 2009, 17:59
Ok fixed.

Holy crap, that was quick. :eek::thanks:

I'll probably have another Blu-ray subtitle bug report later today after I get a sample uploaded.

Egh
22nd March 2009, 19:09
Ok fixed.

Since we have your attention :D Casimir666, can you explain this:

http://xs537.xs.to/xs537/09120/mon1479.jpg.xs.jpg (http://xs.to/xs.php?h=xs537&d=09120&f=mon1479.jpg)compared to that: http://xs537.xs.to/xs537/09120/mon2546.jpg.xs.jpg (http://xs.to/xs.php?h=xs537&d=09120&f=mon2546.jpg)

Same video, just moved from monitor1 to monitor2. It is 1080p downscaled to fit into display resolution (both monitors cannot take 1080p directly). Seems like MPCHC code doesn't properly rebuild the chain in such cases both in VMR9 and EVRCP here. However Haali works as required...

envagyok
22nd March 2009, 20:31
Hy, i have samsung hd-ready lcd-tv what is capable to display 720p 50hz or 60hz, and 1080 25i or 30i signal. My VGA is ATI HD4870
My problem: when i try play movie what have 23.976, or 23.98, or 24hz fps, then the film is not played nice, not liquid, little-little bit jerky.
My display setted up to 720p60.
I have sanyo pt-ax100e 720p beamer, what is capable to 1080 24p.

How can i set up MPC-HC, and catalyst cointrol center to play best visible quality my 23.98, 23.976, 24, 25, 29.97, 30fps movies?
Or always must change refresh rate, or can i set something to change refresh rate the best possible quality?

Thanks for help.

Mixer73
22nd March 2009, 21:39
How can i set up MPC-HC, and catalyst cointrol center to play best visible quality my 23.98, 23.976, 24, 25, 29.97, 30fps movies?

24p content on a 60hz display will always look jerky, because you need to apply 3:2 cadence to display 24p content on a 60p display.

This means the frames are displayed a bit like this:

111223334455566

So the motion is uneven and its very noticeable on pans.

Only way to make it nice is to get a display that can do 24hz native, or a multiple thereof like 48hz or 72hz.

Beware of anybody claiming they do "higher" and that "higher" is better, because it aint necessarily so.

envagyok
22nd March 2009, 21:53
24p content on a 60hz display will always look jerky, because you need to apply 3:2 cadence to display 24p content on a 60p display.

This means the frames are displayed a bit like this:

111223334455566

So the motion is uneven and its very noticeable on pans.

Only way to make it nice is to get a display that can do 24hz native, or a multiple thereof like 48hz or 72hz.

Beware of anybody claiming they do "higher" and that "higher" is better, because it aint necessarily so.



ok, i understand
and any speed up to 25 hz?
because my tv can 720p 50hz, and when i speed up the film to 25p, then must look good.
how can i make this with mpc-hc?
and the dts or dd sound can i speed up too?

cengizhan
22nd March 2009, 22:18
I have made a new feature request on tracker:
A recent files list in context menu so that we can continue watching quickly without searching disk for last video.

Beliyaal
22nd March 2009, 22:54
New version (Link in signature):
* Updated to lastest SVN
* Fixed: Stutters minimized (EVR only). Tested matrix: (23.976fps, 24fps, 25fps, 50fps, 59.94ps) x (23.796Hz, 24Hz, 47.952Hz, 50Hz, 59.94Hz, 60Hz)
* Fixed: Normal VSync now stutters less (not at all hopefully) as the VSync pre wait has a larger margin (5 ms instead of 1.8 ms)
* Fixed: VMR9 crash when not using mixer mode.
* Fixed: When Aero is enabled the screen no longer flickers or crash when using full screen mode.
* Fixed: Options dialog and other dialog no longer appear on the fullscreen window, unless fullscreen gui support is enabled.
* Fixed: 10 bit dislay mode now works in fullscreen mode.
* Changed: VSync position when desktop composition is enabled moved to middle of screen, instead of top of screen.

This version is a candidate for submitting the patches to SVN. If no mayor problems are found with this build I will aim at submitting everything to SVN next weekend.

Please report any problems and discuss this build in the link in signature.

DigitalDeviant
22nd March 2009, 22:58
Here is a Blu-ray clip that the subtitles display, just not correctly.

http://img16.imageshack.us/img16/9572/gits.th.png (http://img16.imageshack.us/my.php?image=gits.png)

http://www.sendspace.com/file/jyj14y

Peuj
22nd March 2009, 23:01
ok, i understand
and any speed up to 25 hz?
because my tv can 720p 50hz, and when i speed up the film to 25p, then must look good.
how can i make this with mpc-hc?
and the dts or dd sound can i speed up too?

I set the output to 1080p50 with my Nvidia card and I use Reclock.

alexins
23rd March 2009, 02:19
Media Player Classic HomeCinema (x86/x64), svn 1015 (http://www.xvidvideo.ru/content/view/683/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

Fixed : no presentation graphics with some M2TS files (broken in rev #931).

Lincoln Burrows
23rd March 2009, 02:55
While using MPC-HC I noticed a strange OSD in my screen while doing anything, the command is referred in the corner of the video... and I can't get rid of it. I never saw such thing while using the normal MPC. Is there a way to solve that?

If you don't noticed the same thing, I will try to get a picture as an example.

madshi
23rd March 2009, 08:38
* Fixed: 10 bit dislay mode now works in fullscreen mode.
With which graphics card and OS does this work? I thought all the current graphics cards are still HDMI 1.2 or older? HDMI 1.2 does not support RGB output in more than 8 bit. So I'm slightly confused. Thanks!

ranpha
23rd March 2009, 08:52
With which graphics card and OS does this work? I thought all the current graphics cards are still HDMI 1.2 or older? HDMI 1.2 does not support RGB output in more than 8 bit. So I'm slightly confused. Thanks!

AMD 780G chipset is HDMI 1.3 for video, and I assume that ATI HD4xxx cards are the same too.

Beliyaal
23rd March 2009, 09:11
With which graphics card and OS does this work? I thought all the current graphics cards are still HDMI 1.2 or older? HDMI 1.2 does not support RGB output in more than 8 bit. So I'm slightly confused. Thanks!

Only works with Vista and later from what I understand.

I'm not sure if the driver is outputting the 10 bit signal over HDMI (4870 has HDMI 1.3), but now at least they have software to test it with. Also it could help with color resolution when outputting with YCrCb format (8YUV->10RGB->8YCrCB is better than 8YUV->8RGB->8YCrCB). Also analog displays can support 10 bit resolution because they are analog.

marc99
23rd March 2009, 10:16
(...)Also analog displays can support 10 bit resolution because they are analog.

If RAMDAC support 10bit.

tetsuo55
23rd March 2009, 11:13
Can anyone confirm?

WMV decoding seems to be broken in Windows7, i get a "this application has crashed" screen.

Happens with latest SVN and Beliyaal build.

Works with the Windows Media Player version that is included with windows 7

EDIT:
Looks like MPC-HC is unable to connect to WMVideo decoder DMO

(Note that WMAudio decoder DMO does connect)

Different renderers do not help, i tried EVR CP, EVR, DX9, all crash

I created a bug-report:
https://sourceforge.net/tracker2/?func=detail&aid=2705714&group_id=170561&atid=854651

madshi
23rd March 2009, 11:20
Only works with Vista and later from what I understand.

I'm not sure if the driver is outputting the 10 bit signal over HDMI (4870 has HDMI 1.3), but now at least they have software to test it with. Also it could help with color resolution when outputting with YCrCb format (8YUV->10RGB->8YCrCB is better than 8YUV->8RGB->8YCrCB). Also analog displays can support 10 bit resolution because they are analog.
Thanks!

diman1982
23rd March 2009, 19:16
Dear developers! There is an option in Options - Playback - Change fullscreen resolution(to some fixed resolution/refresh). It would be great if the player could set refresh automatically, depending on video fps(23.976fps -> 24hz refresh; 25fps -> 50hz).

mark0077
23rd March 2009, 19:42
Just reposting a bug I reported a few weeks back along with another audio bug.

Bug 1) Dolby True HD within .ts file, the front right channel is inaudible. Using ffdshow audio decoder there is no problem, only mpc-hc decoder has the problem.
Bug 2) I have just been playing some DVD's and notice I am having problems with DTS decoding using the built in decoder. Playing DTS within a DVD I get a media connection type: unknown (giving silence when passing uncompressed audio through ffdshow and only a few channels without ffdshow in the chain). Here is the output pin info.

=======================

Filter : AC3 Audio Decoder - CLSID : {3D446B6F-71DE-4437-BE15-8CE47174340F}

- Connected to:

CLSID: {9B8C4620-2C1A-11D0-8493-00A02438AD48}
Filter: DVD Navigator
Pin: AC3

- Connection media type:

Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_DVD_ENCRYPTED_PACK {ED0B916A-044D-11D1-AA78-00C04FC31D60}
subtype: MEDIASUBTYPE_DTS {E06D8033-DB46-11CF-B4D1-00805F6CBBEA}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0000
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 0
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: 00 00 06 00 80 bb 00 00 00 00 00 00 00 00 00 00 ....€»..........
0010: 00 00 ..

=======================

Playing a dtspiano.vob file which has worked fine in the past for me, gives the following output, but the same problem, maybe 1 or 2 of the 6 channels are heard. Very strange.

=======================

Filter : DTS Decoder - CLSID : {3D446B6F-71DE-4437-BE15-8CE47174340F}

- Connected to:

CLSID: {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
Filter: E:\surround sound demos\dtspiano.vob
Pin: Audio

- Connection media type:

Audio: DTS 48000Hz 6ch 1509Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_DTS {E06D8033-DB46-11CF-B4D1-00805F6CBBEA}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x2001
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 188719
nBlockAlign: 2013
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: 01 20 06 00 80 bb 00 00 2f e1 02 00 dd 07 00 00 . ..€»../á..Ý...
0010: 00 00 ..

=======================

Again decoding in ffdshow is fine, no problems. This DTS problem effects me on Vista 32 and Vista 64 so its not just a current setup problem. I have the DTS decoder settings set to 3 front 2 rear, and LFE on as usually works fine.

neoufo51
24th March 2009, 07:04
DirectX Redist March 2009 and DirectX SDK March 2009 released.

http://download.microsoft.com/download/3/C/4/3C46A69A-CB0F-4CCA-B1E8-248D43270D5F/directx_mar2009_redist.exe

http://download.microsoft.com/download/3/A/5/3A53CE87-F5C9-4CE5-92E1-5E2AF4841741/DXSDK_Mar09.exe
You beat me to it. Downloading now.

SeeMoreDigital
24th March 2009, 12:47
Microsofts web site link: -

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3

rotflol
24th March 2009, 16:38
Hi guys,

Stupid question: what do I lose if I use just the MPCHC exe, without the dlls that are packed with it (apart from the translations)?

mariner
24th March 2009, 16:42
Feature request : ArcSoft VC1 Decoder connectivity.

Greetings Casimir.

At the moment, MPC's internal splitter will only connect to ArcSoft's Video Decoder for H264 content, but not VC1. In another thread, Jay Bee has provided an inter connect filter to enable this:

http://forum.doom9.org/showpost.php?p=1250140&postcount=15


Ok, here's a zip with four different versions of VC-1 Tweaker. They connect the

Arcsoft Video decoder to the VC-1 pin of either Haali Media Splitter, Haali Media Splitter (AR), MPC

Mpeg Splitter or MPC Mpeg Source.

They all have different names and GUIDs so they can be installed at the same time.

download (http://rapidshare.com/files/198552472/VC1Tweak.zip)

The ArcSoft VC1 Decoder is great especially for interlaced contents. Would be most grateful if you could kindly consider adding this feature in your future updates.

Attached are pin info for Arcsoft Demux and Decoder.


Many thanks and best regards.

Leak
24th March 2009, 17:36
Stupid question: what do I lose if I use just the MPCHC exe, without the dlls that are packed with it (apart from the translations)?
Translations and fancy file icons in Explorer.

np: Superpitcher vs. The Congosound - Say I'm Your Number One (Superpitcher Remix) (Kompakt Total 9 (Disc 1))

CSMR
24th March 2009, 18:34
First of all thanks to the MPC-HC developers for a fantastic player which I never fail to recommend.

Now I'm having problems playing from a NAS. A 2hr 4.5Gb video file might be copied from the NAS to the local hard drive in 10mins, so bandwidth is approx 10 times more than necessary. But when playing on MPC-HC direct from the NAS, there is trouble with stuttering resulting from buffer underruns. This happens on many files with some variation in the bitrate that causes problems, with the files in general using the internal MPC-HC decoder with DXVA active.

Any ideas how to fix this? I've tried changing the buffer settings but it doesn't do much good. It's a gigabit connection with jumbo enabled but speed is limited by the NAS; nevertheless it should be several times faster than necessary. Thanks for any help.

Edit: was using the released version, not current SVN; problem fixed

honai
24th March 2009, 19:13
Are you using onboard LAN? If so, it might use up too much CPU (up to 30% even on i7), and many LAN drivers for onboard solutions are also known to cause lag spikes due to bad interrupt handling.

Also, on Vista there is a known "feature"/bug that causes network bandwidth to be limited when a certain audio path is used for playback (Microsoft introduced this in Vista to avoid audio distortion due to excessive interrupts by other devices, i.e. network cards).

cheetah111
24th March 2009, 19:31
First of all thanks to all people working for this great project.
My problem:
As I use various configurations of internal and external filters depending on the content that I am watching (Cyberlink Powerdvd H264 Decoder for H264, internal VC1 Decoder for VC1, etc.), I have to change all the time the merits of the external filters and change configurations. Is there a way to save my configurations as profiles and load the right profile for the type of file that I want to watch?
Thanks.

Beliyaal
24th March 2009, 19:53
First of all thanks to the MPC-HC developers for a fantastic player which I never fail to recommend.

Now I'm having problems playing from a NAS. A 2hr 4.5Gb video file might be copied from the NAS to the local hard drive in 10mins, so bandwidth is approx 10 times more than necessary. But when playing on MPC-HC direct from the NAS, there is trouble with stuttering resulting from buffer underruns. This happens on many files with some variation in the bitrate that causes problems, with the files in general using the internal MPC-HC decoder with DXVA active.

Any ideas how to fix this? I've tried changing the buffer settings but it doesn't do much good. It's a gigabit connection with jumbo enabled but speed is limited by the NAS; nevertheless it should be several times faster than necessary. Thanks for any help.

Are you using the official version? I improved the streaming performance in the SVN version some time ago. If you haven't done so already you might want to try if it works better with the latest SVN build, or my build.

carlo_0000
25th March 2009, 01:31
hello

just to say that i resolve all my probleme
i tested arcsoft codec and it s the best one on my media center

using ati hd2400 pro and no sse2 cpu (athlon xp)

1080i dvb now plays fine


i m olso surpised with mpchc i can play 1080p x 264 level 5.1 with dxva and olso with subtitles

i read somewere what ati does not support level 5.1 dxva

and olso cannot load subtitle (.srt) with dxva enable

but it work very great, i m now able to watch x264 encoded with level 5.1 and subtitles

:):)

edit: ok not all files plays fine in level 5.1 , tested some old files @5.1 and didn't play fine

DeathWolf
25th March 2009, 01:36
suggestion: adding an option NOT to disable vsfilter.(fAutoloadSubtitles is broken in some way that even if mpc's subs are not enabled it still is enabled)
See:
--- src/apps/mplayerc/FGManager.cpp
@@ -2244,11 +2244,11 @@
// Block VSFilter when internal subtitle renderer will get used
if(s.fAutoloadSubtitles)

And:
--- src/apps/mplayerc/mplayerc.cpp
fAutoloadSubtitles = !!pApp->GetProfileInt(ResStr(IDS_R_SETTINGS), ResStr(IDS_RS_AUTOLOADSUBTITLES), IsVistaOrAbove() || !IsVSFilterInstalled() );


Reason?
Because the internal subtitler does not fit all tastes(ar reasons, lack of updates, options, etc) and one might want the autoloading vsfilter to be used instead.

jimz06
25th March 2009, 02:21
I'm having a problem with a straight .m2ts rip of Master and Commander blu ray. The disc plays fine on the PS3 and the rip plays fine on Popcornhour and in MPC-HC with CoreAVC. With DXVA though I get occasional image breakups like the following:

Clean Picture (http://home.comcast.net/~thesoubras/Pictures/Clipboard05.jpg)

and then just a second later the breakup:

Picture Breakup (http://home.comcast.net/~thesoubras/Pictures/Clipboard02.jpg)

I've tried the stable release and the 988 release with no difference and also played right off the disc to rule out problems with the rip. CPU usage is in single digits or teens so DXVA is working. Same repeatable problem on two different computers, one with an 8500GT and the other with a GTX 260. Is this some issue with my setup or am I running into some sort of limitation of MPC-HC?

Just wanted to report that this nagging issue of intermitment image breakup was fixed for me somewhere between svn 1005 and svn 1015. Fix confirmed on two problem files! Thanks to the developers!:thanks:

Mixer73
25th March 2009, 06:26
Now I'm having problems playing from a NAS. A 2hr 4.5Gb video file might be copied from the NAS to the local hard drive in 10mins, so bandwidth is approx 10 times more than necessary. But when playing on MPC-HC direct from the NAS

I'm going to presume you're running on Vista, because its easily explained.

Vista contains an inbuilt QOS throttle for LAN connections while you are using "multimedia" applications, so that network access won't interrupt your sound or video playback.

The problem is that the throttle is wrong by an order of magnitude, instead of a 5% reduction in bandwidth, it is throttled TO 5%.

I'm paraphrasing here but you get the idea. There's various reg fixes for it if it turns out to be the cause.

clsid
25th March 2009, 12:57
@DeathWolf
All you need to so is disable the internal subtitle filter. Then VSFilter will get used.

The code you quoted is used only for setting the initial value of the option. It does not override your changes.

Mercury_22
25th March 2009, 13:23
Since we are talking about subtitles, I have two problems too:
- with external subtitles (.srt or .sub) when playing ts or m2ts files I have to press Reload every time !
- also it's NOT possible to change from external subs to PGS and vice versa !

DeathWolf
25th March 2009, 13:30
EDIT: actually it seems that even if the Play->Subtitles menu does not have the enabled ticked, the autoloader is still loaded.(through the pref I previously mentionned)

Meaning the internal renderer is not active but it's still blocking DirectVobSub(autoloading).
hence the confusion ensued.

Mike5
25th March 2009, 17:20
Now I'm having problems playing from a NAS...when playing on MPC-HC direct from the NAS, there is trouble with stuttering resulting from buffer underruns.

I had a similar problem with MKV containers, then changed the splitter from the MPC-HC internal one to Matroska Splitter and the stuttering (which was very heavy) disappeared.

Now i regularly play MKV video files from a server via a 100Mb Ethernet with MPC-HC without problems, both in XP and in Windows 7 (never tried Vista).

alexins
26th March 2009, 00:07
Media Player Classic HomeCinema (x86/x64), svn 1018 (http://www.xvidvideo.ru/content/view/686/1/)

Supported languages: BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

NEW : Recent files menu(request #2704198); Update resource files.

St Devious
26th March 2009, 03:00
How does recent files menu work, its always grayed out for me, tried opening 5-6 files but still greyed

also i saw that the G45 recently got support for DXVA acceleration. I'm not much familiar with DXVA terminology, so could somebody please explain it to me , if the G45 can do what is done on Nvidia and ATI gpu's regarding MKV/H.264 acceleration.

Aleksoid1978
26th March 2009, 03:24
How does recent files menu work, its always grayed out for me, tried opening 5-6 files but still greyed


see in Options - http://pic.ipicture.ru/uploads/090326/thumbs/UO3LQ9r6SU.png (http://ipicture.ru/Gallery/Viewfull/16237166.html)

also i saw that the G45 recently got support for DXVA acceleration. I'm not much familiar with DXVA terminology, so could somebody please explain it to me , if the G45 can do what is done on Nvidia and ATI gpu's regarding MKV/H.264 acceleration.

Yea - now MPC-HC can use DXVA for H264/AVC on G45 chipset

Snowknight26
26th March 2009, 04:04
Yea - now MPC-HC can use limited DXVA for H264/AVC on G45 chipset

Fixed for the time being. ;)

cengizhan
26th March 2009, 04:37
NEW : Recent files menu(request #2704198); Update resource files.

This is really good news. Thanks

St Devious
26th March 2009, 05:21
see in Options - http://pic.ipicture.ru/uploads/090326/thumbs/UO3LQ9r6SU.png (http://ipicture.ru/Gallery/Viewfull/16237166.html)




Yea - now MPC-HC can use DXVA for H264/AVC on G45 chipset


thanks you.

are there any restrictions to what kind of H.264 encoded files can be played like the 5.1 profile on ATI and Nvidia GPU's. Any idea of the performance.

Mixer73
26th March 2009, 12:26
Hi guys

I'm using 1010 x64 build and I just found a wierd bug, if you have one video playing and if you drag another one in, it is playing both videos, and when you press stop it only stops the second one.

Also if you move the window from one screen to the other you get a crash.

I am running Vista x64, 4GB RAM, Q6600, Intel 965 board, 9800GT Nvidia card.

Aleksoid1978
26th March 2009, 14:11
I'm using 1010 x64 build and I just found a wierd bug, if you have one video playing and if you drag another one in, it is playing both videos, and when you press stop it only stops the second one.

I am running Vista x64, 4GB RAM, Q6600, Intel 965 board, 9800GT Nvidia card.

Yes, it sometimes happens. Just do not pay attention until the correct.


Also if you move the window from one screen to the other you get a crash.

Disable Shader - it's not a MPC-HC, it's a video driver or Microsoft windows bug. This happens not only at Nvidia, this happens on any video cards.

Egh
26th March 2009, 16:00
Disable Shader - it's not a MPC-HC, it's a video driver or Microsoft windows bug. This happens not only at Nvidia, this happens on any video cards.


Don't jump to conclusions as yet: I actually reported myself several bugs related to moving the window to a different monitor, and they were dully ignored :rolleyes:

They also were no way related to shaders. Older SVN revisions used to crash with VMR9/EVRCP if you move the window with stats displayed pretty often. Especially this patched version (plain SVN used to crash less frequently but still).

There are other bugs reported (not crashes) like rebuilding chain in the wrong way when moving downscaled video to a different monitor, but they all been reported in the main overloaded MPCHC thread and therefore dully ignored :)

theres a minor issue like this one :
http://forum.doom9.org/showthread.php?p=1264477#post1264477

khagaroth
26th March 2009, 21:28
What's "IDS_AG_TOGGLE_EDITLISTEDITOR" and all the ...EDL... strings in the resource file, it's hard to translate if I don't know what it is, and I don't see it anywhere in the GUI. Also, shouldn't the IDS_AG_EDO_NEW_CLIP be IDS_AG_EDL_NEW_CLIP?

Mixer73
26th March 2009, 21:47
Disable Shader - it's not a MPC-HC, it's a video driver or Microsoft windows bug. This happens not only at Nvidia, this happens on any video cards.

Well it doesn't happen with PowerDVD or WMP so it is neither a video driver or a MS Windows bug.

Another question - to be able to use FFDShow post-processing I need to install x64 version of FFDShow too?

CSMR
26th March 2009, 22:09
Are you using the official version? I improved the streaming performance in the SVN version some time ago. If you haven't done so already you might want to try if it works better with the latest SVN build, or my build.
OOPS, novice mistake! Yes I was using the official build not the SVN. Thanks for your work, yes huge improvement in streaming!

Spec-Chum
26th March 2009, 23:04
Guys, I'm trying to compile MPC-HC to have a tinker, but I'm running into an issue with version.h, it's not there :( I can see from post #4853 that is should get generated, but doesn't.

Any help appreciated.

*edit* D'OH! Never mind, I got it. I was doing a debug build, didn't occur to me to try a release...

Spec

Casimir666
26th March 2009, 23:38
What's "IDS_AG_TOGGLE_EDITLISTEDITOR" and all the ...EDL... strings in the resource file, it's hard to translate if I don't know what it is, and I don't see it anywhere in the GUI. Also, shouldn't the IDS_AG_EDO_NEW_CLIP be IDS_AG_EDL_NEW_CLIP?
I have commited the resource but not the associated code. Those string will be the name of shortcuts in option dialog box. Toggle edit list will display a window to define clips in a file.

You are right, the EDO should be a EDL :(

Leak
26th March 2009, 23:44
Guys, I'm trying to compile MPC-HC to have a tinker, but I'm running into an issue with version.h, it's not there :( I can see from post #4853 that is should get generated, but doesn't.
I'll just assume you've used TortoiseSVN to check out the source code.

If so, open a command prompt, cd to the source code's "include" directory and run
subwcrev .. SubWCRev.conf Version.h
to generate the Version.h file. (SubWCRev is installed with TortoiseSVN, that is...)

np: Sten - Take Me To The Fridge (The Essence)

Aleksoid1978
26th March 2009, 23:51
Well it doesn't happen with PowerDVD or WMP so it is neither a video driver or a MS Windows bug.


PowerDVD or WMP don't use shader. Disable shader in MPC-HC and move from one monitor to other. I test - and it's work.

St Devious
27th March 2009, 01:59
with G45, are there any restrictions to what kind of H.264 encoded files can be played like the 5.1 profile on ATI and Nvidia GPU's. Any idea of the performance.

Aleksoid1978
27th March 2009, 02:04
with G45, are there any restrictions to what kind of H.264 encoded files can be played like the 5.1 profile on ATI and Nvidia GPU's. Any idea of the performance.

Ati don't play 5.1 profile with DXVA.

krbo
27th March 2009, 10:26
Catalyst 9.3 @ ATI HD3200
Vista 32 ultimate EVRCP
HDMI connection

bug: recent SVNs (1xxx, 1015 last tested, 891 is OK)

play video , change TV channel and go back so HDMI (EDID) handshake starts.

After 2-3 flickers video is frozen, audio plays.

Beliyaal 1015 - (default settings) - video continues to play with enormous stutter at half fps approx.

No start/stop/pause/minimize/maximize can defreeze video. MPC must be restarted.

As I said v. 891 - all OK

Spec-Chum
27th March 2009, 11:49
I'll just assume you've used TortoiseSVN to check out the source code.

If so, open a command prompt, cd to the source code's "include" directory and run
subwcrev .. SubWCRev.conf Version.h
to generate the Version.h file. (SubWCRev is installed with TortoiseSVN, that is...)

np: Sten - Take Me To The Fridge (The Essence)

Sorry Leak, didn't notice your reply, first time I've used tortoise :) I resolved it by doing a release build.

Many thanks for the reply though

Richardw322
27th March 2009, 14:05
A novice question. Is it possible to use MPC_HC to playback MP3 files using the order in the tag rather than the file list order? Short of creating a playlist, that is. That is the only reason I keep using WMP. IF MPC would do that I would uninstall WMP in Windows 7. I don't care about the pretty album art BS, just the playback order.

DeathWolf
27th March 2009, 14:21
@DeathWolf
All you need to so is disable the internal subtitle filter. Then VSFilter will get used.

The code you quoted is used only for setting the initial value of the option. It does not override your changes.

I know. It still is confusing because the enable button lets one think autoload is disabled(since it seems to keep its state)

clsid
27th March 2009, 14:28
loading subs and showing/hiding them are two different things

DeathWolf
27th March 2009, 15:00
Not when the hidden status persists.
What point is it to have both a permanent un-enabled yet have subs auto-load?

clsid
27th March 2009, 15:54
It is simply the way it has been implemented. Loading subs (which can also be done manually!) and toggling their display on/off are two separate use cases. If you don't to use the internal subtitle functionality, then turn auto-loading off. It is as simple as that.

DeathWolf
27th March 2009, 15:58
Is there any reason to want to make the vsfilter blocking internal though?
It'd be much clearer if it was added by default to the ext filters list as blocked.
And it'd allow people to do weird chans(double subs loading for example, which can be useful in some cases of work with subtitles)

cca
27th March 2009, 16:37
Is there any reason to want to make the vsfilter blocking internal though?
It'd be much clearer if it was added by default to the ext filters list as blocked.
And it'd allow people to do weird chans(double subs loading for example, which can be useful in some cases of work with subtitles)

From your perspective perhaps, but MPC is primarily a player indented for end users, so all the options are arranged and set with that in mind. Sure, it can do some more advanced stuff, but never forget who the main user will be. Siplicity is the key, and you cannot imagine how many messages about double (and unwanted) subtitles I read in this very forum until they blocked VSfilter internally.

mark0077
27th March 2009, 16:47
cca, just on that about mpc being designed for end user etc. I was thinking about some findings I have come accross over the past few months with regards to quality of playback with mpc out of the box.

===

For us PAL users, with 99% of disks being badly marked as coming from interlaced sources, there is one setting within mpc that I believe should be changed out of the box to reflect this problem.....or at least improved to explain this.

That is the de-interlacing settings in the mpeg2 decoder options. When building machines for my family and friends I always (when I decide to leave ffdshow out of the mix) set the de-interlacing mode here to weave OR set the interlaced flag to be sent to the gfx card if I trust it to do a good job (even when it de-interlaces when it shouldn't that is). This allows those users to have 99% of their mpeg2 content look perfect or pretty good in the case of de-interlacing when it shouldn't.

Of course they will see the mouse teeth on interlaced content with it forced to weave but the fact is, for PAL users at least, the mpeg2 de-interlacing being so reliant on the untrustable interlaced flag in DVD's is not a good thing yet and as I say, for most of PAL users content, will mean a half in their vertical resolution if things are left at defaults. Not good.

Any suggestions welcome. I am looking forward to two things in the future that might resolve this issue.

1) Better detection of interlacead vs progressive in software.
2) Improved software de-interlacers.

Until then, I suggest some sort of change to this section of the interface.

====

I was thinking also to help users, to have a first run configuration dialog, that might ask just 2 or 3 simple questions. How many speakers are you using for example, what region, PAL / NTSC (might help with the above problem), and maybe one or two more.

As is, I know alot of my friends, even the technical ones, wouldn't have a clue where to start after installing mpc, to get the best audio and video quality.

I have been designing lots of GUI's over the past few years so I wouldn't mind giving some input.

cca
27th March 2009, 17:18
I don't think letting the hardware do the deinterlacing is bad idea, after all if the algorithms function properly you shouldn't lose vertical resolution on real progressive movies. One thing to request though, the internal MPEG2 decoder does not output NV12 but only YV12 or YUY2. ATI cards need NV12 for vector adaptive deinterlacing, otherwise it only does adaptive or plain bob in the worse case.
Not a problem for me, I just use ffdshow with NV12 enforced, but it would helpful for others.

mark0077
27th March 2009, 17:42
I don't think letting the hardware do the deinterlacing is bad idea, after all if the algorithms function properly you shouldn't lose vertical resolution on real progressive movies. One thing to request though, the internal MPEG2 decoder does not output NV12 but only YV12 or YUY2. ATI cards need NV12 for vector adaptive deinterlacing, otherwise it only does adaptive or plain bob in the worse case.
Not a problem for me, I just use ffdshow with NV12 enforced, but it would helpful for others.

Yes if its done properly by definition it should be but its never the same. On both NVidia and ATI, I can tell the difference in quality. Watching the star wars intro scene shows it off quite well, the text moving into the distance. Even the hardware de-interlacers add a very slight twinkling effect to this scene when they incorrectly deinterlace to 50fps. 25fps material incorrectly de-interlaced, playing at 50fps is not as good as 25fps played progressively ever. OK it can get very close but when you see your contents frame rate being doubled you WILL lose quality as you know your hardware is doing some form of de-interlacing. The solution has to be better detection of interlaced vs progressive like some of the more expensive hardware players can do.

In any case, mpc-hc's default of depending on this flag, and then doing its own bob de-interlacing is an even worse idea, especially when the flag is wrong most of the time.

For me its either force weave, or maybe we could detect if newer cards are present, in that case default to sending the flag to the hardware. Your idea sounds good, using yv12 for NVidia and NV12 for ATI as the default output (when nv12 is an option). Maybe the output colorspace option could be set as "Auto" and it could smartly choose between the above depending on card.

Amazing how 2 tiny settings can have a terrible impact on quality for those that don't know what these things do.

fastplayer
27th March 2009, 20:25
MPC-HC is showing a flickering thin line on its left border when it is maximized. In the screenshot below the line is green but it keeps changing its color. This happens only in EVR, video format and decoder don't matter. Beliyaal's build has this problem too.
Going into full screen and back to maximized window state sometimes fixes the anomaly.

http://g.imagehost.org/t/0785/New_Bitmap_Image.jpg (http://g.imagehost.org/view/0785/New_Bitmap_Image)

Config:
Server 2008
Radeon HD4670
Catalyst 9.3
MPC-HC 1018

diman1982
27th March 2009, 23:03
i ve got a question, there are pan/scan options in mpc-hc. Why are they not working in vista/32bit/ evr renderer(the only one without tearing/sync problems)?

Mc Onyx
27th March 2009, 23:30
I was wondering if anyone know if it's possible to make MPC work with SubServer protocol as opposed to ISDB protocol for it's subtitle downloading option? Thanks.

Lincoln Burrows
28th March 2009, 01:05
While using MPC-HC I noticed a strange OSD in my screen while doing anything, the command is referred in the corner of the video... and I can't get rid of it. I never saw such thing while using the normal MPC. Is there a way to solve that?

If you don't noticed the same thing, I will try to get a picture as an example.Anyone? :rolleyes:

Here's one example:
http://img15.imageshack.us/img15/6809/rid.gif

Snowknight26
28th March 2009, 02:21
Options, Miscellaneous, uncheck OSD?

St Devious
28th March 2009, 04:34
Ati don't play 5.1 profile with DXVA.

what about nvidia and g45 ?

Kado
28th March 2009, 09:00
Nvidia plays 5.1 streams. (http://forum.doom9.org/showthread.php?p=1262877#post1262877)

Mixer73
28th March 2009, 11:13
PowerDVD or WMP don't use shader. Disable shader in MPC-HC and move from one monitor to other. I test - and it's work.

I'm not using any shaders at all.

krbo
28th March 2009, 12:30
Catalyst 9.3 @ ATI HD3200
play video , change TV channel and go back so HDMI (EDID) handshake starts.

After 2-3 flickers video is frozen, audio plays.



I'm pleased to report this is fixed in 1018.

thanks!