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

alexins
27th May 2009, 02:51
Media Player Classic HomeCinema (x86/x64), svn 1127 (http://www.xvidvideo.ru/content/view/766/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 : prevent monitor sleep/turn off after playback/pause; compile error in BaseClasses.

Mixer73
27th May 2009, 10:53
Watch out, folks. We have a real life Sherlock Holmes. It's almost as if he made a total guess, thought he was right, and then patted himself on the back. I mean it's not like people have said "...since the merge, [insert problem]" or its equivalent many times in this thread or anything. I'm totally gonna change my username to ADudeJr to make it more obvious I'm the same person.

I made no such statement; I merely stated that "go fork yourself" is a good response to such a comment.

However, you sir, doth protest too much. I think your statements, variously posted, say more than I ever could.

Adub
27th May 2009, 16:32
Hi, I am running the latest MPC HC 1127, and I am having trouble playing subtitles from a Bluray .m2ts file. I have tried it with both VMR 9 Renderless and Haali's renderer to no avail. I am on windows XP SP3. The movie is "The Air I Breathe" for reference.

When I bring up the properties of the file being played, next to subtitle it just says [SUBTITLE], with no further information given.

tetsuo55
27th May 2009, 17:17
Hi, I am running the latest MPC HC 1127, and I am having trouble playing subtitles from a Bluray .m2ts file. I have tried it with both VMR 9 Renderless and Haali's renderer to no avail. I am on windows XP SP3. The movie is "The Air I Breathe" for reference.

When I bring up the properties of the file being played, next to subtitle it just says [SUBTITLE], with no further information given.

You need to enable the built in splitter for m2ts files

Adub
27th May 2009, 18:24
Really? I'm at work, so I will test in a few hours, but thanks for responding.

Is this due to the fact that Haali's doesn't support PGS subtitles yet?

tetsuo55
27th May 2009, 18:41
He does support it but there must be some kind of bug or something.

I know casimir did a lot of m2ts work in the internal splitter to get DXVA, subtitles and audio/video/subtitle stream selection working. And that all happened after haali disappeard
I believe haali is aware of the problem though

giom
27th May 2009, 18:44
I've done further testing with A2R10G10B10 in RGB32.

Fullscreen 10 bit RGB removes banding (a bit).

I've created a test file "BAR_1024x576_10-Bits.avi".

It's a A2R10G10B10/RGB32 AVI with 4 horizontal bars (gray, red, green, blue), 15fps, 1sec.

Each bar is composed of 2 parts :

upper half 256 levels (0,0,0,0,4,4,4,4,...,1022,1022,1022,1022,1023,1023,1023,1023) to simulate an 8-bits shade.
lower half 1024 levels (0,1,2,3,...,1020,1021,1022,1023).


When played in 10bit RGB fullscreen, you can see the difference between the pseudo 8-bits upper part and the 10-bits lower part.

You can set resizer to "nearest neighboor" to see it much more.

I've also added "BAR_1024x576_8-Bits.avi" for reference. It's a 8-bits RGB32 AVI with 4 horizontal bars (gray, red, green, blue), 15fps, 1sec.

Files attached.

Steveo08
27th May 2009, 19:01
I've done further testing with A2R10G10B10 in RGB32.

Fullscreen 10 bit RGB removes banding (a bit).

I've created a test file "BAR_1024x576_10-Bits.avi".

It's a A2R10G10B10/RGB32 AVI with 4 horizontal bars (gray, red, green, blue), 15fps, 1sec.

Each bar is composed of 2 parts :

upper half 256 levels (0,0,0,0,1,1,1,1,...,254,254,25,254,255,255,255,255) to simulate an 8-bits shade.
lower half 1024 levels (0,1,2,3,...,1020,1021,1022,1023).


When played in 10bit RGB fullscreen, you can see the difference between the pseudo 8-bits upper part and the 10-bits lower part.

You can set resizer to "nearest neighboor" to see it much more.

I've also added "BAR_1024x576_8-Bits.avi" for reference. It's a 8-bits RGB32 AVI with 4 horizontal bars (gray, red, green, blue), 15fps, 1sec.

Files attached.



did 10 bit rgb work for you with direct 3d fullscreen?

because for me it isen't working, just without direct 3d fullscreen.

giom
27th May 2009, 19:17
did 10 bit rgb work for you with direct 3d fullscreen?

because for me it isen't working, just without direct 3d fullscreen.

Yes, see my post. http://forum.doom9.org/showthread.php?p=1289976#post1289976

But only with my ATI 1650 XT, it doesn't work with my nVidia 9500 GT.

You can use the utility at http://www.kludx.com/kludx.php to know if your card supports A2R10G10B10 (click on "Resolutions" tab).

blarg
27th May 2009, 21:27
I made no such statement; I merely stated that "go fork yourself" is a good response to such a comment.

However, you sir, doth protest too much. I think your statements, variously posted, say more than I ever could.

Indeed. I liked the part where you said I knew what evil lurks in the heart of men and I replied with, "Whatchu talkin' bout, Willis". So much protesting. You won this one, dude. Well, off to find Darmok and Jalad at Tanagra. :devil:

Steveo08
27th May 2009, 23:02
Yes, see my post. http://forum.doom9.org/showthread.php?p=1289976#post1289976

But only with my ATI 1650 XT, it doesn't work with my nVidia 9500 GT.

You can use the utility at http://www.kludx.com/kludx.php to know if your card supports A2R10G10B10 (click on "Resolutions" tab).



ok, so that will be the same problem for me, because i have a nvidia 8600 gt.

giom
28th May 2009, 00:23
ok, so that will be the same problem for me, because i have a nvidia 8600 gt.

nVidia supports R10G10B10A2_UNORM but AFAIK it is a DX10 only format and EVR seems to be stuck to DX9. Sharing textures between DX9 and DX10 is possible on the paper but I've seen many report it doesn't work ...

DX10 support in EVR would be great because it'd allow 10 bit RGB for many more cards and even allow R16G16B16A16_FLOAT to the screen (at least to the last stage of the video card) !

Adub
28th May 2009, 01:10
He does support it but there must be some kind of bug or something.

I know casimir did a lot of m2ts work in the internal splitter to get DXVA, subtitles and audio/video/subtitle stream selection working. And that all happened after haali disappeard
I believe haali is aware of the problem though

Okay, so your suggestion worked. I can view subtitles using the internal splitter.

It's a shame that Haali is MIA, as we could use him to fix a few things here and there.

Thanks for the help.

Xorp
28th May 2009, 07:48
The last serious BD audio bug is that the mono lpcm tracks are note decoded properly - see almost all criterion releases (e.g. wages of fear, 400 blows etc.) yes it would be nice if that was fixed

tetsuo55
28th May 2009, 07:51
Okay, so your suggestion worked. I can view subtitles using the internal splitter.

It's a shame that Haali is MIA, as we could use him to fix a few things here and there.

Thanks for the help.

Betaboy said he will open a haali splitter bug tracker after CoreAVC 2.0 is released

tetsuo55
28th May 2009, 12:52
There have been a lot of requests on how to compile MPC-HC, and also some offers to help out with coding.

Would any of the compile able people be willing to write a wiki page on compiling MPC-HC?
:thanks:

baadnewz
28th May 2009, 16:52
I have a small issue. When i use mpc-hc (no matter what build) on extended display after a while (sometimes after 5 min sometimes after 20) starts dropping frames (the audio is not desync). This happens only when i use EVR Custom (no matter the resizer) and no matter the decoder(mpc internal coreavc cyberlink etc.) DXVA or software.

My config is e8400 8 gig ram, ati 4670 with latest catalyst (9.5). os Win 7 x64 #7127 (i did have the problem on previous builds of win7 / video driver).. still i dont remember having the problem on vista

P.S. I tried to use 20 evr buffers the problem hapens more often, and on 4 still occurs

P.S.2. to get " normal " i have to get mpc-hc out of full screen drag the windows a lil' on the display and problem fixed.. for another 10 mins

P.S.3. the dropping thing happens only on extended display

Thx, sorry for typos

grumbl
28th May 2009, 18:00
When I'm trying to use ffdshow with RGB32 output and EVR CP with D3D Fullscreen enabled the file begins to play, sound plays, but the screen stays black.
When I set ffdshow to YV12 output playback works, but well, I'd like to have ffdshow do the conversion to rgb.

Is D3D Fullscreen supposed to work with RGB32 input? I googled around lots but i'm still not sure :). (10 Bit is disabled, I've read above that this wouldn't work with NVidia anyway).

I'm on Vista 64, GPU is a GTX 260, 185.85 drivers, latest ffdshow and mpc-hc.

I'd be happy if anyone could clear this up for me, thanks in advance :).

mark0077
28th May 2009, 18:06
When I'm trying to use ffdshow with RGB32 output and EVR CP with D3D Fullscreen enabled the file begins to play, sound plays, but the screen stays black.
When I set ffdshow to YV12 output playback works, but well, I'd like to have ffdshow do the conversion to rgb.

Is D3D Fullscreen supposed to work with RGB32 input? I googled around lots but i'm still not sure :). (10 Bit is disabled, I've read above that this wouldn't work with NVidia anyway).

I'm on Vista 64, GPU is a GTX 260, 185.85 drivers, latest ffdshow and mpc-hc.

I'd be happy if anyone could clear this up for me, thanks in advance :).

Im in the exact same situation as you, outputting RGB32 from ffdshow and get black screen when using D3D fullscreen.

tetsuo55
28th May 2009, 18:10
You guys seem to have the same videocard, or at least the same chipset.

Might be a bug in that chipset?

mark0077
28th May 2009, 18:17
You guys seem to have the same videocard, or at least the same chipset.

Might be a bug in that chipset?

Sorry, I am using a GTX 295 (which is actually two GTX 260's .. ish) on one card so maybe your right. Any owners of something like GTX 285 that can test?

tetsuo55
28th May 2009, 18:38
But it's still a 200 series.

We need to find a 200 series user who has a working RGB32.

For now a good start would be to report a bug to Nvidia and your videocard manufacturer

grumbl
28th May 2009, 19:19
Oh at least I now know that it is supposed to work :).

I was wondering if it could have anything to do with my 10 bit capable monitor, mark077, do you happen to have something like that as well?

Oh and while I'm at it, is it possible to output 10 bit? I've read ati cards support 10 bit over dvi and hdmi 1.3 and stuff.

Or is the 10 bit of my Dell 2709w only for monitor-intern image changes and calibration issues and you can only feed 8 bit color depth?

So many questions... sorry :).

bur
28th May 2009, 19:35
I recently updated to build 1120 from an olde build, maybe around 1000 or earlier and since then mpc hc just shows an empty window after restarting from Hibernation. If I press the shortcut for play or click within the window, the audio can be heard, but no picture.

The same thing happens when I played a full screen game.

Software:
MPC HC build 1127
ffdshow 2968
XP sp3 (german)

Hardware:
nForce 430
8800 GT

tetsuo55
28th May 2009, 20:00
I recently updated to build 1120 from an olde build, maybe around 1000 or earlier and since then mpc hc just shows an empty window after restarting from Hibernation. If I press the shortcut for play or click within the window, the audio can be heard, but no picture.

The same thing happens when I played a full screen game.

Software:
MPC HC build 1127
ffdshow 2968
XP sp3 (german)

Hardware:
nForce 430
8800 GT

Can you find the exact regression point?

Bluestraw
28th May 2009, 21:33
Please can someone help educate a relative newbie? I have a couple of questions...

1. I previously used MadFLAC but 'forgot' to install it on my new OS setup and found FLAC playback working using the internal decoder. Is this 'bit-perfect', i.e. identical to madshi's great filter?

2. Is there any advantage in using the 64-bit version of MPC? For example, madFLAC doesn't work in 64-bit, but what would I lose in MPC by using the 32-bit one instead?

Thank you in advance for any help!

Mercury_22
28th May 2009, 22:26
Please can someone help educate a relative newbie? I have a couple of questions...

1. I previously used MadFLAC but 'forgot' to install it on my new OS setup and found FLAC playback working using the internal decoder. Is this 'bit-perfect', i.e. identical to madshi's great filter?

2. Is there any advantage in using the 64-bit version of MPC? For example, madFLAC doesn't work in 64-bit, but what would I lose in MPC by using the 32-bit one instead?

Thank you in advance for any help!

I don't know about 'bit-perfect' but 64-bit version CAN'T play FLAC in FLAC container (or Native FLAC) see http://sourceforge.net/tracker/?func=detail&aid=2797333&group_id=170561&atid=854651 :mad:

The 32-bit version it's playing FLAC in FLAC container (or Native FLAC) OK

Also both have no problems playing FLAC in other containers AFAIK :rolleyes:

Bluestraw
28th May 2009, 23:22
I don't know about 'bit-perfect' but 64-bit version CAN'T play FLAC in FLAC container (or Native FLAC) see http://sourceforge.net/tracker/?func=detail&aid=2797333&group_id=170561&atid=854651 :mad:

The 32-bit version it's playing FLAC in FLAC container (or Native FLAC) OK

Also both have no problems playing FLAC in other containers AFAIK :rolleyes:Thanks for that - that explains another problem I was having! I guess that's the only reason why madFLAC is still a necessary option? Then again, if simply using the 32-bit MPC is a good workaround, is there a reason not to just do that?

giom
29th May 2009, 00:15
Is D3D Fullscreen supposed to work with RGB32 input? I googled around lots but i'm still not sure :). (10 Bit is disabled, I've read above that this wouldn't work with NVidia anyway).


From EVR doc :

The graphics driver determines which video formats are supported, but typically they are limited to the following:

Reference stream: Progressive or interlaced YUV with no per-pixel alpha (such as NV12 or YUY2); or progressive RGB.

http://msdn.microsoft.com/en-us/library/ms694916.aspx


And from Direct X SDK (9) :

These formats are the only valid formats for a back buffer or a display.

Format Back buffer Display
A2R10G10B10 x x (full-screen mode only)
A8R8G8B8 x
X8R8G8B8 x x
A1R5G5B5 x
X1R5G5B5 x x
R5G6B5 x x

http://msdn.microsoft.com/en-us/library/bb153349(VS.85).aspx

So RGB32 is X8R8G8B8 and is widely supported.

For 10 bit RGB it seems nVidia cards driver support only DX10 output formats ( R10G10B10A2_UNORN for instance ) but EVR seems to be DX9 only ...

DX10 HW Display output formats :

R16G16B16A16_FLOAT
R10G10B10A2_UNORM
R8G8B8A8_UNORM
R8G8B8A8_UNORM_SRGB

http://msdn.microsoft.com/en-us/library/cc627090(VS.85).aspx (Display Scan-Out = col 22)

Snowknight26
29th May 2009, 02:03
Why is it that when playing a .mov file, MPC-HC x64 gives me a warning about some Apple library not being implemented in the x64 version yet continues to successfully play the file?

Oh and:
http://i42.tinypic.com/dgqbky.png
I dont think that ASCII character is supposed to be there.

nitec
29th May 2009, 02:06
Hi,

I don't know is that only happens to me but when V-sync enabled VFR videos (WMV/ASF) almost unwatcheble. At the FPS changes MPC stalls 1-2 seconds and it makes video unwatcheble at all. When V-sync disabled it plays normally. Is it just me or anybody have same same problem?

My config is :
Windows 7 x64 Beta
E8400
Radeon 4850 / ATI Catalyst 9.4
MPC-HC using EVR Custom

alexins
29th May 2009, 03:39
Media Player Classic HomeCinema (x86/x64), svn 1128 (http://www.xvidvideo.ru/content/view/772/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 : Pointer truncation in 64 bit builds (Bug #2797740).

73ChargerFan
29th May 2009, 07:14
Thanks for that - that explains another problem I was having! I guess that's the only reason why madFLAC is still a necessary option? Then again, if simply using the 32-bit MPC is a good workaround, is there a reason not to just do that?
madFLAC will output 24bit flac soundtracks. ffdshow accept 24bit but only output 16bit, and IIRC the mpc decoder has the same limitation. I might be wrong though ...

Mercury_22
29th May 2009, 13:43
Why is it that when playing a .mov file, MPC-HC x64 gives me a warning about some Apple library not being implemented in the x64 version yet continues to successfully play the file?

Oh and:
http://i42.tinypic.com/dgqbky.png
I dont think that ASCII character is supposed to be there.

Cause there's NO 64-bit Quicktime filters !:)
I recommend you to use DirectShow for Quicktime file in both 32-bit and 64-bit MPC-HC :cool:

Leak
29th May 2009, 13:43
madFLAC will output 24bit flac soundtracks. ffdshow accept 24bit but only output 16bit, and IIRC the mpc decoder has the same limitation. I might be wrong though ...
ffdshow accepts 24bit input resolution and can be set to output either 16, 24 or 32 bit integer or 32 bit float.

Check the "Output" page of ffdshow's audio decoder configuration.

Mercury_22
29th May 2009, 15:27
ffdshow accepts 24bit input resolution and can be set to output either 16, 24 or 32 bit integer or 32 bit float.

Check the "Output" page of ffdshow's audio decoder configuration.

Is this available for MPC's FLAC cause in Audio settings I can see options only for AC3 DTS and AAC ? Or the "Output sample format" goes beyond these three ? :confused:

Any chance for 64-bit FLAC bug to be an easy one to fix?

tetsuo55
29th May 2009, 17:26
After a lot of testing, and encoutering a mountain of unfixable issues i decided to remux all my media to MKV.

Since i did that i have had 0 problems.

Judging from the bug tracker and the experiences of other users i want to start telling people to convert to MKV(as a rule of the thumb and as a specific solution for unfixable problems).

The current version of the MKVmerge and the internal MKV splitter support all popular audio/video/subtitle formats.

Can anyone tell me of any showstopping issues and/or important audio/video/subtitle formats that are not supported?

Mercury_22
29th May 2009, 18:30
After a lot of testing, and encoutering a mountain of unfixable issues i decided to remux all my media to MKV.

Since i did that i have had 0 problems.

Judging from the bug tracker and the experiences of other users i want to start telling people to convert to MKV(as a rule of the thumb and as a specific solution for unfixable problems).

The current version of the MKVmerge and the internal MKV splitter support all popular audio/video/subtitle formats.

Can anyone tell me of any showstopping issues and/or important audio/video/subtitle formats that are not supported?

YES! :) The old bug with internal mkv splitter : When you have an mkv file with 2 or multiple audio streams MPC's internal mkv splitter it's playing both streams simultaneous ! :mad: (try changing the stream)

Sample: http://www.megaupload.com/?d=ZUICM7XI

P.S. mp4 splitter has also problems with 2 or multiple audio streams !

If someone can fix this bug it will be SUPERB cause I (we) will be able to get rid of Haali's splitter once and for all

mark0077
29th May 2009, 18:47
tetsuo, I have converted all of my DVD's to mkv and none play with the internal splitter, they all cause mpc-hc to crash. All open fine with haalis splitter.

Kurtnoise
29th May 2009, 19:09
YES! :) The old bug with internal mkv splitter : When you have an mkv file with 2 or multiple audio streams MPC's internal mkv splitter it's playing both streams simultaneous ! :mad: (try changing the stream)

Sample: http://www.megaupload.com/?d=ZUICM7XI

P.S. mp4 splitter has also problems with 2 or multiple audio streams !

If someone can fix this bug it will be SUPERB cause I (we) will be able to get rid of Haali's splitter once and for all
works fine for me...:rolleyes:

Mercury_22
29th May 2009, 19:30
works fine for me...:rolleyes:

With my sample you don't have 2 ac3 filters present when you look in the filter section while playing and also after changing the audio stream you don't hear BOTH audio streams ??!! (using internal splitter)

clsid
29th May 2009, 20:13
YES! :) The old bug with internal mkv splitter : When you have an mkv file with 2 or multiple audio streams MPC's internal mkv splitter it's playing both streams simultaneous ! :mad: (try changing the stream)

Sample: http://www.megaupload.com/?d=ZUICM7XI

P.S. mp4 splitter has also problems with 2 or multiple audio streams !

If someone can fix this bug it will be SUPERB cause I (we) will be able to get rid of Haali's splitter once and for all
This has been mentioned before several times. So I'll put it in caps. THIS IS NOT A BUG! This is by design. The filters don't have their own private stream switcher like Haali has. MPC has a separate built-in audio switcher.

Mercury_22
29th May 2009, 20:27
This has been mentioned before several times. So I'll put it in caps. THIS IS NOT A BUG! This is by design. The filters don't have their own private stream switcher like Haali has. MPC has a separate built-in audio switcher.

OK but I'm supposed to hear both streams simultaneous (after changing streams) ?:confused:

clsid
29th May 2009, 20:34
No. If the audio switcher is enabled, you should only hear the selected audio stream.

Seeing multiple instances of the audio decoder is normal. But only one of them should be active. The other ones are paused.

Edit: your sample file plays fine here.

Mercury_22
29th May 2009, 20:48
No. If the audio switcher is enabled, you should only hear the selected audio stream.

Seeing multiple instances of the audio decoder is normal. But only one of them should be active. The other ones are paused.

Edit: your sample file plays fine here.

OK then why both FFDshow indicate playing the sound simultaneous (just in case I'm not hearing right) ?
(After changing from one stream to the other)

Edit: after one change you have to go back to initial stream to see these

clsid
29th May 2009, 22:01
It works fine here no matter how many times I switch between the two streams.

ADude
29th May 2009, 22:56
Is Beliyaal on vacation ?

I was hoping for an answer to my question:

" Very technically speaking, what exactly is the difference between Renderer Setting Vsync ON and OFF ? ( This should include some explanation of why the graph changes when you make changes to the other Renderer Settings while Vsync is set to off. ) "

tetsuo55
29th May 2009, 23:30
YES! :) The old bug with internal mkv splitter : When you have an mkv file with 2 or multiple audio streams MPC's internal mkv splitter it's playing both streams simultaneous ! :mad: (try changing the stream)

Sample: http://www.megaupload.com/?d=ZUICM7XI

P.S. mp4 splitter has also problems with 2 or multiple audio streams !

If someone can fix this bug it will be SUPERB cause I (we) will be able to get rid of Haali's splitter once and for allAs CLSID said, you have to enable the built in audio switcher for that to work, you'll only hear 1 stream and you can switch all you want.(i have 100's of dual'/triple/quadrupal audiostream mkv's)

tetsuo, I have converted all of my DVD's to mkv and none play with the internal splitter, they all cause mpc-hc to crash. All open fine with haalis splitter.I have been using haali's, there might be a bug in the makemkv muxer causing the crash, should be easy to find with a minidumpIs Beliyaal on vacation ?

I was hoping for an answer to my question:

" Very technically speaking, what exactly is the difference between Renderer Setting Vsync ON and OFF ? ( This should include some explanation of why the graph changes when you make changes to the other Renderer Settings while Vsync is set to off. ) "Beliyaal only has time for MPC-HC in the weekends.

tetsuo55
30th May 2009, 00:43
tetsuo, I have converted all of my DVD's to mkv and none play with the internal splitter, they all cause mpc-hc to crash. All open fine with haalis splitter.I confirm the crashes, i cannot get a minidump(file is 0kb)

Here is the info from a sample:

General
Complete name : E:\test.mkv
Format : Matroska
File size : 2.51 GiB
Duration : 43mn 27s
Overall bit rate : 8 256 Kbps
Writing application : MakeMKV v1.4.2 beta win(x86-release)
Writing library : libmakemkv v1.4.2 beta (0.7.7/0.8.0) win(x86-release)

Video
ID : 1
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 43mn 25s
Bit rate mode : Variable
Bit rate : 7 899 Kbps
Nominal bit rate : 8 850 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : NTSC
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.763
Stream size : 2.40 GiB (96%)

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Codec ID : A_AC3
Duration : 43mn 27s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Stream size : 59.7 MiB (2%)
Title : 2/0

Text
ID : 3
Format : VobSub
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs

Menu
00:00:00.000 : Chapter 01
00:00:02.569 : Chapter 02
00:17:18.904 : Chapter 03
00:27:58.510 : Chapter 04
00:34:35.073 : Chapter 05

Mercury_22
30th May 2009, 00:48
As CLSID said, you have to enable the built in splitter for that to work, you'll only hear 1 stream and you can switch all you want.(i have 100's of dual'/triple/quadrupal audiostream mkv's)

I have been using haali's, there might be a bug in the makemkv muxer causing the crash, should be easy to find with a minidumpBeliyaal only has time for MPC-HC in the weekends.

I'm using MPC-HC's default settings (see my signature) including internal splitter and built-in audio switcher (which is what CLSID was refering not the splitter:))

Since it seems it's only me ...:mad: let's forget about it

tetsuo55
30th May 2009, 01:01
I'm using MPC-HC's default settings (see my signature) including internal splitter and (which is what CLSID was refering not the splitter:))

Since it seems it's only me ...:mad: let's forget about it

I fixed my post, i wil run some tests with your sample later

EDIT:

Using ffdshow as the video/audio decoder
Internal mkv splitter enabled
Internal audio switcher enabled

No matter how often i switch i always only hear 1 track playing

Maybe you have a .ini file or registry setting that is doing something wierd.

Please delete any .ini files in the mplayerc directory and run the delete registry file, you can find it on the wiki troubleshooting page

gngn
30th May 2009, 02:31
I confirm the crashes, i cannot get a minidump(file is 0kb)

the same happens to any encode from the subbing-group StrikeSubs. minidumpfile is also empty. in their case i belive it's because of the value used for the ChapterUID's, they use 0 ,1 , 2 ...

sample of a encode (http://www.mediafire.com/download.php?um2nzdfyetl) from StrikeS
extracted chapters file (http://www.mediafire.com/download.php?hle2twjl1d1) , if you mux this with any mkv file, MPC-HC will crash

tetsuo55
30th May 2009, 09:15
It looks like MKV's with chapters are crashing the internal matroska splitter.

does anyone have a mkv with chapters that does not crash?

I also confirmed the reclock audio switcher bug is not a bug.

tetsuo55
30th May 2009, 10:14
@Everyone,

Thanks to a lot of testing by Mark and me i have been able to find the cause of a lot of strange splitter related problems.

It's all in the configuration settings.

With these settings almost all reported problems are unreproducable:

*Enable internal subtitle renderer by checking "auto load subtitles"
*Enable internal audio switcher by checking "auto load audio files" and checking "enable built in audio switcher"
*Select the desired video renderer in the output page
*Select the desired audio renderer in the output page
*Remove any renderers from the external renderer page
*Check the built in container splitter of the file you want to play on the internal filter page

With these settings i have been unable to reproduce any of the reported bugs(so far, still working through the list) except:

-Internal MKV splitter crashes when chapters are embedded(however haali works fine)
-MadVR does not show subtitles with internal subtitle renderer(however using vobsub through the external filter page works fine)
-Internal MT2S splitter autoselects "subtitle stream 1" when changing audio track(i have not tested haali because its terrible for m2ts)

--------

It is important to keep in mind, that selecting a renderer in the "external filters" page will often block other internal filters and/or renderers.(this is not a bug)

allak
30th May 2009, 10:24
It looks like MKV's with chapters are crashing the internal matroska splitter.

does anyone have a mkv with chapters that does not crash?

I am at work atm and unable to test the latest mpc-hc, but I did not have any problems lately with MKVs with chapters.

I'm used to skip to the next or previous one with PageUp and PageDown and mpc does not crash.

I use only mpc-hc, no haali splitter or ffdshow.

allak
30th May 2009, 10:30
-MadVR does not show subtitles with internal subtitle renderer(however using vobsub through the external filter page works fine)


I think that this is not a mpc-hc bug.

Madshi has stated the he does still have to implement the subpicture subpin for his renderer. It is on his todo list.

Mercury_22
30th May 2009, 11:08
@Everyone,

Thanks to a lot of testing by Mark and me i have been able to find the cause of a lot of strange splitter related problems.

It's all in the configuration settings.

With these settings almost all reported problems are unreproducable:

*Enable internal subtitle renderer by checking "auto load subtitles"
*Enable internal audio switcher by checking "auto load audio files" and checking "enable built in audio switcher"
*Select the desired video renderer in the output page
*Select the desired audio renderer in the output page
*Remove any renderers from the external renderer page
*Check the built in container splitter of the file you want to play on the internal filter page

With these settings i have been unable to reproduce any of the reported bugs(so far, still working through the list) except:

-Internal MKV splitter crashes when chapters are embedded(however haali works fine)
-MadVR does not show subtitles with internal subtitle renderer(however using vobsub through the external filter page works fine)
-Internal MT2S splitter autoselects "subtitle stream 1" when changing audio track(i have not tested haali because its terrible for m2ts)

--------

It is important to keep in mind, that selecting a renderer in the "external filters" page will often block other internal filters and/or renderers.(this is not a bug)

I've "follow" your settings (and also reset all settings aka= clean / blank my ini file) and I'm still unable to get video (just audio) on some mkv files using internal splitter although with Haali's I have both video & audio

Can anyone confirm this ? or it's just me, again ?

Sample http://www.megaupload.com/?d=X4FA5TX3

alexins
30th May 2009, 11:56
Media Player Classic HomeCinema (x86/x64), svn 1130 (http://www.xvidvideo.ru/content/view/775/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/)

(1129-1130)
Fixed : broken FLAC-splitter (bug #2797333);
Updated to latest libFlac.

allak
30th May 2009, 12:16
Can anyone confirm this ? or it's just me, again ?

Sample http://www.megaupload.com/?d=X4FA5TX3

Confirmed for this sample.

I only get the audio, not the video. mpc-hc latest version, no haali, no ffdshow.

But if I extract the video track only with mkvextract I can play it fine ...

Mercury_22
30th May 2009, 12:40
Confirmed for this sample.

I only get the audio, not the video. mpc-hc latest version, no haali, no ffdshow.

But if I extract the video track only with mkvextract I can play it fine ...

:thanks: for testing I was going nuts...:)

gngn
30th May 2009, 13:32
I am at work atm and unable to test the latest mpc-hc, but I did not have any problems lately with MKVs with chapters.

I'm used to skip to the next or previous one with PageUp and PageDown and mpc does not crash.

I use only mpc-hc, no haali splitter or ffdshow.

yes, the problem is not with all embedded chapters, but only with some that have something different that will cause MPC-HC to crash.
almost all anime-encodes have embedded chapters, all the ones i have play fine with the internal mkv splitter, only the StrikeS encodes have got "some" problem, and it seems to be the same that makemkv generates, the valuues given to ChapterUID

later edit: its probably not related to the ChapterUID, but something else

pdanpdan
30th May 2009, 14:38
None of my mkv files crash with internal splitter. All h264 + mutiple AAC audio + multiple vobsub/srt subtitles + chapters (mkvmerge muxed).
The only problem I have with the internal mkv splitter is that it does not respect the prefered flag on audio/subtitle track.

ikarad
30th May 2009, 16:50
I want to thank all the developers for the many bug-fixes over the past few weeks.

These fixes have fixed bugs as old as 2007!
I have closed many bugs on the bug-tracker as fixed (and some as out of date)

@Everyone,
Thank you for having a look at the bug's from batches 1 and 2, the information posted has helped fix some of them and close many of them.
Please take a look at batch 3 and see if you can confirm any of the 6 bugs(please also update the bug if you where unable to reproduce)

https://sourceforge.net/tracker/?func=browse&group_id=170561&atid=854651&status=1&artgroup=898924

for those intersted, most of the subtitle and renderer(including DXVA) bugs should be fixed with build 1112 or higher, please confirm :)
Subtitles: https://sourceforge.net/tracker/?func=browse&group_id=170561&atid=854651&status=1&category=1165521
Renderer: https://sourceforge.net/tracker/?func=browse&group_id=170561&atid=854651&status=1&category=1165522
DXVA: https://sourceforge.net/tracker/?func=browse&group_id=170561&atid=854651&status=1&category=1165515

This problem isn't corrected with mpc-hc 1130
http://sourceforge.net/tracker/?func=detail&aid=2449648&group_id=170561&atid=854651

tetsuo55
30th May 2009, 17:08
I've "follow" your settings (and also reset all settings aka= clean / blank my ini file) and I'm still unable to get video (just audio) on some mkv files using internal splitter although with Haali's I have both video & audio

Can anyone confirm this ? or it's just me, again ?

Sample http://www.megaupload.com/?d=X4FA5TX3Confirmed by me too, on my slow PC MPC even crashes.yes, the problem is not with all embedded chapters, but only with some that have something different that will cause MPC-HC to crash.
almost all anime-encodes have embedded chapters, all the ones i have play fine with the internal mkv splitter, only the StrikeS encodes have got "some" problem, and it seems to be the same that makemkv generates, the valuues given to ChapterUIDSo it's not chapters per-se but the just chapters in a certain formatNone of my mkv files crash with internal splitter. All h264 + mutiple AAC audio + multiple vobsub/srt subtitles + chapters (mkvmerge muxed).
The only problem I have with the internal mkv splitter is that it does not respect the prefered flag on audio/subtitle track.I don't know if the internal splitters ever respect those, that would be a feature request i thinkThis problem isn't corrected with mpc-hc 1130
http://sourceforge.net/tracker/?func=detail&aid=2449648&group_id=170561&atid=854651I don't think this bug will get fixed. It is caused by the "DVD Navigator"
there are a lot of different versions of the "DVD Navigator" spread over the different windows versions

The problem is caused by the way the "DVD navigator" reports the where in the stream we are, this information is inaccurate at best and a random guess at worst.

Beliyaal did say that he would try to find a workaround for the problem but that it would be very difficult(probably impossiple with the current framework).
The advice for now is remux to MKV and the subtitle timing will be accurate.

ikarad
30th May 2009, 17:43
I don't think this bug will get fixed. It is caused by the "DVD Navigator"
there are a lot of different versions of the "DVD Navigator" spread over the different windows versions

The problem is caused by the way the "DVD navigator" reports the where in the stream we are, this information is inaccurate at best and a random guess at worst.

Beliyaal did say that he would try to find a workaround for the problem but that it would be very difficult(probably impossiple with the current framework).
The advice for now is remux to MKV and the subtitle timing will be accurate.

If it's not fixed (although, to fix the problem, a solution (without modify "dvd navigator") would be to add a delay (only under vista) just when opendvd and load subtitle are used in the same time (then just for dvd movies) because with all dvds that I have the delay is always the same (I calculate with directvobsub that delay is nearly 1600 ms and I think it's the same delay for all dvd movies in the world under vista)) , it wil be important to add an option like in ffdshow or directvobsub that allow to add a delay to display subtitle.

I don't know if this problem exists under Windows 7.

tetsuo55
30th May 2009, 17:59
If it's not fixed (although, to fix the problem, a solution (without modify "dvd navigator") would be to add a delay (only under vista) just when opendvd and load subtitle are used in the same time (then just for dvd movies) because with all dvds that I have the delay is always the same (I calculate with directvobsub that delay is nearly 1600 ms and I think it's the same delay for all dvd movies in the world under vista)) , it wil be important to add an option like in ffdshow or directvobsub that allow to add a delay to display subtitle.

I don't know if this problem exists under Windows 7.That would be a good solution if everyone using Vista actually has the same problem.

Windows 7 has no problems with this.

allak
30th May 2009, 20:16
:thanks: for testing I was going nuts...:)

Your sample does contain an mpeg2 video track.

Do you have other samples that aren't working but that uses some other video codec (xviv, h264, etc.) ?


BTW, i have some mpeg2 in mkv working (ripped from DVDs), but they do contain a CodecPrivate section.

Your sample does not have any CodecPrivate section.

tetsuo55
30th May 2009, 20:38
Your sample does contain an mpeg2 video track.

Do you have other samples that aren't working but that uses some other video codec (xviv, h264, etc.) ?


BTW, i have some mpeg2 in mkv working (ripped from DVDs), but they do contain a CodecPrivate section.

Your sample does not have any CodecPrivate section.If i understand the matroska specs correctly that would mean the file is technically incompatible and should not play.

Haali splitter should not work either, it probably has error resiliance or something

Mercury_22
30th May 2009, 21:15
Your sample does contain an mpeg2 video track.

Do you have other samples that aren't working but that uses some other video codec (xviv, h264, etc.) ?


BTW, i have some mpeg2 in mkv working (ripped from DVDs), but they do contain a CodecPrivate section.

Your sample does not have any CodecPrivate section.

Sorry but no cause I'm only using mkv to backup my DVDs so only mpeg2
I'm using mkvtoolnix (http://www.bunkus.org/videotools/mkvtoolnix/downloads.html#windows) so maybe this Removed the workaround to find tags written by Matroska Shell Extension, this caused excessive file scanning when opening files created by recent MKVToolnix from Haali's latest "official" Changelog it's relevant :confused:

allak
30th May 2009, 21:25
I agree with tetsuo55; from the doc about the supported codecs in Matroska at Haali site:

V_MPEG2
ISO/IEC 13818-2
MPEG-2 sequence header extracted from elementary stream, the stream itself does not contain any sequence/gopheaders anymore
Subtype MPEG2_VIDEO
Format MPEG2Video
CodecPrivate is copied to the format block starting at dwSequence header member of MPEG2VIDEOINFO

So I think the muxing of a mpeg2 video file in a mkv container should fill the CodecPrivate section.

Demuxing and remuxing it with mkvtoolnix does not help.

tetsuo55
30th May 2009, 21:34
Maybe it's best to start with a bug report/support request here:
http://forum.doom9.org/showthread.php?p=1291790

allak
30th May 2009, 22:04
I have remuxed Mercury_22 sample from mkv to mkv with the eac3to tool by Madshi, that uses the Haali muxer, and now it playes correctly on mpc-hc.


So:

- mkvtoolnix sometimes does not create the codecPrivate section, at least for mpeg2 tracks

- the mpc matroska splitter is not able to handle them

- the haali splitter has some kind of workaround and it is fine

tetsuo55
30th May 2009, 22:16
I have remuxed Mercury_22 sample from mkv to mkv with the eac3to tool by Madshi, that uses the Haali muxer, and now it playes correctly on mpc-hc.


So:

- mkvtoolnix sometimes does not create the codecPrivate section, at least for mpeg2 tracks

- the mpc matroska splitter is not able to handle them

- the haali splitter has some kind of workaround and it is fine

Does it have the CodecPrivate after eac3to remux?

allak
30th May 2009, 22:35
Does it have the CodecPrivate after eac3to remux?

yes it does

Mosu
30th May 2009, 22:36
The CodecPrivate for a MPEG-2 video stream is the first (!) sequence header found in the stream. This sequence header is also repeated in the bitstream itself. Therefore it is NOT mandatory.

Additionally: the sequence headers may change in the bitstream, but in such cases the CodecPrivate would NOT be updated. Again, there's no practical gain whatsoever in requiring CodecPrivate to be present for playback, no matter what the specs page say. I'll change mkvmerge to always write the first sequence header into the CodecPrivate for MPEG2 video tracks. However, there is no technical reason for you to require it to be present.

This is only valid for MPEG-1/2 video tracks. Other codecs have other requirements.

tetsuo55
30th May 2009, 22:39
The CodecPrivate for a MPEG-2 video stream is the first (!) sequence header found in the stream. This sequence header is also repeated in the bitstream itself. Therefore it is NOT mandatory.

Additionally: the sequence headers may change in the bitstream, but in such cases the CodecPrivate would NOT be updated. Again, there's no practical gain whatsoever in requiring CodecPrivate to be present for playback, no matter what the specs page say. I'll change mkvmerge to always write the first sequence header into the CodecPrivate for MPEG2 video tracks. However, there is no technical reason for you to require it to be present.

This is only valid for MPEG-1/2 video tracks. Other codecs have other requirements.Thanks for the info and the proposed update, i will add this information to the splitter bug

allak
30th May 2009, 23:02
The CodecPrivate for a MPEG-2 video stream is the first (!) sequence header found in the stream. This sequence header is also repeated in the bitstream itself. Therefore it is NOT mandatory.

Mosu, you are certainly right; it is the internal Matroska splitter that works in the laziest possible way to extract mpeg2 tracks. I am now reading the source of the MPC splitter to see if there is some simple way for handling the case for a missing CodecPrivate.

But as you said it back in 2004:

"So for the sake of convenience I vote for the same as Cyrius: leave the stream as it is and ALSO put the first sequence header into the CodecPrivate."

http://lists.matroska.org/pipermail/matroska-devel/2004-November/002148.html

:)



Anyway, let me use this message to thank you for MKVToolnix, I am using it more and more and has always worked perfectly.

Mosu
30th May 2009, 23:16
After looking at my own source code I can say that this is definitely a newer bug -- the code for putting the sequence header into the CodecPrivate element is there, but that function is never called. This is new because it used to work a couple of versions ago; I don't know why I've changed it. Either accidentally or for some reason that I certainly cannot remember anymore.

So fixing it will be easy.

bur
30th May 2009, 23:42
Can you find the exact regression point?I couldn't pin it down exactly because xvidvideo.ru doesn't host every build.

But 1101 is still working for me while 1104 doesn't anymore, so the problem was introduced somewhere between those builds. From the changelog it seems that one of the fixes in build 1103 might be the source of the problem, especially this one: Fixed: Reset device could lock up player in VMR9 renderer mode. (For example when moving between monitors)

I just checked and changing the renderer to anything else than VMR9 prevents the lock-up, so it seems the fix broke things on my computer...


Here's my original post:
I recently updated to build 1120 from an olde build, maybe around 1000 or earlier and since then mpc hc just shows an empty window after restarting from Hibernation. If I press the shortcut for play or click within the window, the audio can be heard, but no picture.

The same thing happens when I played a full screen game.

Software:
MPC HC build 1127
ffdshow 2968
XP sp3 (german)

Hardware:
nForce 430
8800 GT

Steveo08
31st May 2009, 09:52
i have a question for the latest update from 1133:

"DX allocator for madVR"


what does it mean?

Casimir666
31st May 2009, 11:17
i have a question for the latest update from 1133:

"DX allocator for madVR"

what does it mean?

This update was necessary for subtitle support between Mpc and madVR.

Steveo08
31st May 2009, 11:20
This update was necessary for subtitle support between Mpc and madVR.

ah, ok thank you casimir.

tetsuo55
31st May 2009, 12:17
Now with the new MKV-merge i am only able to reproduce 2,5 of all the remaining internal mkv splitter bugs.

-Internal MKV splitter should read mpeg2 streams without the need for an explicit decleration of the CodecPrivate value(which the latest svn build of mkvmerge now always writes).
-There is no video-track-switcher, multi video track files play all tracks simultaniously as a result.
-Internal MKV splitter crashes when files use a certain type of chapters.

Note everything works correctly with the haali splitter.

bur
31st May 2009, 12:19
tetsuo55, you asked for the build where the bug happened on my system, in case you didn't see it because it's on the previous page:

http://forum.doom9.org/showpost.php?p=1291867&postcount=8099

tetsuo55
31st May 2009, 12:56
tetsuo55, you asked for the build where the bug happened on my system, in case you didn't see it because it's on the previous page:

http://forum.doom9.org/showpost.php?p=1291867&postcount=8099Beliyaal will have to take a look at that, please add a bug to the tracker

Leak
31st May 2009, 14:10
This update was necessary for subtitle support between Mpc and madVR.
And, I take it, to at some point enable madVR to use MPC-HCs shaders?

allak
31st May 2009, 14:15
the same happens to any encode from the subbing-group StrikeSubs. minidumpfile is also empty. in their case i belive it's because of the value used for the ChapterUID's, they use 0 ,1 , 2 ...

extracted chapters file (http://www.mediafire.com/download.php?hle2twjl1d1) , if you mux this with any mkv file, MPC-HC will crash

The problem is related to having a ChapterUID with the value '0'.

If you take that chapter file, modify the line:

<ChapterUID>0</ChapterUID>

to

<ChapterUID>87673</ChapterUID>

or whatever other value, and then mux a mkv file with it, MPC-HC don't crash anymore.

allak
31st May 2009, 14:19
And using a value of 0 for ChapterUID should be illegal; from the specs:

http://matroska.org/technical/specs/chapters/index.html

the ChapterUID element must be a u-integer with range ">0".

tetsuo55
31st May 2009, 15:00
Nice find, so the value "0" is illegal.

Still it should not crash the internal splitter, might be very easy to work around.

NanoBot
31st May 2009, 15:52
Here is a report concerning the internal flac splitter when playing back raw flac files:

This splitter now connects and works fine together with the builtin flac decoder, but is still does not work correctly together with ffdshow as flac decoder. After loading a raw flac file, the playback immediatly goes into the "pause" state when I am trying to use ffdshow as flac decoder. I do not know if this fault is caused by ffdshow or if it is caused by the internal splitter.

I am using the latest ffdshow svn compile from clsid ( ffdshow_rev2975_20090528_clsid ) and version 1.2.1130 of MPC HC on WinXP Pro Sp3 32bit.

C.U. NanoBot

allak
31st May 2009, 17:43
Still it should not crash the internal splitter, might be very easy to work around.

Looking at the source, I'd say that the problem is with the function Segment::FindChapterAtom, in the file:

~/mpc-hc/src/filters/parser/matroskasplitter/MatroskaFile.cpp

It takes a ChapterUID as an argument, but the value '0' is treated as a special case, and the return value is a different kind of matroska node.

I'd say a quick and dirty solution would be to add a new input parameter to that function, to signal explicitly what kind of return value the caller wants.

The FindChapterAtom function is called only in two places, both of them in the MatroskaSplitter.cpp file, so this fix should not be too much intrusive.

Could you pass this information to one of the developers ?

alexins
31st May 2009, 19:25
Media Player Classic HomeCinema (x86/x64), svn 1137 (http://www.xvidvideo.ru/content/view/776/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/)

(1133-1137)
Added : DX allocator for madVR; Fixed : Patch for temp file leak in CSubtitleSource (bug #2784378);
Fixed : German filter properties window problems (bug #2792096);
Fixed : changing audio stream select a subtitle in M2TS (bug #2792676);
Fixed: Mono HDMV LPCM;
Fixed: Imperceptibly faster Bicubic resizer.

Beliyaal
31st May 2009, 20:00
I have submitted a fix for the mono LPCM bug.

Also I have investigated Bicubic resizer performance. I have compared to the old Bicubic resizer, and it seems that it resulted in incorrect output. Because the old resizer uses 8 samples instead of the required 16 samples it is incorrect and almost twice as fast.

Old incorrect result (http://www.olofsson.info/mpchc/BicubicIncorrect.png)
New correct slow result (http://www.olofsson.info/mpchc/BicubicCorrect.png)

It looks like the old resizer was bicubic "only in the x direction". Right now I'm thinking that the old resizer was buggy and will not provide an option for enabling the old code, especially since a new option would require more translation.

Someone asked about PS 3.0 path for the resizers. The HLSL shaders are already complied against PS 3.0 if it's available on the graphics card. This doesn't result in better performance however.

During the coming week I will be working on refresh rate detection and I will also endeavor to explain all the VSync options to everyones satisfaction.

ikarad
31st May 2009, 20:58
I have submitted a fix for the mono LPCM bug.

Also I have investigated Bicubic resizer performance. I have compared to the old Bicubic resizer, and it seems that it resulted in incorrect output. Because the old resizer uses 8 samples instead of the required 16 samples it is incorrect and almost twice as fast.

Old incorrect result (http://www.olofsson.info/mpchc/BicubicIncorrect.png)
New correct slow result (http://www.olofsson.info/mpchc/BicubicCorrect.png)

It looks like the old resizer was bicubic "only in the x direction". Right now I'm thinking that the old resizer was buggy and will not provide an option for enabling the old code, especially since a new option would require more translation.

Someone asked about PS 3.0 path for the resizers. The HLSL shaders are already complied against PS 3.0 if it's available on the graphics card. This doesn't result in better performance however.

During the coming week I will be working on refresh rate detection and I will also endeavor to explain all the VSync options to everyones satisfaction.

Beliyaal,
Sorry to disturb you but have you the time to see the problem of subtitle display with separated subtitle described here appeared with 1117 ?
http://sourceforge.net/tracker/?func=detail&aid=2795839&group_id=170561&atid=854651

I notice another problem. Fraps is broken with mpc-Hc sine merge between mpc-Hc and beliyaal branch. Maybe DO you know how correct this bug?
http://sourceforge.net/tracker/?func=detail&aid=2795842&group_id=170561&atid=854651


And I don't know if you are the good person for this problem described here but if you are the time to watch this problem
http://sourceforge.net/tracker/?func=detail&aid=2449648&group_id=170561&atid=854651

About this problem I think about two solutions (I don't know if it's the best solution but maybe it's a good solution if it's a solution)
first:
a solution would be to add a delay (only under vista) just when opendvd and load subtitle are used in the same time (then just for dvd movies) because with all dvds that I have the delay is always the same (I calculate with directvobsub that delay is nearly 1600 ms and I think it's the same delay for all dvd movies in the world under vista))

second:
it wil be usefull to add an option like in ffdshow or directvobsub that allow to add a delay to display subtitle.

bur
31st May 2009, 21:10
Beliyaal will have to take a look at that, please add a bug to the trackerThanks, I did that.

https://sourceforge.net/tracker/?func=detail&aid=2799089&group_id=170561&atid=854651

tetsuo55
31st May 2009, 22:29
Looking at the source, I'd say that the problem is with the function Segment::FindChapterAtom, in the file:

~/mpc-hc/src/filters/parser/matroskasplitter/MatroskaFile.cpp

It takes a ChapterUID as an argument, but the value '0' is treated as a special case, and the return value is a different kind of matroska node.

I'd say a quick and dirty solution would be to add a new input parameter to that function, to signal explicitly what kind of return value the caller wants.

The FindChapterAtom function is called only in two places, both of them in the MatroskaSplitter.cpp file, so this fix should not be too much intrusive.

Could you pass this information to one of the developers ?Would you be able to supply a patch for that?

tetsuo55
31st May 2009, 22:31
I have submitted a fix for the mono LPCM bug.

Also I have investigated Bicubic resizer performance. I have compared to the old Bicubic resizer, and it seems that it resulted in incorrect output. Because the old resizer uses 8 samples instead of the required 16 samples it is incorrect and almost twice as fast.

Old incorrect result (http://www.olofsson.info/mpchc/BicubicIncorrect.png)
New correct slow result (http://www.olofsson.info/mpchc/BicubicCorrect.png)

It looks like the old resizer was bicubic "only in the x direction". Right now I'm thinking that the old resizer was buggy and will not provide an option for enabling the old code, especially since a new option would require more translation.

Someone asked about PS 3.0 path for the resizers. The HLSL shaders are already complied against PS 3.0 if it's available on the graphics card. This doesn't result in better performance however.

During the coming week I will be working on refresh rate detection and I will also endeavor to explain all the VSync options to everyones satisfaction.In that case i suggest leaving the bicubic resizer alone. People who now have problems with the bicubic resizer will have to use bilniear for now.

EDIT: removed my typo

clsid
31st May 2009, 22:54
Bilinear ;)

Steveo08
31st May 2009, 23:05
Bilinear ;)




and which one is the best for picture quality?

allak
31st May 2009, 23:23
Would you be able to supply a patch for that?

Well, yes, but there are some caveats ... :)

I've never programmed for Windows, and my knowledge of C++ is at best superficial. I've programmed a fair bit with C, but only under *nix, and that was many moons ago.

Moreover, I do not have Visual Studio, much less a complete setup to compile MPC-HC, so I've no way to test the correctness of my suggestion.


Anyway, if one of the developers want to try to apply it, here is a very quick and dirty workaround; it *should* just skip any chapters with a ChapterUID equal to 0:




[~/mpc-hc/src/filters/parser/matroskasplitter] > diff -u MatroskaSplitter.cpp.svn MatroskaSplitter.cpp.allak
--- MatroskaSplitter.cpp.svn 2009-05-31 23:54:06.945076900 +0200
+++ MatroskaSplitter.cpp.allak 2009-06-01 00:19:38.534678800 +0200
@@ -668,7 +668,10 @@
while(pos)
{
// ca == caroot->ChapterAtoms.GetNext(pos) ?
- if(ChapterAtom* ca = m_pFile->m_segment.FindChapterAtom(parent->ChapterAtoms.GetNext(pos)->ChapterUID))
+ UINT64 ChapUID = parent->ChapterAtoms.GetNext(pos)->ChapterUID;
+ if (ChapUID == 0) continue;
+
+ if(ChapterAtom* ca = m_pFile->m_segment.FindChapterAtom(ChapUID))
{
CStringW name, first;

tetsuo55
1st June 2009, 00:07
Bilinear ;)
Fixed my post

ForceX
1st June 2009, 00:09
In that case i suggest leaving the bicubic resizer alone. People who now have problems with the bicubic resizer will have to use nearest neighbour for now.

Does anyone know of a fast resizer that could fit between nearest neighbour and bicubic?

Why use Nearest Neighbour when one can use Bilinear? Nearest Neighbour virtually does no resampling and looks horrible. The Bilinear PS resizer works but the image becomes too blurry. EDIT: Bilinear is among the simplest of resizers, I don't think any other method has any acceptable performance/speed balance.

Bilinear is good for downsampling as it avoids jaggyness while Bicubic is better for upsampling as it gives more details and sharpness.

I think whoever was talking about a PS 3.0 resizer meant it to be completely newly written resizer which doesn't have to constrain itself to be backwards compatible with PS 2.0.

Casshern
1st June 2009, 00:19
I have submitted a fix for the mono LPCM bug.

Does not work for wages of fear and also not for 400 blows - sound plays at half the sample rate (everything is slowed down). The splitter reports the track as 48000 hz mono with a sample size of 16 Bits but gives bitrate as 768kbps. Tsmuxer states the bitrate as 1536Kbps... strange...


Heres what the splitter reports:
Audio: PCM 48000Hz mono 768Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {949F97FD-56F6-4527-B4AE-DDEB375AB80F}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 19

WAVEFORMATEX:
wFormatTag: 0x0001
nChannels: 1
nSamplesPerSec: 48000
nAvgBytesPerSec: 96000
nBlockAlign: 2
wBitsPerSample: 16
cbSize: 1 (extra bytes)

pbFormat:
0000: 01 00 01 00 80 bb 00 00 00 77 01 00 02 00 10 00 ....€»...w......
0010: 01 00|01 ...

tetsuo55
1st June 2009, 00:32
Why use Nearest Neighbour when one can use Bilinear? Nearest Neighbour virtually does no resampling and looks horrible. The Bilinear PS resizer works but the image becomes too blurry. EDIT: Bilinear is among the simplest of resizers, I don't think any other method has any acceptable performance/speed balance.

Bilinear is good for downsampling as it avoids jaggyness while Bicubic is better for upsampling as it gives more details and sharpness. Was a typo, i deleted that part of my post

I think whoever was talking about a PS 3.0 resizer meant it to be completely newly written resizer which doesn't have to constrain itself to be backwards compatible with PS 2.0.Yes i agree, but i doubt PS3.0 capable cards are having problems with the current PS2.0 one. So this would be a low priority feature requestDoes not work for wages of fear and also not for 400 blows - sound plays at half the sample rate (everything is slowed down). The splitter reports the track as 48000 hz mono with a sample size of 16 Bits but gives bitrate as 768kbps. Tsmuxer states the bitrate as 1536Kbps... strange...


Heres what the splitter reports:
Audio: PCM 48000Hz mono 768Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {949F97FD-56F6-4527-B4AE-DDEB375AB80F}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 19

WAVEFORMATEX:
wFormatTag: 0x0001
nChannels: 1
nSamplesPerSec: 48000
nAvgBytesPerSec: 96000
nBlockAlign: 2
wBitsPerSample: 16
cbSize: 1 (extra bytes)

pbFormat:
0000: 01 00 01 00 80 bb 00 00 00 77 01 00 02 00 10 00 ....€»...w......
0010: 01 00|01 ...Samples please :)

tetsuo55
1st June 2009, 01:10
@ All devs:

Libraries that have updates available:

http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/lib/qt6/qtmlClient.lib

Might be able to update to:QuickTime 7.3 SDK for Windows
http://developer.apple.com/quicktime/download/

http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/src/libpng/
Libpng 1.2.36, performance updates. bugs fixed and security leaks fixed
http://www.libpng.org/pub/png/libpng.html

And ofcourse ffmpeg

And possibly the base-classes

I would like to have these updated for a new stable release.

mark0077
1st June 2009, 01:11
tetsuo quick question regarding bug tracker. Why was this bug closed as a duplicate of another

http://sourceforge.net/tracker/?func=detail&atid=854651&aid=2795475&group_id=170561

It isn't a duplicate of http://sourceforge.net/tracker/?func=detail&atid=854651&aid=2793531&group_id=170561
as far as I know. One relates to stuttering because of bad splitter, the other relates to vc-1 software decoding sometimes running into trouble when seeking in... well any vc-1 file.

tetsuo55
1st June 2009, 01:15
@ Everyone

I did a massive spring cleaning of the bug tracker.

We now have 78 bugs left ( a couple unconfirmed that might still get closed as cannot reproduce )

We basically have 3 big issues that make up most of the bug-reports/forum thread complaints

1. MPC-HC has a lot of aspect ratio problems:
https://sourceforge.net/tracker/?func=browse&group_id=170561&atid=854651&status=1&artgroup=899368

2. MPC-HC's internal mpeg TS splitter has to be enabled for a lot of things to work correctly, but it has many bugs too:
https://sourceforge.net/tracker/?func=browse&group_id=170561&atid=854651&status=1&artgroup=899369

3. Some files or combination of settings causes crashes.

I have re-orderer all the priorities.

Basically everything with 8-9 has no workaround or causes crashes.

tetsuo55
1st June 2009, 01:16
tetsuo quick question regarding bug tracker. Why was this bug closed as a duplicate of another

http://sourceforge.net/tracker/?func=detail&atid=854651&aid=2795475&group_id=170561

It isn't a duplicate of http://sourceforge.net/tracker/?func=detail&atid=854651&aid=2793531&group_id=170561
as far as I know. One relates to stuttering because of bad splitter, the other relates to vc-1 software decoding sometimes running into trouble when seeking in... well any vc-1 file.It's the same problem but neither bug-reports explains it well/completely

mark0077
1st June 2009, 01:25
It's the same problem but neither bug-reports explains it well/completely

Thanks, will be nice to see that one fixed. Cheers for all the work.

neoufo51
1st June 2009, 02:29
@ All devs:

Libraries that have updates available:

http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/lib/qt6/qtmlClient.lib

Might be able to update to:QuickTime 7.3 SDK for Windows
http://developer.apple.com/quicktime/download/

http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/trunk/src/libpng/
Libpng 1.2.36, performance updates. bugs fixed and security leaks fixed
http://www.libpng.org/pub/png/libpng.html

And ofcourse ffmpeg

And possibly the base-classes

I would like to have these updated for a new stable release.
I definitely agree with this!

Aleksoid1978
1st June 2009, 03:12
Can anybody download QuickTime 7.3 SDK for Windows and post link here ???

betaking
1st June 2009, 03:24
Can anybody download QuickTime 7.3 SDK for Windows and post link here ???

OK,download at here
http://rapidshare.com/files/239447946/quicktimesdk.zip.html
MD5: 9EBE422F51C3D3F3CD7EFC527208947E

ADude
1st June 2009, 05:22
@ Everyone

I did a massive spring cleaning of the bug tracker.

I have re-orderer all the priorities.

Basically everything with 8-9 has no workaround or causes crashes.

Thank you for doing this unglamorous work.

By the way, IMHO, any bug in the internal decoders or splitters automatically has a workaround, because one can use ffdshow, Haali, etc. So, bugs that are not about internal decoders or splitters are automatically higher priority if they have no workaround.

ADude
1st June 2009, 05:25
Bilinear is good for downsampling as it avoids jaggyness while Bicubic is better for upsampling as it gives more details and sharpness.

I came across that same evaluation after discovering the large gpu use of MPC's bicubic software. Since I have a 720p screen, clarity of 1080p downsampling is always going to be more important than clarity of SD upsampling, so I will probably stick with bilinear regardless.

Casshern
1st June 2009, 09:05
Samples please :)

Would love to, but it's copyrighted material. But Beliyaal can contact me via pm for more "details".

tetsuo55
1st June 2009, 09:30
Thanks, will be nice to see that one fixed. Cheers for all the work.Yes there is a general problem with VC1 decoding that gets even worse when the VC1 is in the m2ts container. It's a high priority issue because direct bluray playback with DXVA is one of the main MPC-HC features,Libpng 1.2.37 will be out either this week or next week according to the current maintainer, Glenn Randers-Pehrson. Should update to that when it's released, it's at RC status atm.

http://sourceforge.net/project/showfiles.php?group_id=5624In that case we should wait a little bit, do you know the changelog?Thank you for doing this unglamorous work.

By the way, IMHO, any bug in the internal decoders or splitters automatically has a workaround, because one can use ffdshow, Haali, etc. So, bugs that are not about internal decoders or splitters are automatically higher priority if they have no workaround.I agree, unless:
-The bug causes a crash or security issue
-The bug relates to DXVA playback
-The bug relates to TS(Bluray) playback

The last 2 are important because they are MPC-HC's speciality. And haali splitter misses a lot of M2TS features so you cannot use that as an alternative

tetsuo55
1st June 2009, 09:32
Also please note, noone officially reported the refresh rate detection bug.

hoborg
1st June 2009, 09:34
Hi.
It is now ~1 mounth and external filter software decoding problem (extremly slow software decoding of h.264) still not fixed?
I was thinking it is critical issue...

tetsuo55
1st June 2009, 10:08
Hi.
It is now ~1 mounth and external filter software decoding problem (extremly slow software decoding of h.264) still not fixed?
I was thinking it is critical issue...Which bug report is that on the tracker?

Kurtnoise
1st June 2009, 10:11
Here is a patch (http://pastebin.com/fa6a94f9) to handle AC3-in-MP4 files created by Nero Digital...I hope NG will update their tools to be compliant within the standard soon. Still, Nero 9 uses this material. Samples for testing : file 1 (http://www.mediafire.com/?n1zdztydv3n) | file 2 (http://www.mediafire.com/?mtgmluijojz).

Note: I know that several constants are not used yet but might be useful for future patches. ;)

hoborg
1st June 2009, 10:12
Which bug report is that on the tracker?

I am not sure if it is listet in tracker...

Original post:
http://forum.doom9.org/showthread.php?p=1276859#post1276859

tetsuo55
1st June 2009, 11:02
Here is a patch (http://pastebin.com/fa6a94f9) to handle AC3-in-MP4 files created by Nero Digital...I hope NG will update their tools to be compliant within the standard soon. Still, Nero 9 uses this material. Samples for testing : file 1 (http://www.mediafire.com/?n1zdztydv3n) | file 2 (http://www.mediafire.com/?mtgmluijojz).

Note: I know that several constants are not used yet but might be useful for future patches. ;)Thanks, we can use every patch you can think off with regards to splitter problemsI am not sure if it is listet in tracker...

Original post:
http://forum.doom9.org/showthread.php?p=1276859#post1276859 i can reproduce with the latest version 1137, please add this issue to the tracker.

I hope another ffmpeg updates fixes it.

hoborg
1st June 2009, 12:04
I can reproduce with the latest version 1137, please add this issue to the tracker.

I hope another ffmpeg updates fixes it.

Added.
http://sourceforge.net/tracker/?func=detail&aid=2799393&group_id=170561&atid=854651

73ChargerFan
1st June 2009, 19:41
We now have 78 bugs left ( a couple unconfirmed that might still get closed as cannot reproduce )

I know of a show stopping bug, but haven't thought about it for a long time, and am surprised that it isn't already in the bug tracker.

dts 1536 over spdif stutters

My work around is to use spdifer. I'll test & verify with latest build before adding to the bug tracker. I'm using XP.

Mixer73
1st June 2009, 23:34
I can't believe the love shown by Beliyaal, Tetsuo55, Casimir, Alexins... Sorry if I have forgotten a regular contributor.

I think I've seen 100 builds since I started really using MPC-HC, as a former Zplayer and KMplayer user, I can now say that with the right settings MPC-HC gives perfect playback for me when its configured right.

Awesome job devs, :D You deserve a pat on the back for your commitment to a sometimes thankless job.

On another note is the xvidvideo.ru site down?

Aleksoid1978
1st June 2009, 23:37
Xvidvideo.ru is down, here latest 1141 build :

http://aleksoid.tosei.ru/mpc_x86_1141.7z
http://aleksoid.tosei.ru/mpc_x64_1141.7z

gngn
2nd June 2009, 00:23
Xvidvideo.ru is down, here latest 1141 build

thanks for providing this version. i was curious about the improvment with DXVA.
now files with 12-15 ReFrames will have DXVA with XP (SD and HD). only files with Reframes 16 will freeze.

Aleksoid1978
2nd June 2009, 00:36
thanks for providing this version. i was curious about the improvment with DXVA.
now files with 12-15 ReFrames will have DXVA with XP (SD and HD). only files with Reframes 16 will freeze.

What Output use ??? Under XP only in "system" no limit on ReFrames.

allak
2nd June 2009, 00:45
Regarding bug:

http://sourceforge.net/tracker/?func=detail&aid=2054127&group_id=170561&atid=854651

If I understand the report correctly, I am unable to reproduce.

Using the latest MKVtoolnix I've muxed a 16:9 avi to MKV, forcing the aspect ratio to 4:3 in the "Format Specific Option" tab for the video track.

As expected, the resulting mkv file is played by MPC-HC with the video squeezed.

Maybe it was simply a badly muxed file, or may some other patch has also fixed this problem (the bug is pretty old, august 2008, with no followup).

Anyway, we do not have a sample and we can't ask the anonymous submitter: if nobody else can reproduce I think the bug could be closed.


tested with the madVR, Haali, ERV and VMR9 rederers

gngn
2nd June 2009, 01:17
What Output use ??? Under XP only in "system" no limit on ReFrames.

on XP MPC-HC couldn't decode files with more than 11 ReFrames. it worked with CoreAVC (but even CoreAVC turns to software-mode on files with RF=16)
it only works now after Casimir666's changes in rev1141. so the DXVA limitations for XP inside MPC could be removed now.

but there is a problem now for me with some "more demanding" 1080p files: the frame rate judder is sometimes chaotic probably depending on the scene, and if i select the BicubicResizer instead of the BilinealPS2.0 then it gets even worse, and even worser if i enable some Shaders (YV12Chroma + Sharpencomplex2).

rev1136:
http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_1136.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/1136.png)

rev1141:
http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_1141.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/1141.png)

sample here (http://www.mediafire.com/download.php?nfzjnzzdt3y)

as a sidenote: before 1141 it was possible to have more than 1 instance of MPC-HC and DXVA, now MPC falls back to the ffmpeg on the second instance

edit: some of the SD anime encodes i have will get older frames inbetween on DXVA playback, and then video freezes. audio continues. in this sample (http://www.mediafire.com/download.php?5jmam15mzjm) video freezes at 0:17 sec
i hope that it's not my graphics-card giving up on me :))

malados
2nd June 2009, 03:07
I have one question about the DXVA decode and display.

When the DisplayNextFrame() function is called, it will search one nPicIndex to GetDeliveryBuffer and m_pAMVideoAccelerator->DisplayFrame to display the frame.
After display, the flag bUsed will set to 0 if this frame will not be reference by another frame.
So, the Index may be using for next decode buffer immediately.
The "decoded" frame will be updated on screen immediately caused by the same buffer index "nPicIndex" as previous display frame.
What is the problem? Does someone have any idea?


Is any one have idea about the buffer question?

konsulat
2nd June 2009, 09:29
I added this bug to the tracker

http://sourceforge.net/tracker/?func=detail&aid=2784256&group_id=170561&atid=854651

Thanks for fixing it. Now all my HD videos with 16 Reframes play without freezing.
With SD video encodes (less than 1280x720) and 16 Reframes DXVA is not active. But there is one rare occasion when SD videos with 16 Reframes use DXVA and video freezes - linked files.
When I start the main file and it is encoded with 10 Reframes for example MPC-HC uses DXVA. Linked file is encoded with 16 Reframes and when MPC-HC plays it at some frame video freezes. If I play the linked file separately, MPC-HC won't freeze because it doesn't use DXVA. It's the same as the bug above but if it's needed to add another bug to the tracker I'll do it.

Aleksoid1978
2nd June 2009, 13:01
I make test version - http://aleksoid.tosei.ru/mplayerc_1143_test.7z - work AR, fast move/switch between monitors, window and fullscreen mode.

tetsuo55
2nd June 2009, 13:17
I make test version - http://aleksoid.tosei.ru/mplayerc_1143_test.7z - work AR, fast move/switch between monitors, window and fullscreen mode.Here is a possible solution for the various crashes/corruptions related to multi-screen problems and UAc prompts ETC..


I also got the video to stay up after ctrl+alt+delete. Really, this was ridiculous. DirectDraw was a simple surface->Restore() call, but Direct3D was a nightmare. Totally different ways to recover it based on surface vs texture mode, and you basically have to destroy every last resource, then call device->Reset(), the re-initialize it all again. I wrapped all the code I could to avoid code duplication. And it turns out just resetting isn't enough for the issue with textures when you resize windows, so that still re-initializes everything. Oh, and you can't just re-initialize when you lose the D3D device: it'll actually crash the application. You have to reset the device before you can use it again, period. And when you lose the device, in order to try and recover it, you have to release all the old resources first, so you have to then write protection checks at the top of every user-visible function to make sure they don't try and access resources you released while trying to restore. Because you see, it won't restore when you're in the ctrl+alt+delete menu, it'll keep failing and you have to keep trying over and over until it works. And you can't sleep once you detect device loss, because then the audio will hang.

byuu wrote:
FitzRoy wrote:
Powering off a game causes the audio to stutter forever. Same thing that happens when you're dragging the title bar.

byuu wrote:
I can fix unload, but the title bar thing is a limitation of Windows deadlocking userspace code when you click on it. Linux and OS X don't have that problem.

You can try muting between WM_(ENTER|EXIT)SIZEMOVE messages, assuming you can intercept them.

tetsuo55
2nd June 2009, 14:04
I mentioned updating the baseclasses before.

The newest release can be found here:http://www.microsoft.com/downloads/details.aspx?FamilyID=6db1f17f-5f1e-4e54-a331-c32285cdde0c&displaylang=en

On 27-4-2009 MS said they would not be updating the directshow baseclass redist dll's, this probably also means that they won't be updating the baseclasses at all. However they could still update them through windows update (redist is no longer required with XP sp2 or newer)
I guess this is a logical step seeing as all the focus is on media foundation.

tetsuo55
2nd June 2009, 14:32
I've noticed that some parts of MPC-HC and more often external filters require admin rights to work correctly(At least on windows 7).
(See also this related bug report http://sourceforge.net/tracker/?func=detail&aid=2799826&group_id=170561&atid=854651)

Here is a MS tool that can test applications for problems running as a limited user: http://blogs.msdn.com/aaron_margosis/archive/2008/11/06/lua-buglight-2-0-second-preview.aspx

Basically MPC-HC(or the external filters) should ask for admin rights only when really needed. (prompt uac on action that requires admin rights if not already running with admin rights)

EDIT:
Here is a document explaining the admin rights only when needed functionality
http://www.codeproject.com/KB/vista-security/UAC_Shield_for_Elevation.aspx

cca
2nd June 2009, 14:44
Revision 1141 seems to cause problems with DXVA in certain files. Example follows:

http://img404.imageshack.us/img404/6083/mpcdxva.jpg (http://img404.imageshack.us/my.php?image=mpcdxva.jpg)


As you can see in this screenshot, playback is not smooth but the video stutters. The same exact file has no such problem with revision 1137.

Unfortunately I don't know how the file was encoded, it is a freely available anime fansub. The problem seen is 100% reproducable, happens every time with revision 1141 with this video, never happens with rev. 1137.

tetsuo55
2nd June 2009, 14:49
We need a sample.... (you will have to cut it). Also please post a media info log in [ code ] [ / code ]

chiyuwang
2nd June 2009, 15:01
when using VMR9 renderer it crashes to dxvadecoder.cpp line416

cca
2nd June 2009, 15:16
We need a sample.... (you will have to cut it). Also please post a media info log in [ code ] [ / code ]

Unfortunately I do not how to cut matroska files, nor what a media info log is. I don't produce videos, only play them. I assume it cannot be too hard, but I got no clue atm.

tetsuo55
2nd June 2009, 15:22
Unfortunately I do not how to cut matroska files, nor what a media info log is. I don't produce videos, only play them. I assume it cannot be too hard, but I got no clue atm.

You can find mediainfo here:
http://forum.doom9.org/showthread.php?p=678931#post678931

Cutting and uploading samples can be found here:
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

tetsuo55
2nd June 2009, 15:30
I added this bug to the tracker

http://sourceforge.net/tracker/?func=detail&aid=2784256&group_id=170561&atid=854651

Thanks for fixing it. Now all my HD videos with 16 Reframes play without freezing.
With SD video encodes (less than 1280x720) and 16 Reframes DXVA is not active. But there is one rare occasion when SD videos with 16 Reframes use DXVA and video freezes - linked files.
When I start the main file and it is encoded with 10 Reframes for example MPC-HC uses DXVA. Linked file is encoded with 16 Reframes and when MPC-HC plays it at some frame video freezes. If I play the linked file separately, MPC-HC won't freeze because it doesn't use DXVA. It's the same as the bug above but if it's needed to add another bug to the tracker I'll do it.Can you upload a sample? I don't have any linked files.

cca
2nd June 2009, 15:57
Ok, I hope I did it right:

Media info log:

General
[57E6D6CF].mkv
Format : Matroska
File size : 342 MiB
Duration : 23mn 0s
Overall bit rate : 2 081 Kbps
Encoded date : UTC 2009-06-02 00:06:18
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 26 2007 15:16:15
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cover : Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 22mn 58s
Bit rate : 1 910 Kbps
Nominal bit rate : 1 964 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.086
Stream size : 314 MiB (92%)
Title : Video (H.264)
Writing library : x264 core 67 r1153M 7b6ce6a
Encoding settings : cabac=1 / ref=9 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=8 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=6 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=300 / keyint_min=30 / scenecut=40 / rc=2pass / bitrate=1964 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.60

Audio
ID : 2
Format : Vorbis
Format settings, Floor : 1
Codec ID : A_VORBIS
Duration : 23mn 0s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 21.1 MiB (6%)
Title : Japanese Audio (2ch LC-AAC)
Writing library : Lancer b5 (UTC 2006-11-10)
Language : Japanese

Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : ASS
Language : English

Menu
00:00:00.000 : :OP
00:01:10.028 : :Part A
00:10:57.990 : :Part B
00:21:50.015 : :ED
00:22:49.950 : :Preview



Sample can be found here: http://sharebee.com/22ef33f4

tetsuo55
2nd June 2009, 16:13
Could you try remuxing the file with the newest build of mkvmerge found here:
http://forum.doom9.org/showthread.php?p=1291874#post1291874

(just load the mkv, change the output name and click the remux button)

cca
2nd June 2009, 16:16
I can try but not immediately, currently I 'm working, I'll tell you the result in about 3 hours.

konsulat
2nd June 2009, 16:24
Can you upload a sample? I don't have any linked files.

Yes. Here is the main file (first 1 minute of it)

http://sharebee.com/b7036b25

Here is the linked one

http://sharebee.com/5fa3325d

Linked file is called immediately from the main file and it starts playing first.

allak
2nd June 2009, 16:30
-Internal MKV splitter should read mpeg2 streams without the need for an explicit decleration of the CodecPrivate value(which the latest svn build of mkvmerge now always writes).

Could one of the developers test the following patch ?

It's a million to one chance, but it could possibly work ....


--- MatroskaSplitter.cpp.svn 2009-06-02 17:19:08.885292800 +0200
+++ MatroskaSplitter.cpp.allak 2009-06-02 17:23:57.152780800 +0200
@@ -299,13 +299,36 @@
}
else if(CodecID == "V_MPEG2")
{
+ // The CodecPrivate Matroska field shoud contain a copy of the first MPEG2 Sequence header
BYTE* seqhdr = pTE->CodecPrivate.GetData();
DWORD len = pTE->CodecPrivate.GetCount();
int w = pTE->v.PixelWidth;
int h = pTE->v.PixelHeight;

- if(MakeMPEG2MediaType(mt, seqhdr, len, w, h))
- mts.Add(mt);
+ bool flag = MakeMPEG2MediaType(mt, seqhdr, len, w, h);
+
+ if (! flag)
+ {
+ // Here we try a workaround if the seqhdr is missing or malformed
+ mt.majortype = MEDIATYPE_Video;
+ mt.subtype = MEDIASUBTYPE_MPEG2_VIDEO;
+ mt.formattype = FORMAT_MPEG2Video;
+
+ MPEG2VIDEOINFO* vih = (MPEG2VIDEOINFO*)mt.AllocFormatBuffer(sizeof(MPEG2VIDEOINFO));
+ memset(mt.Format(), 0, mt.FormatLength());
+ vih->hdr.bmiHeader.biSize = sizeof(vih->hdr.bmiHeader);
+ vih->hdr.bmiHeader.biWidth = w;
+ vih->hdr.bmiHeader.biHeight = h;
+
+ // We do not have any information, so we leave this blank
+ // We do hope that this case is handled gracefully downstream
+ // As far as I can tell, at least that those values are always
+ // checked for sanity
+ vih->dwSequenceHeader = NULL;
+ vih->cbSequenceHeader = 0;
+ }
+
+ mts.Add(mt);
}
else if(CodecID == "V_THEORA")
{

tetsuo55
2nd June 2009, 16:34
Could one of the developers test the following patch ?

It's a million to one chance, but it could possibly work ....


--- MatroskaSplitter.cpp.svn 2009-06-02 17:19:08.885292800 +0200
+++ MatroskaSplitter.cpp.allak 2009-06-02 17:23:57.152780800 +0200
@@ -299,13 +299,36 @@
}
else if(CodecID == "V_MPEG2")
{
+ // The CodecPrivate Matroska field shoud contain a copy of the first MPEG2 Sequence header
BYTE* seqhdr = pTE->CodecPrivate.GetData();
DWORD len = pTE->CodecPrivate.GetCount();
int w = pTE->v.PixelWidth;
int h = pTE->v.PixelHeight;

- if(MakeMPEG2MediaType(mt, seqhdr, len, w, h))
- mts.Add(mt);
+ bool flag = MakeMPEG2MediaType(mt, seqhdr, len, w, h);
+
+ if (! flag)
+ {
+ // Here we try a workaround if the seqhdr is missing or malformed
+ mt.majortype = MEDIATYPE_Video;
+ mt.subtype = MEDIASUBTYPE_MPEG2_VIDEO;
+ mt.formattype = FORMAT_MPEG2Video;
+
+ MPEG2VIDEOINFO* vih = (MPEG2VIDEOINFO*)mt.AllocFormatBuffer(sizeof(MPEG2VIDEOINFO));
+ memset(mt.Format(), 0, mt.FormatLength());
+ vih->hdr.bmiHeader.biSize = sizeof(vih->hdr.bmiHeader);
+ vih->hdr.bmiHeader.biWidth = w;
+ vih->hdr.bmiHeader.biHeight = h;
+
+ // We do not have any information, so we leave this blank
+ // We do hope that this case is handled gracefully downstream
+ // As far as I can tell, at least that those values are always
+ // checked for sanity
+ vih->dwSequenceHeader = NULL;
+ vih->cbSequenceHeader = 0;
+ }
+
+ mts.Add(mt);
}
else if(CodecID == "V_THEORA")
{

Thanks a lot, i hope Casimir or any of the other dev's accept it and add it to SVN

allak
2nd June 2009, 16:42
BTW, it would be much better to do as suggested by Mosu, i.e., try to get the first sequence header from the MPEG2 stream and use it here.

But that would mean that we should put in the Matroska splitter the knowledge to parse an MPEG2 stream, which is non obvious to me and in any case would be clearly overkill.

Snowknight26
2nd June 2009, 16:48
I can confirm the playback stuttering with DXVA enabled for H.264 videos.

Here's my infamous Tiesto Blu-ray sample: http://stfcc.org/misc/00000.cut.m2ts

The crackling audio upon seek is still there by the way.

konsulat
2nd June 2009, 18:39
I want to report another bug when playing linked files.

When linked file is called by the main file video becomes broken on some occasions. Like this:

http://img151.imageshack.us/my.php?image=ryroonmyoutaisenki01dvd.png

It stays broken as long as linked file is playing. When the main file starts playing agian video becomes normal. First I thought it should be haali bug. But when i'm using ffdshow (both ffmpeg and libavcodec) or coreavc (with x86 version of MPC-HC) it plays without issues.

Main file (first 4 minutes of it):
http://sharebee.com/91c1a2ea

Linked file:
http://sharebee.com/09e647f1

Linked file is called at 1:54. This sample is SD video encode with 16 Reframes for both main and linked files. MPC-HC cannot use DXVA. I have another HD encode (1080p) with 9 Reframes for both linked and main files. MPC-HC uses DXVA and there is the same issue. If i use internal ffmpeg video becomes broken when playing linked file. If i use ffdshow or coreavc it plays normally.

cca
2nd June 2009, 19:16
Could you try remuxing the file with the newest build of mkvmerge found here:
http://forum.doom9.org/showthread.php?p=1291874#post1291874

(just load the mkv, change the output name and click the remux button)

OK, just tried this, no difference in the playback, still stutters.

tetsuo55
2nd June 2009, 19:31
I make test version - http://aleksoid.tosei.ru/mplayerc_1143_test.7z - work AR, fast move/switch between monitors, window and fullscreen mode.Okay i tested this on my multi-monitor system

I could move between the 2 windows without any crashes, but the screen did hang often(for a few seconds) and redrawing was slow.

Still the no crashes part is the most important for me.

Secondly switching from windowed to fullscreen mode using F11 works fine, but sometimes when i doubleclick the titlebar to change between fullscreen-windowed and 100%zoom-windowed mplayerc will still crash.


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

@Everyone:
There appears to be a regression in the DXVA decoder, we will have to wait for Casimir to login and check those samples.

gngn
2nd June 2009, 19:36
OK, just tried this, no difference in the playback, still stutters.

on XP and rev1141 the sample you provided presents stuttering, older frames are repeated during playback, and then video freezes arround 00:15 .

rack04
2nd June 2009, 21:25
Can anyone explain this large sync offset? It goes as high as -2298ms.

Windows XP SP3
Nvidia Quadro NVS 135M
EVR Custom Pres
MPC-HC svn 1137
Optimal render settings

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

Sample (http://www.sendspace.com/file/4ccutj)

konsulat
2nd June 2009, 21:28
Another bug. Here is the sample:

http://sharebee.com/64d25812

I use ffmpeg internal decoder. I start with window mode. It plays nicely. When I switch to full screen mode video becomes broken (thick green line at the bottom and other video artifacts). Switching back to window mode, video stays broken. No problem with DXVA, ffdshow or coreavc.
Also there is a linked opening here:

http://www.megaupload.com/?d=R8W8V9PT

When I use ffmpeg internal decoder, same issues appear. There is no problem if I play opening separately using DXVA. If I play the main file using DXVA (it calls the opening first), there is very high GPU utilization with all resizers. Video stutters.

mark0077
2nd June 2009, 22:20
Guys, just trying to sort out my list of bugs, and making note of the final 1 or 2 bugs and feature requests I want to make.

Does anyone know if mpc-hc is expected to add files to the playlist when multiple files are opened. If this isn't the current behaviour would anyone object to me adding this as a feature request. I would have expected opening a list of say 6 tv show episodes, to play each in order one after another.

Beliyaal
2nd June 2009, 22:27
I have submitted a fix for a hang when you move between monitors, but I'm not sure what aspect ratio changes you are talking about when moving between monitors. Do we have a bug for this with sample and which renderer/settings?

tetsuo55
2nd June 2009, 22:39
I have submitted a fix for a hang when you move between monitors, but I'm not sure what aspect ratio changes you are talking about when moving between monitors. Do we have a bug for this with sample and which renderer/settings?I'm sure that fix will add nicely to the work aleksoid has done (but not yet submitted).

That specific AR bug can be found here:
https://sourceforge.net/tracker/?func=detail&aid=2794624&group_id=170561&atid=854651

However the original submitter did not post a sample.
He does mention that it only occurs with the .avi container and that h264 files are affected more often than other video formats.

Casshern
2nd June 2009, 23:57
To Casimir and Aleksoid:

Starting with 1141 the internal DXVA decoder is completely broken. All h264 and vc-1 BD m2ts i tried show only every second frame and jump between frames. 1137 works perfectly. I have Wait For GPU Flush enabled and it shows insane amounts of wait for gpu times.

System: XP SP3, ATI 2600 Pro AGP, VMR9 rl, VSYNC all off, Wait for GPU & Flush before Vsync enabled.

Same error with Wait for GPU and Flush before Vsync disabled.

Using the Cyberlink DXVA H264 decoder works. So it must be the changes to the internal MPC DXVA decoder.
I make test version - http://aleksoid.tosei.ru/mplayerc_1143_test.7z - work AR, fast move/switch between monitors, window and fullscreen mode.

Aleksoid1978
3rd June 2009, 01:05
to Casshern - DXVA is temporary broken in this revision, wait for Casimir to fix this.

Can you make short sample(for H264 and VC-1) 5~10Mb and upload this.

Xorp
3rd June 2009, 01:44
In this BD M2TS sample MPC-HC (newest) thinks it has three 1080p video streams, when it actually has one 1080p stream and one 480p stream, verified by BDInfo and eac3to.

http://www.sendspace.com/file/mtxl6k

Snowknight26
3rd June 2009, 04:35
The Created label seems to always show 'not known' on the Details tab when you hit Shift+F10 while a file is playing.

73ChargerFan
3rd June 2009, 06:27
Bug svn1137 - Can someone confirm?

h264 1080p video from BD muxed to mkv using eac3to, name "movie.mkv" (no audio track, only video)
Lossless soundtrack made into dts & flac using eac3to, names "movie.dts" and "movie.flac"

I load "movie.mkv" and mpc-hc sees the dts & flac files with same filename, and loads them. Audio switch is enabled, and defaults to "movie.dts" for audio playback. Latest Haali splitter is used, XP32 sp3.

Seeking causes random lockup with DTS soundtrack.

BUG - Seeking with movie.flac soundtrack: first seek doesn't change position in audio file, but second seek does. Third doesn't, fourth does.

Same thing happens with internal MKV splitter.

tetsuo55
3rd June 2009, 09:17
DXVA is not completely broken (all my samples work perfectly), however the ones posted here are broken on my system too, so there is something wrong.

As aleksoid said we will have to wait (revert to previous build for now or use software decoding)

@Dev's

This bug report is from a developer writing a new external filter, he seems to be having problems connecting, can anyone help him out?.

https://sourceforge.net/tracker/index.php?func=detail&aid=2508379&group_id=170561&atid=854651#

Mercury_22
3rd June 2009, 10:13
@ Tetsuo55
I think something has to change about bug reports cause too many DON'T follow the rules (at least samples when needed) !
Maybe a "sticky" on the top of that page and NOT allowing "nobody" reports :confused:

tetsuo55
3rd June 2009, 10:32
Yeah i was thinking about removing the "nobody" option. But that 's up to Casimir to decide.

Not every bug report requires a sample, but most do, if a sample is not added after xx days i close the reports.

I added the bug reporting rules to the Wiki but someone has to help out and reformat them to look good in HTML
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

Also clear instruction on how to cut samples has to be written


This document has to be formatted better and split into all os versions from win95 to win 7 (and possibly Wine?)
http://mpc-hc.wiki.sourceforge.net/Update+Your+System+Software

Once all the help is available for the end users only then should we decide to change the tracker rules, after all how can people know what to do if we do not tell them first.

Mercury_22
3rd June 2009, 11:05
Yeah i was thinking about removing the "nobody" option. But that 's up to Casimir to decide.

Not every bug report requires a sample, but most do, if a sample is not added after xx days i close the reports.

I added the bug reporting rules to the Wiki but someone has to help out and reformat them to look good in HTML
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

Also clear instruction on how to cut samples has to be written


This document has to be formatted better and split into all os versions from win95 to win 7 (and possibly Wine?)
http://mpc-hc.wiki.sourceforge.net/Update+Your+System+Software

Once all the help is available for the end users only then should we decide to change the tracker rules, after all how can people know what to do if we do not tell them first.

I think you should add / "make more visible" this or something similar to the rules

"Please use ONLY MPC's internal splitters & filters and ONLY if necessary others, and when external splitters and filters are involved MAKE SURE to test those splitters and filters with graph studio too"

to avoid many FALSE bug reports (example: http://sourceforge.net/tracker/?func=detail&aid=2797670&group_id=170561&atid=854651) :(

I also think you should add TSSplitter (http://www.ffprojects.net/tssplitter/) which is working even for the unsupported formats IF you keep the beginning part, in my experience ;), on how to cut samples

tetsuo55
3rd June 2009, 12:31
I can confirm the playback stuttering with DXVA enabled for H.264 videos.

Here's my infamous Tiesto Blu-ray sample: http://stfcc.org/misc/00000.cut.m2ts

The crackling audio upon seek is still there by the way.

I added the DXVA regression to the bug tracker:
https://sourceforge.net/tracker/?func=detail&aid=2800452&group_id=170561&atid=854651

tetsuo55
3rd June 2009, 13:20
Yes. Here is the main file (first 1 minute of it)

http://sharebee.com/b7036b25

Here is the linked one

http://sharebee.com/5fa3325d

Linked file is called immediately from the main file and it starts playing first.I want to report another bug when playing linked files.

When linked file is called by the main file video becomes broken on some occasions. Like this:

http://img151.imageshack.us/my.php?image=ryroonmyoutaisenki01dvd.png

It stays broken as long as linked file is playing. When the main file starts playing agian video becomes normal. First I thought it should be haali bug. But when i'm using ffdshow (both ffmpeg and libavcodec) or coreavc (with x86 version of MPC-HC) it plays without issues.

Main file (first 4 minutes of it):
http://sharebee.com/91c1a2ea

Linked file:
http://sharebee.com/09e647f1

Linked file is called at 1:54. This sample is SD video encode with 16 Reframes for both main and linked files. MPC-HC cannot use DXVA. I have another HD encode (1080p) with 9 Reframes for both linked and main files. MPC-HC uses DXVA and there is the same issue. If i use internal ffmpeg video becomes broken when playing linked file. If i use ffdshow or coreavc it plays normally.Another bug. Here is the sample:

http://sharebee.com/64d25812

I use ffmpeg internal decoder. I start with window mode. It plays nicely. When I switch to full screen mode video becomes broken (thick green line at the bottom and other video artifacts). Switching back to window mode, video stays broken. No problem with DXVA, ffdshow or coreavc.
Also there is a linked opening here:

http://www.megaupload.com/?d=R8W8V9PT

When I use ffmpeg internal decoder, same issues appear. There is no problem if I play opening separately using DXVA. If I play the main file using DXVA (it calls the opening first), there is very high GPU utilization with all resizers. Video stutters.

Please follow these steps:

First do this:
http://mpc-hc.wiki.sourceforge.net/Update+Your+System+Software
Then do this:
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

Also please compare both build 1141 or newer and a older one (1140 or lower)

If you can still reproduce the problem after all of this report it to the tracker providing all the information asked for in the 2nd link

tetsuo55
3rd June 2009, 13:22
Can anyone explain this large sync offset? It goes as high as -2298ms.

Windows XP SP3
Nvidia Quadro NVS 135M
EVR Custom Pres
MPC-HC svn 1137
Optimal render settings

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

Sample (http://www.sendspace.com/file/4ccutj)Please follow these steps:

First do this:
http://mpc-hc.wiki.sourceforge.net/Update+Your+System+Software
Then do this:
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

Also please compare both build 1141 or newer and a older one (1140 or lower)

If you can still reproduce the problem after all of this report it to the tracker providing all the information asked for in the 2nd link

buzzqw
3rd June 2009, 13:24
@tetsuo55

you could add to your sign some useful link
like latest build, how to report problem, faq...

BHH

tetsuo55
3rd June 2009, 13:24
In this BD M2TS sample MPC-HC (newest) thinks it has three 1080p video streams, when it actually has one 1080p stream and one 480p stream, verified by BDInfo and eac3to.

http://www.sendspace.com/file/mtxl6kPlease post this on the bug tracker with as much information as possible as described here

http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

Casshern
3rd June 2009, 13:32
I added the DXVA regression to the bug tracker:
https://sourceforge.net/tracker/?func=detail&aid=2800452&group_id=170561&atid=854651
I would love to provide samples, but the material stems from retail blu-ray. There are copyright issues. I would not dismiss reports without samples, just because the poster is trying to stay within the legal boundaries. Also i would regard the value of commercially available material higher, than homegrown encodes. While also having problems the variation in the standards employed is less. But you are right at least one should state the exact source of the material, Let me start by the titles i tried that do not work from 1141 on:

The Changeling (US BD Release)
VC1 - Profile: Advanced@3 Resolution: 1920:1080p Frame rate: 23.976

And I tried Casino Royale (German BD)
H264 - Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976

These a the ones i remember, i tried many other and none worked on my setup (see last post)

tetsuo55
3rd June 2009, 13:35
@tetsuo55

you could add to your sign some useful link
like latest build, how to report problem, faq...

BHHI added SVN build link and the 2 important troubleshooting guides.

tetsuo55
3rd June 2009, 13:44
I think you should add / "make more visible" this or something similar to the rules

"Please use ONLY MPC's internal splitters & filters and ONLY if necessary others, and when external splitters and filters are involved MAKE SURE to test those splitters and filters with graph studio too"

to avoid many FALSE bug reports (example: http://sourceforge.net/tracker/?func=detail&aid=2797670&group_id=170561&atid=854651) :(

I also think you should add TSSplitter (http://www.ffprojects.net/tssplitter/) which is working even for the unsupported formats IF you keep the beginning part, in my experience ;), on how to cut samplesCould you add this information to the troubleshooting guide? i won't be able to for some time (busy @ work, only have time for quick forum replies)
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

buzzqw
3rd June 2009, 13:51
thanks tetsuo!

BHH

Jong
3rd June 2009, 13:52
I would love to provide samples, but the material stems from retail blu-ray. There are copyright issues. I would not dismiss reports without samples, just because the poster is trying to stay within the legal boundaries. Also i would regard the value of commercially available material higher, than homegrown encodes. While also having problems the variation in the standards employed is less. But you are right at least one should state the exact source of the material, Let me start by the titles i tried that do not work from 1141 on:

The Changeling (US BD Release)
VC1 - Profile: Advanced@3 Resolution: 1920:1080p Frame rate: 23.976

And I tried Casino Royale (German BD)
H264 - Profile: High@4.1 Resolution: 1920:1080p Frame rate: 23.976

These a the ones i remember, i tried many other and none worked on my setup (see last post)Of course it is up to the individual what he considers acceptable, but I would have thought there was little to no risk associated with posting say a 20-30 second clip of the opening studio/distributor logos, assuming of course the problem can be shown in such clips and the original Blu-ray discs are owned by, and in the possession of, the person posting.

tetsuo55
3rd June 2009, 13:59
Yes, those tiny samples used to fix bugs in the software should fall under fair use policy(and the hosting providers i mentioned already follow DCMA rules).

See also here:
http://www.bitlaw.com/copyright/fair_use.html

According to the law these samples would fall under "non profit research"

mark0077
3rd June 2009, 17:54
Thanks for the link. I was hoping this new driver would fix avc dxva corruption I have been getting but it hasn't. I am not sure if this is a mpc-hc issue or nvidia / windows 7 issue. Anyone in windows 7 want to try dxva (even with oldish builds, havn't gone back very far) to see if they see blockyness coming into the image with dxva avc.

73ChargerFan
3rd June 2009, 19:25
I added the bug reporting rules to the Wiki but someone has to help out and reformat them to look good in HTML http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines
Check out the version I made.

http://mpc-hc.wiki.sourceforge.net/Bugs+-+Reporting

Mercury_22
3rd June 2009, 19:54
Could you add this information to the troubleshooting guide? i won't be able to for some time (busy @ work, only have time for quick forum replies)
http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines

Done !:)
Please check it out http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines :o

tetsuo55
3rd June 2009, 21:57
Thanks guys,

They both look very good, way better than what i made.
Maybe both can be combined into 1 page?

Aleksoid1978
4th June 2009, 00:56
if somebody need, rev 1149 - http://aleksoid.tosei.ru/mpc_x86_1149.7z, executable only

Aleksoid1978
4th June 2009, 03:53
1150 rev :

http://aleksoid.tosei.ru/mpc_x86_1150.7z
http://aleksoid.tosei.ru/mpc_x64_1150.7z

ShadowVlican
4th June 2009, 03:58
rev 1141 01.06.2009

FIXED : H264 files with 16 reference frames freeze during playback (bug #2795785 and #2784256)
FIXED : AVI with H264 not decoded properly (bug #2794854)
i've been following the changelog in hopes the issue will be solved, and wow! it works now!

SS-Eclipse's Hayate no Gotoku 2nd Season eps 03-09 (1280x720 h264) now playback without freezing with DXVA! and DB's Bleach with h264 avi now also playback without the weird jerkiness!

specs:
http://aleksoid.tosei.ru/mpc_x86_1149.7z
vista x64
using only MPC-HC internal filters
nvidia g105m with 185.85 drivers

boyumeow
4th June 2009, 09:21
Thanks guys,

They both look very good, way better than what i made.
Maybe both can be combined into 1 page?

+1

By the way, as for the contact method that 73CF mention, I suggest they can use email or Doom9's account (if they have 1). Thanks.

tetsuo55
4th June 2009, 09:33
1150 rev :

http://aleksoid.tosei.ru/mpc_x86_1150.7z
http://aleksoid.tosei.ru/mpc_x64_1150.7zRevision 1150 - Directory Listing
Modified Thu Jun 4 02:11:05 2009 UTC (6 hours, 20 minutes ago) by Aleksoid
ADD : Gui options for enabled/disable reinitialize when display changing(ResetDevice());

Hi Aleksoid, can you please explain why would want to enable/disable this??

Momber
4th June 2009, 09:41
...even with Cyberlinks's H.264 decoder the image flicks back and forth like crazy and disintegrates into macroblocks after a short while....
Nearly nine months after this post of mine I had hoped this bug was fixed (pertains to VMR9 only, ATi 3650 card), but it isn't.
So I thought it may be my system after all and installed XP anew, with all the latest drivers, DirectX updates, the works.
With the result that now I get the problem with VMR9 renderless & DXVA in MPC and ZoomPlayer 6. Duh!
Is there anything I am missing? Any software I need to install? Any registry tweaks? Anything at all I can do about it?
Thank a lot in advance.

tetsuo55
4th June 2009, 09:45
Nearly nine months after this post of mine I had hoped this bug was fixed (pertains to VMR9 only, ATi 3650 card), but it isn't.
So I thought it may be my system after all and installed XP anew, with all the latest drivers, DirectX updates, the works.
With the result that now I get the problem with VMR9 renderless & DXVA in MPC and ZoomPlayer 6. Duh!
Is there anything I am missing? Any software I need to install? Any registry tweaks? Anything at all I can do about it?
Thank a lot in advance.Follow the instructions in my signature. Is your card an AGP card by any chance?(if so you will need to follow some extra steps not mentioned in my signature)
the combination of settings you mention work completely fine for me and as far as i know all the dev's and regulars.

Beliyaal
4th June 2009, 10:03
Revision 1150 - Directory Listing
Modified Thu Jun 4 02:11:05 2009 UTC (6 hours, 20 minutes ago) by Aleksoid
ADD : Gui options for enabled/disable reinitialize when display changing(ResetDevice());

Hi Aleksoid, can you please explain why would want to enable/disable this??

This could cause strange bugs. For example if you don't reset the device when moving between monitors the VSync is detected for the monitor where you started the player.

romanesque
4th June 2009, 10:05
rev 1150 still broken...

http://movies.apple.com/movies/lionsgate/shrink/shrink-tlr1_h640w.mov

rev 1137 is playing the file just fine

tetsuo55
4th June 2009, 10:12
This could cause strange bugs. For example if you don't reset the device when moving between monitors the VSync is detected for the monitor where you started the player.But shouldn't it always be enabled and never disabled?

Aleksoid1978
4th June 2009, 10:28
I, for example, have at home 22 monitor and 32 LCD TV and both the frequency of 60Hz and i don't need ResetDevice when move between them.
At work - 22 monitor and 17 monitor - and too 60Hz.

Why i must wait for this reinitialize and sometimes then move to second monitor - black screen and only sound.

Here's why this option.

Beliyaal
4th June 2009, 10:28
But shouldn't it always be enabled and never disabled?

That is my preference.

Currectly there are some bugs with deadlocks with VMR9 Renderless that prevents it from working correctly and the resetting of aspect ratio etc that is avoided by not resetting the device. That is the reason for this option, to avoid those bugs.

tetsuo55
4th June 2009, 10:32
Okay i understand,

Did those 2 quote's i posted help you out at all? (byuu and kode54)http://forum.doom9.org/showthread.php?p=1292807#post1292807

Also once all those problems are fixed the option would no longer be needed right?

Beliyaal
4th June 2009, 10:37
Okay i understand,

Did those 2 quote's i posted help you out at all? (byuu and kode54)http://forum.doom9.org/showthread.php?p=1292807#post1292807

Also once all those problems are fixed the option would no longer be needed right?

No, that is already the way the renderers work. The problems are related to deadlocks and other side effects of resetting the device.

tetsuo55
4th June 2009, 11:12
Okay,

Then i will leave up to the experts
:thanks:

neoufo51
4th June 2009, 12:11
rev 1150 still broken...

http://movies.apple.com/movies/lionsgate/shrink/shrink-tlr1_h640w.mov

rev 1137 is playing the file just fine
This file is crashing 1150 for me as well.

Running Win7
185.85 Nvidia drivers

Kurtnoise
4th June 2009, 12:18
works for me (tm)...I guess, you should install QuickTime 7.6.xxx

tetsuo55
4th June 2009, 12:22
Does it work with the latest qt lite?
http://www.codecguide.com/qt_lite.htm
updated June 2nd 2009

Aleksoid1978
4th June 2009, 12:29
Play with DXVA but comes with fits and starts. Without DXVA - play fine.

Jong
4th June 2009, 12:44
rev 1150 still broken...

http://movies.apple.com/movies/lionsgate/shrink/shrink-tlr1_h640w.mov

rev 1137 is playing the file just fineWorks fine with 1150 with and without DXVA here. XP SP3, 3850, Cat9.2, VMR9(renderless), Mixer mode "on", YUV Mixing "on".

Jong
4th June 2009, 12:49
Play with DXVA but comes with fits and starts. Without DXVA - play fine.Do you mean the startup stops and starts, but once started playback is fine. if so, this has been true of streamed .mov files (not locally stored .mov files) for a long time (as long as I can remember, but not sure how long that is!). It does go away when you disable DXVA mode, so it seems the video may be switching back and forth between DXVA and non-DXVA at the start for some reason. I had just accepted this, but it would be good if it could be eliminated.

Jong
4th June 2009, 15:02
.....I should add I am using Directshow for Quicktime files.

tetsuo55
4th June 2009, 15:43
does anyone know what this option:
Options > Subtitles > Delay interval (default value is 500)

Is supposed to do?

MatMaul
4th June 2009, 16:25
does anyone know what this option:
Options > Subtitles > Delay interval (default value is 500)

Is supposed to do?
when you hit F1/F2 it does + or - "delay interval" on the subtitles timings.

tetsuo55
4th June 2009, 16:28
I think we need to add a popup description for that.

By default the subtitle delay is disabled.
You can enable it by Pressing F1 to add a delay and F2 to remove a delay.

The delay is added/removed by the interval specified (default 500)

EDIT:
Sourceforge appears to be down

EDIT@:

Is the current delay value visable in the OSD somewhere? does is specify explicitly if its positive or negative?

neoufo51
4th June 2009, 16:40
Does it work with the latest qt lite?
http://www.codecguide.com/qt_lite.htm
updated June 2nd 2009
Yep, that fixed it. Works fine now. I had QT Lite 2.8

tetsuo55
4th June 2009, 16:43
rev 1150 still broken...

http://movies.apple.com/movies/lionsgate/shrink/shrink-tlr1_h640w.mov

rev 1137 is playing the file just fineDoes it work for you too with

Do you mean the startup stops and starts, but once started playback is fine. if so, this has been true of streamed .mov files (not locally stored .mov files) for a long time (as long as I can remember, but not sure how long that is!). It does go away when you disable DXVA mode, so it seems the video may be switching back and forth between DXVA and non-DXVA at the start for some reason. I had just accepted this, but it would be good if it could be eliminated.I suggest adding that to the bug tracker, as it's definitely not expected behavior (even though it might turn out to be unfixable)

ShadowVlican
4th June 2009, 16:54
rev 1150 still broken...

http://movies.apple.com/movies/lionsgate/shrink/shrink-tlr1_h640w.mov

rev 1137 is playing the file just fine
i downloaded the file, so it's locally stored

for me, dxva has broken playback (plays, jerky frames, then freezes) but mpc-hc's builtin filters work fine

i'm not using qt lite either

specs:
Vista x64 sp1 ultimate
MPC-HC w/ internal filters
NVIDIA GeForce G105M with 185.85 drivers

tetsuo55
4th June 2009, 16:56
dxva has broken playback but mpc-hc's builtin filters work

i'm not using qt lite either

specs:
Vista x64 sp1 ultimate
MPC-HC w/ internal filters
NVIDIA GeForce G105M with 185.85 driversDoes DXVA work for you if you wait a few seconds?

ShadowVlican
4th June 2009, 16:56
Does DXVA work for you if you wait a few seconds?
sorry i updated my post, but the file is locally stored

tetsuo55
4th June 2009, 17:02
So QT-lite 2.9.0 and the built in software filters work.
But DXVA is broken.

Confirmed by multiple people now, but the playback acts different per user.
There might still be some setting that influences playback, but it's clear this can be added to the bug tracker, so please do so.

gngn
4th June 2009, 17:10
EDIT@:

Is the current delay value visable in the OSD somewhere? does is specify explicitly if its positive or negative?

yes, with OSD on it will tell: "Sub delay: +/-xxx ms"

the same goes for the audio delay, that can be set with the Numpads +/- by a default 10ms: "Audio Delay: +/-xxxms"

http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_subs_delay.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/subs_delay.png)

tetsuo55
4th June 2009, 17:22
Thanks,

Does the status information bar or the CTRL+J also show it?

gngn
4th June 2009, 17:31
"Display Stats" on XP wont show any change in audio/subs delay.
but audio delay when changing value is visible in the status bar. subs delay not. you are right about asking, kind of bad if OSD is not turned on. should be a feature request.

http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/stats.png

romanesque
4th June 2009, 17:32
Does it work for you too with


Sorry for not giving more details. The file is locally stored and as ShadowVlican already said dxva has broken playback (plays, jerky frames, then freezes).

I'm not using qt lite, either. Default settings for mpc-hc, with latest directx and 185.85 nvidia drivers. OS is win7 (x86)

Jong
4th June 2009, 18:28
So QT-lite 2.9.0 and the built in software filters work.
But DXVA is broken.

Confirmed by multiple people now, but the playback acts different per user.
There might still be some setting that influences playback, but it's clear this can be added to the bug tracker, so please do so.DXVA on that clip (specs as above) works fine here (not counting the stop/pause at startup, which has been there way before 1150).

anybody
4th June 2009, 19:06
I'm currently suffering from a strange problem that results in non-fluid playback using the latest Media Player Classic SVN builds when outputting DTS via SPDIF:

For some reason, latest SVN builds seem to play the movie to slow in this (DTS-SPDIF) configuration, here is a screenshot of the stats while playing:
http://nv-systems.net/pics/forumdoom9/DTSspdif-FrameRateVariations1.jpg
Please note that "Clock" in the upper right corner is 98%.

But every 5,7 seconds, framerate spikes and movements are for a fraction of a second (0,5s or less) noticably accerated.

This can be seen here:
http://nv-systems.net/pics/forumdoom9/DTSspdif-FrameRateVariations2.jpg
Note that "Clock" in the upper right corner has accelerated way beyond 100% !

Here is a section of the graphs, showing the time this happened. This happens every 5,7 seconds and always looks the same.
http://nv-systems.net/pics/forumdoom9/DTSspdif-FrameRateVariations3.png

I've spent hours investigating this, and this is what I've tried and what has not changed anything:

Does not have any effect:
- Happens with both the internal MPC DTS Filter (when set to use SPDIF) and with external ffdshow (when set to use SPDIF)
- Tested on both Windows 7 x64 and Vista x64 on two seperate Systems
- One system had a GeForce 8800GT, the other a Radeon 4870, both with very recent drivers
- Tested with Default Audio Device set to SoundMAX SPDIF Interface and a Creative X-Fi SPDIF Out and the default driver "Digital Audio (S/PDIF) High Definition Audio Device " on the Windows 7 PC.
- Tested with both VMR9 and EVR Custom, also tested Overlay
- Tested with both CoreAVC and the internal MPC Video Decoder (using DXVA)
- Also tested a 64bit MPC SVN build (i'm using 32bit MPC most of the time despite having a 64bit OS)

All those things tested above have NO effect on this.

Does have an effect:
- Whether SPDIF out is enabled in ffdshow
- Whether SPDIF out is enabled in MPC's internal DTS Filter
(Once SPDIF is not used, the "Clock" in the upper right corner immediately goes to ~100% and the problem is gone)

- The version of Media Player Classic: The SVN Builds 1101 and 1137 both suffer from this, but the latest MediaPlayerClassic Homecinema Final Release (Build 908) dated November 29th 2008 does NOT suffer from this !
(the old release unforunately does not have the cool stats, but the problem is clearly gone with this version (tested on both PCs and confirmed by two different persons))

- AC3-SPDIF with works perfectly fine, both with the internal Filter and externally using ffdshow ! This problem happens _ONLY_ with DTS !

Anyone got any idea why this is happening? The SVN versions are really great except for this, and I would really like to continue using those! Also, any upcoming new official "Home Cinema" release is likely to exhibit this too, so I would really appreciate if someone could fix this !

EDIT: I've opened a bug for this HERE (https://sourceforge.net/tracker/?func=detail&aid=2810264&group_id=170561&atid=854651) (which contains some additional info, for example that it works with SPDIFER and that the problem was introduced between build 1043 and 1050)

73ChargerFan
4th June 2009, 19:52
My experience was that DTS over SPDIF has never worked with the internal transform filter; it always gave loud pops and cracks, drops in signal. I use Spdifer (http://ac3filter.net/projects/spdifer) (part of the AC3Filter project) instead.

anybody
4th June 2009, 20:06
Good recommendation! I just installed, configured and tested Spdiffer and the "Clock" is back to 100% and the video playback is no longer jerky every 5,7 seconds!

Now I just wonder
- why is both the internal MPC filter as well as the external ffdshow filter affected?
- why does it work with the official MediaPlayerClassic HomeCinema Release from November ?

it always gave loud pops and cracks, drops in signal

Have this problem too, but that wasn't really the one I was complaining about. DTS SPDIF with the internal filter has serious sound quality problems on my system too but ffdshow SPDIF output is perfectly fine.

... well except that BOTH internal and external ffdshow made video playback jerky when using DTS...

tetsuo55
4th June 2009, 20:09
@ 73ChargerFan, anybody,

I believe this problem has existed for quite some time now right?

Can you guys find the regression point ?(last build working, first build breaking)
Also this problem has never been reported on the tracker so probably got lost in the thread somewhere, please add it to the tracker.

I'm not sure if the clock problem and crackle and pops are related but they probably are so both problems can be reported in 1 bug-report

73ChargerFan
4th June 2009, 20:13
Thanks guys,

They both look very good, way better than what i made.
Maybe both can be combined into 1 page?

Mercury_22
Our content is basically the same - I like my intro and your page body. I'd like to be able to use the wiki discussion pages to talk about this with you, off of this forum.

I have a sourceforge account, and if you create one also, then tetsuo55 ( please :) ) could add us to the list of space members. (http://mpc-hc.wiki.sourceforge.net/space/permissions)

73ChargerFan
4th June 2009, 20:17
@ 73ChargerFan, anybody,

I believe this problem has existed for quite some time now right?

Can you guys find the regression point ?(last build working, first build breaking)
Also this problem has never been reported on the tracker so probably got lost in the thread somewhere, please add it to the tracker.

I'm not sure if the clock problem and crackle and pops are related but they probably are so both problems can be reported in 1 bug-report
I don't think the crackle bug is a regression - I've always had it, back to gabest's last version, before the forks. Adude also had the same problem, iirc. When I asked (and asked, and asked, ...) I was told that that part of the code base was written by gabest and has never been touched since.

73ChargerFan
4th June 2009, 20:20
My signature now links to the wiki.

anybody
4th June 2009, 20:21
I will try to find the first SVN build which breaks the video playback once xvidvideo.ru is back online.

I am quite sure though that the broken DTS audio quality has nothing to do with the "Clock" jerkyness though - I remember having the broken DTS audio for sooooo long, while I've only recently begun suffering from the jerky video playback.

Also using the external ffdshow for SPDIF out has perfect DTS playback quality on several systems I've tried - and this combination also suffers from the "Clock" problems.

tetsuo55
4th June 2009, 20:22
Mercury_22
Our content is basically the same - I like my intro and your page body. I'd like to be able to use the wiki discussion pages to talk about this with you, off of this forum.

I have a sourceforge account, and if you create one also, then tetsuo55 ( please :) ) could add us to the list of space members. (http://mpc-hc.wiki.sourceforge.net/space/permissions)You both have accounts but i cannot find an option to add you??I don't think the crackle bug is a regression - I've always had it, back to gabest's last version, before the forks. Adude also had the same problem, iirc. When I asked (and asked, and asked, ...) I was told that that part of the code base was written by gabest and has never been touched since.I will try to find the first SVN build which breaks the video playback once xvidvideo.ru is back online.

I am quite sure though that the broken DTS audio quality has nothing to do with the "Clock" jerkyness though - I remember having the broken DTS audio for sooooo long, while I've only recently begun suffering from the jerky video playback.

Also using the external ffdshow for SPDIF out has perfect DTS playback quality on several systems I've tried - and this combination also suffers from the "Clock" problems.In that case 2 different reports will have to be made, 1 for the DTS sound issues, and another one for the Clock issue.

We might have to postpone some of these audio issues until beliyaal finishes the video renderer

tetsuo55
4th June 2009, 20:46
@ Everyone,

I have the feeling there are still a lot of bugs experienced/posted about on the forum by the users here that are not on the tracker.

Please if you can still reproduce the bug after following the instructions in my signature add the bug to the tracker.

Some of the things i can think off that have not been reported are:
-Refresh rate detection issues
-Some of the multi monitor issues
-Many of the DXVA issues (especially ATI AGP)
-Splitter issues
-Subtitles issues

Mercury_22
4th June 2009, 21:25
Mercury_22
Our content is basically the same - I like my intro and your page body. I'd like to be able to use the wiki discussion pages to talk about this with you, off of this forum.

I have a sourceforge account, and if you create one also, then tetsuo55 ( please :) ) could add us to the list of space members. (http://mpc-hc.wiki.sourceforge.net/space/permissions)

Feel free to change mine as you like ! :)

When you finish please ask Casimir, Beliyaal and all devs if they need more info to be added / requested :rolleyes:

Momber
4th June 2009, 21:29
Follow the instructions in my signature. Is your card an AGP card by any chance?(if so you will need to follow some extra steps not mentioned in my signature)
the combination of settings you mention work completely fine for me and as far as i know all the dev's and regulars.
No, my card is not AGP.
And the general troubleshooting and updating hints in your sig do not apply. Did you even read my post?
I'm coming from a fresh install of XP, all new drivers and updates, clean new installation of MPC HC.

VMR9 is definitely broken with DXVA. Regardless of splitter and video decoder (internal or external).

However, with PowerDVD 8, which also uses VMR9 renderless, I have no problems whatsoever!

tetsuo55
4th June 2009, 21:44
No, my card is not AGP.
And the general troubleshooting and updating hints in your sig do not apply. Did you even read my post?
I'm coming from a fresh install of XP, all new drivers and updates, clean new installation of MPC HC.

VMR9 is definitely broken with DXVA. Regardless of splitter and video decoder (internal or external).

However, with PowerDVD 8, which also uses VMR9 renderless, I have no problems whatsoever!They apply very strongly because as far as we know you are the only user suffering from this issue.

Koguna
4th June 2009, 23:00
Hello,

I have 2 problem with x64 MPC:

- I have a True HD Audio file, I can't read it correctly (I have test with and without FFDShow). If I mux it into an MKV it's work. Why ?

- I can't read FLAC file properly, some files work and some don't. Why ?

Thanks.

anybody
4th June 2009, 23:41
I don't think the crackle bug is a regression - I've always had it, back to gabest's last version, before the forks. Adude also had the same problem, iirc. When I asked (and asked, and asked, ...) I was told that that part of the code base was written by gabest and has never been touched since.


In that case 2 different reports will have to be made, 1 for the DTS sound issues, and another one for the Clock issue.


I've now created a bug for the sound corruption occuring when using DTS passthrough of the internal DTS Filter:Bug@Sourceforge (https://sourceforge.net/tracker/?func=detail&aid=2801424&group_id=170561&atid=854651)

Regarding my video playback jerkyness "Clock" problems, I have made some further tests tonight (and came up with some interesting observations) and will try to submit a bug with a good description and a test-file this weekend...


We might have to postpone some of these audio issues until beliyaal finishes the video renderer

Well, it's actually a video issue when playback is jerky, isn't it - so perhaps his rendering changes have caused it :devil:
Just strange that it only happens with DTS tracks and only in certain conditions...

saint-francis
4th June 2009, 23:56
@ tetsuo55 + Devs,

Thank you for all of the hard work you are doing on MPC HC. The level of development and bug fixing is above and beyond. MPC HC is already arguable the best player out and it just keeps getting better and better.

You are all perfecting the player that keeps the community watching our movies.

Momber
5th June 2009, 00:57
They apply very strongly because as far as we know you are the only user suffering from this issue.
Obviously you don't know the thread you're posting in.
And obviously you're not interested in helping so why don't you just *******.

ADude
5th June 2009, 01:23
@ Everyone,

I have the feeling there are still a lot of bugs experienced/posted about on the forum by the users here that are not on the tracker.

Is the DVD Menu Cursor not highlighting bug in the tracker ?

It is documented extensively in my posts in this thread, including exactly where the regression happens, which alternate MPCs work and which don't, Casimir's theories about it, why some people do not experience it, etc.

As mentioned a few days back, it was not fixed in 1120 by the DVD changes made around that time.

foxyshadis
5th June 2009, 03:31
Obviously you don't know the thread you're posting in.
And obviously you're not interested in helping so why don't you just *******.

Struck for a flagrant violation of Rule 4. Keep it civil.

boyumeow
5th June 2009, 04:56
Please bare with tetsuo55 as he is mainly doing administrative works and linking everyone with the devs, while he knows some programming knowledge but not an expert. Precisely he is trying to pin-point the problems so that the devs could fix it or find better solutions. We are here to solve problems not create. So, please everyone try to bare with each others (not just MPC-HC devs but all devs). Thanks.

pdanpdan
5th June 2009, 05:51
I have a problem with AR in mkv files. x264 made video in mkv, created with AutoMKV, so it's the h264 stream marked with a SAR (--SAR flag to x264.exe). The flag was incorectly calculated at that time. Then I changed the DAR flag for the stream in mkv to the corect one.
Now the problem - in XPSP3, MPC-HC, VMR9 (both exclusive and not), internal h264 filter (both DXVA and not), with the READ AR FROM STREAM checked, the AR is wrong.
I thought that the order/priority is "read AR from conteiner" and if this fails "read AR from stream"?

Sample - http://sharebee.com/83769e1a

Aleksoid1978
5th June 2009, 06:13
I have a problem with AR in mkv files. x264 made video in mkv, created with AutoMKV, so it's the h264 stream marked with a SAR (--SAR flag to x264.exe). The flag was incorectly calculated at that time. Then I changed the DAR flag for the stream in mkv to the corect one.
Now the problem - in XPSP3, MPC-HC, VMR9 (both exclusive and not), internal h264 filter (both DXVA and not), with the READ AR FROM STREAM checked, the AR is wrong.
I thought that the order/priority is "read AR from conteiner" and if this fails "read AR from stream"?

upload short sample for test.

Aleksoid1978
5th June 2009, 07:11
Question to ALL : what you think about add to MPC-HC Windows 7 thumbnails features , for example(button on thubmnail) :
http://www.10pix.ru/img1/5053/100130.th.png (http://www.10pix.ru/view/5053/100130/)

Snowknight26
5th June 2009, 07:38
Would be a nice touch, but perhaps it's best to prioritize bugs over features at this point?

littleD
5th June 2009, 07:49
I have nice info for Ati users especially that own hd 4xxx series card. Read first:
http://forums.amd.com/game/messageview.cfm?catid=279&threadid=106911&enterthread=y&STARTPAGE=2
http://zachsaw.blogspot.com/2009/06/ati-hd-hardware-accelerated-dxva-for.html?showComment=1244116797050#c3607905360067495148

Can anybody of ati owners test it just to clear if they can playback 5.1l files already?

Kurtnoise
5th June 2009, 08:28
Can anybody of ati owners test it just to clear if they can playback 5.1l files already?

General
Complete name : E:\TRASH\Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv
Format : Matroska
File size : 30.7 MiB
Duration : 1mn 11s
Overall bit rate : 3 580 Kbps
Movie name : The Melancholy of Haruhi Suzumiya: Special Ending
Encoded date : UTC 2007-05-09 12:50:35
Writing application : mkvmerge v2.0.0 ('After The Rain Has Fallen') built on Jan 13 2007 19:58:56
Writing library : libebml v0.7.7 + libmatroska v0.8.0
Cover : Yes / Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 11 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 1mn 11s
Bit rate : 3 349 Kbps
Nominal bit rate : 3 400 Kbps
Width : 704 pixels
Height : 480 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Original frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.413
Stream size : 28.7 MiB (93%)
Title : The Melancholy of Haruhi Suzumiya: Special Ending
Writing library : x264 core 54 svn-614M
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=esa / subme=7 / brdo=1 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=1 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=3400 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.0:15.0
Language : Japanese

Audio
ID : 2
Format : Vorbis
Format settings, Floor : 1
Codec ID : A_VORBIS
Duration : 1mn 11s
Bit rate mode : Constant
Bit rate : 160 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 1.37 MiB (4%)
Title : 2ch Vorbis
Writing library : aoTuV Beta 4 (UTC 2005-06-17)
Language : Japanese

Text #1
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Styled ASS
Language : English

Text #2
ID : 4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Styled ASS (Simple)
Language : English

Text #3
ID : 5
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Plain SRT
Language : English


http://uppix.net/7/3/1/4a11f3eb8614e43eba2b9b5476ba7.png (http://uppix.net/7/3/1/4a11f3eb8614e43eba2b9b5476ba7.html) http://uppix.net/2/8/e/8db7fd8299bb51ae4e711937d90cd.png (http://uppix.net/2/8/e/8db7fd8299bb51ae4e711937d90cd.html) http://uppix.net/f/f/d/8294c38e13fafa41739f159fd3594tt.jpg (http://uppix.net/f/f/d/8294c38e13fafa41739f159fd3594.html)

littleD
5th June 2009, 08:36
Thx for fast response but this video actually was always played on ati. Try this one http://dl.getdropbox.com/u/132004/test_hd_9refs_high_l5.1.mp4
And the blogger say its only possile with newest powerdvd9.

EDIT: Naah... ok. I made 5.1l sample from another one posted around here http://www.megaupload.com/?d=D6RYDCDB

Kurtnoise
5th June 2009, 09:14
well your sample doesn't use DXVA but I've one (http://www.mediafire.com/?kwhommmkhky) (HP@L5.1) it does...so, you cannot conclude.

littleD
5th June 2009, 09:29
Lol, indeed that one works. But i get very blocky picture. Is that low bitrate issue or my card (hd 3xxx).
Kurtnoise do you have more videos laying around to test? Just make sure ref frames exceed 4.1l limit for given resolution.

tetsuo55
5th June 2009, 09:42
Obviously you don't know the thread you're posting in.
And obviously you're not interested in helping so why don't you just *******.You're ignoring MPC-HC bug reporting rules (which is what the links in my signature are), you are also breaking doom9 rules. I am actually the MPC-HC project manager, so i know exactly what i'm doing.Is the DVD Menu Cursor not highlighting bug in the tracker ?

It is documented extensively in my posts in this thread, including exactly where the regression happens, which alternate MPCs work and which don't, Casimir's theories about it, why some people do not experience it, etc.

As mentioned a few days back, it was not fixed in 1120 by the DVD changes made around that time.This bug is not on the tracker, i cannot reproduce on my system, can you please add it?Question to ALL : what you think about add to MPC-HC Windows 7 thumbnails features , for example(button on thubmnail) :
http://www.10pix.ru/img1/5053/100130.th.png (http://www.10pix.ru/view/5053/100130/)That would be great, please add mute to the 3 buttons in the example.

Kurtnoise
5th June 2009, 09:46
Lol, indeed that one works. But i get very blocky picture. Is that low bitrate issue or my card (hd 3xxx).
yes...very low bitrate.

Kurtnoise do you have more videos laying around to test? Just make sure ref frames exceed 4.1l limit for given resolution.
after some more testings, all I can say (w/ Catalyst 9.5 + build 1150) that HP@L5.1 work w/ DXVA except all 1080(i/p).

tetsuo55
5th June 2009, 09:54
yes...very low bitrate.


after some more testings, all I can say (w/ Catalyst 9.5 + build 1150) that HP@L5.1 work w/ DXVA except all 1080(i/p).Do you have a 15 ref frame 480p file? if so does it work?

PowerDVD uses many advanced features, i wouldn't be surprised if it used Stream or OpenCL to get L5.1 playback.

EDIT:

I cannot seem to get the ref limit removed, i tried this:
HKEY_CURRENT_USER\Software\Gabest\Filters\MPC Video Decoder
- Key name : CompatibilityMode
- type : DWORD
- value : 15

i tried binary and hex 15,neither work.
It always falls back on ffmpeg

littleD
5th June 2009, 11:14
Ref unlimit reg key works. Make dword key then modify and check decimal, then put 15 value. You just get "too much ref frames" popup window but dxva is in use. At least i have no BSOD like i was last time trying this :) Picture is better too but still with artifacts on hd3xxx. In my opinon there is not much left to do to make it works well.

tetsuo55
5th June 2009, 12:20
It doesn't work for me,

Windows 7 7100 X64

Mirabel
5th June 2009, 12:37
Question to ALL : what you think about add to MPC-HC Windows 7 thumbnails features , for example(button on thubmnail) :
http://www.10pix.ru/img1/5053/100130.th.png (http://www.10pix.ru/view/5053/100130/)

Unless 7 RTM and a broad 7 userbase, bugfixes are definately moar important. Every user benefits from those, be it XP, Vista or 7.

From my viewpoint, MPC-HC is meant minimalistic, with focus on advanced video quality.

For stuff like thumbnail buttons I would consider WMP.

gngn
5th June 2009, 13:50
It doesn't work for me,

Windows 7 7100 X64

with XP it works. just that i use decimal value 14, this way not even the pop-up window warning about the ref frames appears, MPC will start playing the file imediately.

tetsuo55
5th June 2009, 14:52
It appears to be broken on windows 7.

If anyone could compile 1153 with DXVA limit disabled completely i could do some tests.

Snowknight26
5th June 2009, 16:31
Do you have a 15 ref frame 480p file? if so does it work?
No, they do not. And neither do 480p videos with 13 refs. It seems that anything outside of L4.1 restrictions causes corruption.

Why bring up this issue all of a sudden? Nothing's changed.

ADude
5th June 2009, 19:26
The problem, of course, is that there are many smart people in the world (http://www.apple.com/hotnews/thoughtsonmusic/)... Steve Jobs
That is a classic example of a quote that is entirely wrong by itself, but entirely correct in the context of the article. So, it is a classic example of why it is wrong to take statements out of contexgt.

73ChargerFan
5th June 2009, 19:27
Unless 7 RTM and a broad 7 userbase, bugfixes are definately moar important. Every user benefits from those, be it XP, Vista or 7.
Bug fixes are the priority.

Question to ALL : what you think about add to MPC-HC Windows 7 thumbnails features , for example(button on thubmnail) :
http://www.10pix.ru/img1/5053/100130.th.png (http://www.10pix.ru/view/5053/100130/)Looks good, please add this as a feature request (https://sourceforge.net/tracker/?group_id=170561&atid=854654) so it doesn't get lost.
From my viewpoint, MPC-HC is meant minimalistic, with focus on advanced video quality.

For stuff like thumbnail buttons I would consider WMP.
The DirectShow external filter is about as minimal as you get. Whymust MPC-HC never change? If there are new UI possibilities with Win7, why not add them?

I'd like to discuss the UI, but after the next stable release.

pdanpdan
5th June 2009, 20:42
uploaded sample in post http://forum.doom9.org/showthread.php?p=1293793#post1293793

Sample - http://sharebee.com/83769e1a

shahed26
5th June 2009, 20:56
Hi,
My "MTS" files never play properly with mpc's internal decoder. If i use cyberlinks H.264 filter then it plays smooth, but when i switch to mpc's internal decoder, it plays and it also show "using DXVA ON", but video playback is not smooth, it stutters.

btw
My video card is :Radeon 3870 pcie
intel core duo 3ghz

Luyten
5th June 2009, 21:28
With this video mpc-hc x86 systematically crash at T=~6s using the wmv1/2/3 internal decoder

http://www.mediafire.com/?lnmuni2nodo

(tried on almost ~10 random recent svn build)

x64 builds can play it without problems!

tetsuo55
5th June 2009, 22:01
No, they do not. And neither do 480p videos with 13 refs. It seems that anything outside of L4.1 restrictions causes corruption.

Why bring up this issue all of a sudden? Nothing's changed.some people are saying Cat9.5 allows L5.1 decoding on HD 4xxx cards.Hi,
My "MTS" files never play properly with mpc's internal decoder. If i use cyberlinks H.264 filter then it plays smooth, but when i switch to mpc's internal decoder, it plays and it also show "using DXVA ON", but video playback is not smooth, it stutters.

btw
My video card is :Radeon 3870 pcie
intel core duo 3ghzPlease follow the instructions in my signature, however in your case you have to test the newest build and one older than 1141

73ChargerFan
5th June 2009, 22:33
GTPVHD - builds have been made; look through the past few pages for links.

Snowknight26
5th June 2009, 22:45
some people are saying Cat9.5 allows L5.1 decoding on HD 4xxx cards.

And I'm saying it doesn't. ;)

I tried with both the Windows 7 H.264 decoder and MPC-HC's. Neither work 'well.'

tetsuo55
5th June 2009, 22:48
And I'm saying it doesn't. ;)

I tried with both the Windows 7 H.264 decoder and MPC-HC's. Neither work 'well.'Powerdvd 9 (complete app not the filter in mpc) is said to decode everything, which is why i think it uses stream or something for non l4,1 files

Still not being able to disable the limit is a bug

gngn
5th June 2009, 23:22
i wonder if someone else experinces a problem i have and maybe knows some help.
almost every day, after the PC is on for a few hours or i play some games the fps judder becomes really haotic. after i get my PC through the sleep mode and on again, the fps judder is uniforme. at fault is probably my graphic-card, as i had this problem some time ago, and it sorted itself out (probably after i changed the OC settings on my geforce8600), but now after a fresh install of windows it appeared again.

first screenshot with the "normal" judder, second one with a worser judder, and third with a really chaotic judder


http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_normal_judder.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/normal_judder.png) http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_judder.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/judder.png) http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_chaotic_judder.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/chaotic_judder.png)

Aleksoid1978
6th June 2009, 00:04
uploaded sample in post http://forum.doom9.org/showthread.php?p=1293793#post1293793

Sample - http://sharebee.com/83769e1a

Disable "Read AR from stream" - and file play with rigth AR. What wrong ???

Aleksoid1978
6th June 2009, 00:10
http://aleksoid.tosei.ru/mpc_x86_1153.7z

Kurtnoise
6th June 2009, 00:40
That is a classic example of a quote that is entirely wrong by itself, but entirely correct in the context of the article. So, it is a classic example of why it is wrong to take statements out of contexgt.
you're talking to me ?

It appears to be broken on windows 7.
why o why people use a beta OS for regular stuff ? you think developpers are ready to debug this player w/ it ? go back on earth guys...:rolleyes:

Snowknight26
6th June 2009, 01:35
you think developpers are ready to debug this player w/ it ?

Question to ALL : what you think about add to MPC-HC Windows 7 thumbnails features , for example(button on thubmnail) :
http://www.10pix.ru/img1/5053/100130.th.png (http://www.10pix.ru/view/5053/100130/)

Yes, they seem to be.

pdanpdan
6th June 2009, 05:54
Disable "Read AR from stream" - and file play with rigth AR. What wrong ???

1) I thought that it works like that:
if ("READ AR FROM STREAM" CHECKED) then {
read DAR from mkv container || read SAR from video stream || 1:1 DAR
} else {
read DAR from mkv container || 1:1 DAR
}

2) but it seems that it works like that:
if ("READ AR FROM STREAM" CHECKED) then {
read SAR from video stream || 1:1 DAR
} else {
read DAR from mkv container || 1:1 DAR
}

3) or maybe like that:
if ("READ AR FROM STREAM" CHECKED) then {
read SAR from video stream || read DAR from mkv container || 1:1 DAR
} else {
read DAR from mkv container || 1:1 DAR
}

Can you please tell me which one is right?
I know the file has wrong SAR in video stream, I know how I can play it right and how I can fix it.
The only thing is that I thought the right order is container || [stream] || default

Aleksoid1978
6th June 2009, 06:21
if ("READ AR FROM STREAM" CHECKED) then
{
read DAR from video stream
}
else
{
read DAR from mkv container
}
then SAR = Calculated(DAR);

something like :)

pdanpdan
6th June 2009, 06:35
It looks it is as you say.
Then I have a feature request:
can it be that the AR is read like:
if("READ AR FROM STREAM" CHECKED) {
AR from stream || AR from container || default (1:1 or calculated)
} else {
AR from container || AR from stream || default (1:1 or calculated)
}
so that it should mean READ AR FROM STREAM FIRST :)

If one has h264 with SAR in avi, should use the option checked now, and if one has h264 in mkv, and wants the ar from container, should use the option unchecked now.

Kurtnoise
6th June 2009, 07:22
Yes, they seem to be.
I said debugging...do you know what does it mean ?

Meanwhile, that doesn't mean that Aleksoid uses it to create such things.

Snowknight26
6th June 2009, 08:22
I said debugging...do you know what does it mean ?

You should be asking yourself that. Considering he was writing code for Windows 7, I'd be extremely surprised if he managed to get it right the first time. The only way to know if it worked would be to try it, and if it didn't, fix the code (debug!) so that it did. Why would you use a different environment to write code when you can write it on the one the code is being targeted at? Also notice the VS icon..

Semantics can be a silly thing sometimes.

tetsuo55
6th June 2009, 09:38
why o why people use a beta OS for regular stuff ? you think developpers are ready to debug this player w/ it ? go back on earth guys...:rolleyes:Well the beta name shouldn't be there.
Windows 7 is better in every way compared to previous windows versions.
Microsoft really did right this time.

Windows 7 has been more stable and faster than Vista SP1 since +/- build 7030

Anyway, MPC-HC is already compiled against the Windows 7 SDK, probably on a windows7 system too.

Ive thinking about it a little more, and the bug might be with any x64 OS

Leak
6th June 2009, 12:38
why o why people use a beta OS for regular stuff?
I'll just assume that you haven't noticed that Microsoft's beta versions are released so that developers can make sure their programs run well on the OS when it's actually being released?

np: Secede - Vega Libre: Entering Next (Vega Libre)

tetsuo55
6th June 2009, 12:51
It looks it is as you say.
Then I have a feature request:
can it be that the AR is read like:
if("READ AR FROM STREAM" CHECKED) {
AR from stream || AR from container || default (1:1 or calculated)
} else {
AR from container || AR from stream || default (1:1 or calculated)
}
so that it should mean READ AR FROM STREAM FIRST :)

If one has h264 with SAR in avi, should use the option checked now, and if one has h264 in mkv, and wants the ar from container, should use the option unchecked now. That's the correct way to do it imho.
also another thing that would be needed is support for dynamic AR changes in the stream (this info is never available through the container)I'll just assume that you haven't noticed that Microsoft's beta versions are released so that developers can make sure their programs run well on the OS when it's actually being released?

np: Secede - Vega Libre: Entering Next (Vega Libre)That is the one and only correct responce, thanks for that.

Snowknight26
6th June 2009, 17:39
Small issue: opening mkvs produced by x264 make MPC-HC sit at 'Opening'. However, once you mux the files with mkvmerge, MPC-HC opens them instantly.

nurbs
6th June 2009, 19:10
If you mean opening takes longer than normal then that's because of the way x264 writes the mkv files.

Snowknight26
6th June 2009, 19:31
If you mean opening takes longer than normal then that's because of the way x264 writes the mkv files.

Much longer than normal, upwards of minutes. I'm going to take a stab at it and say its because of the lack of container timestamps, but that should only matter if I were to seek.

ADude
6th June 2009, 19:53
Well the beta name shouldn't be there.
Windows 7 is better in every way compared to previous windows versions.
Microsoft really did right this time.
Can you give some specifics about this ?

In what ways is it better (other than, as you mentioned, more stable and faster) ?

nurbs
6th June 2009, 20:34
Much longer than normal, upwards of minutes. I'm going to take a stab at it and say its because of the lack of container timestamps, but that should only matter if I were to seek.

That's longer than I expected. The issue with x264 and mkv is that it writes something (can't recall what, sorry) at the end of the file which should ideally be at the beginning, because it's only known at the end of the encoding process, so the load times might depend on filesize if that's what causes your problems. For me it only takes a couple of seconds to load files, but I never open whole movies before I mux the audio, unless I test some settings on a short clip (couple of 1000 frames, around 100 MB filesize).

tetsuo55
6th June 2009, 23:18
Can you give some specifics about this ?

In what ways is it better (other than, as you mentioned, more stable and faster) ?
I could list a few things.
-All of the benefits vista had + more, and none of the downsides
-Support for (legacy) hardware out of the box (some of these devices don't even work on vista SP2!)
-100% backwards compatibility (anything that runs on XP is guaranteed to run on Win7, and even on 64bit version you can run 16bit apps(requires the optional seamless XP virtualpc)
**I have not ever had to use any of the special backwards compatibily functions, everything has worked out of the box as long as it did not install any custom non-signed drivers(and there are workarounds for that)
-After a little learning curve i find the interface changes to be very intuitive and it works a lot faster
-hardware is seperated from the kernel, if any piece of hardware crashes it simply gets reset and you can continue working, likewise hung applications don't take the system down with them.
-The new graphics interface system, and audio subsystem (upgraded version of the one in vista) is really awesome, too bad it's not easy to rewrite MPC-HC to run natively on it.

The list goes on, you really should just try it.
There are many websites and forums about it, almost everyone is going crazy about 7's greatness. (i actually got enough licences to install it on all my computers, i don't have any non-7 systems (and that includes my oldie +/-2001 computer with 512 mb ram, it actually runs better than with XP!!)
The reason for that last part is because win7 was written with weak netbooks in mind

EDIT: and i didn't even mention the massive improvements in security(not counting any of the security features, it was compiled with all security settings enabled in the compiler)
EDIT2: Here is a good article on the improvements: http://en.wikipedia.org/wiki/Features_new_to_Windows_7

Pr3d
7th June 2009, 00:52
That would be great, please add mute to the 3 buttons in the example.

A little volume bar (with mouse scroll control?) would be nice too.

Aleksoid1978
7th June 2009, 01:32
A little volume bar (with mouse scroll control?) would be nice too.

Windows 7 thumbnails support only button as control.

JohnLai
7th June 2009, 01:33
Anyone has problem playing the video (fansub video Eclipse fullmetal alchemist 06) using the build 1153. The video hang at the beginning of OP. Using nvidia 9800gtx+, driver 185.85, h.264 bitstream decode, vista SP2, EVR Custom Presenter.


Produce some jumpy or skippy frame on ati 4850 when watching dxva compliant video(not the eclipse fansub video this time). Catalyst 9.4, vista sp2, evr custom presenter, has hardware acceleration.

ADude
7th June 2009, 02:44
I could list a few things.
Thanks for your input.

Most of the items mentioned are things that I shut off when I setup a new PC. ;)

I'm happy that the performance is better, and that the downsides of Vista have been fixed.

But I find that the things that have bothered me about Windows (some for years) are not good "marketing features" and so never get attention:

- Over the years, I've spent hours trying to fix the issue of "stealing focus". There are various registry fixes and small programs, and none of them work. I still have the situation where a program or a web site is taking a while to load, so I start doing something else (like typing THIS POST), and then the other program or web site will finish loading, and the associated window will pop up on top and then everything I type goes into the wrong window for a moment or two (once in awhile that has severe results).

- No matter how much IE adds features to turn off animations, videos and sounds, web sites shift their technology to start videos anyway. Currently, they use Flash and even the new IE8 has no way to stop flash videos and animations from playing automatically. The user has to either disable Flash altogether (and lose the flash on sites that he wants to use), or allow the sites to do whatever they want.

That's just for starters (I don't want to make this too long since it is off-topic). Stuff like Taskbars is nice, but far less important....

Keiyakusha
7th June 2009, 04:18
Really sorry but I had to write this.


No matter how much IE adds features to turn off animations, videos and sounds, web sites shift their technology to start videos anyway. Currently, they use Flash and even the new IE8 has no way to stop flash videos and animations from playing automatically. The user has to either disable Flash altogether (and lose the flash on sites that he wants to use), or allow the sites to do whatever they want.

Thats why we have such a great thing like Firefox. And, by the way, starting from Win7, IE is more like preinstalled software then like part of the OS (At least compared to XP). As well as WMP/WMC. I don't need WMP if i have a better thing - player called MPC-HC.

tetsuo55
7th June 2009, 09:52
- Over the years, I've spent hours trying to fix the issue of "stealing focus". There are various registry fixes and small programs, and none of them work. I still have the situation where a program or a web site is taking a while to load, so I start doing something else (like typing THIS POST), and then the other program or web site will finish loading, and the associated window will pop up on top and then everything I type goes into the wrong window for a moment or two (once in awhile that has severe results).The default behaviour on Windows 7 is a orange flashing icon instead of stealing focus, now there are some applications that still have some hardcoded focus stealing stuff, you can disable that by hovering the mouse over the icon of the application that you want to have on top.
Default behaviour for IE8 is pop-under(when pop up type is allowed). It will only pop up over the screen when you manually tell it to open the pop-up.
One example is utorrent, it always steals focus on XP and Vista when adding a new torrent, now it doesn't anymore, really annoying for me, but great for you.


- No matter how much IE adds features to turn off animations, videos and sounds, web sites shift their technology to start videos anyway. Currently, they use Flash and even the new IE8 has no way to stop flash videos and animations from playing automatically. The user has to either disable Flash altogether (and lose the flash on sites that he wants to use), or allow the sites to do whatever they want.

That's just for starters (I don't want to make this too long since it is off-topic). Stuff like Taskbars is nice, but far less important....The fact that you don't like animations for some reason is something IE can do very little about. IE8 is all about showing you the website as exactly as possible to the way the creator inteded it to be shown. And as Keiyakusha mentioned there are several alternatives to IE if you want to do stuff like block all the cool animations.

If you're talking purely about add's well then there are solutions for that which will work in any browser including IE8

shahed26
7th June 2009, 13:33
Hi,
My "MTS" files never play properly with mpc's internal decoder. If i use cyberlinks H.264 filter then it plays smooth, but when i switch to mpc's internal decoder, it plays and it also show "using DXVA ON", but video playback is not smooth, it stutters.

btw
My video card is :Radeon 3870 pcie
intel core duo 3ghz
Please follow the instructions in my signature, however in your case you have to test the newest build and one older than 1141

Hi
thnx for your quick reply, but i cant seem to find the download link for the latest build which is "1155"
The http://www.xvidvideo.ru shows only the old download link and not the new build
http://www.xvidvideo.ru/content/view/7/17/
Any alternative links??

btw on windows 7, there seems to be a minor bug, If i play any mpeg2 video files using cyberlinks SP or Ms DTV filter and have the options "repeat forever" with "rewind when done playing" enabled, the video starts again, but has stuttering picture, and very bad de-interlacing (does not use my video cards de-interlacing when video replays again)
This never happens with vista though..

tetsuo55
7th June 2009, 14:19
the latest compiled version here: http://forum.doom9.org/showthread.php?p=1294022#post1294022

neoufo51
7th June 2009, 15:19
Any links of the latest 64 bit build?

tetsuo55
7th June 2009, 15:35
the last one known to me is in my signature

Mercury_22
7th June 2009, 16:23
Some files (TS: MPEG2 1920x1080 29.97fps 19000Kbps Dolby AC3 48000Hz stereo 384Kbps) are playing very choppy with EVR CP no matter what splitters and / or filters (internal and various external tested) I'm using, but changing the renderer ( any other ) it's resulting in a smooth play ! :confused:

Sample http://sharebee.com/4b4c33ab

https://sourceforge.net/tracker/?func=detail&aid=2802538&group_id=170561&atid=854651

tetsuo55
7th June 2009, 17:03
Can someone compile 1156 please??

Revision 1156 - Directory Listing
Modified Sun Jun 7 14:10:39 2009 UTC (110 minutes, 54 seconds ago) by casimir666
Fixed : Revision 1141 breaks some DXVA (bug #2800452)

_xxl
7th June 2009, 18:06
1156:
http://www.dump.ro/fisiere/mplayerc-rar/117893/eLauTSbW9xT80WNW

alexins
7th June 2009, 18:09
Media Player Classic HomeCinema (x86/x64), svn 1156 (http://www.xvidvideo.ru/content/view/781/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 : Revision 1141 breaks some DXVA (bug #2800452)

shahed26
7th June 2009, 18:14
Using the latest build Media Player Classic HomeCinema x86 1156 still cant play MTS files correctly using the internal DXVA decoder. The video just displays the picture, and no movement of the video, using cyberlinks H.264 plays smooth.

Its not a problem for me, as i can use the cyberlinks decoders, but would be nice, if that can be fixed.

Video: MPEG4 Video (H264) 1920x1080 21881.84fps [Video]
Audio: Dolby AC3 48000Hz stereo 256Kbps [Audio]
Subtitle [Subtitle]

Filter : Enhanced Video Renderer - CLSID : {FA10746C-9B63-4B6C-BC49-FC300EA5F256}

- Connected to:

CLSID: {008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}
Filter: MPC Video Decoder
Pin: Output

- Connection media type:

Video: DXVA 1920x1088 (16:9) 21881.84fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1920,1080)
rcTarget: (0,0)-(1920,1080)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 457

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1920
biHeight: 1088
biPlanes: 1
biBitCount: 12
biCompression: dxva
biSizeImage: 3133440
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ........€...8...
0010: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ........€...8...
0020: 00 00 00 00 00 00 00 00 c9 01 00 00 00 00 00 00 ........É.......
0030: 81 00 00 00 00 00 00 00 10 00 00 00 09 00 00 00 ...............
0040: 00 00 00 00 00 00 00 00 28 00 00 00 80 07 00 00 ........(...€...
0050: 40 04 00 00 01 00 0c 00 64 78 76 61 00 d0 2f 00 @.......dxva.Ð/.
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................


Windows 7 x64 RC 7100 (latest direct x runtime installed)
ATI Radeon 3870 PCIE
Intel core due E6600
8gb ram

Thanks

tetsuo55
7th June 2009, 18:36
Media Player Classic HomeCinema (x86/x64), svn 1156 (http://www.xvidvideo.ru/content/view/781/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 : Revision 1141 breaks some DXVA (bug #2800452)1156:
http://www.dump.ro/fisiere/mplayerc-rar/117893/eLauTSbW9xT80WNWThank you both!Using the latest build Media Player Classic HomeCinema x86 1156 still cant play MTS files correctly using the internal DXVA decoder. The video just displays the picture, and no movement of the video, using cyberlinks H.264 plays smooth.

Its not a problem for me, as i can use the cyberlinks decoders, but would be nice, if that can be fixed.

Windows 7 x64 RC 7100 (latest direct x runtime installed)
ATI Radeon 3870 PCIE
Intel core due E6600
8gb ram

ThanksThat's probably a splitter problem, anyhow you still have to post all the results of the troubleshoot link in my sig (including screenshots/samples)

hoborg
7th June 2009, 19:03
Hey, just tryed 1156 standalone filter and bug #2799393 (http://sourceforge.net/tracker/?func=detail&aid=2799393&group_id=170561&atid=854651) seems to be gone!

EDIT:
Still a lot slower then <1056...

kostik
7th June 2009, 20:26
Finally I can use pdvd 9 h264 codec with madvr and vobsub :)

Casshern
7th June 2009, 20:34
Internal DXVA is still broken in 1156 with h264. It displays jumping frames as if the frame buffers are not displayed in the correct order. Tested on BDs with h264 streams - it failed on all of them. Cyberlink PDVD7 h264 DXVA and 1137 work fine. All this on Win XP, Catalyst 9.5, VMR9 rl and ATI 2600 Pro AGP. I tried ALL combinations of render settings (VSync, Flush GPu etc).

Media Player Classic HomeCinema (x86/x64), svn 1156 (http://www.xvidvideo.ru/content/view/781/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 : Revision 1141 breaks some DXVA (bug #2800452)

Pr3d
7th June 2009, 21:22
Windows 7 thumbnails support only button as control.

Damn, i didnt know.

Most of the items mentioned are things that I shut off when I setup a new PC. ;)

I hate all of this utilities in order to make PC faster, they cut very important features.
I dont think that's a good idea to turn off things like Sueprfetch, UAC, Indexing, UIPI, at least in a 2k9 OS.
If you do it, you can use Win2k and you wont notice the difference.

Im using W7 7201 and the only service i disabled is Defender. Trust me, its a great OS.

vlada
7th June 2009, 21:25
Hello, I would like to ask about the state of DXVA on Intel graphics. Which cards are supported? Which cards might be supported in the future? Which OS?

I tried to search through the forum, but couldn't find an answer.

Maybe the information could be updated on the official page as a work in progress.

Casimir666
7th June 2009, 22:22
Internal DXVA is still broken in 1156 with h264. It displays jumping frames as if the frame buffers are not displayed in the correct order. Tested on BDs with h264 streams - it failed on all of them. Cyberlink PDVD7 h264 DXVA and 1137 work fine. All this on Win XP, Catalyst 9.5, VMR9 rl and ATI 2600 Pro AGP. I tried ALL combinations of render settings (VSync, Flush GPu etc).

Ok still broken with XP :(

arestarh
7th June 2009, 22:51
Internal DXVA is still broken in 1156 with h264. It displays jumping frames as if the frame buffers are not displayed in the correct order. Tested on BDs with h264 streams - it failed on all of them. Cyberlink PDVD7 h264 DXVA and 1137 work fine. All this on Win XP, Catalyst 9.5, VMR9 rl and ATI 2600 Pro AGP. I tried ALL combinations of render settings (VSync, Flush GPu etc).

Same problem. But if I disable mixer mode of VMR9_Renderless in Output page, files play fine. My config: Win XP, Catalyst 9.5, VMR9_Renderless and ATI 3850.

And one more question:
build 1043(Properties)+VMR9_Renderless without mixer mode
http://i057.radikal.ru/0906/a2/28f18be93c42t.jpg (http://radikal.ru/F/i057.radikal.ru/0906/a2/28f18be93c42.png.html)

build 1156(Properties)+VMR9_Renderless without mixer mode
http://s57.radikal.ru/i155/0906/5d/86a2321b4ce0t.jpg (http://radikal.ru/F/s57.radikal.ru/i155/0906/5d/86a2321b4ce0.png.html)

Is it something with mixer mode to ?

gngn
8th June 2009, 00:20
Ok still broken with XP :(

on Nvidia and XP it's not that bad now. it wont show jumping frames or the video will freeze as it did on 1141 with some videos, but the frame rate judder is still chaotic with most 1080p files if i have shaders active (YV12upsampling+sharpencomplex2). one example is Utawarerumono_Creditless_OP (http://www.mediafire.com/download.php?nfzjnzzdt3y), problem that i already posted here (http://forum.doom9.org/showthread.php?p=1292709#post1292709) about 1141. with 1137 GPUWaitTime is between 10-11ms, with 1156 GPUWaitTime is between 10-36ms, one frame its 10ms, the next frame it jumps to 36 and then back to 10-11
with some really demanding files it's not even necessary to enable shaders to get frame drops. on this (http://www.mediafire.com/download.php?dznmzvlnmtq) 13 sec file i get arround 1/3 dropped frames. this is the best sample i have to exemplify the problem introduced with 1141.


1137+shaders ______________ 1156+shaders
http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_1137shaders.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/1137shaders.png) http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_1156shaders.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/1156shaders.png)


my tests have shown that besides files with ReFrames=16 and files with ReFrames=15 and Bpyramid enabled, everything will play with Nvidia and DXVA now on XP. if others confirm this the internal limitation should be updated . still, files with ReFrames=15 and Bpyramid work with CoreAVC 1.9.5

ADude
8th June 2009, 00:27
I hate all of this utilities in order to make PC faster, they cut very important features.
I dont think that's a good idea to turn off things like Sueprfetch, UAC, Indexing, UIPI, at least in a 2k9 OS.
If you do it, you can use Win2k and you wont notice the difference.
A lot of those are marketing features looking for reasons to exist.

Indexing is a good example. It uses all sorts of PC time to make searches faster. If you do a LOT of searches, maybe you break even, but actually it doesn't take very long to do a search anyway - and I never use MS' search ( I use Agent Ransack by force of habit, but I am sure there are even better ones out there.)

In any event, I have found that for a Home Theater PC, you need to turn off all services and TSRs that are not absolutely necessary. Otherwise, you are watching a video and suddenly it pauses and you see the hard drive light flash for 5-10 seconds and then your video resumes. :(

ADude
8th June 2009, 01:27
This bug is not on the tracker, i cannot reproduce on my system, can you please add it?
Done.

You yourself referred to the bug in:

http://forum.doom9.org/showthread.php?p=1147971#post1147971

and the tracker entry is:

http://sourceforge.net/tracker/?func=detail&aid=2802680&group_id=170561&atid=854651

PS The tracker is a big step forward in keeping MPC-HC as stable and bug free as possible, thanks !

mikegun
8th June 2009, 07:13
Same problem. But if I disable mixer mode of VMR9_Renderless in Output page, files play fine. My config: Win XP, Catalyst 9.5, VMR9_Renderless and ATI 3850.


Confirmed on XP Cat 9.3 Ati 2600Hd AGP

Mercury_22
8th June 2009, 10:47
Some files (TS: MPEG2 1920x1080 29.97fps 19000Kbps Dolby AC3 48000Hz stereo 384Kbps) are playing very choppy with EVR CP no matter what splitters and / or filters (internal and various external tested) I'm using, but changing the renderer ( any other ) it's resulting in a smooth play ! :confused:

Sample http://sharebee.com/4b4c33ab

https://sourceforge.net/tracker/?func=detail&aid=2802538&group_id=170561&atid=854651

I found the regression point: somewhere between SVN 1043 and SVN 1050 ( I don't have any other svn build between this two to test)

P.S. It's just me or the Changelog page it's empty ?! http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=log

Edit: added a new sample http://sharebee.com/e3a81240 for which eac3to it's reporting a subtitle (srt) too but MPC-HC doesn't "see" the sub ?!TS, 1 video track, 1 audio track, 1 subtitle track, 0:00:27, 60i /1.001
1: MPEG2, 1080i60 /1.001 (16:9)
2: AC3, English, 2.0 channels, 384kbps, 48khz, dialnorm: -27dB, -492ms
3: Subtitle (SRT)

littleD
8th June 2009, 15:47
Does anyone know whats is DXVA-HD? This is new in Windows 7. Whats difference to previous DXVA1/2? Nvidia already released beta drivers with support for dxva-hd.

v0lt
8th June 2009, 16:15
Option "View->On top->While Playing" works only if user cliks on the window. if you stop playing by space or pause button, the window remains on top of all windows.

DeathWolf
8th June 2009, 16:23
Does anyone know whats is DXVA-HD? This is new in Windows 7. Whats difference to previous DXVA1/2? Nvidia already released beta drivers with support for dxva-hd.

Hopefully they will make something more usable than dxva at some point(not the horror it currently is, that has to be called at renderer level)

tetsuo55
8th June 2009, 18:38
Done.

You yourself referred to the bug in:

http://forum.doom9.org/showthread.php?p=1147971#post1147971

and the tracker entry is:

http://sourceforge.net/tracker/?func=detail&aid=2802680&group_id=170561&atid=854651

PS The tracker is a big step forward in keeping MPC-HC as stable and bug free as possible, thanks !Thanks for that, i did have the problem in the past (so bad that i used the keyboard to navigate DVD's), however with some updates to MPC-HC the problem became almost unnoticable, now i cannot reproduce it anymore at all.Does anyone know whats is DXVA-HD? This is new in Windows 7. Whats difference to previous DXVA1/2? Nvidia already released beta drivers with support for dxva-hd.I'm not 100% sure but it appears to be a new version of DXVA with a new overlay renderer. It has been designed from the ground up to support HD formats (apperantly previous DXVA versions where ment for SD). Also it should abstract the videocard functions entirely, meaning the same code will work on all videocards with DXVA-HD drviers.

Here is some information about:http://msdn.microsoft.com/en-us/library/dd434675.aspx

As it is part of WDDM1.1 it is only available on Windows7.
It is one of the many cool new things windows7 brings to the table.
Things that could be upgraded that would be cool but break backwards compatibility if they where exclusive are:
-WASAPI (new audio renderer in vista and up)
-Direct2d(replaces GDI(+)available later for vista, part of DirectX11), Could be used as a font overlay renderer, basically giving you any font with any special effect for free.
-Media foundation (the replacement for directshow, vista and up, most notable effect of using this is strongly reduced jitter, especially on a busy system)

There is more but that would force you to use .NET which could have a performance penalty(although i a full .NET application gets a lot of security bonusses)

gngn
8th June 2009, 21:02
rev1141 has introduced another positive aspect related to DXVA: i can now use the internal mkv splitter with DXVA decoding of H264, without having horrible stuttering and frame-drops.

1137+internal splitter ___________ 1156+internal splitter
http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_1137int_splitter.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/1137int_splitter.png) http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_1156int_splitter.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/1156int_splitter.png)

is this another XP only problem?

tetsuo55
8th June 2009, 21:25
If you look at the 2 DXVA changes he did you will notice he changed almost every file related to DXVA, what on the surface appears to be a simple fix is lines upon lines of edited code. Still not enough to fix everything on XP :(

tetsuo55
8th June 2009, 21:33
P.S. It's just me or the Changelog page it's empty ?! http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=logThe site does not render in ie8, also does not work in compatibility mode. However in chromium it works perfectly.

tetsuo55
8th June 2009, 21:38
I found the regression point: somewhere between SVN 1043 and SVN 1050 ( I don't have any other svn build between this two to test)

P.S. It's just me or the Changelog page it's empty ?! http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=log

Edit: added a new sample http://sharebee.com/e3a81240 for which eac3to it's reporting a subtitle (srt) too but MPC-HC doesn't "see" the sub ?!Revision 1050 - Directory Listing
Modified Sat Apr 18 22:06:04 2009 UTC (6 weeks, 4 days ago) by casimir666
Changed : Libavcodec_gcc project activated for x64
Revision 1049 - Directory Listing
Modified Sat Apr 18 19:59:48 2009 UTC (6 weeks, 4 days ago) by casimir666
Resource cleanup
Revision 1048 - Directory Listing
Modified Sat Apr 18 17:39:19 2009 UTC (6 weeks, 4 days ago) by casimir666
Changed : merge with Beliyaal branch
Added : support for madVR (new Video Renderer)
Revision 1047 - Directory Listing
Modified Sat Apr 18 14:45:54 2009 UTC (6 weeks, 5 days ago) by casimir666
Revision 1046 - Directory Listing
Modified Sat Apr 18 12:30:32 2009 UTC (6 weeks, 5 days ago) by casimir666
French translation set to Unicode
Revision 1045 - Directory Listing
Modified Sat Apr 18 10:05:18 2009 UTC (6 weeks, 5 days ago) by casimir666
Fixed : compilation error on x64 standalone filters
Revision 1044 - Directory Listing
Modified Thu Apr 9 17:40:30 2009 UTC (7 weeks, 6 days ago) by Mister-SH
Revision 1043 - Directory Listing
Modified Wed Apr 8 18:15:14 2009 UTC (8 weeks ago) by casimir666
Fixed : ugly background on PGS subtitles

Mercury_22
8th June 2009, 21:48
The site does not render in ie8, also does not work in compatibility mode. However in chromium it works perfectly.

:thanks: for the info !

P.S. I was referring to SVN 1043 and 1050 NOT 1143 and 1150 :)

ADude
9th June 2009, 01:36
P.S. I was referring to SVN 1043 and 1050 NOT 1143 and 1150 :)
Between 1043 and 1050 is the Beliyaal version merge...

tetsuo55
9th June 2009, 09:58
:thanks: for the info !

P.S. I was referring to SVN 1043 and 1050 NOT 1143 and 1150 :)Fixed

marcosabadia
10th June 2009, 04:06
downloaded, but i have ffdshow instaled here... thanks

Zachs
10th June 2009, 14:01
Hello,

I've recently found out my ATI HD4350 is capable of decoding H264 High Profile L5.1 (I've tested the Killa.sampla.x264.mkv file with 16 ref frames) on my P4 3.0GHz HT using full hardware acceleration which would've otherwise chocked using MPC-HC.

My question is, while this is not available via DXVA, it's available via AVIVO API - is it possible to use AVIVO API to decode HP@L5.1 in MPC-HC? I know all it does right now is sending bitstream as-is to the card via DXVA, but are there any plans to use AVIVO API in the future? It doesn't look like ATI is going to support L5.1 in DXVA mode.

For more info on how I got hardware acceleration to work on my old P4 single core HTPC, see my settings here (http://zachsaw.blogspot.com/2009/06/ati-hd-hardware-accelerated-dxva-for.html). I love MPC-HC with its shaders and stuff so I'd prefer to ditch PowerDVD completely and settle for MPC-HC for a one app for all video solution.

tetsuo55
10th June 2009, 14:51
Hi Zachs,
We would need a lot more information about how it works before we could do anything.
As far as i know AVIVO is en encoder not decoder.

What i think is that powerDVD uses the stream api to (assisted?) decode these streams (similar to CUDA).
Casimir has already stated that assisted decoding is too difficult to program.

The only chances of getting this in MPC-HC is:
-If it uses bitstream decoding
-The api is open and available

khagaroth
10th June 2009, 17:47
The stream api description and an opensource SDK is available on AMD Developer Central (http://developer.amd.com), together with some other open api's and sdks, that might also be useful for some other parts of the program. But I doubt it uses bitstream decoding.

tetsuo55
10th June 2009, 19:59
The stream api description and an opensource SDK is available on AMD Developer Central (http://developer.amd.com), together with some other open api's and sdks, that might also be useful for some other parts of the program. But I doubt it uses bitstream decoding.That information won't get us an inch closer to L5.1 decoding, we need exact information on how to access L5.1 bitstream decoding engines (which i think do not exist)

Phaser
11th June 2009, 11:32
I have a problem with svn 1156 when playing H264 720p in DXVA mode... The playback is not smooth, sometimes frames keep jumping back and forth. But it works fine with svn 1137.

And another thing.. I noticed a big performance hit when playing HD files in non-DXVA if I use the bicubic resizer instead of bilinear. Maybe this could use some optimizations...

hoborg
11th June 2009, 11:40
I have problem with svn 1156 when playing H264 720p in DXVA mode... The playback is not somooth, sometimes frames keep jumping back and forth. But it works fine with svn 1137.

Same here, ATI HD 4770, WinXP SP3, cat. 9.5

tetsuo55
11th June 2009, 13:58
I have a problem with svn 1156 when playing H264 720p in DXVA mode... The playback is not smooth, sometimes frames keep jumping back and forth. But it works fine with svn 1137.You're probably using XP, Casimir is working on the problem

And another thing.. I noticed a big performance hit when playing HD files in non-DXVA if I use the bicubic resizer instead of bilinear. Maybe this could use some optimizations...The bicubic resizer did not work (it probably never did) correctly. It has been fixed now and works completely as expected, however actually doing bicubic resizing is much more difficult and some videocards can not handle the load.

That said, it would be great if someone could write a new version based on PS5.0(with fallback options for older cards 5.0>4.1>4.0>3.0>2.0(a/b)) Not sure how important each between step is.
Also rewriting using C++0x (http://en.wikipedia.org/wiki/C%2B%2B0x) could lead to a leap in performance.

jeremy33
12th June 2009, 18:15
Hi

Sorry for my bad english, but I think there is a bug in MPC-HC in Windows 7. The problem I have is that if I put EVR Custom Optimal Setting there's tearing in D3D.

If I put the default setting there is no tearing. I think it just the Alternatives Vsync.

Is it a bug or is it normal ?

Thank you.

deets
12th June 2009, 19:51
none of my HD caps now work, they come up saying playing with DXVA and the time just stays on 00:00:00 this is for both ITV HD and BBC HD caps. have to go back to an old version for it to work.

gngn
12th June 2009, 22:25
If I put the default setting there is no tearing. I think it just the Alternatives Vsync.


you can find here (http://forum.doom9.org/showthread.php?p=1281093#post1281093) a short description of these settings. you should use Alternative VSync only if you want to adjust VSync manually (with Ctrl+Alt+UP, Ctrl+Alt+DOWN), else it's probably best to leave it off. i also encounter tearing if i just enable Alternative VSync but then dont adjust it acordingly.
also enable Wait for flushes and check if the FPS judder is more smooth. it helps on my 8600GTS.

mark0077
13th June 2009, 00:22
Hi all,

I am wondering how long would you guys think it will be before mpc-hc can play blu-ray properly. Today I rented out a movie to watch with the gf (don't mess with the zohan), and was surprised when I couldn't find a large 30gb file. The main movie was split into approx 15 parts. I got the movie to play by dragging all into a mpc-hc playlist, but at the end of each clip, I got a noticible black screen, loss of audio, few seconds of nothing, then continued.

I don't want to use PowerDVD :D I just love mpc-hc and have gotten used to it. Any work ongoing to get proper blu-ray playback going.

Thanks,

Jong
13th June 2009, 00:35
Not that I've tried it, I am still using PowerDVD until all the audio/subtitle issues are completely resolved (maybe in the next stable release, or near to it), but I am sure I read that if you "Open DVD" and point at the Blu-ray folder it is supposed to automatically play the main movie, including linking files if it is a seemless branching title.

Why not try it and see if a) this does happen and b) if it overcomes the obvious gaps between files (anything is possible)!

jeremy33
13th June 2009, 02:38
you can find here (http://forum.doom9.org/showthread.php?p=1281093#post1281093) a short description of these settings. you should use Alternative VSync only if you want to adjust VSync manually (with Ctrl+Alt+UP, Ctrl+Alt+DOWN), else it's probably best to leave it off. i also encounter tearing if i just enable Alternative VSync but then dont adjust it acordingly.
also enable Wait for flushes and check if the FPS judder is more smooth. it helps on my 8600GTS.

Ok thanks

Momber
13th June 2009, 06:08
You're probably using XP, Casimir is working on the problem
But how can that be, seeing as you claimed that I was the only person in the world having this problem?
FWIW, the problem is there under Vista SP2 also, only not as pronounced and not as frequently.

isidroco
13th June 2009, 09:36
I can't disable the subtitle captions when viewing DVDs, I'm using winXP SP3, with an i945g. Latest KLite Codec Pack. DVD only works fine with OVERLAY output, but that ugly black box captions is imposible to disable. (Normal Subs can be enabled/disabled, it shows both at the same time).

tetsuo55
13th June 2009, 09:46
But how can that be, seeing as you claimed that I was the only person in the world having this problem?
FWIW, the problem is there under Vista SP2 also, only not as pronounced and not as frequently.As far as i understand he is talking about the internal DXVA decoder, using XP. There is a regression in build 1141 that causes the behaviour he mentions on XP systems.

Your problem is related to the powerDVD filter, similar behaviour.
However none of us have been able to reproduce, and you do not wish to follow our bug reporting rules, thus making it even more difficult to help you.

Phaser did not follow the rules either, but the situation he describes matches a know problem, hence the use of "probably"I can't disable the subtitle captions when viewing DVDs, I'm using winXP SP3, with an i945g. Latest KLite Codec Pack. DVD only works fine with OVERLAY output, but that ugly black box captions is imposible to disable. (Normal Subs can be enabled/disabled, it shows both at the same time).Do you have vobsub installed? probably both the internal and external subtitle renderers are enabled simultaniously. Disabling one should fix the problem (preferably the one showing the captions)

mark0077
13th June 2009, 11:30
Not that I've tried it, I am still using PowerDVD until all the audio/subtitle issues are completely resolved (maybe in the next stable release, or near to it), but I am sure I read that if you "Open DVD" and point at the Blu-ray folder it is supposed to automatically play the main movie, including linking files if it is a seemless branching title.

Why not try it and see if a) this does happen and b) if it overcomes the obvious gaps between files (anything is possible)!

Thanks, but yeah this is the first thing I tried. I thought it simply played the largest file available. It actually started playing what looked like a cut scene when I did this, which led me to lining the up manually. Just would love to have an idea if its being worked on, or abandoned.

clsid
13th June 2009, 14:30
I can't disable the subtitle captions when viewing DVDs, I'm using winXP SP3, with an i945g. Latest KLite Codec Pack. DVD only works fine with OVERLAY output, but that ugly black box captions is imposible to disable. (Normal Subs can be enabled/disabled, it shows both at the same time).
Navigate -> Subtitle Language -> uncheck "enabled"

Otherwise, perhaps your MPEG-2 decoder is handling the closed captions.

ikarad
13th June 2009, 15:11
I notice a problem with MPC-HC and subtitles
https://sourceforge.net/tracker/?func=detail&aid=2805913&group_id=170561&atid=854651

Ger
13th June 2009, 16:39
none of my HD caps now work, they come up saying playing with DXVA and the time just stays on 00:00:00 this is for both ITV HD and BBC HD caps. have to go back to an old version for it to work.

I have the same problem with most H.264 ts recordings. Only a few will play normally. Build 1137 is fine. It's broken in 1150-1160 (I don't have any builds between 1137 and 1150), so I'm guessing it's the same or another 1141-regression.

BTW, I'm on Vista-SP2, so it isn't a WinXP problem.

tetsuo55
13th June 2009, 17:19
I have the same problem with most H.264 ts recordings. Only a few will play normally. Build 1137 is fine. It's broken in 1150-1160 (I don't have any builds between 1137 and 1150), so I'm guessing it's the same or another 1141-regression.

BTW, I'm on Vista-SP2, so it isn't a WinXP problem.none of my HD caps now work, they come up saying playing with DXVA and the time just stays on 00:00:00 this is for both ITV HD and BBC HD caps. have to go back to an old version for it to work.

Please follow the steps in my signature, and report detailed results here (including screenshots and samples)

deets
13th June 2009, 17:30
I have the same problem with most H.264 ts recordings. Only a few will play normally. Build 1137 is fine. It's broken in 1150-1160 (I don't have any builds between 1137 and 1150), so I'm guessing it's the same or another 1141-regression.

BTW, I'm on Vista-SP2, so it isn't a WinXP problem.

yep vista SP2 as well.

also, i have to untick MPEG PS/TS/PVA source filter as otherwise it either goes green or is very very jerky. you have this issue as well?

ill make a quick 50mb sample of the tennis and upload :)

http://www.mediafire.com/file/0mznznv4ozf/tennis_cutted.ts

Momber
13th June 2009, 19:19
Your problem is related to the powerDVD filter, similar behaviour.
Nope. It's the same with the internal decoder. I never said otherwise.
In fact, the internal filter is all I use under Vista (EVR CP), for both H.264 and VC-1 (DXVA, Radeon 3650, Catalyst 9.5).

you do not wish to follow our bug reporting rules
I don't do bugtrackers. If I find a bug, I post it here.

Like this one: with the internal ts splitter enabled, it is impossible to play back any BBC HD caps (H.264). Totally impossible. I cap and cut them myself, so I have plenty to try with.
Using Haali splitter on same caps: no problemo, but only works with Cyberlink decoder.

tetsuo55
13th June 2009, 19:32
Nope. It's the same with the internal decoder. I never said otherwise.
In fact, the internal filter is all I use under Vista (EVR CP), for both H.264 and VC-1 (DXVA, Radeon 3650, Catalyst 9.5).that makes more sense, see it helps explaining the problem i detail like the bug reporting rules state.


I don't do bugtrackers. If I find a bug, I post it here.But you will still have to follow the bug reporting rules, it;s the only way to guarantee its not a misconfiguration on the reports side while making sure everything is in place for us to reproduce it.
Bugs we cannot reproduce will never get fixed, its the basic logic of bug fixing.

Like this one: with the internal ts splitter enabled, it is impossible to play back any BBC HD caps (H.264). Totally impossible. I cap and cut them myself, so I have plenty to try with.
Using Haali splitter on same caps: no problemo, but only works with Cyberlink decoder.This report is a little better but your still missing the most important part of all, the sample.

deets
13th June 2009, 19:34
This report is a little better but your still missing the most important part of all, the sample.

I posted a 50mb sample of BBC HD which brings about the issue as well :) see my post above

tetsuo55
13th June 2009, 19:38
I posted a 50mb sample of BBC HD which brings about the issue as well :) see my post aboveAwesome, we can finally try to reproduce

Ger
13th June 2009, 20:29
also, i have to untick MPEG PS/TS/PVA source filter as otherwise it either goes green or is very very jerky. you have this issue as well?
To be honest, I haven't used the internal TS splitter in a long time, since there are so many issues with it. I'm just keeping it unchecked, using Haali's splitter until someone starts working on the internal splitter.

Momber
14th June 2009, 15:15
I posted a 50mb sample of BBC HD which brings about the issue as well :) see my post above
Thank you very much. That saves me a lot of time upping a sample through my modem (!) connection.

Inspector.Gadget
14th June 2009, 15:35
Hi all,

I can't get the VC1 DXVA decoder working on my laptop. Am I correct in thinking that my 9650M GT doesn't support the correct DXVA mode(s) to be compatible with the internal DXVA decoder? Thanks.

http://img23.imageshack.us/img23/9475/dxvachecker.png (http://img23.imageshack.us/i/dxvachecker.png/)

tetsuo55
14th June 2009, 17:39
VC1 VLD is not listed, unless its the random number one

Inspector.Gadget
14th June 2009, 18:47
No, just MoComp. Tetsuo55, are there any DXVA VC-1 decoders that can work without VLD? I've tried the various VC-1 Tweakers for Arcsoft and Cyberlink decoding and been unable to get them to work on my Vista x64 system. Thanks.

tetsuo55
14th June 2009, 18:57
PowerDVD, arcsoft, Windvd, Windows, they all support assisted decoding.

Inspector.Gadget
14th June 2009, 19:19
Is there a way to check if the assisted decoding is being used? I look through the output pin info from the WMVideo Decoder DMO and don't see any reference to DXVA (using EVR custom). Thanks.

tetsuo55
14th June 2009, 19:20
Is there a way to check if the assisted decoding is being used? I look through the output pin info from the WMVideo Decoder DMO and don't see any reference to DXVA (using EVR custom). Thanks. Lower CPU usage is the only way to see it.

Inspector.Gadget
14th June 2009, 20:34
Ah. So DXVA is subject to Heisenbergian indeterminacy. Thanks :D

tetsuo55
15th June 2009, 15:54
@Everyone,

We still need someone to write a guide on how to compile MPC-HC, in both 32bit and 64bit flavors.

A good place to start would probable be ffdshow's guide:
http://ffdshow-tryout.sourceforge.net/wiki/devel:building

Inspector.Gadget
15th June 2009, 22:45
I found something else interesting in MPC-HC, though I'd hesitate to call it a bug. When playing an H.264/AAC/MP4 file with corrupt headers, MPC-HC instead loads a few corrupted seconds of one of the VOB files I ripped from "Running Man" in an entirely different directory.

The catch? I deleted the Running Man directory from my HDD weeks ago. :eek:

I think DXVA decoding (MPEG-2 and H.264) might be the common culprit here: is it possible that part of the MPEG-2 stream is just kicking around my video memory? That doesn't seem like a satisfactory explanation, though, because I also get some audio...

Klaus_1250
16th June 2009, 00:21
Just installed Cat 9.6 on a HD3850AGP (XP32, VMR9 Renderless) and DXVA seems to be borked. Files play, but every so many frames, an old frame is displayed. Cyberlink plays them fine.

73ChargerFan
16th June 2009, 06:31
The trick is to skip the Catalyst drivers ending in an even number.

Octo-puss
16th June 2009, 08:32
The trick is to skip the Catalyst drivers ending in an even number.

I assume you also need to play the movies 47 seconds after midnight while humping a pillow?

tetsuo55
16th June 2009, 08:38
Just installed Cat 9.6 on a HD3850AGP (XP32, VMR9 Renderless) and DXVA seems to be borked. Files play, but every so many frames, an old frame is displayed. Cyberlink plays them fine.Could be related to a known regression in build 1141, what happens when you use an older build?

tetsuo55
16th June 2009, 14:20
Cat9.6 is out.

some people are reporting broken DXVA playback (black screen)
I don't have any trustworthy confirmation yet though.

tetsuo55
16th June 2009, 15:53
We are almost ready to release a new stable build.

the question now is are there any remaining regressions between the last stable 908 and the current SVN 1161?

We know about:
* H264 decoding issue, casimir is working on it(it's not easy to fix)
* Refresh rate detection issues, beliyaal is working on it(but the current code is almost perfect, frameworks are severely limiting our options here)
* Bilinear renderering, beliyaal is working on it (technically not a bug, it has simply been broken for years, he is trying to get some more speed out of it though)

Kurtnoise
16th June 2009, 15:57
TS splitter is broken w/ a lot of TS files (mainly AVC+AAC as streams I'd say)...

mark0077
16th June 2009, 16:04
Blu-Ray Problem
Yeah I know its probably not a regression but not being able to seek in m2ts files without the risk of getting a crash, or not being able to use another decoder without horrible stuttering within m2ts will cause alot of grief for people trying to play blu-rays..... For a new version of "homecinema" I honestly think this needs to be fixed before its released to the wider public.

DVD Quality Problem
I still think defaulting to having de-interlacing on for mpeg2 decoder is still.... well not a good idea. Users of mpc-hc decoder "out of the box" will still get half the resolution they should be getting because of 99% of badly marked DVDs out there. (marked as coming from interlaced sources, and actually coming from progressive sources). IMO the wider public "out of the box" would be better off having full resolution, non bob de-interlaced mpeg2 / dvd content, instead of defaulting to having de-interlacing enabled. We can't trust the DVD flags and with the majority of dvd's being progressive sources, off should be the default. First thing I do after installing mpc-hc is set de-interlacing to Force Weave to make my dvd's look half reasonable. We really should think of whats going to be best for the majority of users IMO. (A software solution to detecting interlaced vs progressive still hasn't appeared so defaulting to off should be best, unless the user chooses to output the flag to their gfx card etc), but default should be off (force weave).

Mario Bros
16th June 2009, 16:07
These two were not in the latest stable release:
*MPCHC freezing issues
http://sourceforge.net/tracker/?func=detail&aid=2800414&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2799089&group_id=170561&atid=854651

littleD
16th June 2009, 16:17
Catalyst 9.6 with dxva works good. No problems since last drivers.

tetsuo55
16th June 2009, 16:34
TS splitter is broken w/ a lot of TS files (mainly AVC+AAC as streams I'd say)...But wasn't that already broken in 908?Blu-Ray Problem
Yeah I know its probably not a regression but not being able to seek in m2ts files without the risk of getting a crash, or not being able to use another decoder without horrible stuttering within m2ts will cause alot of grief for people trying to play blu-rays..... For a new version of "homecinema" I honestly think this needs to be fixed before its released to the wider public.

DVD Quality Problem
I still think defaulting to having de-interlacing on for mpeg2 decoder is still.... well not a good idea. Users of mpc-hc decoder "out of the box" will still get half the resolution they should be getting because of 99% of badly marked DVDs out there. (marked as coming from interlaced sources, and actually coming from progressive sources). IMO the wider public "out of the box" would be better off having full resolution, non bob de-interlaced mpeg2 / dvd content, instead of defaulting to having de-interlacing enabled. We can't trust the DVD flags and with the majority of dvd's being progressive sources, off should be the default. First thing I do after installing mpc-hc is set de-interlacing to Force Weave to make my dvd's look half reasonable. We really should think of whats going to be best for the majority of users IMO. (A software solution to detecting interlaced vs progressive still hasn't appeared so defaulting to off should be best, unless the user chooses to output the flag to their gfx card etc), but default should be off (force weave).m2ts problem is not a regression as far as i know, fixing it is planned for a later stable release. Ill ask casimir about the dvd thing, if it's really easy to fix he might do it.These two were not in the latest stable release:
*MPCHC freezing issues
http://sourceforge.net/tracker/?func=detail&aid=2800414&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2799089&group_id=170561&atid=854651Yeah your right, i don't think these will get fixed for this release though (MPC is already correctly presents everything correctly to windows)Catalyst 9.6 with dxva works good. No problems since last drivers.which os are you using?

mark0077
16th June 2009, 16:42
But wasn't that already broken in 908?m2ts problem is not a regression as far as i know, fixing it is planned for a later stable release. Ill ask casimir about the dvd thing, if it's really easy to fix he might do it.Yeah your right, i don't think these will get fixed for this release though (MPC is already correctly presents everything correctly to windows)

OK Cheers. If I had control I would simply set the default de-interlacing setting from Auto to Weave. I imagine it would take two minutes to change. That will give most users watching most DVD's, the full quality they deserve, but at the cost of having bad interlaced content. We have to go with the majority I think, which is forcing weave for the benefit of the mostly progressive sourced DVD content OR if it wasn't difficult for a future version, to detect gfx card and enable outputting the interlaced flag so the gfx card can do de-interlacing. (might be tricky to decide this though). Forcing weave is much better than the current default of auto though.

Kurtnoise
16th June 2009, 16:46
But wasn't that already broken in 908?
nope...as far I remember, all worked fine before Beliyaal merges.

tetsuo55
16th June 2009, 17:51
I don't see any critical TS bugs on the tracker.
Can you point me to the exact bug reports you are talking about??

All i'm really seeing is incorrect splitter output (showing extra non existing tracks)

Ger
16th June 2009, 17:53
Just to make sure there are no misunderstandings. Kurtnoise's statement may be true for his samples, but there are certainly many issues (both bugs and missing features) that have been present in the TS splitter "forever". Audio tracks not recognized. Subtitles not recognized. Language codes for both are ignored. Picture freeze when skipping or starting playback. Slow skipping etc.

I''ll try to look through the bug tracker and add new ones (with samples) eventually, but I don't have time yet, and my issues are not regressions (except for the 1141 regression that Casimir is working on) so they probably won't be prioritized anyway.

tetsuo55
16th June 2009, 17:57
I am writing an extensive article on the built in splitter, which will be used to point into the direct we wish to go with it, and will allow aspiring developers to help out with clearly defined goals.

(Same will happen for subtitle renderer and playlist)

73ChargerFan
16th June 2009, 18:50
Just to make sure there are no misunderstandings. Kurtnoise's statement may be true for his samples, but there are certainly many issues (both bugs and missing features) that have been present in the TS splitter "forever". Audio tracks not recognized. Subtitles not recognized. Language codes for both are ignored. Picture freeze when skipping or starting playback. Slow skipping etc.
+1
I clear the settings when I upgrade or test for bugs, and then the next mkv or ts hd file I watch, I have to switch back to haali splitter because internal isn't acting as I expect (slow, locks up, lag on seek, no seek, no start.)

Shouldn't block the next stable, though.

Next version, splitters!

After that, interface!

Mercury_22
16th June 2009, 19:18
We are almost ready to release a new stable build.

the question now is are there any remaining regressions between the last stable 908 and the current SVN 1161?

We know about:
* H264 decoding issue, casimir is working on it(it's not easy to fix)
* Refresh rate detection issues, beliyaal is working on it(but the current code is almost perfect, frameworks are severely limiting our options here)
* Bilinear renderering, beliyaal is working on it (technically not a bug, it has simply been broken for years, he is trying to get some more speed out of it though)

Here is one ! somewhere between SVN 1043 and SVN 1050 EVR CP got broken resulting in a very choppy play (with some files) !

Bug report: http://sourceforge.net/tracker/?func=detail&aid=2802538&group_id=170561&atid=854651

Samples here (http://sharebee.com/e3a81240) and here (http://sharebee.com/4b4c33ab)

EDIT: I found what's causing the problem: it's the "Enable Frame Time Correction"
So this looks like part of the "Refresh rate detection issues" ?!:confused:

ADude
16th June 2009, 19:19
We are almost ready to release a new stable build.

the question now is are there any remaining regressions between the last stable 908 and the current SVN 1161?

Beliyaal said he would answer the questions about what the Renderer Settings actually do (in a technical sense), for example what "Vsync Off" actually turns off.
It has been several weeks since he said that, and no answer has occurred.
Until he has done so, we still don't know what his new sync code does, so we cannot know if there are any regressions.

tetsuo55
16th June 2009, 19:25
Beliyaal said he would answer the questions about what the Renderer Settings actually do (in a technical sense), for example what "Vsync Off" actually turns off.
It has been several weeks since he said that, and no answer has occurred.
Until he has done so, we still don't know what his new sync code does, so we cannot know if there are any regressions.Like i said earlier, disabling everything matches the old behaviour.

So all you have to do is compare to 908 with everything disabled in 1161
Lock back buffer is now called flush gpu after present

Beliyaal is really busy with private life, so the technical explanation will probably take some more time

Momber
16th June 2009, 20:27
Just installed Cat 9.6 on a HD3850AGP (XP32, VMR9 Renderless) and DXVA seems to be borked. Files play, but every so many frames, an old frame is displayed. Cyberlink plays them fine.
That sounds pretty much like the thing that has been bugging me, and others, for months.
In all fairness, it IS better under Vista than under XP. In that sense, installing this horrible interim OS on my HTPC has paid off.
For instance, I just finished watching Sin City (BR remuxed to mkv) and did not spot a single flickering back and forth of frames, using the built-in H.264 decoder and EVR CP.
Under XP, such a pleasant experience was unthinkable.

Also, it would appear that the problem is related to PS 2.0 (down-)scaling because I never get it with 720p x264 files I watch with DXVA (my pj is 720p), only with 1080i/p...
And only with H.264 AVC, never with VC-1.

Before publishing a new release labelled "stable" I would suggest looking into the inability to play back BBC HD caps though, with internal filters.

mark0077
16th June 2009, 21:10
I don't see any critical TS bugs on the tracker.
Can you point me to the exact bug reports you are talking about??

All i'm really seeing is incorrect splitter output (showing extra non existing tracks)

http://sourceforge.net/tracker/?func=detail&aid=2793531&group_id=170561&atid=854651

This bug hasn't been fixed. It basically means I cannot seek in any m2ts vc-1 content without the risk of crashing mpc-hc, or causing repeated frames for infinity (usually the number of frames set to be buffered, repeated over and over, eg 5 frames repeated forever after seeking). Another bug related to this (close because duplicate of this), also means external vc-1 decoder can't be used or massive amounts of dropped frames are seen. Huge bug for me anyways.

kumi
16th June 2009, 21:32
Added Bug #2807358: Subtitle renderer induces tearing.

Originally posted (http://forum.doom9.org/showthread.php?p=1272429#post1272429) in the old beliyaal thread, and still having this issue.

ADude
16th June 2009, 21:58
Like i said earlier, disabling everything matches the old behaviour.

How does the phrase "disabling everything" correlate to the new Renderer Settings ?

Clicking "Vsync Off" does not disable the other settings.

As I previously commented:

I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

The current situation is equivalent to the Renderer Settings being:

- Something
- Another thing
- A setting
- Something related to the other ones in some way

When the options and settings are "play" "pause" " open file " "exit" and so forth, they are obvious or correspond to the same words used elsewhere.

But when the settings correspond to tiny different branches in code having to do with subtle video playback differences, then the documentation has to be equally specific and technical.

When that is done, then - and only then - could anyone actually test the settings to see if they actually do what they are supposed to do.

tetsuo55
17th June 2009, 07:17
I understand your point.
And you are right that the technical documentation on each setting has to be updated asap (but probably won't be before the next stable release).

I would rather see more options be removed and default behaviour work for everyone.

what i mean is, if you "uncheck" every "new" option (new compared to 908, introduced with the renderer changes) the renderer should act almost the same as 908.

One option seems to have been removed, "lock back buffer", this is not the case, the option is now named "Flush GPU after present"

---

the question we have at the moment is not "what do these settings do", but rather:
With all settings at default(908) and all settings are default(1161), which file has problems playing correctly in 1161 that played correctly in 908.

Kurtnoise
17th June 2009, 08:36
I don't see any critical TS bugs on the tracker.
Can you point me to the exact bug reports you are talking about??

#8369 (http://forum.doom9.org/showthread.php?p=1296567#post1296567)
#8125 (http://forum.doom9.org/showthread.php?p=1292262#post1292262)
#7703 (http://forum.doom9.org/showthread.php?p=1285347#post1285347)
#6734 (http://forum.doom9.org/showthread.php?p=1257649#post1257649)

more or less, what Ger & 73ChargerFan said...

tetsuo55
17th June 2009, 16:29
#8369 (http://forum.doom9.org/showthread.php?p=1296567#post1296567)
#8125 (http://forum.doom9.org/showthread.php?p=1292262#post1292262)
#7703 (http://forum.doom9.org/showthread.php?p=1285347#post1285347)
#6734 (http://forum.doom9.org/showthread.php?p=1257649#post1257649)

more or less, what Ger & 73ChargerFan said...I don't think these will get fixed before the next stable. Some of those are not on the tracker, so someone will have to add them.

The splitter is basically made up of 2 parts, with different evolutions:

PS: raw mpeg1, raw mpeg2, vob, evo.
TS: raw mpeg1, raw mpeg2, TS, M2TS(AVCHD)

Each new name adds extensions to the previous one.

So to get 100% compatibility we have to be spec compliant (which means we need the itu documentation) for all these revisions, but theoretically simply having the full spec for EVO and M2TS should be enough to support all the older versions.

EDIT: i wonder how legal/licence compatible it is to use the information in libavformat to improve the internal splitters

mark0077
17th June 2009, 16:52
tetsuo, any idea on the progress with the m2ts problem I linked to you earlier in this thread. Beliyaal apparantly implemented the "Frame Time Correction" setting to get around this problem temporarily but that seems like months ago now. The same timestamp problem is apparantly what is causing my vc-1 in m2ts seeking crashes also. Means I can't seek in any of my blu-ray collection.

http://sourceforge.net/tracker/?func=detail&aid=2793531&group_id=170561&atid=854651

tetsuo55
17th June 2009, 16:56
Yeah i'm not 100% sure what it all means, but timestamps should be part of the stream, and the splitter should read them.

The option beliyaal added basically lets you get away with not reading the timestamps (or something to that extent, could be the other way around).

Still that is not the solution to the problem, what we need is accurate support.

for now i think our best bet is to see if we can use parts of the libavformat source to update the internal splitter, to see if that would even help the m2ts files could be tested on ffplay.

Casimir666
17th June 2009, 18:20
New website is online : http://mpc-hc.sourceforge.net/

Congratulation to Martin for his great work on new design :)

fastplayer
17th June 2009, 18:55
New website is online : http://mpc-hc.sourceforge.net/

Congratulation to Martin for his great work on new design :)
+1 :)
Way better than the old FrontPage hack :D

ADude
17th June 2009, 19:02
I understand your point.
And you are right that the technical documentation on each setting has to be updated asap (but probably won't be before the next stable release).

:eek: :eek: :eek:

So you are going to release it - after months of no new stable release - before the documentation that tells the user what the settings mean ?

And I still do not think you understand my point - that we cannot tell if there is a regression until we know exactly what the settings do.

I would rather see more options be removed and default behaviour work for everyone.

what i mean is, if you "uncheck" every "new" option (new compared to 908, introduced with the renderer changes) the renderer should act almost the same as 908.

I have yet to see any feedback from Beliyaal that confirms that "unchecking" ever Renderer Setting is equivalent to 908.

Also, your use of "almost" indicates another possible place for regressions to pop up...

My experience with big hardware and software companies is that you save a lot of time by producing all possible documentation before the release, otherwise you have the same questions asked hundreds of times.

tetsuo55
17th June 2009, 19:14
New website is online : http://mpc-hc.sourceforge.net/

Congratulation to Martin for his great work on new design :)I agree with GTPVHD that the new site looks a bit cheezy, still its 10x better than the old site.

tetsuo55
17th June 2009, 19:22
:eek: :eek: :eek:

So you are going to release it - after months of no new stable release - before the documentation that tells the user what the settings mean ?The importance of documentation should not be underestimated, but many features are undocumented. It is not a blocking issue.

And I still do not think you understand my point - that we cannot tell if there is a regression until we know exactly what the settings do.Sure you can, with default settings, does the same file that worked on 908 still work on the latest SVN? (And if you want to compare apples with apples you have to make sure all new options are disabled)


I have yet to see any feedback from Beliyaal that confirms that "unchecking" ever Renderer Setting is equivalent to 908. He explained it spread over several posts(tiny bits and pieces of information), i also talked to him outside of the thread.

Also, your use of "almost" indicates another possible place for regressions to pop up...Several functions where improved, and no longer act 100% the same as 908.

My experience with big hardware and software companies is that you save a lot of time by producing all possible documentation before the release, otherwise you have the same questions asked hundreds of times.Thats the biggest difference between big companies that make money (one way or another) and open source volunteer projects that take time away from wife and kids.

Snowknight26
17th June 2009, 19:41
The new site has horrible grammar. :\

neoufo51
17th June 2009, 20:02
The new website is better looking, but you guys HAVE to get rid of the photo of the family watching the laptop. It makes it look so cheesy. You're supposed to make this player look like an advanced tool for video purists, not a Disney-branded piece of family education software.

littleD
17th June 2009, 20:23
@Adude
Have u seen a that (http://forum.doom9.org/showthread.php?t=123537&page=379) beliaal post? Some of descriptions dont tell much, but u have to play with options by yourself anyway as player with beliaal's changes can behave on many system differently.
And i would change default settings. I would turn on only vsynch on XP (off when using aero vista/7), flushes leave as is and the rest stuff off as it should be tuned only when problems occured.

khagaroth
17th June 2009, 21:01
Ditto about the family photo, cheesy as hell, and that package photo and the huge download button on the download page just feel really bad as well (have seen too many scam/crapware sites with similar images). Apart from that, it's a nice design.

neoufo51
17th June 2009, 21:13
(have seen too many scam/crapware sites with similar images).
YES! That's exactly what it looks like. When you go to the new site you FEEL like you're in a scamware site that is trying to make you pay for a piece of software that is completely open-source and free. The webmaster should get rid of the family photo and clean up the existing layout to make it look more professional so as not to turn off potential new users of MPC-HC, because when the new stable version comes out, it will be spread all over the net as newsworthy software and that site makes it look like scamware.

I'd go with a minimalist design that looks professional.

73ChargerFan
17th June 2009, 21:53
I have yet to see any feedback from Beliyaal that confirms that "unchecking" ever Renderer Setting is equivalent to 908.
IIRC, Beliyaal did say this a few times in his thread.

73ChargerFan
17th June 2009, 22:00
The webmaster should get rid of the family photoHow do you know that isn't a photo of the webmaster, his beautiful wife and 2 adorable boys?

I'd go with a minimalist design that looks professional.
Yuk.:scared::scared:

My comments:
1) Add a link to this thread on the support page
2) Kill the faux retail box!:eek:

ADude
17th June 2009, 22:06
@Adude
Have u seen a that (http://forum.doom9.org/showthread.php?t=123537&page=379) beliaal post? Some of descriptions dont tell much, but u have to play with options by yourself anyway as player with beliaal's changes can behave on many system differently.
And i would change default settings. I would turn on only vsynch on XP (off when using aero vista/7), flushes leave as is and the rest stuff off as it should be tuned only when problems occured.

Yes, I am talking about that post. Again:

Reset to default renderer settings
Resets all above settings to the default.


What criteria was used to determine the "default" settings ?

VSync
Can be used to disable VSync. This is not recommended normally as disabling VSync will remove many stuttering and threading fixes. Should only used for debugging purposes.


This is the biggest question - what exactly, in a technical way, does "disable Vsync" mean here ?


Accurate VSync
Can be used to disable accurate VSync. If accurate VSync is disabled CPU usage is slightly decreased, especially when alternative VSync is also disabled.


What exactly is "Accurate VSync" - what is being disabled when this is disabled ?

Lastly, we need a post from Beliyaal, going through all the Renderer Settings and saying what should be the checked or unchecked status of each setting when one wants MPC-HC to act exactly as it did prior to the merge with Beliyaal's version.

littleD
17th June 2009, 22:37
Lol, disable Vsynch means theres no vertical synchronization performed.
Alt and acc synch work only when vsynch enabled. I think. I dont know technical meaning but all that suppose to help reaching smooth, tearing free playback. Start with vsych. If u still encounter any problems try others options. Find your best settings and forget now about explanations. Find for yourself what is the best for you. My default settings would be a hint.

ADude
18th June 2009, 01:16
Please no "somewhat technical" answers.

Again, when "Vsync" is not checked, and thereby "disabled", changing the other vsync settings affects the synchronization display chart.

We do not know whether unchecking "Vsync" simply turns off MPC-HC's vsync code, or whether it sends a message to the video card telling the video card not to do vsync.

Etc.

saint-francis
18th June 2009, 02:28
The website is fine. It beats the pants off the last one. The family photo is fine too. I'm sure the PDVD site has something like that. In my opinion MPC HC shouldn't be just for the initiated and in the know doom9 forum members. It should be accessible to everyone. So in this respect a minimalist approach isn't the way to go. Sure foobar200 is a great tool and they have a bear bones site. But how many more people use winamp than foobar200?

boyumeow
18th June 2009, 06:33
......

2) Kill the faux retail box!:eek:

I was intending to get the Retail Box as a collectible 'Retail Box', it look nice :p.

As for the family photo, its fine but if it could show how trendy or advance feature looks like would be better, something like detail/functional pictures of what lies inside MPC-HC. Keep it up and :thanks:

diman1982
18th June 2009, 10:08
why the picture quality in evr custom is so poor compared to overlay mixer?
i mean, pixelazation in dvds upconverted to 1080p output and zoomed hdrips. In overlay it is very smooth

JonasNo
18th June 2009, 20:00
New website is online : http://mpc-hc.sourceforge.net/

Congratulation to Martin for his great work on new design :)

Better then the old site but new information should be added:
-more languages have been added
-more people have joined the project
...that sort of stuff

oh and make it more new-user/grandma friendly maybe ?

Constructive Criticism:
it do look a little like press-here-to-buy/fishy site at first glance

neoufo51
18th June 2009, 21:29
I just found a really NASTY crash.

Win7, Nvidia 185.85. rev1161. Both EVR CP and Haali crash the player entirely. Here's how to do it.

1) Download the INCREDIBLE HD trailer for 2012 here: http://movies.yahoo.com/movie/1810045661/video/14045555

2) Rename the .mov to .hdmov

3) Try to play the file, watch it crash MPC over and over even with Haali. Playing it as .mov works fine.

Also, was that trailer awesome or what??

EDIT: Fixed this crash by upgrading to 186.18 Nvidia Drivers

rack04
18th June 2009, 21:58
I just found a really NASTY crash.

Win7, Nvidia 185.85. rev1161. Both EVR CP and Haali crash the player entirely. Here's how to do it.

1) Download the INCREDIBLE HD trailer for 2012 here: http://movies.yahoo.com/movie/1810045661/video/14045555

2) Rename the .mov to .hdmov

3) Try to play the file, watch it crash MPC over and over even with Haali. Playing it as .mov works fine.

Also, was that trailer awesome or what??

Why rename to hdmov? Have you tried remuxing to mp4 using mp4box?

mark0077
18th June 2009, 22:01
Guys, I have a question, might be a bug with the player but not sure.

I have spent the day setting up a new machine for my gf using windows xp service pack 3. I have installed latest dx sdk, nvidia drivers, .net and service packs. I opened the latest mpc-hc and notice it defaulted to overlay. Thats the first problem. Second problem is, although I can select evr-custom presentation, no dvd menus work with it. I can't hover over any of the menu items. Without reading through the whole thread, is there a quick fix for this problem? First time I have tried mpc-hc with xp for years so I am like a newbie again, just hoping its not too tricky as that would mean all current xp users would probably find it annoying to get evr-cp working. Defaulting to overlay though?....

I verified evr-cp is working, I can put up the stats overlay and see its doing fine. I am seeing tearing and can't navigate throughout dvd menus...

tetsuo55
18th June 2009, 22:09
Do you see the dvd navigator in "splitters"

mark0077
18th June 2009, 22:16
Yeah in filters I see mpc-hc's mpeg2 decoder, DVD Navigator, EVR Custom Presenter, mpc-hc's ac3 decoder. All as expected. I saw this reported many times in this thread but havn't ever seen a solution to it.... thanks for any help you can give. Would love to get at least dvd's working with evr-cp + no tearing.

tetsuo55
18th June 2009, 22:16
What happens when you select VMR9

mark0077
18th June 2009, 22:23
hmm, well with vmr9 (windowed or renderless), I can now navigate through the dvd menus but both give horrible tearing :( None of the vsync settings seems to fix it.... damn.

clsid
18th June 2009, 22:25
Why rename to hdmov?Because .mov files get played using the QuickTime framework instead of DirectShow. It is possible to change that in the options. But since it is useful to use QuickTime for playing certain .mov files, renaming HD trailers to .hdmov is a quick way to use DirectShow.

tetsuo55
18th June 2009, 22:37
hmm, well with vmr9 (windowed or renderless), I can now navigate through the dvd menus but both give horrible tearing :( None of the vsync settings seems to fix it.... damn.Does D3D fullscreen mode fix the tearing?

mark0077
18th June 2009, 22:40
Does D3D fullscreen mode fix the tearing?

hmm oddly no.... might have to try vista.

tetsuo55
18th June 2009, 22:47
Very strange, maybe you should try an older driver version.

mark0077
18th June 2009, 22:55
See its an old card, 5200. The drivers are the 175.19 which are the latest drivers I can force to work with the card. Would still have thought vsync would work.. thanks for suggestions anyways.

neoufo51
18th June 2009, 23:20
I just fixed the crash I got with the 2012 trailer by upgrading to the 186.18 drivers. No problems at all with EVR CP and Haali. :)

Klaus_1250
18th June 2009, 23:30
Just installed Cat 9.6 on a HD3850AGP (XP32, VMR9 Renderless) and DXVA seems to be borked. Files play, but every so many frames, an old frame is displayed. Cyberlink plays them fine.

Turning off VMR9 Mixer mode solves the issue. But I'm pretty sure there was a reason why it was turned on.

Could be related to a known regression in build 1141, what happens when you use an older build?
Works without a problem (tried build 1008, fairly old).

Snowknight26
19th June 2009, 03:13
MPC-HC drops the last couple of frames for certain videos:
http://forum.doom9.org/showthread.php?t=147856

FredThompson
19th June 2009, 03:37
Request for the next release: Opacity and user-defined hotkey support a la http://www.godoublevision.com/

her34
19th June 2009, 04:27
there's blur along bottom of some flv files with mpc using internal filter or ffdshow. it doesn't happen in vlc.

sample file:
http://sharebee.com/4b978e02

from here:
http://www.gametrailers.com/video/city-center-clone-wars/51728

ADude
19th June 2009, 05:24
Second problem is, although I can select evr-custom presentation, no dvd menus work with it. I can't hover over any of the menu items. Without reading through the whole thread, is there a quick fix for this problem? First time I have tried mpc-hc with xp for years so I am like a newbie again, just hoping its not too tricky as that would mean all current xp users would probably find it annoying to get evr-cp working.
This is a well known problem, which is in the bug tracker.
The workaround is to create two different folders, one for mplayerc and one for mplayerc_dvd. Put the latest mpc-hc in mplayerc and put MPC-HC version 1.0.11.0 from October 2007 in mplayerc_dvd.
When your autoplay identifies a DVD, have it run the one in mplayerc_dvd and all other files run the one in mplayerc. (There are other methods besides autoplay, you could use shortcut links, etc.)

ar-jar
19th June 2009, 14:28
I have finally decided to try to merge some of the features of the player on this thread (http://forum.doom9.org/showthread.php?t=146012) into MPC-HC. I've checked out the latest trunk version, installed MinGW and yasm, and most of it compiles in VS 2008 (with some warnings that I will look into later). There's at least one issue left though and perhaps somebody out there can help: I get the following error message: 3>.\WebClientSocket.cpp(25) : fatal error C1083: Cannot open include file: 'atlisapi.h': No such file or directory It seems that the file (and some other files that render error messages too) were part of VS 2005 but have been removed since.

Should I explicitly try to use the VS 2005 header files and libraries (?) or should I try to compile the semi-open source package from Microsoft where they now seem to belong? Any other advise also appreciated.

Thanks! -Arto

tetsuo55
19th June 2009, 14:32
I have finally decided to try to merge some of the features of the player on this thread (http://forum.doom9.org/showthread.php?t=146012) into MPC-HC. I've checked out the latest trunk version, installed MinGW and yasm, and most of it compiles in VS 2008 (with some warnings that I will look into later). There's at least one issue left though and perhaps somebody out there can help: I get the following error message: 3>.\WebClientSocket.cpp(25) : fatal error C1083: Cannot open include file: 'atlisapi.h': No such file or directory It seems that the file (and some other files that render error messages too) were part of VS 2005 but have been removed since.

Should I explicitly try to use the VS 2005 header files and libraries (?) or should I try to compile the semi-open source package from Microsoft where they now seem to belong? Any other advise also appreciated.

Thanks! -Arto
i think you need:
(Microsoft Visual C++ 2008 SP1, Microsoft Windows SDK for Windows 7 RC, DirectX SDK v.9.26.1590, GCC 4.4.1 (svn rev. 148360, prerelease) x86_32)

kunkie
19th June 2009, 14:34
@ar-jar

To compile you need:
* Microsoft Visual C++ 2008 SP1
* Microsoft® Windows® Software Development Kit Update for Windows Vista™ Download
* BaseClasses from same SDK
* DirectX SDK (August 2007) Download
* For VS2008SP1 see ATL Server Library and Tools
* MinGW GCC 4.2.4 x86_32 MinGW - Minimalist GNU for Windows or TDM's GCC/MinGW32 Builds
* MinGW GCC 4.4.0 x86_64 MinGW - Minimalist GNU for Windows 64 to compile libavcodec_gcc.lib, Mingw GCC x64 can't compile any asm for Win64!

You'll get loads of errors initially and for each error you'll need to manually find each header and manually add it as an include to VS2008.

tetsuo55
19th June 2009, 14:36
@ar-jar



You'll get loads of errors initially and for each error you'll need to manually find each header and manually add it as an include to VS2008.This is why we need a wiki entry on how to compile ASAP

And all those warnings should be fixed/worked around.
Any volunteers? (also need to try and get a warning free compile on VC2010)

Baseclasses are no longer needed

DeathWolf
19th June 2009, 15:07
small bug:
if an mkv has a subtitle stream as first stream it does not work properly with the internal demuxer.(works fine with haali)

ar-jar
19th June 2009, 15:14
@ar-jar
You'll get loads of errors initially and for each error you'll need to manually find each header and manually add it as an include to VS2008.

Thanks guys for the help! I wasn't sure what to do with that "ATL Server Library and Tools" initially but I downloaded something called ATL_Server_Source_and_Headers_9_0_70425_Alpha.zip, built what there was to build and added a reference to its include directory to VS 2008. I got rid of the last failed builds (but there are plenty of warnings left). The mplayerc.exe fires up as it should and actually plays a BlueRay movie! I'll run some tests and see what else works.

As the ATL Server stuff was labeled "Alpha", I wasn't sure what its status was.

I've been logging my start-up woes and wins and I can perhaps later contribute to that wiki.

tetsuo55
19th June 2009, 15:21
that's the last version ever released.

ATL has been depreciated and replaced with ASP.net
This is the official download link which can be added to the wiki/compile guide:
http://atlserver.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=3754

DeathWolf
19th June 2009, 19:08
To add to the earlier bug report, things are fairly odd:
The subtitle stream does appear in the list of outputs of the mkv splitter.
However it doesnt appear to connect to vsfilter.
(possibly because it tries to connect video first and then subtitles?)
EDIT: the issue only arises with the internal splitter. With the external splitter(but still mpc's) things build correctly.

kostik
19th June 2009, 19:43
To add to the earlier bug report, things are fairly odd:
The subtitle stream does appear in the list of outputs of the mkv splitter.
However it doesnt appear to connect to vsfilter.
(possibly because it tries to connect video first and then subtitles?)
EDIT: the issue only arises with the internal splitter. With the external splitter(but still mpc's) things build correctly.



got this issue too.
I use madvr renderer, and vsfilter . The stream subs dont show up.

burfadel
20th June 2009, 00:39
Can someone check the CPU usage between the 32 bit and 64 bit version of Mplayerc? particularly when internal filters are disabled!

You'd expect the x64 version to use less CPU but mine used noticeably more! - mind you that is with 64 bit ffdshow and the latest 32/64 bit version of ac3filter installed.

neoufo51
20th June 2009, 01:17
Holy crap! Ar-Jar's features are going to push MPC-HC into a completely new level of quality playback. This is very exciting! For anybody who hasn't seen what his features can do, you better check out his thread. Its ridiculous how stable he got playback to be.

ADude
20th June 2009, 04:35
Can someone check the CPU usage between the 32 bit and 64 bit version of Mplayerc? particularly when internal filters are disabled!

You'd expect the x64 version to use less CPU but mine used noticeably more!

Why would you expect that ?

Twice the number of bits have to be dealt with, every time an address is processed.

tetsuo55
20th June 2009, 09:16
Can someone check the CPU usage between the 32 bit and 64 bit version of Mplayerc? particularly when internal filters are disabled!

You'd expect the x64 version to use less CPU but mine used noticeably more! - mind you that is with 64 bit ffdshow and the latest 32/64 bit version of ac3filter installed.I don't think the 64bit version is "really" 64bit, its just a 32bit program compiled to run natively on 64bit cpu, but not optimised to use 64bit exclusive functions.

applications compiled this way are almost always 0-20% faster than their 32bit counterparts. So something does seem to be wrong

Steveo08
20th June 2009, 10:10
Holy crap! Ar-Jar's features are going to push MPC-HC into a completely new level of quality playback. This is very exciting! For anybody who hasn't seen what his features can do, you better check out his thread. Its ridiculous how stable he got playback to be.



and where can i download ar-jar's version?

Momber
20th June 2009, 10:41
Hi!

The options "Remember DVD position" and "Remember file position" under Miscellaneous are greyed out (Vista SP2, Ati 3650 w/ Catalyst 9.5, EVR CP).
What are the requirements for this feature to work?

Leak
20th June 2009, 11:47
I don't think the 64bit version is "really" 64bit, its just a 32bit program compiled to run natively on 64bit cpu, but not optimised to use 64bit exclusive functions.
There's not much you can do in C/C++ to "optimise" for the extra 64bit functionality (more registers etc. - that's up to the compiler.

What's happening here is most probably that there is no 64 bit equivalent for most 32 bit assembly code used only in those time-critical places where hand optimization makes sense.

np: Lackluster - live @ Artmospheric Festival (Artmospheric Sessions)

Jong
20th June 2009, 12:33
and where can i download ar-jar's version?I don't think you can, yet. At the moment he has his own player, which you can try. The work currently underway is to see if the benefits of that player can be incorporated into, the otherwise more sophisticated, MPC-HC.

clsid
20th June 2009, 13:14
Hi!

The options "Remember DVD position" and "Remember file position" under Miscellaneous are greyed out (Vista SP2, Ati 3650 w/ Catalyst 9.5, EVR CP).
What are the requirements for this feature to work?
Enable "Keep history of recently opened files".

carnage_pl
20th June 2009, 22:56
probably it was already written many times but how can i translate/update the translation?

Betsy25
21st June 2009, 03:29
YES! That's exactly what it looks like. When you go to the new site you FEEL like you're in a scamware site that is trying to make you pay for a piece of software that is completely open-source and free. The webmaster should get rid of the family photo and clean up the existing layout to make it look more professional so as not to turn off potential new users of MPC-HC, because when the new stable version comes out, it will be spread all over the net as newsworthy software and that site makes it look like scamware.

I'd go with a minimalist design that looks professional.

To me these kind of All-Happy photo's feel like "Click the Order button. Click the ORDER BUTTON !!!"

Momber
21st June 2009, 14:48
Enable "Keep history of recently opened files".
Cool! Thanks!

gngn
22nd June 2009, 01:00
files like this one (http://www.mediafire.com/download.php?dznmzvlnmtq) (the 13 sec video i also posted here about #8328 (http://forum.doom9.org/showthread.php?p=1294591#post1294591)), dont show the haotic judder that happens with MPC-HC since r1141 on XP, if i use the standalone H264-DXVA filter r.1161 and ar-jar's GothPlayer (or the standalone filter and BSPlayer). but standalone filter and old MPC, or the old MPC-HC, regardless of output renderer will still have the haotic judder. i wonder why. the judder/dropped frames problem with XP doesnt seem to be only decoder related

sd4
22nd June 2009, 21:10
is it possible to modify the view presets "Minimal - Compact - Normal" ? I don't want to see the "Caption&Menu" in the Compact preset.

STaRGaZeR
23rd June 2009, 18:20
Any news about the refresh rate detection Beliyaal?

ADude
24th June 2009, 02:02
Any news about the refresh rate detection Beliyaal?

http://2.bp.blogspot.com/_xSsJtkTA9o4/SNhWWqSN-yI/AAAAAAAAAcU/D36nWAu67fU/s320/12-07_KittenSleeping.jpg

lych_necross
24th June 2009, 07:14
@ADude
:D

JohnLai
24th June 2009, 12:17
Hmm....apparently, if the option "reintialize when display changing" is unchecked, the output range of the Renderer Setting do not work. Anyone can confirm this?

starla_
24th June 2009, 12:37
Hi Casimir, clsid, Beliyaal... and rest of the MPC-HC development team members!

Would it be possible in the future the allow H.264 decoder to accept PES stream as an input in addition to H.264 Access Unit stream type?

Why?

It would allow the only open source, hardware accelerated H.264 directshow decoder (MPC-HC), to be used with wider range of applications (MediaPortal included).

Currently there are many demultiplexers that are incompatible with the MPC-HC codec as it "passes" stream decoding responsibilities to the multiplexer side.

ffdshow has added similar functionality in last fall and all other (commercial) H.264 codecs are supporting both types of H.264 stream from the source filter.

Currently incompatible source filters / demultiplexers are:

TsReader from MediaPortal
DVBSource from DVBViever
Elecard
MS MPEG-2 Demultiplexer
Sonic HD Demux


DVBViewer forum thread about the issue: http://www.dvbviewer.info/forum/index.php?showtopic=29657

Best regards,
tourettes from MediaPortal team.

Mirabel
24th June 2009, 12:45
Is there any command line switch to start playback at a certain point of time, like /play /time=mmss?

clsid
24th June 2009, 15:54
You can find a full list of command line switches in the Help menu of MPC. That includes one that you want.

DWells55
25th June 2009, 03:40
IS there any plan to improve the MP3 tag reading in MPCHC? I like using it as an audio player since it's simple and lightweight, but as it stands right now, it refuses to read any of my MP3 files' tags. My entire library is tagged exclusively with ID3v2.3 and no ID3v1 tags (which it seems is all MPC supports). Does anyone know of a plugin or in something that would read newer ID3 tags? I'd like for MPCHC to feed accurate data to Pidgin for my status instead of simply the filename. Thanks.

Ger
25th June 2009, 04:21
Would it be possible in the future the allow H.264 decoder to accept PES stream as an input in addition to H.264 Access Unit stream type?
+1 :goodpost:

I assume this is why DVBViewer crashes when trying to use MPCVideoDec.ax.

I would also like to quote CiNcH from the thread starla_ linked to:
My goal is to finally have a replacement for the CyberLink decoder when it comes to DXVA.
This has been my goal for a while as well.

neoufo51
25th June 2009, 10:57
IS there any plan to improve the MP3 tag reading in MPCHC? I like using it as an audio player since it's simple and lightweight, but as it stands right now, it refuses to read any of my MP3 files' tags. My entire library is tagged exclusively with ID3v2.3 and no ID3v1 tags (which it seems is all MPC supports). Does anyone know of a plugin or in something that would read newer ID3 tags? I'd like for MPCHC to feed accurate data to Pidgin for my status instead of simply the filename. Thanks.
I'm sure this could be applied with a simple library update but I think the devs are too concerned with video performance in the upcoming stable build to worry about that right now. I'm sure it can be done right after the stable build is released, however.

alexins
25th June 2009, 15:29
Media Player Classic HomeCinema (x86/x64), svn 1163 (http://www.xvidvideo.ru/content/view/805/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/)

(1162-1163)
VSFilter: blacklisted Google Desktop;
Updated Swedish translation and cosmetic change (control overlap).

deets
25th June 2009, 16:36
+1 :goodpost:

I assume this is why DVBViewer crashes when trying to use MPCVideoDec.ax.

I would also like to quote CiNcH from the thread starla_ linked to:

This has been my goal for a while as well.

+2 :) I found cyberlink decoder to stutter on my stuff :( only using arcsoft would i get smooth on the fly deinterlacing.

would love to use mpc video decoder for live streams, just the one tool would cover all my use :(

Ger
26th June 2009, 05:30
Yes, I seem to remember noticing the same thing. Cyberlink probably uses a regular bobber or some other deinterlacing method that isn't so good with fast motion. Arcsoft may be using a more advanced algorithm or hardware deinterlacing.

I stuck with the Cyberlink decoder in DVBViewer because the OSD wasn't shown with Arcsoft (something about DVBViewer needing a secondary input pin for OSD IIRC), and I also had problems getting DXVA to stay enabled with Arcsoft. But this was with older bundle/OEM versions of Arcsoft, so they may have been fixed in the more recent/retail versions for all I know.

CoreAVC is another commercial option for Nvidia owners (using CUDA), but the CPU usage is still a little higher than Cyberlink/DXVA and it also has some other problems with aspect ratio with H.264 SD streams etc.

Anyway, this is drifting off topic, so let's get back to MPC-HC, which hopefully one day (thanks to the developers spending their free time to improve it) will be the free alternative that allows us to ditch the commercial decoders permanently. :)

Octo-puss
26th June 2009, 06:43
Does anybody know what's the status on 64bit Haali media splitter?

Mercury_22
26th June 2009, 10:03
@ devs

I have some proposals / questions referring the DEFAULT settings in MPC-HC !

1. Whay not check the Matroska and Ogg internal splitters by default cause they are now working as well as all the other internal splitters which are check by default ?

2. Both VC1 filters (DXVA and nonDXVA) should be UNcheck by default cause they are NOT working with VC1 i (and some times not even with VC1 p) which is more common than VC1 p by far and also the WMVideo Decoder DMO, which is already there, it's working now ( :thanks: Beliyaal ) with both VC1 i and VC1 p ?

3. For Resizer, IF Bilinear (PS 2.0) means Bilinear Pixel Shader 2.0 why not select it by default since If there is no Pixel Shader 2.0 support, simple bilinear is used automatically

All this, for making MPC-HC (as much as possible) more easy to use for the "newbie" ( all ) users :helpful:

clsid
26th June 2009, 13:13
1. Whay not check the Matroska and Ogg internal splitters by default cause they are now working as well as all the other internal splitters which are check by default ?They do NOT work as well as other splitters. In fact the internal splitters have several bugs and limitations.

I suggest you stop providing suggestions. The devs are more than capable of making their own decisions.

Mercury_22
26th June 2009, 14:32
They do NOT work as well as other splitters. In fact the internal splitters have several bugs and limitations.

I suggest you stop providing suggestions. The devs are more than capable of making their own decisions.

Totally agree ! (maybe I wasn't clear enough ?!) but that wasn't my point ! the other internal splitters also do not work as well as other external splitters and they are check by default . (example the internal mp4 splitter and Haali's mp4 splitter)

P.S. I will appreciate if you will ignore my posts in the future ( http://forum.doom9.org/forum-rules.htm )

clsid
26th June 2009, 14:43
Well, you clearly said the opposite in your first post.

Disabling more of the internal filters is not a bad idea, provided that (1) a commonly used external alternative exists that is better, or (2) the internal filter has bugs that impact the user experience of the average user.

Disabled internal filters will automatically get used (in low merit mode) when no external filter is available.

diman1982
26th June 2009, 20:28
I think, it will be usefull for others:

Sometime ago i had a complex problem with tearing/av-desync in 24hz refresh mode watching 24p hdrips. MPC-HC(with beliyaal edits) seemed to solve my problem(evr custom renderer) and i was happy until i started noticing a very poor quality of evr-custom(awful pixelization of upscaled dvds and hd-rips)

So, i started research (again:)). And today i found the ultimate solution. All this time i was using external haali mkv spliter. As it turned out it was not a good idea. I cheked the "matroska" checkbox in Internal filters so mpc-hc could use it's internal mkv spliter. After that i started to watch hd fragments with 2 renderers(only overlay mixer and vmr7-windowed have a really good quality). And finally i chosed vmr7windowed.

My combination now is: winxpsp3 + nvidia9500gt + coreavc(with cuda enabled) + internal mpchc mkv spliter + vmr7windowed. It's advantages:
- no avsynс problems(it's very important. VMR7windowed combined with internal mkv splitter somehow manages to dynamically eliminate desync)
- no tearing problems
- ability to zoom picture and change aspect ratio.
- best PQ
- all above works for both hd and dvd(for dvd i'm using internal mpc mpeg splitter.)

ADude
27th June 2009, 02:34
Pixelation of upscaled video is perhaps due to using bilinear instead of bicubic.
I cannot imagine why choice of renderer would affect upscaling, unless the scaling method changes.

diman1982
27th June 2009, 08:53
Pixelation of upscaled video is perhaps due to using bilinear instead of bicubic.
I cannot imagine why choice of renderer would affect upscaling, unless the scaling method changes.
no, i tried all methods available in the evr-cp properties.
i will try to post screenshots

ikarad
27th June 2009, 16:31
I have one question:
I use MPc homecinema 972 and I use lock back buffer two years ago. With lock back buffer there isn't tearing. BUt I notice that since two months in the different versions of mpc, there isn't lock back buffer option.

Why destroy an option very usefull?

I am very disappointed.

With Alternate vsync or vsync it is less good. I have tearing and it's more complicated than before to configure.

Brazil2
27th June 2009, 16:38
I notice that since two months in the different versions of mpc, there isn't lock back buffer option.
http://forum.doom9.org/showthread.php?p=1297651#post1297651
One option seems to have been removed, "lock back buffer", this is not the case, the option is now named "Flush GPU after present"

gngn
27th June 2009, 16:45
according to Beliyaal: "Lock back buffer removed in favor of Event Query (always enabled)." (post 191 (http://forum.doom9.org/showthread.php?p=1261819#post1261819))

try VSync+AccurateVSync (keep alternative VSync disabled). also enable all options related to GPU flushes: "All these are a replacement for lock backbuffer in the current SVN.": post 626 (http://forum.doom9.org/showthread.php?p=1273269&highlight=lock+back-buffer#post1273269)).

ikarad
27th June 2009, 16:59
according to Beliyaal: "Lock back buffer removed in favor of Event Query (always enabled)." (post 191 (http://forum.doom9.org/showthread.php?p=1261819#post1261819))

try VSync+AccurateVSync (keep alternative VSync disabled). also enable all options related to GPU flushes: "All these are a replacement for lock backbuffer in the current SVN.": post 626 (http://forum.doom9.org/showthread.php?p=1273269&highlight=lock+back-buffer#post1273269)).

thnaks.
But I have two questions:
1) What is the true differences between vsync and accurate vsync because in the wiki it's not easy to understand?

2) Alternative vsync is just for D3D fullscreen option or not?

gngn
27th June 2009, 17:14
1.) besides Beliyaal i dont think anyone could give you an exact response to that. "Vsync" will enable the anti-tearing and anti-stuttering fixes Beliyaal implemented. also you need to have "Vsync" enabled to use accurate and alternative Vsync correctly. or so i understood from what i read. accurate Vsync will enable "something" that should give an even better Vsync.

2.) alternative Vsync is for manually increasing/decreasing the vsync offset (with Ctrl+Alt+UP, Ctrl+Alt+DOWN), and from what i experienced it will lead to tearing if i just enable it and dont manually adapt the vsync offset to the particullar video im playing. it's not only D3D fullscreen related

ADude
27th June 2009, 19:44
1.) besides Beliyaal i dont think anyone could give you an exact response to that.

Someone decided to incorporate the code before it was adequately explained.

We are hoping the settings can be technically
described, so that we can test them prior to a "stable" version release.

For example, I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

bur
28th June 2009, 00:05
I still have this bug with VMR9 (https://sourceforge.net/tracker/?func=detail&aid=2799089&group_id=170561&atid=854651) freezing after hibernate or fullscreen applications and did file it at sourceforge a couple of weeks ago. Any idea if this will be fixed any time soon?

Are there others with that problem as well, or is it just me?

I don't want to annoy the devs, it's just that I'd like to know if I can expect this to be fixed in the next month or rather this year? So I don't check sourceforge every few days... :)

gngn
28th June 2009, 01:11
Someone decided to incorporate the code before it was adequately explained.
We are hoping the settings can be technically
described, so that we can test them prior to a "stable" version release.

the "new" Beliyaal code has proven it's usefulness for me, no tearing on my CRT monitor, but pretty smooth fps judder, and no dropped frames even with the latest soft-sub-karaoke the anime-fansubs use. i had problems at the beginning, partially because the new settings weren't fool-proof explained, and partially because i'm not that tehnically inclined i guess, so i tested "differerent/all posible" settings for the visual outcome. not something you could ask the broad public after the next stable release.

Beliyaal said he will provide us with a detailed description of his new implemented fixes, but although he last signed up a day ago, his last post on doom9 is almost a month old. Casimir666's last post is more than 10 days old, even tetsuo55 hasnt been posting in this thread for over a week. i really and sincerely hope there aren't any problems ....

tetsuo55
28th June 2009, 10:15
Yeah Real-Life(TM) has cought up with everyone (madshi is missing too)

Realistically i would say all volunteer open source programs like this one will see slow developement over the summer (due to vacations and extra work at the office due to others taking vacations)

I'm on vacation right now actually!


I still have this bug with VMR9 (https://sourceforge.net/tracker/?func=detail&aid=2799089&group_id=170561&atid=854651) freezing after hibernate or fullscreen applications and did file it at sourceforge a couple of weeks ago. Any idea if this will be fixed any time soon?

Are there others with that problem as well, or is it just me?

I don't want to annoy the devs, it's just that I'd like to know if I can expect this to be fixed in the next month or rather this year? So I don't check sourceforge every few days... :)don't expect this to be fixed any time soon, the bug is elusive, as far as the dev's can see we follow the windows hibernation guidelines to the letter.

ADude
28th June 2009, 20:34
Yeah Real-Life(TM) has cought up with everyone (madshi is missing too)

Realistically i would say all volunteer open source programs like this one will see slow developement over the summer (due to vacations and extra work at the office due to others taking vacations)

I'm on vacation right now actually!

All that is just fine.

My only concern was when I heard some desire to rush out a new "stable" release that has not been adequately tested.

I'm in no rush, fall would be fine...

Mixer73
29th June 2009, 14:03
don't expect this to be fixed any time soon, the bug is elusive, as far as the dev's can see we follow the windows hibernation guidelines to the letter.

I'd wager this is a driver problem relating to hibernation rather than MPC bug.

DrNein
29th June 2009, 16:27
hmm oddly no.... might have to try vista.

Indeed, with XP, "VMR9 renderless" and "EVR Custom Pres." cause awful tearing and pixelization.

So, simply use "VMR7 windowed" ("System Default" should also result in same). It has the best quality and features with the only exception being losing DXVA when subtitles are present. In that case, a seperate configuration using "VMR9 renderless" can be used with a shortcut on the Send To menu.

ADude
29th June 2009, 19:32
UAC disabled:
When trying to playback a DVD rip from HD, MPC produces the error: DVD Incompatible Disc and Decoder Regions.

UAC enabled:
Playback with MPC works as expected

Is there no other solution than always enabling UAC just for playback a DVD with MPC (or WMP) from HD?

No one ever answered this, perhaps clsid has some insight ?

I just encountered the same thing, using a rip from a DVD that I own:

- MPC plays the DVD fine.
- MPC has the above error when asked to play the rip.
- VLC will play the rip fine.

mark0077
29th June 2009, 21:17
No one ever answered this, perhaps clsid has some insight ?

I just encountered the same thing, using a rip from a DVD that I own:

- MPC plays the DVD fine.
- MPC has the above error when asked to play the rip.
- VLC will play the rip fine.

Are you trying to play the disk from an external drive. Vista has some strange bug that playing dvd rips that are residing on external drives won't work properly in some players.

starla_
29th June 2009, 21:41
Are you trying to play the disk from an external drive. Vista has some strange bug that playing dvd rips that are residing on external drives won't work properly in some players.

In Vista MS DVD Navigator doesn't allow playing DVDs from external hard disk. So it is intended behavior and players that are failing are most likely using MS DVD Navigator as source fitler.

tetsuo55
29th June 2009, 22:09
In Vista MS DVD Navigator doesn't allow playing DVDs from external hard disk. So it is intended behavior and players that are failing are most likely using MS DVD Navigator as source fitler.unfortunately that is the only navigator that will work with mpc

ADude
30th June 2009, 05:15
Yes, external drive, thanks for the replies !

Copying to internal drive is a simple workaround.

kumi
30th June 2009, 05:49
In Vista MS DVD Navigator doesn't allow playing DVDs from external hard disk.That is ridiculous. Is it the same in Windows 7 RC1?

starla_
30th June 2009, 18:42
That is ridiculous. Is it the same in Windows 7 RC1?

Wouldn't be suprised if Hollywood was behind such request. After all, no original DVD is delivered as a folder on a hard disk :P

starla_
30th June 2009, 18:46
unfortunately that is the only navigator that will work with mpc

Maybe it's time to fix MPC-HC :)? What kind of issues MPC-HC has with other DVD navigators?

If it is only menu issues then the sollution is following: DVD navigator should be always used with corresponding MPEG2 decoder (Cyberlink's DVD Navigator with Cyberlink's MPEG2 codec, Vista MS DVD Navigator with Vista's MPEG2 decoder etc.). This is how it works perfectly in MediaPortal. Mixing the decoder and navigator filters causes just lot of non-working DVD manus.

tetsuo55
30th June 2009, 19:56
Can anyone check that with MPC?

"matching decoder and navigator"

Inspector.Gadget
30th June 2009, 20:48
Setting the Cyberlink navigator and decoder to preferred here and block the Microsoft ones allows the use of the decoder but still appears to use the MS navigator.

v0lt
1st July 2009, 17:13
А fix for On top->While Playing mode, when the user stops the play by space botton:
void CMainFrame::OnPlayPauseI()
{
if(m_iMediaLoadState == MLS_LOADED)
{
//I cut this line:
//SetAlwaysOnTop(AfxGetAppSettings().iOnTop);

if(m_iPlaybackMode == PM_FILE)
{
pMC->Pause();
}
else if(m_iPlaybackMode == PM_DVD)
{
pMC->Pause();
}
else if(m_iPlaybackMode == PM_CAPTURE)
{
pMC->Pause();
}

SetTimer(TIMER_STREAMPOSPOLLER, 40, NULL);
SetTimer(TIMER_STREAMPOSPOLLER2, 500, NULL);
SetTimer(TIMER_STATS, 1000, NULL);

//and paste where
SetAlwaysOnTop(AfxGetAppSettings().iOnTop);
}

MoveVideoWindow();
m_Lcd.SetStatusMessage(ResStr(IDS_CONTROLS_PAUSED), 3000);
SetPlayState (PS_PAUSE);
}
it's work. look please.

Duker
1st July 2009, 19:17
Hi,

MPC can play Canon 5D Mark II Movies (H264 MOV), but without audio.

here is a sample:
http://rapidshare.com/files/250770170/MVI_0823.MOV.html

I get this error:


MVI_0823.MOV::Output 2

Media Type 0:
--------------------------
Audio: 0x0000 44100Hz stereo

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {74776F73-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 94

WAVEFORMATEX:
wFormatTag: 0x0000
nChannels: 2
nSamplesPerSec: 44100
nAvgBytesPerSec: 0
nBlockAlign: 4
wBitsPerSample: 16
cbSize: 76 (extra bytes)

pbFormat:
0000: 00 00 02 00 44 ac 00 00 00 00 00 00 04 00 10 00 ....D¬..........
0010: 4c 00|00 00 00 4c 73 6f 77 74 00 00 00 00 00 00 L....Lsowt......
0020: 00 01 00 01 00 00 00 00 00 00 00 02 00 10 00 00 ................
0030: 00 00 ac 44 00 00 00 00 00 01 00 00 00 02 00 00 ..¬D............
0040: 00 04 00 00 00 02 00 00 00 18 63 68 61 6e 00 00 ..........chan..
0050: 00 00 00 65 00 02 00 00 00 00 00 00 00 00 ...e..........

her34
1st July 2009, 20:05
ogg videos don't play in mpc

sample:
http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html

Leak
1st July 2009, 20:15
ogg videos don't play in mpc

sample:
http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html
I've downloaded the OGV file that's linked to on that page, and it plays just fine with MPC-HC's built-in Theora and Vorbis decoders...

np: Sascha Funke - Double-Checked (Mango)

Keiyakusha
1st July 2009, 20:23
Same here (http://i44.tinypic.com/2lc0ks0.jpg). Works fine.

_xxl
1st July 2009, 20:33
Setting the Cyberlink navigator and decoder to preferred here and block the Microsoft ones allows the use of the decoder but still appears to use the MS navigator.
If I remember correctly MS DVD navigator is hard coded to be used in mpc. I have tested some time ago and found that Nero and Cyberlink Navigator can be used in MPC.

clsid
1st July 2009, 20:49
Hi,

MPC can play Canon 5D Mark II Movies (H264 MOV), but without audio.

here is a sample:
http://rapidshare.com/files/250770170/MVI_0823.MOV.html
It contains TWOS audio.

ffdshow can decode that if you enable "uncompressed audio".

73ChargerFan
1st July 2009, 22:04
If I remember correctly MS DVD navigator is hard coded to be used in mpc. I have tested some time ago and found that Nero and Cyberlink Navigator can be used in MPC.

Cool, can this be made into a registry hack for testing by others?

73ChargerFan
1st July 2009, 22:07
Can someone tell me the registry key to activate D3D Fullscreen GUI support ???

I can't find a way to activate it, because the popup menu item is disabled unless you are playing a video in D3D fullscreen, but then you can't see the popup menu! :sly:

Leak
1st July 2009, 22:17
Can someone tell me the registry key to activate D3D Fullscreen GUI support ???

I can't find a way to activate it, because the popup menu item is disabled unless you are playing a video in D3D fullscreen, but then you can't see the popup menu! :sly:
Errr... at least for VMR9 it's selectable as long as a video is opened. No need for the player to be in Direct3D fullscreen...

np: Broker/Dealer - Midnight (100)

her34
1st July 2009, 22:33
I've downloaded the OGV file that's linked to on that page, and it plays just fine with MPC-HC's built-in Theora and Vorbis decoders...

np: Sascha Funke - Double-Checked (Mango)

that's odd.

i get an error "cannot render the file"

all boxes are checked on internal filters page. mpc-hc 1164

73ChargerFan
1st July 2009, 23:08
Errr... at least for VMR9 it's selectable as long as a video is opened. No need for the player to be in Direct3D fullscreen...

Not with 1160 - tried vmr9 windowed, renderless, other options in output options page. It is always greyed out in the popup menu. In short, I've no way to enable it.

Keiyakusha
1st July 2009, 23:16
I can't find a way to activate it, because the popup menu item is disabled unless you are playing a video in D3D fullscreen, but then you can't see the popup menu! :sly:

It is possible to turn it on/off without playing a video if you set EVR custom renderer.
Edit: well, yes, its selectable with VMR renderless too... but not windowed. so change your renderer...

kumi
1st July 2009, 23:45
that's odd.

i get an error "cannot render the file"

all boxes are checked on internal filters page. mpc-hc 1164Same here w/ MPC-HC 1161.

Leak
2nd July 2009, 00:27
Well, this HTML page (http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html) of course fails to render in MPC-HC, but this download link found on that page (http://videos.mozilla.org/firefox/3.5/overview/overview.ogv) when pasted into MPC-HC's "Open file" dialog streams just fine...

np: Jackie Leven & The Celtic Soulmen - Golf On The Moon (The Haunted Year: Spring - Man Bleeds In Glasgow)

neoufo51
2nd July 2009, 09:58
Well, this HTML page (http://www.mozilla.com/en-US/firefox/video/firefox-3.5.html) of course fails to render in MPC-HC, but this download link found on that page (http://videos.mozilla.org/firefox/3.5/overview/overview.ogv) when pasted into MPC-HC's "Open file" dialog streams just fine...

np: Jackie Leven & The Celtic Soulmen - Golf On The Moon (The Haunted Year: Spring - Man Bleeds In Glasgow)
Yeah I tried to open those new HTML5 videos with MPC-HC as well but it "Cannot render the file"

VLC plays them fine, sadly enough.

Leak
2nd July 2009, 14:19
Yeah I tried to open those new HTML5 videos with MPC-HC as well but it "Cannot render the file"

VLC plays them fine, sadly enough.
It's probably MPC-HC's built-in Ogg splitter; seems I was using Haali's splitter at home when I tested it. clsid wrote somewhere else that it doesn't yet support Theora correctly.

carnage_pl
2nd July 2009, 16:23
I ask again, How can I translate MPC-HC?

clsid
2nd July 2009, 16:41
Send a PM to Casimir666 and he will send you translation instructions.

Duker
2nd July 2009, 20:16
Originally Posted by Duker View Post
Hi,

MPC can play Canon 5D Mark II Movies (H264 MOV), but without audio.

here is a sample:
http://rapidshare.com/files/250770170/MVI_0823.MOV.html

It contains TWOS audio.

ffdshow can decode that if you enable "uncompressed audio".

o.k. i use MPC HC only and i can't hear audio? Why can't MPC support this codec?

clsid
2nd July 2009, 20:58
Because MPC-HC does not and will not include support for every audio and video format in existence. Period.

Snowknight26
4th July 2009, 04:13
There is noticable corruption when playing a video with DXVA over RDC (from a Win 7 machine to another Win 7 machine).

http://i44.tinypic.com/2e5vaft.png

tetsuo55
4th July 2009, 08:41
IBM claims to have made a new version of GCC that is intelligent and results in up to 18% faster code:
http://www-03.ibm.com/press/us/en/pressrelease/27874.wss

this could help speed up the non-Visual C parts of MPC and FFdshow

_xxl
4th July 2009, 09:53
ffmpeg is fast because it uses hand written asm code, I don't know how much faster this version is going to be.

lych_necross
5th July 2009, 07:05
A "faster" compiler is no substitute for well written code. Especially for well hand-written assembly code :)

cheetah111
5th July 2009, 12:19
Hi all,

Does anyone know if there is a command prompt switch for playing an mkv file using the secondary audio stream that is included in the mkv? (I convert my blu-rays to mkvs and include as default audio stream the lossless flac conversion of true-hd or dts-hd and as secondary audio stream the untouched true-hd or dts-hd stream)

Also, I have installed the 64 bit version of mpc-hc on win7 x64. Do I need to install the 64 bit versions of the various filters (ffdshow, haali media splitter, etch.), or any 32 bit version will work?

A great thanks to all the developers and contributors.

clsid
5th July 2009, 12:22
The 64-bit player needs 64-bit filters.

I recommend using the 32-bit version of MPC on 64-bit version of Windows. More stable and better availability of the various filters.

cheetah111
5th July 2009, 12:35
Thanks clsid.
I will follow your advice.

tetsuox
6th July 2009, 17:40
Does anyone know if there is a command prompt switch for playing an mkv file using the secondary audio stream that is included in the mkv? (I convert my blu-rays to mkvs and include as default audio stream the lossless flac conversion of true-hd or dts-hd and as secondary audio stream the untouched true-hd or dts-hd stream)

I don't think there is such an option. If the two audio tracks are of different languages and properly muxed into mkv with corresponding three-letter country codes, then Haali Media Splitter can be configured which language will be prioritized upon playback.

You could use this feature of Haali Splitter & Mkv by muxing one audio track as eng for example and the 2nd track as jpn, or whatever country code you want to arbitrarily use, and set your priorities for audio track priority in Haali.

cheetah111
7th July 2009, 16:26
You could use this feature of Haali Splitter & Mkv by muxing one audio track as eng for example and the 2nd track as jpn, or whatever country code you want to arbitrarily use, and set your priorities for audio track priority in Haali.
Unfortunately both audio tracks have been muxed with eng tags because they are both english tracks! (the only difference is that the default track is flac and the secondary is true-hd or dts-hd or eac3).
I can change audio track by pressing the "a" key but I do not know if this works as my amplifier cannot play true-hd or dts-hd, so if anyone has done this before please provide feedback.
Thanks.

Snowknight26
8th July 2009, 02:34
MPC-HC seems to disregard the default track flag when muxing MKVs with mkvmerge. Instead, it plays the track with the lowest ID by default. Should be an easy fix.

St Devious
8th July 2009, 05:23
MPC-HC Caused ATI driver to fail and a BSOD. Using HD 4870 with Cat 9.6 and Win 7 RC.

I downloaded few mp4 trailers from apple site and few MKV ones from Divx. Muxed them to one file using mkvtoolnix.

Tried playing the file with Haali Splitter. It worked fine. Changed MPC-HC to use its own splitter, and the driver crashed and them a BSOD afterwards

Here's the info on the file

General
Complete name : E:\Muxed.mkv
Format : Matroska
File size : 2.83 GiB
Duration : 10mn 58s
Overall bit rate : 36.9 Mbps
Encoded date : UTC 2009-07-08 04:06:57
Writing application : mkvmerge v2.9.7 ('Tenderness') built on Jul 1 2009 18:43:35
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video #1
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.400
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #2
ID : 3
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 58s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 24.000 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Title : Main title
Language : English

Video #3
ID : 6
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 58s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 24.000 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Title : Main title
Language : English

Video #4
ID : 16
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #5
ID : 18
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.400
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #6
ID : 20
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 816 pixels
Display aspect ratio : 2.35
Frame rate : 23.976 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Title : Main title
Language : English

Video #7
ID : 22
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@4.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.400
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #8
ID : 24
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #9
ID : 26
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@3.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #10
ID : 28
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 57s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive

Video #11
ID : 30
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Muxing mode : Container profile=Unknown@4.0
Codec ID : V_MPEG4/ISO/AVC
Duration : 10mn 58s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.400
Frame rate : 24.000 fps
Standard : NTSC
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Title : Main title
Language : English

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits

Audio #2
ID : 4
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Title : English 5.1 Surround
Language : English

Audio #3
ID : 5
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Title : English Stereo
Language : English

Audio #4
ID : 7
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits
Title : English 5.1 Surround
Language : English

Audio #5
ID : 8
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Title : English Stereo
Language : English

Audio #6
ID : 17
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44.1 KHz
Resolution : 16 bits

St Devious
8th July 2009, 05:24
info continued

Audio #7
ID : 19
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44.1 KHz
Resolution : 16 bits

Audio #8
ID : 21
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Title : English Stereo
Language : English

Audio #9
ID : 23
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 16 bits

Audio #10
ID : 25
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44.1 KHz
Resolution : 16 bits
Language : English

Audio #11
ID : 27
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits

Audio #12
ID : 29
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 44.1 KHz
Resolution : 16 bits

Audio #13
ID : 31
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : A_AAC
Duration : 10mn 58s
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Language : English

Text #1
ID : 9
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : English
Language : English

Text #2
ID : 10
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : French
Language : French

Text #3
ID : 11
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : German
Language : German

Text #4
ID : 12
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Italian
Language : Italian

Text #5
ID : 13
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Polish
Language : Polish

Text #6
ID : 14
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Russian
Language : Russian

Text #7
ID : 15
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Spanish
Language : Spanish

Menu
00:00:00.000 : en:Prologue - fr:Prologue - de:Prolog - it:Prologo - pl:Prolog - ru:Пролог - es:Prólogo
00:00:27.250 : en:Switchboard trap - fr:Le piège du standard - de:Gefangen in der Schaltzentrale - it:Trappola del centralino - pl:Centrala-pułapka - ru:Коммутатор-ловушка - es:Trampa en la centralita
00:01:09.708 : en:Telephone/Lecture - fr:Téléphone / Leçon - de:Telefon/Lektion - it:Telefono/Rimprovero - pl:Telefon/Głosy - ru:Телефон/Наставление - es:Teléfono / Conferencia
00:03:44.000 : en:Typewriter - fr:La machine à écrire - de:Schreibmaschine - it:Macchina da scrivere - pl:Maszyna do pisania - ru:Пишущая машинка - es:Máquina de escribir
00:04:52.458 : en:Proog shows Emo stuff - fr:Proog montre des trucs à Emo - de:Proog zeigt Emo etwas - it:Proog mostra qualcosa ad Emo - pl:Proog przedstawia - ru:Пруг показывет Имо разное - es:Proog muestra cosas a Emo
00:06:27.292 : en:Which way? - fr:Quel chemin ? - de:Wohin? - it:Quale strada - pl:Którędy - ru:какой путь - es:Por dónde
00:07:08.500 : en:Emo flips out - fr:Emo déraille - de:Emo rastet aus - it:Emo perde la ragione - pl:Emo odwraca się - ru:Имо сходит с ума - es:Emo se vuelve majara
00:07:41.500 : en:Emo creates - fr:Emo crée - de:Emo erfindet - it:Emo crea - pl:Emo tworzy - ru:Имо творит - es:Emo crea

Aleksoid1978
8th July 2009, 07:13
Make short sample and upload.

Tima
8th July 2009, 11:03
Hi all!

Is there any way to make MPC-HC use *.mks files?

E.g., I have an *.ASS subtitle and two custom fonts for it; I want to mux all 3 files into single *.mks, and be able to load it.

hoborg
8th July 2009, 11:48
Hi all!

Is there any way to make MPC-HC to use *.mks files?
E.g., I have an *.ASS subtitle and two custom fonts for it; I want to mux all 3 files into single *.mks, and be able to load it.

Any reason why not mux subtitles directly inside MKV?

Tima
8th July 2009, 12:27
Any reason why not mux subtitles directly inside MKV?

There could be many reasons: I could want to store them externally; I could get such subs after burning *.mkv to DVD/Bluray, and so on.

These reasons are valid, but nevertheless, I think possible motivation is irrelevant to my question.

iron2000
8th July 2009, 19:19
After trying and trying I've found that "System Default" gives me the best video.
The VMRs and EVR constantly had tearing and sometimes not smooth playback.

But I've been getting smooth video with no tearing on System Default.
No need to tweak or force some special refresh rate with an extra program anymore.

lunkens
9th July 2009, 11:04
I've just browsed the web for a answer. But I can't really find one. Today I use MediaPortal with their internal media player. For many reason's I want to use MPC-HC as an external player but I cant cope with the "goto" function. As it requires a keyboard at least.

Is there a way to get MPC-HC to handle smart input commands like MediaPortal's internal player. Setting it so I just have to press 122 for scanning to 01:22:00 into the movie? This would change the whole concept of MPC-HC. :)

73ChargerFan
9th July 2009, 18:44
These reasons are valid, but nevertheless, I think possible motivation is irrelevant to my question.
Please add this to the feature tracker on sourceforge, (https://sourceforge.net/tracker/?group_id=170561&atid=854654) and create an account there please. (You can post as anonymous, but can't edit or be notified.)

We non-programmers try to be helpful, by suggesting alternative solutions. If you can program this, great, or perhaps find the specifications to mks, and add that to your feature request.

Inspector.Gadget
10th July 2009, 01:55
Can either the Cyberlink or Microsoft MPEG-2 decoder be used with the internal subtitle renderer when playing a DVD?

lych_necross
10th July 2009, 07:23
Can either the Cyberlink or Microsoft MPEG-2 decoder be used with the internal subtitle renderer when playing a DVD?
Why don't you try it and see? ;)

Inspector.Gadget
10th July 2009, 15:20
lych_necross, that's exactly what I've been trying to do and so far haven't been able to get it going. I was hoping for a workaround of some sort, because that combination with EVR Custom or VMR9 doesn't display subs.

Jong
10th July 2009, 15:25
Is there anything special you are trying to do with subs? because I use the Cyberlink MPEG-2 decoder for DVD playback (VMR9 renderless) and have never had any problem with subs.

Keiyakusha
10th July 2009, 15:28
It seems with internal mp4 splitter and DivX h264 decoder MPC-HC have some Aspect Ratio problems. If Pixel Aspect Ratio option in DivX decoder settings is set to "Trust Container" (I believe this is default), then MPC-HC doesn't do any aspect ratio correction (http://i30.tinypic.com/24e7y37.jpg). If I set "Trust Bitstream" in Divx Decoder, MPC-HC shows right aspect ratio (http://i28.tinypic.com/nxqasl.jpg), but always starts with black borders.
I'm using MPC-HC SVN 1164, Divx Decoder 1.1.0 and EVR-CP renderer.
Here is sample (http://www.mediafire.com/?twk2y0nnkyz) but so far this happens with any of my anamorphic encodes. (Actually this file I made for compressibility test, so be aware of タイヨウのうた spoilers, if there any)

Is this some known thing?

Inspector.Gadget
10th July 2009, 15:57
Is there anything special you are trying to do with subs? because I use the Cyberlink MPEG-2 decoder for DVD playback (VMR9 renderless) and have never had any problem with subs.

OK, I just got it to work. Apparently one has to explicitly disable DXVA in the Cyberlink codec config, as it won't automatically do this. Thank you both.

Sidebar: Is there some reason DXVA breaks subs when using DXVA with the Cyberlink decoder but not the internal H.264 DXVA decoder?

Jong
10th July 2009, 16:04
I'm using DXVA with the Cyberlink decoder :confused:

Inspector.Gadget
10th July 2009, 17:59
Jong - can you post the filters that MPC-HC is using to decode the DVD? Thus far, subs and menu highlighting only work for me with the Cyberlink decoder if I explicitly disable DXVA. With DXVA enabled, I can use the menus but there is no highlighting and subs don't show up. I'm beginning to think this might be some sort of version incompatibility, because so far no combination of external MPEG-2 filter and renderer works to get both DXVA and subs. Are you using the decoder from PowerDVD 9?

Jong
10th July 2009, 19:18
I have used both 7 & 8 in my time (don't have 9). Currently using 7. I definitely have no issue with menus & VMR9 (on XP SP3). EVR however does not show menu highlighting. I thought that had nothing to do with MPEG2 decoder, but now you have me thinking!

I will try to publish the filter list by tomorrow.

Inspector.Gadget
10th July 2009, 19:27
Thank you for your help. I'd love to get this all working now that I'm renting a lot of foreign-language DVDs where I need the subs.

Jong
10th July 2009, 19:36
Are you using XP or Vista? If XP you are using VMR9 renderless, aren't you?

Inspector.Gadget
10th July 2009, 19:43
I'm on Vista SP2 x64. I use EVR Custom by default, but I've tried various combinations of decoders and renderers including VMR9 Renderless and I still can't get both DXVA and subtitles working at the same time.

Jong
10th July 2009, 19:48
Ah well my info may not be much use then.

As you probably know from the DXVA Support page, on Vista you have to use EVR CP. With EVR CP I get no menu highlighting, which may or may not be related to Cyberlink (I will test tomorrow). I do have a Vista 32 system, not a Vista 64 system, but I have not got Cyberlink on that system. I wil try to install the Cyberlink codec on Vista over the weekend and see how it goes!

Jong
10th July 2009, 23:24
Here are my fillters, but as I say this is XP SP3.

http://jong.pwp.blueyonder.co.uk/images/filters.jpg

http://jong.pwp.blueyonder.co.uk/images/cb_filter.jpg

Inspector.Gadget
11th July 2009, 00:00
Thank you, Jong. I'll see if any online retailers are still selling PDVD7 and see if I can use that decoder within Directshow. Since I have the same problem with Microsoft's MPEG-2 decoder and the Arcsoft one, I doubt that will help. Thank you for the info though.

ar-jar
11th July 2009, 01:02
Is it possible to build the latest svn revision of MPC with the latest DirectX SDK? I get a lot of errors indicating missing include files (and perhaps missing libraries as well when I come that far). Any hints anybody? Thanks! -A

Inspector.Gadget
11th July 2009, 01:07
what do you think about this?:

As near as I can tell you aren't using any subs :confused:

Inspector.Gadget
11th July 2009, 02:16
But you're not using DXVA in that shot, as far as I can tell. That's what I'm trying to do: get both DXVA and subtitles from MPC-HC's internal subtitle renderer when playing a DVD using any of the Microsoft/Cyberlink/Arcsoft decoders.

Inspector.Gadget
11th July 2009, 03:05
Thanks, but KMPlayer isn't going to do me any good if it can't do subs and DXVA simultaneously. I can already do one-or-the-other as it is.

kumi
11th July 2009, 03:46
it can't do subs and DXVA simultaneously.Do you want DXVA decoding, or deinterlacing, or what? The MPC-HC internal subtitle engine works fine for me with DXVA deinterlacing (using the ffdshow Video Decoder). Using EVR Custom on Windows XP.

Inspector.Gadget
11th July 2009, 04:10
ffdshow doesn't do DXVA. I want DXVA decoding with any external decoder (Microsoft, Cyberlink, Arcsoft) plus the display of DVD subs using MPC-HC's internal subtitle renderer. Maybe it can't be done, but I'd like to get a definitive answer.

73ChargerFan
11th July 2009, 04:37
Can someone tell me the registry key to activate D3D Fullscreen GUI support ???

I can't find a way to activate it, because the popup menu item is disabled unless you are playing a video in D3D fullscreen, but then you can't see the popup menu! :sly:

Errr... at least for VMR9 it's selectable as long as a video is opened. No need for the player to be in Direct3D fullscreen...
Thanks Leak... you were right.

It turns out that somehow I had "2d surfaces" selected. Changing to "3d Surfaces" fixed everything, and it now behaves as expected.

boyumeow
11th July 2009, 06:01
Is it possible to build the latest svn revision of MPC with the latest DirectX SDK? I get a lot of errors indicating missing include files (and perhaps missing libraries as well when I come that far). Any hints anybody? Thanks! -A

Would it helps if U install all the directx sdk in the same root folder, like overlapping each one. Thanks.

ADude
11th July 2009, 06:27
Gosh, go away for a couple of days, and people are reinventing the wheel ! :D

The Cyberlink MPEG2 + DXVA + DVD bug is well known and is already in the bug database. It is known for menu highlighting, I am not sure that subtitle aspect was previously known or not, so that may be an additional bit of information.

ar-jar
11th July 2009, 07:53
Would it helps if U install all the directx sdk in the same root folder, like overlapping each one. Thanks.

Not sure what would happen then. At least it would be an "unclean" build as it would be based on two versions of the SDK that wouldn't necessarily be compatible and could indeed be in conflict. Hopefully some experienced MPC dev makes the effort to bring everything up to date (if there isn't a magic trick that I haven't discovered). -A

Jong
11th July 2009, 08:26
Gosh, go away for a couple of days, and people are reinventing the wheel ! :D

The Cyberlink MPEG2 + DXVA + DVD bug is well known and is already in the bug database. It is known for menu highlighting, I am not sure that subtitle aspect was previously known or not, so that may be an additional bit of information.It did not mention the subtitle problem I have added it.

It was unclear if it affected just Cyberlink or all MPEG2 decoders in DXVA mode. I can confirm IG's comment it also affects the MS decoder.

It also suggested it affects all Windows versions, but XP SP3 definitely works fine here (with VMR9 renderless).

Thank you, Jong. I'll see if any online retailers are still selling PDVD7 and see if I can use that decoder within Directshow. Since I have the same problem with Microsoft's MPEG-2 decoder and the Arcsoft one, I doubt that will help. Thank you for the info though.I don't think PDVD7 will help, although I have not tested it. It does seem to affect all DXVA MPEG2 decoders on Vista (EVR CP).

if you look in the bug tracker though you will see you can get it to work by regressing to an earlier version. Maybe you can use one version for DVDs and one for other things?

Also, unless you are right up against it on CPU (and your PC would have to be very old) Kumi's suggestion of DXVA deinterlacing and ffdshow decoding sounds pretty good. DXVA deinterlacing is why I use the Cyberlink decoder.

_xxl
11th July 2009, 09:24
Is it possible to build the latest svn revision of MPC with the latest DirectX SDK? I get a lot of errors indicating missing include files (and perhaps missing libraries as well when I come that far). Any hints anybody? Thanks! -A
You need DirectX SDK (August 2007) Download (http://www.microsoft.com/downloads/details.aspx?FamilyID=529f03be-1339-48c4-bd5a-8506e5acf571&DisplayLang=en&displaylang=en) because later versions don't have WMR7. You could compare include and lib dir with latest and copy missing files from August 2007 SDK. Same issue with Win7 SDK, some file is missing and can be found in previous VISTA SDK. To compile you could use information from my opening post.

tetsuo55
11th July 2009, 10:19
Is there any reason to keep VMR7?

I believe all supported Os's support VMR9

ar-jar
11th July 2009, 10:26
You need DirectX SDK (August 2007) Download (http://www.microsoft.com/downloads/details.aspx?FamilyID=529f03be-1339-48c4-bd5a-8506e5acf571&DisplayLang=en&displaylang=en) because later versions don't have WMR7. You could compare include and lib dir with latest and copy missing files from August 2007 SDK. Same issue with Win7 SDK, some file is missing and can be found in previous VISTA SDK. To compile you could use information from my opening post.

Thanks, I'm building according to those instructions currently.

Casshern indicated in an other post that the "regular builds" were using a later version of the SDK, the reason being that some shaders don't work with the older SDK. And indeed, many of the shaders produce a lot of stutter on my machine (admittedly I'm using a fairly cheap ATI board). Thus my question. -A

PS. How long do we need to keep support for VMR7? Is anybody actually using it anymore?

tetsuo55
11th July 2009, 10:57
My friend google just told me there is no reason to keep VMR7, all windows version that can run MPC-HC have DirectX9c available as an update or already built in.

I also do not see any reason to keep supporting "windowed" renderers. As far as i can see it's just a crippled version of "renderless", and people can use Overlay if they want overlay features.

There really is no reason for 99% of users to not use EVR-CP or VMR9 renderless. For those who want software based renderers Haali, madVR and old-renderer are available.

All the others should be removed imho, and maybe "null" should be debug only or something.

The remaining options would be:

System default
Old Renderer (Software renderer)
Overlay mixer (hardware renderer)
VMR9 (hardware renderer)
EVR CP (hardware renderer)
Haali renderer (software renderer)
madVR (Software renderer)

(i personally also think we can dump system default and overlay mixer)

While in there we might as well redesign Quicktime and realmedia.
Simply make a checkbox (which is unchecked by default, which means "system default")

Use VMR9 for ... (when these boxes are not checked, the default renderers for these types are used)
Realmedia []
Quicktime []

i wonder if the realmedia and quicktime renderers can be so adjusted that any of the left side renderers would work, then we would only have to add 2 checkboxes

Use selected renderer for this media type instead of the default one (If this is not checked the custom proprierty renderer is used, check the box to use the renderer of your choice)
Realmedia []
Quicktime []

GTPVHD
11th July 2009, 11:09
I personally use VMR9 Renderless on XP SP3 for DXVA support and softsubs support from the internal subtitle engine.

You can't take screenshots using F5 with Overlay. And VMR9 Renderless and Haali is slower than VMR7 Windowed on older hardware. You should just keep all the VMR7 options, it doesn't really matter.

Of course on Vista/Win7, you should default it to EVR Custom for DXVA and softsubs support.

6233638
11th July 2009, 11:09
Is there any way to force MPC-HC to output a specific resolution when in fullscreen mode?

I want to have my windows desktop at 1080p60 and video at 1080p24.

There's a huge list with most of the resolutions supported by my nvidia 9400 but 1080p23 or 1080p24 aren't on that list for some reason. It only goes down to 1080p25.

Even if I set my desktop to 1080p24 (which I dont want) it doesn't show up in MPC-HCs list.


Oh and I found that if I do set a resolution from that option, when I close MPC-HC the process doesn't actually end and I have to use the task manager to close it.

tetsuo55
11th July 2009, 11:16
And VMR9 Renderless and Haali is slower than VMR7 Windowed on older hardware. You should just keep all the VMR7 options, it doesn't really matter. The difference is so small, i doubt anyone using MPC_HC actually has weak enough hardware to see any difference.

VMR9 and EVR-CP work perfectly fine on my GF4MX which is a low budget directx 6 card !!, Also my intel chipset 825 which is slightly newer than the GF4, has no problems with VMR9 and EVR-CP (haali is CPU limited on these systems)

avivahl
11th July 2009, 11:56
My friend google just told me The remaining options would be:

System default
Old Renderer (Software renderer)
Overlay mixer (hardware renderer)
VMR9 (hardware renderer)
EVR CP (hardware renderer)
Haali renderer (software renderer)
madVR (Software renderer)What about regular EVR (not CP)?

tetsuo55
11th July 2009, 12:00
I think regular EVR is the same as VMR# Windowed (but i could be mistaken)

-----

IMHO one should be able to compile MPC-HC with only the newest Directx and windows SDK's, this basically means that for the older stuff we need a zip file with those libraries.

Casimir and i have also been toying with the idea to create a custom mingw for MPC-HC.

Anyone who knows which headers are required from older SDK's could you please put them all on a zip file and host it somewhere? Casimir and i will work on a permanent hosting solution.

Neeto
11th July 2009, 12:10
It did not mention the subtitle problem I have added it.

It was unclear if it affected just Cyberlink or all MPEG2 decoders in DXVA mode. I can confirm IG's comment it also affects the MS decoder.

It also suggested it affects all Windows versions, but XP SP3 definitely works fine here (with VMR9 renderless).

I don't think PDVD7 will help, although I have not tested it. It does seem to affect all DXVA MPEG2 decoders on Vista (EVR CP).

if you look in the bug tracker though you will see you can get it to work by regressing to an earlier version. Maybe you can use one version for DVDs and one for other things?

Also, unless you are right up against it on CPU (and your PC would have to be very old) Kumi's suggestion of DXVA deinterlacing and ffdshow decoding sounds pretty good. DXVA deinterlacing is why I use the Cyberlink decoder.

I've been able to use DXVA deinterlacing on my 2600XT & 4650 with ffdshow by using the NV12 color space in latest ffdshow build and setting the deinterlacing mode in CCC. I uncheck all other colorspaces except NV12 & RGB32 in the ffdshow Output tab.
This way I can use ffdshow MPEG2 decoder, plus mess with any output Levels etc I need to make it match VMC LiveTV playback.

Regards, Neeto

clsid
11th July 2009, 12:11
VMR-7 should NOT be removed and this has already been discussed once in the past. VMR-7 (windowed) is the default renderer on XP, which is still the most used OS. There are still plenty of people who use it as a fallback when the other renderers have issues.

As for the DVD menu/subs issue: DVD menu highlighting is done with subtitles, so that is why the two issues are related.

tetsuo55
11th July 2009, 12:18
I don't think it's too much to ask from users to keep their windows updated, directx 7 is 10 years old now, XP even shipped with DirectX 8.

Can you describe some of the problems that would force a user to use VMR7 windowed?

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

EDIT:
I did some more googling on the subject.
Microsoft states it did not "force update" to VMR9 because some older applications where not able to cope with the new or changed functions, they do however recommend any actively developed application to use VMR9 "Renderless", windowed mode is a backwards compatibily feature for some older API's.
(Ofcourse MS recommends EVR (or a custom presenter variant) for Vista and up.)

As we are in full control of our own application, there is no reason to anything other than VMR9 renderless and EVR-CP.
(If VMR9 renderless and EVR-CP really are benchmark-measurably slower than the other hardware renderers, we should troubleshoot and optimise to minimize the difference), not coinsidentally these are the only 2 renderers on which every feature of MPC-HC actually works.


EDIT2:

Would it be possible to compile standalone renderers? We could compile a VMR7 etc renderer so people could still manually install and use it on later builds?

EDIT3:

And i also forgot to mention, there are a truckload of bugs with VMR7 that do not occur in any of the other renderers, which often lead to complete crashes (do note that i am unable to reproduce many of these bugreports)

clsid
11th July 2009, 13:00
VMR9 is also a buggy renderer in many people's opinion. Newer does not always equal better. On Windows XP, the Overlay Mixer is still my favorite. Not everyone cares about DXVA.

The dependency of MPC is mostly for VMR-7 (renderless) I assume, since that is a customized renderer. I doubt it would be needed to remove VMR-7 (windowed).

But why is the never SDK needed? Is there anything broken in the current one that has been fixed in the newer one?

The devs should imo concentrate on fixing the many existing bugs first, before considering removing stuff.

tetsuo55
11th July 2009, 13:19
Well there are currently 4 people interested in VMR9 and EVR from a programming standpoint, there is a real chance most or even all of the remaining bugs will eventually be fixed. (and both of these renderers have enough bugs, that's also true)

however nobody wants to touch VMR7 or Overlay renderer, or any of the "windowed" VMR versions.

Meanwhile renderers like madVR make even EVR seem obsolete...

The newer SDK('s) mainly fix a lot of bugs, and give the dev's access to newer features available in modern os's. In the case of DirectX the newest SDK makes some shader operations up to 2x faster. I doubt this is optimisation, i think MS found a bug that caused it to be 2x slower all these years.

Although i try to get as many bugs fixed as possible, the motivation for fixing them all not very high, a lot of them come from code that noone has even tried to understand yet. From a team-effort developement standpoint MPC-HC is a mess and a PITA to work with.

If you really want to get more bugs fixed, and know how to compile MPC-HC from scratch (assuming a system with no compiling environment and no svn access) and can put that into a easy to follow step by step guide you can be sure that within a short time 10-20 dev's will start submitting bug fixes.(I get approached by willing programmers several times per month, but they usually give up when it turns out MPC-HC is so difficult to compile, and at that point they haven't even complained about the lack of comments)

clsid
11th July 2009, 13:47
however nobody wants to touch VMR7 or Overlay renderer, or any of the "windowed" VMR versions.There is also no reason to touch a non-custom renderer.

If you really want to get more bugs fixed, and know how to compile MPC-HC from scratch (assuming a system with no compiling environment and no svn access) and can put that into a easy to follow step by step guide you can be sure that within a short time 10-20 dev's will start submitting bug fixes.(I get approached by willing programmers several times per month, but they usually give up when it turns out MPC-HC is so difficult to compile, and at that point they haven't even complained about the lack of comments)There already is a compilation guide in the first post:
To compile you need:
* Microsoft Visual C++ 2008 SP1
* Microsoft® Windows® Software Development Kit Update for Windows Vista™ Download
* BaseClasses from same SDK
* DirectX SDK (August 2007) Download
* For VS2008SP1 see ATL Server Library and Tools
* MinGW GCC 4.2.4 x86_32 MinGW - Minimalist GNU for Windows or TDM's GCC/MinGW32 Builds
* MinGW GCC 4.4.0 x86_64 MinGW - Minimalist GNU for Windows 64 to compile libavcodec_gcc.lib.
The baseclasses aren't needed anymore, since they are included in SVN.
The Windows SDK is also not really needed. Visual Studio already has its own Windows SDK.
An easy to use installer for MinGW32 can be found in the first post of the ffdshow topic.
Missing step: libgcc.a and libmingwex.a must be copied from MinGW into the \lib\ directory of MPC.

So updated guide could be:
To compile you need:
* TortoiseSVN
* Microsoft Visual C++ 2008 SP1
* Microsoft® Windows® Software Development Kit Update for Windows Vista™ (optional) (Download (http://www.microsoft.com/downloads/details.aspx?familyid=ff6467e6-5bba-4bf5-b562-9199be864d29&displaylang=en))
* DirectX SDK (must be August 2007 !!!) (Download (http://www.microsoft.com/downloads/details.aspx?FamilyID=529f03be-1339-48c4-bd5a-8506e5acf571&DisplayLang=en&displaylang=en))
* ATL Server Library and Tools (http://www.codeplex.com/AtlServer/Release/ProjectReleases.aspx?ReleaseId=3754)
* MinGW32. Installer can be found here: ffdshow discussion topic (http://forum.doom9.org/showthread.php?p=930660#post930660) (see bottom of the first post)
* Copy libgcc.a and libmingwex.a from the MinGW32 \lib\ directory to the \lib\ directory of MPC's code repository.
* Building a 64-bit build requires MinGW64 and several additional steps. Not recommended for novice developers.
But I doubt you will get many extra skilled developers.

The method that MPC uses for compiling FFmpeg code is unnecessarily complex. If a user adds the MinGW32 bin directory to the system's %PATH% variable, then running "make" is sufficient. My MinGW32 installer updates %PATH% automatically.

tetsuo55
11th July 2009, 13:58
Most programmers have a pre-installed environment, where they store the source on a local or networked disk. Now they have to install a lot of stuff themselves and that can be a challange, and learn about svn too. i wouldn't worry too much about the skill level, judging from people like beliyaal and ar-jar that's not going to be a problem.

Do those downloads include yasm?
Basically all that needs to be added is the path declarations

And someone needs to get those files from the old SDK's into zip so we can do a problem free update to the latest SDK's

EDIT:

Can we legally store those 2 mingw files on the SVN?

clsid
11th July 2009, 14:11
MinGW is open-source, so yes, you could include those files into SVN. You could include my MinGW32 installer as well if you want. It includes all the required stuff, including YASM. It also sets the environment variable "CC" and updates %PATH%. Then the build script for the 32bit build could also be updated, so that no further user actions is needed.

For 64-bit things are more complex.

But developers that don't even know how to use SVN are not really skilled enough to be of use to make MPC better.

tetsuo55
11th July 2009, 14:13
I think that's the best solution, and the same should be done for 64 bit (as far as possible)
This way we also solve the storage problem for the mingw environment, is it up to date with the latest mingw SVN?

contrary to popular believe SVN is not used by 99% of the worlds programmers

clsid
11th July 2009, 14:18
It is not possible for 64-bit. That requires recompiling parts of the MinGW64 distribution. Plus, there is no installer for that, and I am not making one.

contrary to popular believe SVN is not used by 99% of the worlds programmers lol, where did you read that nonsense. Any good programmer knows hows to use a version control system or can easily learn how to use it.

tetsuo55
11th July 2009, 14:26
Too bad about the 64bit part, we will need someone else to take care of that one then.

Would you be willing and able to put the required files on the SVN? (for the 32bit build)


I didn't read it anywhere, i deal with a lot of software companies, and i know many programmers, they do not use any form of SVN, code is stored on networked disks and roaming profiles.

But i do agree that learning SVN should be simple.
(and i also think that an SVN-like system is much better than the scenario i mentioned above)

clsid
11th July 2009, 14:29
Well, those are very unprofessional software companies then. And certainly not representative for the entire software development industry. All software companies I know use version control systems.

tetsuo55
11th July 2009, 14:39
hmmm, it looks like mingw and yasm get updates quite regularly, do you have plans to update the custom mingw installer every so often?

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

This file from the ffdshow project might contain all the file's we need for VMR7.
http://iknowu.net/files/public/ffdshow/old_dx_sdk.rar

If this works we only need the missing files from the windows SDK

clsid
11th July 2009, 14:46
It gets updated whenever there are useful updates.

tetsuo55
11th July 2009, 14:49
Cool!

Ps ffmpeg has not been updated for 3 months, do you still keep track of it, no noteworthy updates?
h264 playback has been broken in the standalone mpcvideodecoder for a while now, an update might fix it.

clsid
11th July 2009, 15:17
I currently don't have time to keep that updated.

tetsuo55
11th July 2009, 15:21
Okay.

Inspector.Gadget
11th July 2009, 15:42
test & report.

Same problem, plus in KMPlayer menus don't work period using the Cyberlink decoder and any renderer.


The Cyberlink MPEG2 + DXVA + DVD bug is well known and is already in the bug database. It is known for menu highlighting, I am not sure that subtitle aspect was previously known or not, so that may be an additional bit of information.

OK thanks.

It did not mention the subtitle problem I have added it.

Well, my work's done for me :D

if you look in the bug tracker though you will see you can get it to work by regressing to an earlier version.

I'll investigate this. Thanks.

kieranrk
11th July 2009, 15:51
Following some discussion with tetsuo55 I've registered #mpc-hc on freenode for mpc-hc development.

irc://irc.freenode.net/mpc-hc

73ChargerFan
11th July 2009, 16:09
(i personally also think we can dump system default and overlay mixer)
Sometimes I must use overlay for two reasons:

1. Some of my videos need the contrast changed, "VMR9 Color Controls" don't work, and using CCC makes my desktop unreadable.

2. Overlay is faster than VMR9r with software rendering. With 1080p videos, I get stuttering with VMR9r but not with overlay.

My HTPC: AMD 4600X2, ATI 4850, XP SP3 MCE 2005

My ideas:
On install / or 1st run, select the default render based on which OS it is running on. XP - VMR9 renderless, Vista/Win7 EVR custom. Default to 3d surfaces so shaders work.

Fix color controls, make them easily accessible and work across everything. If overlay is being used, make calls to the video driver. Otherwise a shader?

Implement a graph rebuild feature. I hate having to exit the application and restart it every time I change a setting.

This is for discussion... I don't want to add it to the feature tracker yet.

_xxl
11th July 2009, 16:18
With some video cards including nVidia 7900 WMR9 Renderless and EVR Custom Pres (WinXp Sp3) are unusable because of tearing problem, no D3D doesn't fix my problem. Also some other issues using TV-out.

tetsuo55
11th July 2009, 16:31
Color controls will never work in any non-overlay compatible renderer, this is not a bug.

The only way to fix this is to write completely independent (sofware based) color controls. Like the one in ffdshow.


i understand that the small speed difference between overlay and VMR9 could be the difference in borderline powered hardware. Still i wonder if VMR9 could be optimised to tighten the gap in speed.


I'm not surprised you have tearing problems with the 7900, MPC-HC still needs a lot of work in the refresh rate detection and jitter reduction field. What sucks though is that as far as the dev's can see, we're doing everything as it should be done.

ar-jar
11th July 2009, 17:05
With some video cards including nVidia 7900 WMR9 Renderless and EVR Custom Pres (WinXp Sp3) are unusable because of tearing problem, no D3D doesn't fix my problem. Also some other issues using TV-out.

I'll throw myself into the discussion even though I'm a n00b around here and therefore ignorant.

First about tearing: I never get tearing in my GothPlayer (see link below) that has a custom allocator presenter for VMR9, as long as it stays in sync (which it does). With exclusive mode I *never* get tearing. I've run it with many kinds of NVidia cards and now a low-end ATI card. So I believe tearing could and should be fixed in the MPC flavor of VMR9 too (and EVR for that matter).

I also believe that MPC is a player for geeks (like me), not the common folks that use Media Player or PowerDVD. I mean, how many people out there knows what "flush GPU after Present" means or what a "bicubic" resizer" does? Or the multitude of shaders. (Or perhaps these menus just exist for testing purposes?) We can not be everything to everybody. Thus it is my hypothesis that users in our "target market segment" at least keep their machines updated and that VMR7 w/ custom AP therefore has an insignificant user base. I vote for scrapping it, updating DirectX and focusing on the new renderers. I haven't tried it but I guess all standard renderers, including VMR7, that are registered on the system can still be used?

As for SVN, I had not used it before I started working on MPC although I understand CM in general. SVN was very easy to learn and Tortoise is an excellent interface. SVN is not the biggest hurdle to get started and I guess used by most open source projects nowadays (and CVS is definitely not easier).

What I stumbled on mostly before succeeding with my first build was that yasm wasn't mentioned anywhere in the build instructions (and I still don't see anything about it there), I wasn't sure about the ATL stuff as it was labeled "alpha", and there were a couple of environment variables that I learned about from error messages and a BAT-file as I recall. I still get a bunch of warnings so maybe all isn't fine and dandy yet but at least I can play all common file formats. -A

Edit: I have not tested VMR9 tearing with the 7900 board, only with an old 5000 series-something, 6800, 7600, and 8600 + ATI 3450. Maybe 7900 has specific issues.

kieranrk
11th July 2009, 17:17
What I stumbled on mostly before succeeding with my first build was that yasm wasn't mentioned anywhere in the build instructions (and I still don't see anything about it there), I wasn't sure about the ATL stuff as it was labeled "alpha", and there were a couple of environment variables that I learned about from error messages and a BAT-file as I recall. I still get a bunch of warnings so maybe all isn't fine and dandy yet but at least I can play all common file formats. -A


I think the build guide is now correct apart from the code embeds not working and the default numbering not working:

http://mpc-hc.wiki.sourceforge.net/How+to+compile+the+MPC

73ChargerFan
11th July 2009, 17:25
Color controls will never work in any non-overlay compatible renderer, this is not a bug.

Shader to change brightness:
# Brighten2
sampler s0 : register(s0);

float4 main(float2 tex : TEXCOORD0) : COLOR
{
return(tex2D( s0, tex ) +2);
}

ar-jar
11th July 2009, 21:59
I think the build guide is now correct apart from the code embeds not working and the default numbering not working:

http://mpc-hc.wiki.sourceforge.net/How+to+compile+the+MPC

Good stuff! Looks about right and yasm is there too. Does it compile and link without warnings? My set-up doesn't. If there are warnings to be expected, maybe they should go into the wiki too. -A

kieranrk
11th July 2009, 22:17
There are loads of warnings unfortunately.

alexins
12th July 2009, 01:11
Media Player Classic HomeCinema (x86/x64), svn 1168 (http://www.xvidvideo.ru/content/view/824/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/)

Updated FFmpeg

GrofLuigi
12th July 2009, 04:11
I regularly install MPC-HC on friends' computers (yeah, I'm spreading the word :)) with various windows OSs, graphic cards & drivers. More often then not, I have to change renderers to find one that works without artefacts. The situation is worst with the integrated cards. I cannot pinpoint one (or two, pre- and post-vista) renderers that are guaranteed to work. I'm not even looking for tearing. :p

Maybe it's fixable (I suspect they don't accept some colorspaces), but investigation would take months. So I'd say every renderer is potentially useful. Why limit our choices? If they want, developers can concentrate on some of them and leave others "unsupported".

Just my .02.

GL

iron2000
12th July 2009, 07:16
Slightly browsed a few page back.
Don't dump "System Default" !
That one works best for my PC.

Running MPC-HC on Radeon HD 2600 Pro with Catalyst 9.6.
Most other renderers gives me tearing and slow downs.
Don't want to run Powerstrip or other programs to tweak refresh rates.
D3d Fullscreen and Beliyaal fixes don't really work for me also.

So far "System Default" is the most stable renderer for me.

ADude
12th July 2009, 07:20
Users who need VMR7 Renderless can simply continue to use previous released stable versions, much as I do now for DVD playback. ;)

iron2000
12th July 2009, 07:39
Sometimes the slow downs are due to the internal subtitle filter.
And the tearing doesn't happen to every video file.

"System Default" is nice and stable but I'm still playing around.

By the way what is the difference of using the internal subtitle filter and DirectVobSub?

(Ok, thought I would go back to VMR9 Renderless, noticed the tearing straight away T^T)

Hmm, on inspection System Default seem to slow the video a litte bit(or is it drop frames?) while VMR9 Renderless does tearing.

_xxl
12th July 2009, 10:52
By the way what is the difference of using the internal subtitle filter and DirectVobSub?
Using internal subtitle engine makes them look perfect. You can't have same quality using ffdshow or other subtitle filter.

_xxl
12th July 2009, 10:53
Running MPC-HC on Radeon HD 2600 Pro with Catalyst 9.6.
Most other renderers gives me tearing and slow downs.
Don't want to run Powerstrip or other programs to tweak refresh rates.
D3d Fullscreen and Beliyaal fixes don't really work for me also.
The same with nVidia 7900.

pcjco04
12th July 2009, 12:09
About dropping VRM7 : i am on XP SP3 32bits and if I use MPC-HC, only the VRM7 renderers do not drop frames. If I use VRM9, I have to remove PS2 resizing to avoid too many dropped frames.
Strangely, if I use latest clsid built 6491 rev89, I can use VRM9 renderer with much less dropped frames.

My config : AMD Athlon64 3500+ (1Go RAM) with NVIDIA 6200, win XP Pro SP3

kieranrk
12th July 2009, 12:53
Pastebin of the warnings during compiling:

@tetsuo55 - your rar thing compiled properly

http://pastebin.com/f4186977

clsid
12th July 2009, 12:58
errors != warnings

a shitload of warnings is normal.

kieranrk
12th July 2009, 13:09
errors != warnings

a shitload of warnings is normal.

Whoops, that's what I meant...

tetsuo55 wanted to know what the warnings were.

tetsuo55
12th July 2009, 13:43
clsid > thanks for updating ffmpeg anyway!

kierank > although we should look into getting all warnings silcenced, most of them seem to come from libavcodec.

The ones that are purely mpc-hc related should be relatively easy to fiX (basically the same 2 or 3 warnings across the board)

mariner
12th July 2009, 14:18
VMR-7 should NOT be removed and this has already been discussed once in the past. VMR-7 (windowed) is the default renderer on XP, which is still the most used OS. There are still plenty of people who use it as a fallback when the other renderers have issues.

clsid is absolutely right on this.

tetsuo55
12th July 2009, 14:28
We have found a workaround for the VMR7 problem, so it can stay.

Still actually having to use anything other than VMR9 renderless or EVR-CP is a problem.
I would like to collect some bug reports and stuff on the subject.

However when comparing these 2 to the other renderers some things have to be kept in mind:

1. internal subtitle filter has to be disabled (it is well known to cause performance problems). (probably best to disable vsfilter too)
2. PS 2.0 resizers should be disabled.
3. 3d surfaces should be disabled too i think
4. Shaders should be disabled

Any difference between the different renderers should be minimal with these settings, please discuss about your results in the thread so we can find out more before posting bug reports.

(PS some of these might actually enable color controls for some renderers)

clsid
12th July 2009, 15:26
1. internal subtitle filter has to be disabled (it is well known to cause performance problems). (probably best to disable vsfilter too)
2. PS 2.0 resizers should be disabled.
3. 3d surfaces should be disabled too i think
4. Shaders should be disabledYou assume that everyone uses that functionality, when in fact a large portion of MPC users does not use any of this functionality. Using a different renderer is not 'a problem'. Every renderer has its pros and cons.

For example 60-65% of the users is still on XP. Those XP users who do not care about having DXVA (with subs) or do not have DXVA compatible hardware are most likely using Overlay Mixer. Why? Because it has no tearing, no luminance issues (and thus less need for shaders), no judders.

Many people here are having all kinds of problems because they desperately want to use DXVA. But it restricts you in your options to set up an optimal configuration. So if you got a fast computer it can be worthwhile to disable DXVA.

Which renderers are the best is totally subjective.

Any bugs in the custom VMR-9 and EVR renderers should of course be fixed.

We have found a workaround for the VMR7 problem, so it can stay.You mean by mixing two SDK versions or something? Any more info on this?

kieranrk
12th July 2009, 15:33
You mean by mixing two SDK versions or something? Any more info on this?

Using this http://iknowu.net/files/public/ffdshow/old_dx_sdk.rar to fill in the header gaps.

Jong
12th July 2009, 15:54
I have a problem with svn 1156 when playing H264 720p in DXVA mode... The playback is not smooth, sometimes frames keep jumping back and forth. But it works fine with svn 1137.

You're probably using XP, Casimir is working on the problemHas this been fixed now?

Gus.
12th July 2009, 16:47
DirectX Video Acceleration Specification for H.264/AVC Decoding
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3d1c290b-310b-4ea2-bf76-714063a6d7a6

Just in case this may be of use to someone :-)

Jong
12th July 2009, 17:57
Has this been fixed now?Never mind. I can answer my own question. Still broken in 1168.

This completely stops anyone affected moving forward and testing new versions. Any chance of getting it nailed?:thanks:

kgw210
12th July 2009, 18:17
Little Bug noticed today:

Playback of interlaced encoded xvid/divx Video broken since rev.1120 in VMR7 + VMR9.
rev. 1112 was ok.

tetsuo55
12th July 2009, 18:27
You assume that everyone uses that functionality, when in fact a large portion of MPC users does not use any of this functionality. Using a different renderer is not 'a problem'. Every renderer has its pros and cons. all those settings are enabled by default which makes it difficult to compare apples to apples.

For example 60-65% of the users is still on XP. Those XP users who do not care about having DXVA (with subs) or do not have DXVA compatible hardware are most likely using Overlay Mixer. Why? Because it has no tearing, no luminance issues (and thus less need for shaders), no judders. i think even more users are still on XP. Overlay does have problems for ATI users in many cases

Many people here are having all kinds of problems because they desperately want to use DXVA. But it restricts you in your options to set up an optimal configuration. So if you got a fast computer it can be worthwhile to disable DXVA.Although i have almost 0 problems wiith DXVA now, i did invest in a many times faster CPU because i did not want to depend on DXVA.

Which renderers are the best is totally subjective.although this surely is the case now, it should not be, we should focus on one universal renderer and involve all the players (Microsoft, intel, ati and nvidia) just like the closed source players do.Not to mention the fact that only EVR is actively being developed for by those companies, the same can be said for the MPC-HC dev's (most of the changes to VMR9 are backports from EVR)

Any bugs in the custom VMR-9 and EVR renderers should of course be fixed.Definately.

You mean by mixing two SDK versions or something? Any more info on this?With every SDK update microsoft depreciates old libraries, when/while unable to update your program to the new API you have to bring those libraries back.
Basically you create a new subdirectory in the SDK dir with the missing files, VS2008 SP1 actually has several options for this.

The wiki article will be updated so anyone can compile using VS2008 SP1 with DirectX SDK 41 (and 42 from next month on) and windows SDK 7.0 RC1. The only thing that has not worked out yet is VS2010.
Has this been fixed now?
Casimir is extremely time limited during the summer, he has fixed it several times, but every time something else breaks by the fix.
It might take some time, stick to an older build for the time being

clsid
12th July 2009, 18:56
I have already added updated compilation instructions to SVN.

Using a non-final SDK is a stupid idea. There is also no need for the Windows 7 SDK until maybe in the distant future when Win7 specific stuff like jumplists are possibly added to MPC. You seem to want to use the latest and greatest for everything without any apparent reason. Unless you can name some important benefits, it is not worth the effort. Updating the Windows SDK usually leads to problems which need fixing. Its implications are much larger than with for example updating the DirectX SDK.

tetsuo55
12th July 2009, 19:05
Only one file is missing, and judging from other open source projects we can add it to the SVN.
the file can be downloaded here: http://www.mediafire.com/?sharekey=bbe771caa81c9bff6b21be4093fab7ace04e75f6e8ebb871
Adding this file makes MPC-HC SDK version independant, the same goes for the DirectX SDK files you already added as a zip file. we can include these as additional files so they would be found in the mpc-hc project itself instead of needing to point to them in VS

Actually for some of the the new win7 explorer features we already have patches available.

besides that MS fixed some of bugs and exploits in existing libraries which warrant the update, one thing that comes to mind a shader bug they fixed which increases some shader operations speed by 200%.

and yes i'm a compulsive updater and beta tester too, i only believe in stopping updates of external depencies during a stable release cycle, and no bugs are found that can be fixed with external depency updates.

clsid
12th July 2009, 19:35
besides that MS fixed some of bugs and exploits in existing libraries which warrant the update, one thing that comes to mind a shader bug they fixed which increases some shader operations speed by 200%.That's is an argument for updating the DirectX SDK, not for the Windows SDK.

MPC does not even make full use of the current SDK. See the various compiler warnings about uses of deprecated functions. Nobody has bothered to fix that. You might want to focus on that first.

tetsuo55
12th July 2009, 19:38
That's is an argument for updating the DirectX SDK, not for the Windows SDK.

MPC does not even make full use of the current SDK. See the various compiler warnings about uses of deprecated functions. Nobody has bothered to fix that. You might want to focus on that first.Fixing the warnings is on the agenda.

EDIT:

i forgot to mention that alexins's compiles have been made with the newest SDK's for a long time already, testing builds made with the new SDK has been going on for months.

Brazil2
12th July 2009, 21:03
VMR-7 should NOT be removed and this has already been discussed once in the past. VMR-7 (windowed) is the default renderer on XP, which is still the most used OS. There are still plenty of people who use it as a fallback when the other renderers have issues.
+1

Not to mention that there are still many many people using 'average' PC's who are very happy to be able to play some H264 videos with WMR7 renderless (for subtitles), videos which can't be played smoothly with WMR9.

New options for new PC's, yes. But please don't drop WMR7 support yet, MPC-HC is not used by 'l33t' people with 'l33t' PC's only but also by many users who want a simple and light player which is able to play almost anything without the need to install external codecs.

clsid
12th July 2009, 21:06
Don't worry. No renderers are being removed.

_xxl
13th July 2009, 12:43
Mpc-hc 1172 bin:
Download (http://www.dump.ro/fisiere/mpc-hc-rar/123171/gCWU2zgyNSf2nC8p)

tetsuo55
13th July 2009, 12:52
No renderers are being removed, people have posted enough reasons to keep them.

What needs to be done is help people move to EVR-CP (Or VMR9 renderles for XP/2000 DXVA).
The performance differences between overlay, VMR7, VMR9 and EVR have to do with how much the renderer does in relation to anti-jitter and anti-tearing. the order i put them in is also the order of increasing number of checks.

If EVR-CP is ever to replace all the other renderers, the options controlling everything should be selectable in a "speed over quality" type screen. Disabling everything should make EVR-CP almost as fast or maybe even faster than overlay.

roozhou
13th July 2009, 14:35
Mpc-hc 1172 bin:
Download (http://rapidshare.com/files/255307877/mpc-hc.rar.html)

Oops...download limit reached

Leak
13th July 2009, 17:38
Oops...download limit reached
But since the code itself hasn't changed since Alexins' 1168 build I doubt it'd behave any different than that...

np: The Cool Kids - 88 (The Bake Sale)

Mercury_22
13th July 2009, 22:22
AC3 (Dolby Digital) channels are wrong mapped :

1 - REAR RIGHT wrong mapped to FRONT RIGHT
2 - REAR LEFT wrong mapped to FRONT LEFT

= No Rear Channels

Test 5.1 AC3 (Dolby Digital) (http://www.lynnepublishing.com/surround/www_lynnemusic_com_surround_test.ac3)

E-AC3 (Dolby Digital Plus) channels are wrong mapped :

1 - FRONT CENTER wrong mapped to FRONT RIGHT
2 - FRONT RIGHT wrong mapped to FRONT CENTER (+LFE?)
3 - SIDE RIGHT wrong mapped to LFE
4 - REAR RIGHT wrong mapped to LFE
5 - REAR LEFT wrong mapped to REAR RIGHT
6 - SIDE LEFT wrong mapped to REAR RIGHT (+LFE?)

Test 7.1 E-AC3 (Dolby Digital Plus) (http://sharebee.com/69772daa)

clsid
14th July 2009, 11:41
The channels mapping workarounds probably need updating after the recent ffmpeg update.

Mercury_22
14th July 2009, 17:21
LPCM channels are wrong mapped :

1 - SIDE RIGHT wrong mapped to REAR RIGHT
2 - REAR RIGHT wrong mapped to SIDE RIGHT
3 - REAR LEFT wrong mapped to SIDE LEFT
4 - SIDE LEFT wrong mapped to REAR LEFT

Test 7.1 LPCM (http://www.megaupload.com/?d=0HM2JCEP)

jmnk
14th July 2009, 18:35
Any ideas why an mp4 file with x264 encoded stream, with resolution of 720x480 flagged with SAR 10:11 plays at around 720x540 rather than around 640x480? I mean isn't it a rule (or least convention) that you manipulate only horizontal size on playback?

mike4192
14th July 2009, 21:06
I have an annoying problem with media player classic homecinema, subtitles do not work at all, and they don't work on regular MPC either.

I have tried the haali, VMR7 renderless, and VMR9 renderless renderers, and non allow me to use subs. I have tried multiple videos with them (all MKV files like anime and movies). Each time I try to select subs, the option is shaded out if I right click. I'm on windows 7, 64 bit, and subs work on other player like WMP, or VLC.

EDIT got it working
http://www.codecguide.com/faq_subtitles.htm

Amour
15th July 2009, 04:07
I have a big sound-video issue with MPC-HC since today's Windows Update under Windows Vista.

The sound is about 2 seconds too early. Or the video is about 2 seconds too late.
I only have this issue with MPC-HC, not other media players (VLC, WMP, ZoomPlayer).
I have this issue with any version of MPC and MPC-HC (even a two years old one).

Mercury_22
15th July 2009, 09:50
Can someone PLEASE remind me what's the status on MPC-HC's internal DTS ? Cause it seems there is some wrong channel mapping (only stereo) for DTS, DTS-HD HR, and DTS-HD MA
Also, can / how MPC-HC remapp channes for DTS-HD MA ? If more than two channels are used, a "channel remapping" function allows for remixing the soundtrack to compensate for a different channel layout in the playback system compared to the original mix.

Amour
15th July 2009, 13:51
Ok, for my sound-video issue, deleting "HKEY_CURRENT_USER\Software\Gabest" did the trick. :)

bran
16th July 2009, 08:36
Can someone PLEASE remind me what's the status on MPC-HC's internal DTS ? Cause it seems there is some wrong channel mapping (only stereo) for DTS, DTS-HD HR, and DTS-HD MA
Also, can / how MPC-HC remapp channes for DTS-HD MA ?

I'm also having these issues, and also with AC-3. Everything's more or less FUBAR. Installed AC3Filter, and same files work like a charm.

SawyerX
16th July 2009, 08:47
I got a problem. Im trying to read VLC streams with MPHC but it doesnt always open them. Somethimes I just hear the sound and have to restart MPHC.

ikarad
16th July 2009, 10:33
one question: use of d3doverrider with mpc HC is useless (bug or others) or not to force vsync and triple buffering and then remove tearing?

Mercury_22
16th July 2009, 12:25
I'm also having these issues, and also with AC-3. Everything's more or less FUBAR. Installed AC3Filter, and same files work like a charm.
I've posted above about AC3's wrong mapping

So we have DTS wrong mapping channels too (HR and MA not yet decoding only core) :

1 - SIDE RIGHT wrong mapped to FRONT RIGHT
2 - REAR RIGHT wrong mapped to FRONT RIGHT
3 - REAR LEFT wrong mapped to FRONT LEFT
4 - SIDE LEFT wrong mapped to FRONT LEFT

Just a reminder for those testing 5.1 config !
Vista's and Windows 7's 5.1 speakers config is :

L C R SL SR = SIDE CHANNELS INSTEAD OF REAR CHANNELS MOST OF THE TIME !

So please check your speakers config in windows before testing with a 5.1 speakers system

TEST 7.1 DTS-HD HR (http://sharebee.com/abf92989)

iron2000
16th July 2009, 20:10
Tried VMR9 Renderless with "offscreen plain surface" and "bilinear".
All seems well until the scrolling credits of a recent anime.
VMR lagged badly but with System Default it scrolls very smoothly.
Internal subs are off and shaders disabled.

jmnk
16th July 2009, 20:20
Any ideas why an mp4 file with x264 encoded stream, with resolution of 720x480 flagged with SAR 10:11 plays at around 720x540 rather than around 640x480? I mean isn't it a rule (or least convention) that you manipulate only horizontal size on playback?
^^^^^sorry to bump that question, but is there any explanation for this?

tetsuox
16th July 2009, 21:30
@jmnk

No I don't think there's such a rule. You might think so because of anamorphic widescreen. Upon playback it makes more sense (to me anyway) to interpolate the dimension that is "lacking" pixels rather than removing pixels (in your sample's case) to get the desired AR.

jmnk
16th July 2009, 21:41
@jmnk

No I don't think there's such a rule. You might think so because of anamorphic widescreen. Upon playback it makes more sense (to me anyway) to interpolate the dimension that is "lacking" pixels rather than removing pixels (in your sample's case) to get the desired AR.
I need to check AVC specs but I'm almost certain it is mentioned somewhere. Also note that 4:3 NTSC DVD (which displays at 640x480) is encoded as 720x480 and flagged as 4:3 DAR, and every DVD player I know of displays it as 640x480.

Inspector.Gadget
16th July 2009, 22:49
Older MPC revisions displayed 4:3 DVDs as 720x540. New MPC and MPC-HC versions use 640x480.

jmnk
16th July 2009, 22:59
Older MPC revisions displayed 4:3 DVDs as 720x540. New MPC and MPC-HC versions use 640x480.
I'm pretty sure I've used the newest MPC-HC and it does not display 720x480 mp4 flagged with 10:11 SAR (which is the same as 4:3 DAR) as 640x480.
Could you point me to a version that behaves properly?
And just to be clear - I'm not necessarily talking about DVD. I'm talking about DVD content (in terms of resolution and aspect artio signaling) encoded into x264 in mp4 container.

Keiyakusha
16th July 2009, 23:27
Probably it doesn't really matter how aspect ratio correction will be implemented after calculation is done. I just tested and it shows 640x480.

But I found something else. In addition to this (http://forum.doom9.org/showthread.php?p=1304189#post1304189) post (on which I still want to hear some comments) I found that on Win7 with DivX decoder, VMR9 is broken. VMR9 (http://www.petaimg.com/u363/116Capture1.JPG), EVR (http://www.petaimg.com/u304/325Capture2.JPG)

BatKnight
17th July 2009, 18:39
Hi,

How does one changes the edition of a movie inside a MKV? Using Haali Media Spliiter one can choose the edition a movie to watch an alternate ending, for example.
But how can we do it using the MPC internal splitter? Is it possible? If not, is it planned to be implemented?

Bat

Daxnet
17th July 2009, 23:42
Blu-Ray Problem
Yeah I know its probably not a regression but not being able to seek in m2ts files without the risk of getting a crash, or not being able to use another decoder without horrible stuttering within m2ts will cause alot of grief for people trying to play blu-rays..... For a new version of "homecinema" I honestly think this needs to be fixed before its released to the wider public.



Does anyone knows if this glitch has been fixed, cause i have some sttutering for a few seconds followed by a playback crash while playing m2ts files in the latests MPC HC builds, instead of smooth playback in the 1081 build.

My set up:
MPC HC 1173, internal decoder + haali (DXVA)
AC3 filter 1.61b
EVR CP - D3DFullscreen
Windows 7 32 bits RC1 7100
DirectX March 2009 update
GeForce Driver Release 186.18 WHQL
C2D E4500 2.2 GHz
Nvidia 8800 GTS 512
Primary display: DELL 2007 WFP 20.1"
Secondary/fullscreen display: Sony Bravia KLV-32M400A 32"


Thks in advance for any help.

Daxnet
18th July 2009, 02:12
Try the MPC-HC internal MPEG PS/TS/PVA splitter for m2ts and see how it goes.

The problem persist. I´ve tried even the 190.x nvidia beta drivers in vain. :S

_xxl
18th July 2009, 06:18
Please make a small sample and post here.

ar-jar
18th July 2009, 08:19
When watching at least one movie (blu-ray, VC-1 bitstream decoder) and turning on the statistics display, I get glitches in the vsync line in dark portions of the movie, same places everytime. There could be something wrong with the encoding of dark portions of the video but it could perhaps also be something with the decoding (or something entirely different - it's too early to think clearly :-)). I'll look at this myself later but I throw it out like this just in case somebody has seen something similar. Renderer is set to generate 0-255 (how do I change this to 16-235 btw?) and GPU flushes are on. Vsync on or off doesn't make any difference. EVR and VMR show the same behavior. I'm running my own build of revision 1173 right out of the repository but I saw this already in 1165. Any ideas? -A

Casshern
18th July 2009, 08:43
Yes i did, and posted here about it several times.... On my system it can be reproduced with the BD of "Any given sunday" right after the fade to blacks in the title sequence. As it it not really visible (after all the frames are black) without the stats display, and there are no sound issues during this perios, i guess its not that important. It only occurs with DXVA Vc1-decoding with VMR9 and EVR CP. I think its the decoder.

When watching at least one movie (blu-ray, VC-1 bitstream decoder) and turning on the statistics display, I get glitches in the vsync line in dark portions of the movie, same places everytime. There could be something wrong with the encoding of dark portions of the video but it could perhaps also be something with the decoding (or something entirely different - it's too early to think clearly :-)). I'll look at this myself later but I throw it out like this just in case somebody has seen something similar. Renderer is set to generate 0-255 (how do I change this to 16-235 btw?) and GPU flushes are on. Vsync on or off doesn't make any difference. EVR and VMR show the same behavior. I'm running my own build of revision 1173 right out of the repository but I saw this already in 1165. Any ideas? -A

tetsuo55
18th July 2009, 09:29
You need to enable frame time correction for VC1

3ngel
18th July 2009, 19:16
Someone can explain me, what is the sense of opening a Choice Dialog when i do "Open DVD...", after i've already selected the default directory (drive) for playing DVD?
I'm wondering, really :)
Thanks

tetsuo55
18th July 2009, 23:17
There is only 1 correct way to set up speakers.

Regardless of how many speakers you have, you should always set them up in this order, having less speakers simply means that a certain speaker is not used.

NOTE: for 6.1 speakers LB is used.(in this configuration the speaker would be placed in the back-center)
NOTE2: Dolby suggests moving the LS and LR speaks slightly more to the back in 5.1 setup

http://img442.imageshack.us/img442/9582/map.th.png (http://img442.imageshack.us/i/map.png/)

Based on the diagram(ignoring the sub):

1 = L
2 = L,R
3 = L,R,C
4 = L,R,LS,RS
5 = L,R,C,LS,RS
6 = L,R,C,LS,RS,LB
7 = L,R,C,LS,RS,LB,RB

L = Left (front)
R = Right (front)
C = Center (front)
LS = Left Surround Side (often named "back" in 5.1 setup)
RS = Right Surround Side (often named "back" in 5.1 setup)
LB = Left Surround back (This is the "back" or "center back" or "surround center" 6.1 setup)
RB = Right Surround back
S = Subwoofer (often named LFE, this word has several meanings, and is best ignored for speaker setup)

Edit:
Fixed naming, now all the names are industry standard.

totozero
19th July 2009, 09:58
Hi folks, sorry to jump in, but I'm facing strange DXVA behaviour with H264 material.

K, this is my setup :
HD4850, XP SP3, VMR9 blahblah enabled with MPC-HC, all internal decoders.

Every time I run an *.mkv file, I get choppy video playback.
Let's explain : it's just like playback goes crazy and repeats some frames each 5-6 seconds. Actually, like a stuttering guy.

Some of my mates running ati cards on XP have the same problem.

I've been running some tests and from what I can see it started with rev.1156 on xvidvideo.ru.
OTOH prior versions work great with dxva.

Right now I've downgraded to rev.1137 but for now I'm stuck with it.

Anyone facing the same problem here ? Is there a fix ?


TIA,
ToT'.

tetsuo55
19th July 2009, 10:27
That problem is known and being worked on

totozero
19th July 2009, 10:57
Oki-doki.

I'll stick with rev.1137 til then.

Thx.

ToT'.

Phaser
19th July 2009, 18:43
I moved from XP to Windows 7 and everything works great now with EVR custom. I noticed just a small problem: when I keep the right key pressed to fast forward, sometimes it gets stuck on a single frame...

Jong
19th July 2009, 18:44
Which bug is it in bugtracker? Probably me, but I could not find it. Only seemingly relevant titles date back to 2008 and this is post 1137.

ikarad
20th July 2009, 13:30
one question: use of d3doverrider with mpc HC is useless (bug or others) or not to force vsync and triple buffering and then remove tearing?

up! thanks

tetsuo55
20th July 2009, 14:24
Which bug is it in bugtracker? Probably me, but I could not find it. Only seemingly relevant titles date back to 2008 and this is post 1137.it isn't on the tracker because it's an obvious regression. Casmir knows what the problem is.
Fixing it without breaking something else is the real problem (and time)

TheShadowRunner
20th July 2009, 17:17
Hey all, here's a bug report and a suggestion for VSFilter.

Bug: An extremely simple bug about VSfilter's "Override placement" feature not working as it should :
http://sourceforge.net/tracker/?func=detail&aid=2824039&group_id=170561&atid=854651

Suggestion: a feature, based on filter class IDs, to prevent VSFilter from loading. (could be used, for exemple, to block VSFilter from loading in order to preserve DXVA); more infos:
http://sourceforge.net/tracker/index.php?func=detail&aid=2301026&group_id=170561&atid=854654

If this isn't the right place to ask/report those, please point me to it, thanks.
Later,

TSR

Rozsomak
21st July 2009, 10:43
I had problem using MPC-HC with CUDA - style (Core AVC). Now I guess realized what the problem was! I run a Vista x64 Ultimate SP2, and downloaded the MPC-HC x64. Internal codecs worked flawlessly (DXVA rocked).
I was happy then, but I wanted to try it with CUDA - settings, since I have GeForce 9600 GT, with G92 chipset, capable of CUDA. Besides I have Core AVC installed on my system, and no matter how strictly followed the guides, CUDA (and Core AVC) just not worked. Then I tried it with MPC-HC x86, and finally it worked. So that's what I grabbed: Core AVC uses x86 codecs, not genuine x64, that's why MPC- HC x64 cannot use Core AVC's CUDA settings.
Am I right or am I on the wrong track?

tetsuo55
21st July 2009, 10:44
Yes, X64 requires 64bit codecs.

Rozsomak
21st July 2009, 11:54
Well, I got hold of an experimental Hali x64 codec...:)

DigitalLF
21st July 2009, 22:27
in future version i would like to see a CLI Switch for loading a "Pan&Scan Presets" because when i watch 2.35:1/2.40:1 movies i move the image to the top and have my masking at the bottom of my 16:9 screen.


or am i asking for too much? (pretty please :) )

tetsuo55
22nd July 2009, 17:40
Can someone please compile 1179, it should fix every known DXVA bug, and Intel G45 should work with Blurays now.
Please confirm that all these bugs have been fixed:
http://sourceforge.net/tracker/?limit=10&func=&group_id=170561&atid=854651&assignee=&status=1&category=1165515&artgroup=&keyword=&submitter=&artifact_id=&assignee=&status=1&category=1165515&artgroup=&submitter=&keyword=&artifact_id=&submit=Filter

Can anyone confirm that the stand-alone h264 bug has been fixed(not using DXVA)?
http://sourceforge.net/tracker/?func=detail&aid=2799393&group_id=170561&atid=854651
This bug should be fixed with the ffmpeg merge.

clsid
22nd July 2009, 18:08
Two other bugs in the stand-alone filter that might have been fixed already:
http://sourceforge.net/tracker/?func=detail&aid=2799393&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2816728&group_id=170561&atid=854651

Which of the remaining bugs are now the top priority for fixing? I propose the following few:
http://sourceforge.net/tracker/?func=detail&aid=2795839&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2802538&group_id=170561&atid=854651
(Perhaps "frame time correction" can be made smarter, so it is only used when needed.)
http://sourceforge.net/tracker/?func=detail&aid=2809603&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2785070&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2822410&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2821423&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2820984&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2449648&group_id=170561&atid=854651
http://sourceforge.net/tracker/?func=detail&aid=2015632&group_id=170561&atid=854651

tetsuo55
22nd July 2009, 18:54
The channel mapping regression has the highest priority right now. The other bugs are unlikely to get fixed soon.

I did have a meeting with a DirectX9/Shader specialist to discuss some options for the renderer, nothing concrete has come from this yet. He did say, after a quick look, that there is a lot of room for overall improvement, especially in the shader department.

Wish me luck with further meetings.

Snowknight26
22nd July 2009, 18:55
Not all actually:
http://i31.tinypic.com/fu49qp.png

Still have some issues with DXVA over Remote Desktop, too.

tetsuo55
22nd July 2009, 18:58
Not all actually:
http://i31.tinypic.com/fu49qp.png

Still have some issues with DXVA over Remote Desktop, too.did you compile 1179?? DXVA over remote desktop is unsupported for now

hoborg
22nd July 2009, 19:02
Hi.
Just tryed 1179 build and:

MPCVideoDec.ax - Extremly slow software decoding - ID: 2799393 - seems to be OK, no more slowdowns

But DXVA didnt work very well here, picture are chopy, like frame order is swaped - it is hard to describe (since 1148 build), it is OK when DXVA is disabled.
WinXP SP3, ATI 4770 + Cat. 9.6

tetsuo55
22nd July 2009, 19:07
Hi.
Just tryed 1179 build and:

MPCVideoDec.ax - Extremly slow software decoding - ID: 2799393 - seems to be OK, no more slowdowns

But DXVA didnt work very well here, picture are chopy, like frame order is swaped - it is hard to describe (since 1148 build).
WinXP SP3, ATI 4770 + Cat. 9.6could you post a screenshot with CTRL+J enabled and while the picture is choppy(i t doesn't matter if the choppyness is not visable in the image)

hoborg
22nd July 2009, 19:14
could you post a screenshot with CTRL+J enabled and while the picture is choppy(i t doesn't matter if the choppyness is not visable in the image)

Here:
http://www.volny.cz/hoborg/snap.jpg

tetsuo55
22nd July 2009, 19:21
does it happen with all your files?

tetsuo55
22nd July 2009, 19:25
Looks like 1180 fixed the channelmapping problems

Casimir666
22nd July 2009, 19:25
Rev 1180, including Mercury channel mapping issues fixed :
http://www.zshare.net/download/6302129362b580d5/

For G45 users : this build should fix the multislice issue. Could you me feedback on blu ray playback?

Snowknight26
22nd July 2009, 19:26
did you compile 1179?? DXVA over remote desktop is unsupported for now

No, I grabbed it from xvidvideo.ru.

Unsupported, eh? At least it works adequately. ;) And speaking of which...

When playing a video over RDC, if I close the RDC connection then connect again, MPC-HC freezes.

tetsuo55
22nd July 2009, 19:28
No, I grabbed it from xvidvideo.ru.

Unsupported, eh? At least it works adequately. ;) And speaking of which...

When playing a video over RDC, if I close the RDC connection then connect again, MPC-HC freezes.Does the corruption thing happen with all your videos?

The connect/disconnect bug is caused by something else

Casimir666
22nd July 2009, 19:33
But DXVA didnt work very well here, picture are chopy, like frame order is swaped - it is hard to describe (since 1148 build), it is OK when DXVA is disabled.
WinXP SP3, ATI 4770 + Cat. 9.6

Could you post a sample?

hoborg
22nd July 2009, 20:03
Could you post a sample?

http://www.volny.cz/hoborg/snap1.jpg
Example: http://hobring.ic.cz/HDV_0091.zip

Tested on:
HD 4770 + CAT 9.6
HD 4550 + CAT 9.4

Same issue...

All DXVA videos have same problem here

Mercury_22
22nd July 2009, 20:06
Rev 1180, including Mercury channel mapping issues fixed :
http://www.zshare.net/download/6302129362b580d5/

For G45 users : this build should fix the multislice issue. Could you me feedback on blu ray playback?

Sorry to say but is quite the opposite !
Even the Dolby TrueHD, the only format that had the channels correct mapped, now has wrong mapped channels

Now the wrong mapping is

Ac3 (Dolby Digital)
1 - REAR RIGHT wrong mapped to FRONT RIGHT
2 - REAR LEFT wrong mapped to FRONT LEFT
No change

Test 5.1 AC3 (Dolby Digital) (http://www.lynnepublishing.com/surround/www_lynnemusic_com_surround_test.ac3)

E-AC3 (Dolby Digital Plus)
1 - SIDE RIGHT wrong mapped to REAR RIGHT
2 - SIDE LEFT wrong mapped to REAR LEFT
Improved somehow, now with the same mapping errors as FFDShow !

Test 7.1 E-AC3 (Dolby Digital Plus) (http://sharebee.com/69772daa)

Dolby TrueHD
1 - SIDE RIGHT wrong mapped to REAR RIGHT
2 - REAR RIGHT wrong mapped to SIDE RIGHT
3 - SIDE LEFT wrong mapped to REAR LEFT
4 - REAR LEFT wrong mapped to SIDE LEFT
Now broken, with the same mapping errors as FFDShow !

Test 7.1 Dolby TrueHD (http://www.megaupload.com/?d=7P9P81CW)

LPCM
1 - SIDE RIGHT wrong mapped to REAR RIGHT
2 - REAR RIGHT wrong mapped to SIDE RIGHT
3 - SIDE LEFT wrong mapped to REAR LEFT
4 - REAR LEFT wrong mapped to SIDE LEFT
No change

Test 7.1 LPCM (http://www.megaupload.com/?d=0HM2JCEP)

DTS (-HD HR MA)
1 - SIDE RIGHT wrong mapped to FRONT RIGHT
2 - REAR RIGHT wrong mapped to FRONT RIGHT
3 - SIDE LEFT wrong mapped to FRONT LEFT
4 - REAR LEFT wrong mapped to FRONT LEFT
No change

Test 7.1 DTS-HD HR (http://sharebee.com/abf92989)

So basically the changes are that the Dolby TrueHD got broken and the mapping errors for E-AC3 (Dolby Digital Plus) have changed ( they are still wrong mapped ! )

P.S. I've tested my system with other filters (commercial) and those are playing correct so I'm sure it's not my system or my test files

Snowknight26
22nd July 2009, 21:34
Does the corruption thing happen with all your videos?
No, just encodes I made with really old versions of x264.
For G45 users : this build should fix the multislice issue. Could you me feedback on blu ray playback?
It seems to if multislice issues.

tetsuo55
22nd July 2009, 21:35
No, just encodes I made with really old versions of x264.Please upload sample(s)

Snowknight26
22nd July 2009, 23:12
Please upload sample(s)

http://stfcc.org/misc/mpc-hc.dxva.corruption.sample.mkv

Daxnet
23rd July 2009, 02:30
Does anyone knows if this glitch has been fixed, cause i have some sttutering for a few seconds followed by a playback crash while playing m2ts files in the latests MPC HC builds, instead of smooth playback in the 1081 build.

My set up:
MPC HC 1173, internal decoder + haali (DXVA)
AC3 filter 1.61b
EVR CP - D3DFullscreen
Windows 7 32 bits RC1 7100
DirectX March 2009 update
GeForce Driver Release 186.18 WHQL
C2D E4500 2.2 GHz
Nvidia 8800 GTS 512
Primary display: DELL 2007 WFP 20.1"
Secondary/fullscreen display: Sony Bravia KLV-32M400A 32"


Thks in advance for any help.

I tested today build 1179 and this issue seems to be fixed. :)


Thanks to all ppl that make a great work with MPC HC.


Dax

Jong
23rd July 2009, 10:48
Hi.
Just tryed 1179 build and:.......DXVA didnt work very well here, picture are chopy, like frame order is swaped - it is hard to describe (since 1148 build), it is OK when DXVA is disabled.
WinXP SP3, ATI 4770 + Cat. 9.6Same problem here, also on XP SP3. ATI3850 and Cat 9.2. Problem has been there since 1137 I think. It is like tearing but where the tear is showing parts of frames from a second or so earlier. Happens with all my h.264 720p mkvs. Interestingly, not when playing 1080p HD-DVD/Blu-ray.

Mercury_22
23rd July 2009, 10:48
I'm just wondering is it possible to "copy" FFDshow's AC3 channels mapping and revert SVN 1180 ?

Revision 1180 - Directory Listing
Modified Wed Jul 22 18:13:34 2009 UTC (15 hours, 33 minutes ago) by casimir666

Fixed : incorrect channel mapping (broken in last ffmpeg update)

tetsuo55
23rd July 2009, 10:54
@ Everyone: Looks like all the remaining broken h264 files use NAL fillers for CBR.

@Mercury: Casimir is woking on fixing it once and for all.

Jong
23rd July 2009, 10:57
Just to be clear, the problem with snowkinght's file is very different to mine and I think Hoborg's (from the description). Let me know if you need a sample or if you are aware of the problem.

tetsuo55
23rd July 2009, 11:07
Just to be clear, the problem with snowkinght's file is very different to mine and I thin Hoborg's (from the description). Let me know if you need a sample or if you are aware of the problem.Please post a sample, so far all samples casimir tested had NAL.

Jong
23rd July 2009, 11:26
Here is the sample:
sample-001.mkv - 12.45MB (http://www.zshare.net/download/63050226904e6cff/)

The problem sounds the same as hoborg's.

-XP SP3. ATI3850 and Cat 9.2
- Problem is there in all builds available via xvidvideo.ru >1137
- There is a general stuttering plus gross corruptions at random (approx 1 second) intervals. These corruptions are like tearing but where the tear is showing parts of frames from a second or so earlier (definitely not just the previous frame. Sometimes the gap between the frames may be >1sec). Sadly it cannot be captured in screenshots and the <cntrl-J> jitter graph is perfect. With working builds there is no tearing at all.
- Happens with all my h.264 720p mkvs
- Interestingly, not when playing 1080p HD-DVD/Blu-ray (mkv or m2ts).

tetsuo55
23rd July 2009, 12:22
Here it is:
sample-001.mkv - 12.45MB (http://www.zshare.net/download/63050226904e6cff/) Thanks, now we wait for byuu, could you update this post with the exact description of the problem? then i can send him the direct link to your post so he won't have to read through everything else.

(That's basically what went wrong with the channel mapping fix, too many conflicting posts about it)

Jong
23rd July 2009, 12:40
The above post has been updated. Let me know if I can help further.

The1n
23rd July 2009, 18:05
Rev 1180, including Mercury channel mapping issues fixed :
http://www.zshare.net/download/6302129362b580d5/

For G45 users : this build should fix the multislice issue. Could you me feedback on blu ray playback?

Hi Casimir666 , i tried the same bluray remuxed mkv files i did earlier when testing it out for you, it is still blocky picture with 1180 , sry.

The1n

Casimir666
23rd July 2009, 20:12
http://www.volny.cz/hoborg/snap1.jpg
Example: http://hobring.ic.cz/HDV_0091.zip

Tested on:
HD 4770 + CAT 9.6
HD 4550 + CAT 9.4

Same issue...

All DXVA videos have same problem here
I can reproduce this problem

http://stfcc.org/misc/mpc-hc.dxva.corruption.sample.mkv
This sample play fine without corruption.

Here is the sample:
sample-001.mkv - 12.45MB (http://www.zshare.net/download/63050226904e6cff/)

The problem sounds the same as hoborg's.

-XP SP3. ATI3850 and Cat 9.2
- Problem is there in all builds available via xvidvideo.ru >1137
- There is a general stuttering plus gross corruptions at random (approx 1 second) intervals. These corruptions are like tearing but where the tear is showing parts of frames from a second or so earlier (definitely not just the previous frame. Sometimes the gap between the frames may be >1sec). Sadly it cannot be captured in screenshots and the <cntrl-J> jitter graph is perfect. With working builds there is no tearing at all.
- Happens with all my h.264 720p mkvs
- Interestingly, not when playing 1080p HD-DVD/Blu-ray (mkv or m2ts).
No problem for this sample too...

Jong
23rd July 2009, 20:18
I can reproduce this problem


This sample play fine without corruption.


No problem for this sample too...Not sure what you mean by "no problem" - no corruption or no problem seeing it?

But on my system I see problems in all three samples:

- Snownight's shows some serious "blocking"

- Mine shows this stutter and mistakes in frame order

- Hoborg's seems to show BOTH. On my system I see "blocking" and corruptions in frame order identical to in my sample.

What do you see wrong with Hoborg's sample?

It will be interesting to see what happens to my samples if Hoborg's problems are fixed.

The1n
23rd July 2009, 20:28
@Casimir666

Here is what i am talking about with multi sliced bug with G45, see attachment.

Btw im running Windows 7.

The1n

Casimir666
23rd July 2009, 20:59
But on my system I see problems in all three samples:

- Snownight's shows some serious "blocking"

- Mine shows this stutter and mistakes in frame order

- Hoborg's seems to show BOTH. On my system I see "blocking" and corruptions in frame order identical to in my sample.

What do you see wrong with Hoborg's sample?
I only see wrong frame order in Hoborg sample. Could you try with this build to see if it change something :

http://www.zshare.net/download/630697539d1a1dbe/

Snowknight26
23rd July 2009, 21:16
Using that build still shows corruption:
http://i27.tinypic.com/bfowbc.png

Seems to happen after every I frame, but I can't say for sure.

Jong
23rd July 2009, 21:22
Using that build still shows corruption:
http://i27.tinypic.com/bfowbc.pngYeah that's the corruption I see with your sample too.

Jong
23rd July 2009, 21:27
I only see wrong frame order in Hoborg sample. Could you try with this build to see if it change something :

http://www.zshare.net/download/630697539d1a1dbe/, .Sorry, nothing has changed.

Pellaeon
23rd July 2009, 21:46
New CAT 9.7 completely broke DXVA playback: MPC crashes when trying to open video file encoded in VC1 or H.264.

Radeon 4850 + Vista x64 + CAT 9.7

Snowknight26
23rd July 2009, 22:07
New CAT 9.7 completely broke DXVA playback: MPC crashes when trying to open video file encoded in VC1 or H.264.

Radeon 4850 + Vista x64 + CAT 9.7

Working here, same specs.

Pellaeon
23rd July 2009, 22:08
Just discovered reason: disabling 10bit RGB output solved problem.

hoborg
23rd July 2009, 22:09
I can confirm, that:
- i have wrong frame order and blockong on "mpc-hc.dxva.corruption.sample.mkv" sample - this sample have blocking problem even with Cyberlink PDVD8 PDVD8 h.264 decoder
- i have wrong frame order but no blocking on "sample-001.mkv" sample - working fine with PDVD8 h.264 decoder

I tryed "mplayerc_test.rar" but no change.

Updated to cat. 9.7 - no change

Casimir666, can i ask what GPU and OS do you have?

Xorp
23rd July 2009, 22:29
Might want to improve DTS Express detection, here an example: http://www.sendspace.com/file/keswl8

MPC-HC 1.2.1179 says its "Secondary DTS HD High Resolution Audio, 48.0kHz, 3chn, 576kbps" when it's actually "DTS Express, 2.0 channels, 16 bits, 192kbps, 48khz" (eac3to). DTS Express is a different format from DTS and DTS-HD.

BatKnight
24th July 2009, 21:31
Since xvidvideo.ru is not going to be updated until 23 August, where can we get the latest compiled MPC-HC releases?

Bat

Spec-Chum
24th July 2009, 23:02
I don't have my own web space but I'm more than happy to build a normal version (I use a custom build for core2) and upload to a public site. IA32 and X64 builds are fine.

Sendspace seems OK, anyone know a better one (must be free).

cheers

St Devious
24th July 2009, 23:06
I don't have my own web space but I'm more than happy to build a normal version (I use a custom build for core2) and upload to a public site. IA32 and X64 builds are fine.

Sendspace seems OK, anyone know a better one (must be free).



mediafire, sendspace limits download speed.

Spec-Chum
24th July 2009, 23:10
mediafire, sendspace limits download speed.

mediafire it is then, just building 1182 now...

Having an issue with x64 builds, so will just be x86 for now. I'll fix it tomorrow...

edit: OK fixed. Devs, you need to remove d2vsource from mplayerc Project Dependencies on x64 build...

Links:
x64 (http://www.mediafire.com/?sharekey=f23b64e279fec79ea0f2f20c509059d9d8060856ca4d2a3a5be6ba49b5870170)
x86 (http://www.mediafire.com/?sharekey=f23b64e279fec79ea0f2f20c509059d944fe6769e7319381c95965eaa7bc68bc)

Mangix
25th July 2009, 01:51
i did something to my computer and now EVR custom refuses to work. everytime i set it to EVR custom, MPC exits randomly...

regular EVR and all the other renderers work fine. I think MPC actually crashes since Haali's icon is still in the taskbar after MPC exits...

using Windows XP btw.

edit: tested with builds 1179 and 1180. not sure when it started since i use Haali mostly.

edit2: uninstalled and reinstalled the framework. same result.

St Devious
25th July 2009, 03:27
mediafire it is then, just building 1182 now...

Having an issue with x64 builds, so will just be x86 for now. I'll fix it tomorrow...

edit: OK fixed. Devs, you need to remove d2vsource from mplayerc Project Dependencies on x64 build...

Links:
x64 (http://www.mediafire.com/?sharekey=f23b64e279fec79ea0f2f20c509059d9d8060856ca4d2a3a5be6ba49b5870170)
x86 (http://www.mediafire.com/?sharekey=f23b64e279fec79ea0f2f20c509059d944fe6769e7319381c95965eaa7bc68bc)

so are these builds any different from those on xvidvid.ru ?

bobdynlan
25th July 2009, 04:08
in future version i would like to see a CLI Switch for loading a "Pan&Scan Presets" because when i watch 2.35:1/2.40:1 movies i move the image to the top and have my masking at the bottom of my 16:9 screen.
or am i asking for too much? (pretty please :) )
Second that.
I like what you can do with the shaders, you can have two different presets using combine, and have two keyboard shorcuts to toggle them, the last state is remembered after closing.
Would be nice to have the option to setup custom keyboard shortcuts for Pan&Scan individual presets, and have the last state remembered, too.
And speaking of remembering the last state, how about making that After Playback defaults to Exit? Would help alot as the current Do Nothing option prevents stand-by most of the time (Always On Top does not matter).
Really like the minimalistic looks, but it needs some improvement, from those nine buttons (and two sliders), three of them are unused most of the time or generating issues (Decrease speed, Increase speed, Step). How about having some Pan&Scan, Shaders, Stream Switcher etc.? Well, I guess the option to have user skins is not a priority right now.
Do the shaders work in latest x64 version now?

neoufo51
25th July 2009, 06:02
Is it just me or are iPhone 3GS videos not working well with MPC-HC?

Build 1179, Win7, Latest Nvidia drivers.

I'm seeing problems with every renderer, even with Quicktime installed.

1) System Default, VMR9, and Haali all play the video 90 degrees counterclockwise and with an incorrect 4:3 ratio.

2) EVR CP doesn't play AT ALL and says at the bottom that DXVA is running.

Here's a sample video from a friend's iPhone. Please confirm my findings.

http://www.mediafire.com/?djogghzjv1z

s174955
25th July 2009, 07:52
Hi, love the progress on MPC-HC!

Have a short question though about the current state of DXVA support with MPH-HC i.c.w. differerent GPU's
- ATI: support for H264 (not e.g. L5.1 though or too many ref frames) + VC1
- NVidia: support for H264 (also L5.1 and 16 ref frames), no VC1
- Intel: ? (if I'm corrent it is supported now, but i have no idea to what extend)

Note:
for Nvidia I mean the newer onces (i know that since somewhere around the new version of the 8800 GTS their cards support VC1, but it does not i.c.w. MPC-HC)?

Is this list correct? And what about Intel?

Spec-Chum
25th July 2009, 07:54
so are these builds any different from those on xvidvid.ru ?

Nope, well apart from I use GCC 4.3.3 and not 4.4.1 (although I'd be very surprised if that made a difference. I use a custom build myself (nothing major, just built specificly for Core2 arch) but these are built with all defaults.

Hope this helps :)

Spec

tetsuo55
25th July 2009, 08:41
Anyone with compiling capabilities,

Does MPC-HC still function(or even fully compile) if you compile with these settings:

x86: "/SAFESEH /O2 /GS /arch:SSE2 /EHa"
x64 AMD: "/favor:AMD64 /O2 /GS /EHa"
x64 INTEL: "/favor:INTEL64 /O2 /GS /EHa"
x64 universal(SLOW): "/favor:blend /O2 /GS /EHa"

Casimir666
25th July 2009, 11:36
@hoborg, @Jong
Your problem happen only with ATI board, and I find the issue for corruption at least. Hoborg I still have little trouble with your file, some of the frame are not display in correct order.

@Snowknight26
Your file didn't play on ATI board (test with Cyberlink + Microsoft Win7 decoder). No problem on my nVidia, maybe a problem with ATI driver?

@Trahald
Custom MMCO is now supported, and you file play fine

@The1n
Could you try again with new test build (if not ok would you post your screenshot on imageshark or something your previous attachement is still waiting validation)?

New test build with all this changes available from here : http://www.zshare.net/download/6313488079dc9738/

To all : I'm looking for H264 samples with long reference frames inside, ans if possible MMCO commands

ar-jar
25th July 2009, 17:46
Anyone with compiling capabilities,

Does MPC-HC still function(or even fully compile) if you compile with these settings:

x86: "/SAFESEH /O2 /GS /arch:SSE2 /EHa"
x64 AMD: "/favor:AMD64 /O2 /GS /EHa"
x64 INTEL: "/favor:INTEL64 /O2 /GS /EHa"
x64 universal(SLOW): "/favor:blend /O2 /GS /EHa"

This is what I get when plugging in the options from the first line (x86):

3>Linking...
3>dsutilRU.lib(a_yuv2rgb.obj) : error LNK2026: module unsafe for SAFESEH image.
3>dsutilRU.lib(convert_a.obj) : error LNK2026: module unsafe for SAFESEH image.
3>d2vsourceRU.lib(idctmmx.obj) : error LNK2026: module unsafe for SAFESEH image.
3>Mpeg2DecFilterRU.lib(motion_comp_mmx.obj) : error LNK2026: module unsafe for SAFESEH image.
3>Mpeg2DecFilterRU.lib(idct_mmx.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MpaDecFilterRU.lib(lpc_asm.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MpaDecFilterRU.lib(bitreader_asm.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MpaDecFilterRU.lib(cpu_asm.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MPCVideoDecRU.lib(CompilatorVersion.o) : error LNK2026: module unsafe for SAFESEH image.
3>MPCVideoDecRU.lib(mpc_helper.o) : error LNK2026: module unsafe for SAFESEH image.
3>MPCVideoDecRU.lib(parser.o) : error LNK2026: module unsafe for SAFESEH image.

... and so on with a whole bunch of other .o files in MPCVideoDecRU.lib.

Without the /SAFESEH option to the linker, everything seems to work ok.
-A

gngn
25th July 2009, 18:13
New test build with all this changes available from here : http://www.zshare.net/download/6313488079dc9738/


the problems with XP+nvidia+DXVA introduced in r1141 ( post #8320 (http://forum.doom9.org/showthread.php?p=1294591#post1294591)) are now fixed.
only that the max ReFrames for XP seems to be now 14. videos with ReFrames=15 or above wont play.

The1n
25th July 2009, 18:16
@The1n
Could you try again with new test build (if not ok would you post your screenshot on imageshark or something your previous attachement is still waiting validation)?

New test build with all this changes available from here : http://www.zshare.net/download/6313488079dc9738/

Hi Casimir666 , when trying out your latest test build it looked a little better but still error frames with original bluray films, here is a zshare link for you.

http://www.zshare.net/download/63146496f464ec2b/

The1n

Casimir666
25th July 2009, 18:36
@ Mercury
I fixed the True HD and LPCM mapping. The Eac3 is still 5.1 instead of 7.1 because ffmpeg return only 6 channels! Back and side surround channel are out on back.
Cannot fix the DTS, because it's decoded by libdts that didn't support 7.1.

I didn't understand for the AC3 sample : are you sure it's wrong? Can you try with original mpc because the original mapping is used in this case and i would be surprise if it's wrong. Your file is 5.1 and not 7.1?


@ All
I fixed other small issues on DXVA, and if no major bugs are detected this build will became next stable release :
http://www.zshare.net/download/6314672884c0d9d9/

tetsuo55
25th July 2009, 18:41
This is what I get when plugging in the options from the first line (x86):

3>Linking...
3>dsutilRU.lib(a_yuv2rgb.obj) : error LNK2026: module unsafe for SAFESEH image.
3>dsutilRU.lib(convert_a.obj) : error LNK2026: module unsafe for SAFESEH image.
3>d2vsourceRU.lib(idctmmx.obj) : error LNK2026: module unsafe for SAFESEH image.
3>Mpeg2DecFilterRU.lib(motion_comp_mmx.obj) : error LNK2026: module unsafe for SAFESEH image.
3>Mpeg2DecFilterRU.lib(idct_mmx.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MpaDecFilterRU.lib(lpc_asm.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MpaDecFilterRU.lib(bitreader_asm.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MpaDecFilterRU.lib(cpu_asm.obj) : error LNK2026: module unsafe for SAFESEH image.
3>MPCVideoDecRU.lib(CompilatorVersion.o) : error LNK2026: module unsafe for SAFESEH image.
3>MPCVideoDecRU.lib(mpc_helper.o) : error LNK2026: module unsafe for SAFESEH image.
3>MPCVideoDecRU.lib(parser.o) : error LNK2026: module unsafe for SAFESEH image.

... and so on with a whole bunch of other .o files in MPCVideoDecRU.lib.

Without the /SAFESEH option to the linker, everything seems to work ok.
-AThose command tell the compiler to : Prefer speed over size, and security over both.
Those erroring files need to be recompiled with this setting enabled using VS2008SP1

hoborg
25th July 2009, 19:09
@ All
I fixed other small issues on DXVA, and if no major bugs are detected this build will became next stable release :
http://www.zshare.net/download/6314672884c0d9d9/

Casimit, just tryed and bad news - no changes at all :( Still get wrong frames order on all h.264 MKV i have :/

Mercury_22
25th July 2009, 20:11
@ Mercury
I fixed the True HD and LPCM mapping. The Eac3 is still 5.1 instead of 7.1 because ffmpeg return only 6 channels! Back and side surround channel are out on back.
Cannot fix the DTS, because it's decoded by libdts that didn't support 7.1.

I didn't understand for the AC3 sample : are you sure it's wrong? Can you try with original mpc because the original mapping is used in this case and i would be surprise if it's wrong. Your file is 5.1 and not 7.1?


@ All
I fixed other small issues on DXVA, and if no major bugs are detected this build will became next stable release :
http://www.zshare.net/download/6314672884c0d9d9/

Yes I'm sure about AC3 ! Also MPC 6.4.9.0 (original mpc) has the same WRONG mapping ! If it helps FFDShow has the correct mapping for Ac3 (Dolby Digital)
Yes the TEST file is 5.1 ! AFAIK AC3 (Dolby Digital) has MAX 6 channels http://en.wikipedia.org/wiki/Ac3 or http://www.dolby.com/consumer/technology/dolby_digital.html

Ac3 (Dolby Digital) wrong mapped channels:
1 - REAR RIGHT wrong mapped to FRONT RIGHT
2 - REAR LEFT wrong mapped to FRONT LEFT
= No rear channels!

Test 5.1 AC3 (Dolby Digital) (http://www.lynnepublishing.com/surround/www_lynnemusic_com_surround_test.ac3)


I can confirm TrueHD and LPCM (and E-AC3 since "ffmpeg return only 6 channels" ) now are working correct ! :thanks:

About DTS, please can't you at least make it like E-AC3 : "Back and side surround channels are out on back." ?

DTS (-HD HR MA) wrong mapped channels:
1 - SIDE RIGHT wrong mapped to FRONT RIGHT
2 - REAR RIGHT wrong mapped to FRONT RIGHT
3 - SIDE LEFT wrong mapped to FRONT LEFT
4 - REAR LEFT wrong mapped to FRONT LEFT

Test 7.1 DTS-HD HR (http://sharebee.com/abf92989)

P.S. PLEASE can you compile a x64 version too ?

73ChargerFan
25th July 2009, 20:40
Sorry for OT, but my HTPC is getting old, and I'm tired of tearing with my BD rips. This is the only application I run on it, except for Opera.

Current: AMD 4600X2, 2gb DDR memory, ATI 4850, Windows XP MCE 2005.

I purchased a Athlon 2 X2 250 to upgrade, with 4gb DDR2, re-use my ATI 4850, Windows 7 (x86 or 64). $185.

Will this be blazing fast, enough that I can ignore DXVA? Or should I return it and upgrade to the AMD max, a Phenom 945? This would be $300. Money is a consideration...

_xxl
25th July 2009, 22:28
Those command tell the compiler to : Prefer speed over size, and security over both.
Those erroring files need to be recompiled with this setting enabled using VS2008SP1
What part of mpc-hc could benefit from those compiler optimizations?

tetsuo55
25th July 2009, 22:31
What part of mpc-hc could benefit from those compiler optimizations?Overall optimization could mean the difference between jittering and stable playback on slower systems.

some parts are very system intensive like the internal subtitle renderer, this can use any optimization it can get.

Mostly it's for security though, to prevent any exploits from things like malformed avi/wmv/mkv files or http links.

_xxl
25th July 2009, 22:34
I get some crashes with internal avi spitter and xvid avi files. If avi spitter is disabled no crash. This is happening also with Haali's avi splitter, but not with MS one.

_xxl
25th July 2009, 22:36
Overall optimization could mean the difference between jittering and stable playback on slower systems.
Maybe I should add a vc project file that uses all optimizations?

tetsuo55
25th July 2009, 22:40
Yes the project file should be updated, but only after we confirm no new problems arise, and any new warnings have to be fixed too.

these warnings point to possible exploitable security problems.

Also if you use the ARCH:SSE2 by default anyone with a CPU that does not have SSE2 will not be able to use MPC-HC

Casimir666
25th July 2009, 23:24
Maybe I should add a vc project file that uses all optimizations?

Be careful playing with optimisation, it's really hard to know if it improve things or not and could have side effect. I prefer not to commit theses tests in SVN

_xxl
26th July 2009, 00:20
Be careful playing with optimization, it's really hard to know if it improve things or not and could have side effect. I prefer not to commit theses tests in SVN
True, stability is more important than speed.

thuan
26th July 2009, 03:11
@73ChargerFan:
If you don't want to rely on DXVA then that CPU will not be enough in some cases, as mine, a Xeon E3110 (equal the Core 2 Duo E8400), isn't enough in some cases either, with libavcodec from ffdshow or MPC-HC internal. I mostly use DXVA now with my nvidia card (9500GT), and it works nearly perfect with MPC-HC. DXVA from ATI card I owned previously (HD2400XT) was really erratic, not to mention the chroma upsampling problem. I wonder if the latter problem is fixed now?

Snowknight26
26th July 2009, 05:54
r1179 doesn't downmix AC3 or DTS anymore. Even though I have both filters set to decode to stereo, the audio renderer shows 6 channels.

And on a separate note, I've noticed that several Blu-rays of mine show subtitles only in the MPEG PS splitter but not in the Subtitles menu, so subsequently they can't be enabled.

Samples on request.

73ChargerFan
26th July 2009, 07:07
Thanks thuan, hc & tetsuo55 - I decided to exchange the Athlon II X2 250 for a Phenom II X3 720 BE.

tetsuo55
26th July 2009, 08:04
Be careful playing with optimisation, it's really hard to know if it improve things or not and could have side effect. I prefer not to commit theses tests in SVNTrue, stability is more important than speed.Yes we have to be absolutely sure first.

Please not that:
/arch:[SSE|SSE2] Without this command SSE and other features of chips supporting this are completely unused (unless hand coded into the source). Also for the X64 builds the SSE2 option is enabled by default. (so we can be relatively sure that this works)

/favor (Optimize for x64) This option should provide an increase in speed by dropping backwards compatibility with x86 (this should have been enabled by default :rolleyes:)

/GS This is purely a security feature, buffer protection, it can be and should be enabled by default.

/EHa this is a security feature too, exeption handling, this actually changes code and could lead to breaks.

/O2, enabled by default on release builds, slightly different meanings between x86 and x64, could break things.

/SAFESEH security feature that is enabled by default on x64

As you can see, almost all of it should be safe, and a lot of it has been tested on the x64 builds (or has been causing some of the x64 build bugs!)

Spec-Chum
26th July 2009, 09:28
Revision: 1188

Fixed : support for custom mmco, improved ATI multislice (this rev is broken on ATI+XP)

Links:
x64 (http://www.mediafire.com/?jijol2dykan)
x86 (http://www.mediafire.com/?adzgtjywknz)

Casimir666
26th July 2009, 09:55
Revision: 1188

Fixed : support for custom mmco, improved ATI multislice (this rev is broken on ATI+XP)

Links:
x64 (http://www.mediafire.com/?jijol2dykan)
x86 (http://www.mediafire.com/?adzgtjywknz)

It's better to use those one that fix the invalid frame order for ATI board on Windows XP :

x86 (http://www.zshare.net/download/631737834c0d90ae/)
x64 (http://www.zshare.net/download/63173825255460e2/)

Spec-Chum
26th July 2009, 09:59
It's better to use those one that fix the invalid frame order for ATI board on Windows XP :

x86 (http://www.zshare.net/download/631737834c0d90ae/)
x64 (http://www.zshare.net/download/63173825255460e2/)

d'oh *shakes head*

_xxl
26th July 2009, 10:29
$ make 64BIT=yes
x86_64-pc-mingw32-gcc -c -I. -I.. -Ilibavcodec -Ilibavutil -I../codecs -I../imgFilters -I../../../../zlib -I../../../../libpng -DHAVE_AV_CONFIG_H -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=gnu99 -DARCH_X86_64 -DWIN64 -D_WIN64 -mno-cygwin -mdll -mthreads -pipe -DNDEBUG -UDEBUG -O2 -m64 -fno-leading-underscore -fno-common -fno-tree-vectorize -fomit-frame-pointer -fno-math-errno -MMD -o libavcodec/aac_ac3_parser.o libavcodec/aac_ac3_parser.c
make: x86_64-pc-mingw32-gcc: Command not found
make: *** [libavcodec/aac_ac3_parser.o] Error 127

Anybody knows the latest working MinGW64 for Win32? 21.07.2009 seems to be broken.

shambles
26th July 2009, 10:51
where can i get recent standalone filters? (xvidvideo.ru is down)

Casimir666
26th July 2009, 10:54
Anybody knows the latest working MinGW64 for Win32? 21.07.2009 seems to be broken.

I have same problem, but seems they rename the compiler name : now it's x86_64-w64-mingw32-gcc instead of x86_64-pc-mingw32-gcc no?

Aleksoid1978
26th July 2009, 10:54
Anybody knows the latest working MinGW64 for Win32? 21.07.2009 seems to be broken.

Set %PATH% to x86_64-pc-mingw32-gcc.exe, usuali it \mingw\bin

The1n
26th July 2009, 11:38
@Casimir666

Could you use the sample file i uploaded ?

The1n

Casimir666
26th July 2009, 12:23
@Casimir666

Could you use the sample file i uploaded ?

The1n

Yes i have it, thanks

STaRGaZeR
26th July 2009, 12:32
Casimir, it's possible to speed up seeking when using DXVA? Seeking to B-frames can be a royal pain sometimes.

Mercury_22
26th July 2009, 12:34
I've found the problem for the wrong mapped channels for Ac3 (Dolby Digital) and DTS !
It's a design problem ! MPC-HC's internal filters does NOT have 7.1 channel setting or "Same as input" (like FFDShow) or the option to disable internal mixer / matrix ! max setting it's "3 Front + 2 Rear" and although this gets ignored for LPCM, DolbyTrueHD and E-AC3 (Dolby Digital Plus) for DTS and AC3 it's NOT ignored!

So even if you have 7.1 speakers you need to set internal filters to 5.1 aka "3 Front + 2 Rear" for ac3 and DTS to work

I think we really need to have 7.1 added and like in FFDShow the options "Same as input" and to be able to disable internal mixer / matrix

Jong
26th July 2009, 12:36
Casimit, just tryed and bad news - no changes at all :( Still get wrong frames order on all h.264 MKV i have :/I tried to test this version but WinRAR said the archive was corrupt :confused: .

But I tried 1188 and the problem was just the same there. Don't know if this should have had the changes.

tetsuo55
26th July 2009, 12:37
I tried to test this version but WinRAR said the archive was corrupt :confused: .

But I tried 1188 and the problem was just the same there. Don't know if this should have had the changes.the changes are not in the regular 1188

Jong
26th July 2009, 12:38
Yeah, sorry. a bit slow this morning. Just waiting for ZShare to download "RC2"

Jong
26th July 2009, 12:42
Yipee! RC2 seems to have fixed my problem (in a brief test).

I will look at the other two samples now.

Jong
26th July 2009, 12:53
On my system Hoborg's sample seems clean now :) but Snowknight's still shows problems. However, those are also there on the build I am currently using normally - build 1120.

tetsuo55
26th July 2009, 13:04
On my system Hoborg's sample seems clean now :) but Snowknight's still shows problems. However, those are also there on the build I am currently using normally - build 1120.Looks like Snowknight's sample is broken with the MS decode and Cyberlink too, but only for ATI cards, it works fine on NVIDIA (intel untested)

So what we really need is someone to report that to:
-Microsoft DXVA h264 decoder team
-Cyberlink
-ATI support

We also need someone with a G45 to test that sample.

Gleb Egorych
26th July 2009, 13:04
Build 1188 still has problems with subtitle renderer, it produces tearing.

Tested with XP and Vista, EVR-CP, optimal renderer settings, Geforce 8800GT 186.18. When subtitle is displayed tearing appears, when subtitle is not displayed there is no tearing. Increasing subtitle resolution moves tearing position (for me from top to the middle of the screen). The bug was previously reported by kumi.

Casimir666
26th July 2009, 13:05
I've found the problem for the wrong mapped channels for Ac3 (Dolby Digital) and DTS !
It's a design problem ! MPC-HC's internal filters does NOT have 7.1 channel setting or "Same as input" (like FFDShow) or the option to disable internal mixer / matrix ! max setting it's "3 Front + 2 Rear" and although this gets ignored for LPCM, DolbyTrueHD and E-AC3 (Dolby Digital Plus) for DTS and AC3 it's NOT ignored!

So even if you have 7.1 speakers you need to set internal filters to 5.1 aka "3 Front + 2 Rear" for ac3 and DTS to work

I think we really need to have 7.1 added and like in FFDShow the options "Same as input" and to be able to disable internal mixer / matrix
Ok this explain a lot of things! The audio decoder have to be improved for 7.1 support.

On my system Hoborg's sample seems clean now :) but Snowknight's still shows problems. However, those are also there on the build I am currently using normally - build 1120.
This sample is broken on ATI with all DXVA decoders

tetsuo55
26th July 2009, 13:10
Build 1188 still has problems with subtitle renderer, it produces tearing.

Tested with XP and Vista, EVR-CP, optimal renderer settings, Geforce 8800GT 186.18. When subtitle is displayed tearing appears, when subtitle is not displayed there is no tearing. Increasing subtitle resolution moves tearing position (for me from top to the middle of the screen). The bug was previously reported by kumi.Hi, this problem goes deep into the core of the subtitle renderer. This won't be fixed soon, sorry.

(i have the same problem myself :()

EDIT:
Although a build made with the string i posted earlier might help.
What CPU do you have?

clsid
26th July 2009, 13:14
Anybody knows the latest working MinGW64 for Win32? 21.07.2009 seems to be broken.
Use the 4.4.0 build from the MinGW64 project page.
The GCC 4.5.0 SVN builds are buggy as can be seen on FFmpeg FATE tests.

I have same problem, but seems they rename the compiler name : now it's x86_64-w64-mingw32-gcc instead of x86_64-pc-mingw32-gcc no?
Adjusting FFMPEG_PREFIX in the makefile_c.inc should fix that.

/GS This is purely a security feature, buffer protection, it can be and should be enabled by default.

/EHa this is a security feature too, exeption handling, this actually changes code and could lead to breaks.

/O2, enabled by default on release builds, slightly different meanings between x86 and x64, could break things.

/SAFESEH security feature that is enabled by default on x64
Those security features will typically hurt performance a bit. So benchmarks are desirable to see their effect. Also, they are no replacement fro writing good code. They might improve security slightly, but can never guarantee the absence of exploitable code.

tetsuo55
26th July 2009, 13:21
Those security features will typically hurt performance a bit. So benchmarks are desirable to see their effect. Also, they are no replacement fro writing good code. They might improve security slightly, but can never guarantee the absence of exploitable code.Very well said, i'm (hoping?) the speedup code and security code will even out a bit, but things like SSE2 and /favor should have a measurable increase in speed.

The code itself is always the place where the biggest speed and security gains can be made (these switch just cover the obvious bases)

Jong
26th July 2009, 13:40
This sample is broken on ATI with all DXVA decodersI dont know the source of that sample. Looking at it, it seems to be a 720p re-encode? Not sure what the source would be. So is it an ATI fault or could it be that Nvidia are just more tolerant of a non-conformant sample? Anyway it will be hard to raise with ATI using that sample!

tetsuo55
26th July 2009, 13:43
I dont know the source of that sample. Looking at it, it seems to be a 720p re-encode? Not sure what the source would be. So is it an ATI fault or could it be that Nvidia are just more tolerant of a non-conformant sample? Anyway it will be hard to raise with ATI using that sample! We won't be sure till someone tests on intel G45, and other devices, like PS3.

Casimir666
26th July 2009, 13:48
Anybody knows the latest working MinGW64 for Win32? 21.07.2009 seems to be broken.

You can use latest version with this patch :


Index: src/filters/transform/mpcvideodec/ffmpeg/makefile_c.inc
===================================================================
--- src/filters/transform/mpcvideodec/ffmpeg/makefile_c.inc (revision 1188)
+++ src/filters/transform/mpcvideodec/ffmpeg/makefile_c.inc (working copy)
@@ -11,11 +11,11 @@
endif

ifeq ($(64BIT),yes)
- FFMPEG_PREFIX=x86_64-pc-mingw32-
+ FFMPEG_PREFIX=x86_64-w64-mingw32-
endif

ifeq ($(64BIT),yes)
- TARGET_OS=x86_64-pc-mingw32
+ TARGET_OS=x86_64-w64-mingw32
CFLAGS+=-DWIN64 -D_WIN64
OPTFLAGS+=-O2 -m64 -fno-leading-underscore
else

Casimir666
26th July 2009, 13:49
We won't be sure till someone tests on intel G45, and other devices, like PS3.

It works on G45

clsid
26th July 2009, 14:03
Very well said, i'm (hoping?) the speedup code and security code will even out a bit, but things like SSE2 and /favor should have a measurable increase in speed.

The code itself is always the place where the biggest speed and security gains can be made (these switch just cover the obvious bases)
Are the security features really needed? There are no known vulnerabilities in MPC. Assuming that the code does not have any major flaws, the extra checks will only cause unnecessary overhead.

If you really want to create an optimized build (besides a generic build) then using ICL would be a better choice. However, it will also result in an increase in binary size.

Even better, use a profiler to find the parts of the code where the most time is spent and then attempt to improve the code for those parts.

tetsuo55
26th July 2009, 14:06
Are the security features really needed? There are no known vulnerabilities in MPC. Assuming that the code does not have any major flaws, the extra checks will only cause unnecessary overhead.

If you really want to create an optimized build (besides a generic build) then using ICL would be a better choice. However, it will also result in an increase in binary size.

Even better, use a profiler to find the parts of the code where the most time is spent and then attempt to improve the code for those parts.PGO would be best, running the killa sample with an extremely difficult animated subtitle and 7.1 truehd audio.

_xxl
26th July 2009, 14:19
Are the security features really needed? There are no known vulnerabilities in MPC. Assuming that the code does not have any major flaws, the extra checks will only cause unnecessary overhead.

If you really want to create an optimized build (besides a generic build) then using ICL would be a better choice. However, it will also result in an increase in binary size.

Even better, use a profiler to find the parts of the code where the most time is spent and then attempt to improve the code for those parts.

Because it is open source anybody can modify the src.. I don't know maybe some test builds are welcome.

tezenoy
26th July 2009, 14:36
Hey everyone,

Didn't know if I should create a new topic for this question, but since I'll try to keep it short and a short answer would suffice, I took my chances :)

My question is regarding x264 content, so first of all, here's the information you might need (what I'm using to play it):
- MPC HC x86 v1.2.1180.0, Haali Media Splitter v1.9.42.1, AC3Filter v1.61b and CoreAVC v1.9.5
* Specs: Windows 7 x64, Q6600, 4GB RAM, GeForce 8800GT
* Settings: EVR Custom, Bicubic 0.60 Resizer, D3D OFF, VSync/Accurate VSync/Alternative VSync ON, EVR Buffers 5, Time Frame Correction ON, and both Flush options ON.

I'm outputting this to a 40" Samsung LCD TV, using a VGA cable (3-year-old model which supports 1:1 pixel mapping only via VGA), and resolution is 1360x768@60hz (doesn't support other refresh rates as well).

My question is: 99% of the content I watch is in 720p@23.976fps. I can't use a different refresh rate so playback can't be perfect (AFAIK). Is there anything I should change in my settings or anything else I don't know about that might give me better playback? (besides speeding up the content - I want natural sound :p)

These are my CoreAVC settings and a screenshot of MPC with Ctrl+J: http://img265.imageshack.us/img265/7638/17902157.th.jpg (http://img265.imageshack.us/img265/7638/17902157.jpg)http://img190.imageshack.us/img190/9131/51400480.th.jpg (http://img190.imageshack.us/img190/9131/51400480.jpg)

I'll appreciate any recommendations and thanks in advance to everyone!

Chumbo
26th July 2009, 15:02
Are you sure it's not 720p @ 59.94fps?

tezenoy
26th July 2009, 15:06
yeah, unfortunately. the source is probably 720p@59.94 or 1080i@29.976, but I'm watching content which is IVTC'd/made progressive 23.976, or Blu-Rays which are 23.976fps, etc

Gleb Egorych
26th July 2009, 15:51
Hi, this problem goes deep into the core of the subtitle renderer. This won't be fixed soon, sorry.

(i have the same problem myself :()

EDIT:
Although a build made with the string i posted earlier might help.
What CPU do you have?
I use RC2 posted by Casimir666 and I have Q6600.

Inspector.Gadget
26th July 2009, 18:43
I have a 1080i Blu-ray source that I'm thinking about re-encoding after bobbing to 1080p60. Does MPC-HC's internal H.264 DXVA decoder support 1080p60 if DXVA profile limitations are otherwise respected? I'm using a 9650M GT, if it matters, and so far with the MPC-HC builds that haven't had frame order issues playback has been flawless. Thanks.

73ChargerFan
26th July 2009, 21:36
Inspector, encode 30 seconds of the source and test that.

jmnk
26th July 2009, 22:23
These are my CoreAVC settings and a screenshot of MPC with Ctrl+J: http://img190.imageshack.us/img190/9131/51400480.th.jpg (http://img190.imageshack.us/img190/9131/51400480.jpg)

I'll appreciate any recommendations and thanks in advance to everyone!
I'm sure this is explained somewhere - but I can't find where. The info and the graph that MPC shows with Ctr+J; where I could find the explanation of the meaning of these numbers? Any links would be greatly appreciated.

Inspector.Gadget
26th July 2009, 23:30
Inspector, encode 30 seconds of the source and test that.

I would, but at .2 fps ... :( ... hope someone with an i7 has already tried.

73ChargerFan
26th July 2009, 23:49
At 0.2fps, the cost of electricity will eat you alive.

mariner
27th July 2009, 05:09
I have a 1080i Blu-ray source that I'm thinking about re-encoding after bobbing to 1080p60. Does MPC-HC's internal H.264 DXVA decoder support 1080p60 if DXVA profile limitations are otherwise respected? I'm using a 9650M GT, if it matters, and so far with the MPC-HC builds that haven't had frame order issues playback has been flawless. Thanks.

Greetings Inspector.Gadget.

Here's a 1920x1080/60P sample that doesn't work. Perhaps you can create one that does.

Best regards.

http://www.sanyo-dsc.com/products/lineup/dmx_hd2000/img/sample/movie_sample_hd2000_01.zip

bemymonkey
27th July 2009, 11:04
Is it possible to activate DXVA for H264 on secondary displays? When I have it activated and open a movie in MPC on my secondary display, the video just shows black. Sound is fine. Moving it back to the primary display gives me my picture again.

Any ideas? :)


This is with a nVidia 9300M GS, btw.

Mixer73
27th July 2009, 11:36
Is it possible to activate DXVA for H264 on secondary displays? When I have it activated and open a movie in MPC on my secondary display, the video just shows black. Sound is fine. Moving it back to the primary display gives me my picture again.

Seems to work fine on my secondary display, 9800GT here.

bemymonkey
27th July 2009, 11:38
Crap. Which driver set are you using? MPC version?

Mixer73
27th July 2009, 11:42
Crap. Which driver set are you using? MPC version?

186.18 and I've never had a problem with MPC in this regard, or PowerDVD for that matter.

I suspect the notebook signal path is the most likely culprit. I don't suppose DXVA with MPC would require COPP compliance? Unlikely I would guess.

Octo-puss
27th July 2009, 11:43
Is ~30% CPU usage too high when using DXVA? Ever since I moved onto Windows7, I THINK it went up by substantial amount. Can't remember what the numbers were like under Vista, though.
E8400 CPU @3.75GHz, ATI 4870.
What do you think?

bemymonkey
27th July 2009, 11:44
I dunno about Vista, but on XP activating DXVA drops the CPU usage from 50% to ~20% on a Core2Duo P7370 (2GHz).


I suspect the notebook signal path is the most likely culprit.

Probably. Maybe the HDMI output would work better (I'm hooked up via D-Sub right now)?

Mixer73
27th July 2009, 11:49
Probably. Maybe the HDMI output would work better (I'm hooked up via D-Sub right now)?

Mumble mumble, in theory analog connection should actually get around any problems like HDCP/COPP because basically they are disabled.

I suspect your problem isn't DXVA but more a DirectDraw problem. If you try the same renderer with a different decoder what does it do?

Keiyakusha
27th July 2009, 12:21
Is ~30% CPU usage too high when using DXVA? Ever since I moved onto Windows7, I THINK it went up by substantial amount. Can't remember what the numbers were like under Vista, though.
E8400 CPU @3.75GHz, ATI 4870.
What do you think?

For me on XP CPU load was around 3%, on Win7 - around 10% with slower Core2Duo. NVIDIA card...

Inspector.Gadget
27th July 2009, 12:23
Greetings Inspector.Gadget.

Here's a 1920x1080/60P sample that doesn't work. Perhaps you can create one that does.

Best regards.

http://www.sanyo-dsc.com/products/lineup/dmx_hd2000/img/sample/movie_sample_hd2000_01.zip

Thanks!

bemymonkey
27th July 2009, 12:37
Mumble mumble, in theory analog connection should actually get around any problems like HDCP/COPP because basically they are disabled.

I suspect your problem isn't DXVA but more a DirectDraw problem. If you try the same renderer with a different decoder what does it do?

To be honest, I'm not sure how to switch to a different decoder or renderer. I only activated DXVA by selecting the internal H264 filter in MPC's options menu. Usually I just use FFDShow...

How do I change the decoder? The HDCP is disabled (at least I think it is :D), btw., I encoded to MKV with Handbrake after ripping with AnyDVDHD.

Mercury_22
27th July 2009, 13:06
EDIT never mind this post it was an error on my side !

New better AC3 5.1 test file http://www.tfm.ro/win32-projects/test-avi-ac3/

tetsuo55
27th July 2009, 13:07
1193 might break AC3, EAC3 and Truehd, please test.

Mercury_22
27th July 2009, 13:10
1193 might break AC3, EAC3 and Truehd, please test.

Did anyone compiled ?

tetsuo55
27th July 2009, 13:30
Did anyone compiled ?Not yet, if anyone can compile, please do.

Aleksoid1978
27th July 2009, 13:45
Here :

http://aleksoid.tosei.ru/Dist/MPCHC_1193_x86.7z
http://aleksoid.tosei.ru/Dist/MPCHC_1193_x64.7z

Mercury_22
27th July 2009, 13:56
Here :

http://aleksoid.tosei.ru/Dist/MPCHC_1193_x86.7z
http://aleksoid.tosei.ru/Dist/MPCHC_1193_x64.7z

That was fast :thanks:

1193 might break AC3, EAC3 and Truehd, please test.


Tested NO change ! just the same "problems" from before

tetsuo55
27th July 2009, 14:10
Tested NO change ! just the same "problems" from before Good! :D

tetsuo55
27th July 2009, 16:19
Can someone explain which internal filters to enable/disable in order to play evo files (decrypted HD-DVD)?

clsid
27th July 2009, 16:55
The MPEG source filter and any decoders for which you haven't got an external one installed.

tetsuo55
27th July 2009, 17:54
The MPEG source filter and any decoders for which you haven't got an external one installed.It doesnt work.

Here is the splitter info:
Filter : File Source (Async.) - CLSID : {E436EBB5-524F-11CE-9F53-0020AF0BA770}

- Connected to:

CLSID: {AFB6C280-2C41-11D3-8A60-0000F81E0E4A}
Filter: MPEG-2 Demultiplexer
Pin: MPEG-2 Stream

- Connection media type:

Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: MEDIASUBTYPE_MPEG2_PROGRAM {E06D8022-DB46-11CF-B4D1-00805F6CBBEA}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

- Enumerated media type 0:

Set as the current media type

- Enumerated media type 1:

Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0



Here is the mediainfo:
General
Complete name : F:\MoviesArchief\Van Helsing (2004)\HVDVD_TS\FEATURE_1.EVO
Format : MPEG-PS
File size : 10.0 GiB
Duration : 1h 8mn
Overall bit rate : 20.9 Mbps

Video
ID : 85 (0x55)
Format : VC-1
Format profile : AP@L3
Duration : 1h 8mn
Bit rate : 16.6 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Scan order : 2:3 Pulldown
Bits/(Pixel*Frame) : 0.335
Stream size : 7.98 GiB (80%)

Audio #1
ID : 192 (0xC0)
Format : E-AC-3
Format/Info : Audio Coding 3
Duration : 1h 8mn
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
Video delay : -7ms
Stream size : 755 MiB (7%)

Audio #2
ID : 193 (0xC1)
Format : E-AC-3
Format/Info : Audio Coding 3
Duration : 1h 8mn
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Video delay : -7ms
Stream size : 378 MiB (4%)

Audio #3
ID : 194 (0xC2)
Format : E-AC-3
Format/Info : Audio Coding 3
Duration : 1h 8mn
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Video delay : -7ms
Stream size : 378 MiB (4%)

Audio #4
ID : 195 (0xC3)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Duration : 1h 8mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -7ms
Stream size : 94.4 MiB (1%)

Audio #5
ID : 196 (0xC4)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Duration : 1h 8mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -7ms
Stream size : 94.4 MiB (1%)

Menu
Format : DVD-Video

clsid
27th July 2009, 18:10
Then you should try with Haali Media Splitter, with MPEG-PS enabled.

alex_3d42
27th July 2009, 18:13
where to download latest x86 standalone filters?

And x64 too ! Please :thanks:

tetsuo55
27th July 2009, 18:15
Then you should try with Haali Media Splitter, with MPEG-PS enabled.I see, it works if i prefer haali media splitter(AR).

None of the other splitters work if the video is VC1, but any random splitter will work if the video is MPEG2.

tetsuo55
27th July 2009, 18:27
please, find a reliable host for uploading svn stuff.
please, forget http://www.xvidvideo.ru, that site is terrible, doesn't support download managers & download resume.The MPC-HC team has no influence over alexins's site. We don't host SVN builds ourself, only what we consider to be stable builds.
We do trust alexins and recommend getting SVN builds from his site.

For me downloading from his site takes only a few seconds.

Warbucks81
27th July 2009, 18:29
please, find a reliable host for uploading svn stuff.
please, forget http://www.xvidvideo.ru, that site is terrible, doesn't support download managers & download resume.

I never have any issues downloading from his site.

tetsuo55
27th July 2009, 18:39
but i have, many others too.

Host of the IP: www.xvidvideo.ru
Host IP [?]: 89.169.23.153
IP country code: RU
IP address country: ip address flag Russian Federation
IP address state: Moscow City
IP address city: Moscow
IP address latitude: 55.7522
IP address longitude: 37.6156
ISP of this IP [?]: ZAO Infoline
Organization: INFOLINE
Local time in Russian Federation: 2009-07-27 21:36

please, no chinese, russian hosts.You should troubleshoot the connection issues with your ISP.

Casimir666
27th July 2009, 20:35
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

The1n
27th July 2009, 21:14
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

Great , any G45 fixes ?

The1n

Mercury_22
27th July 2009, 21:23
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

Any chance for the old VC-1 i bug to be solved before the final ? (none of the internal VC-1 filters can play VC-1 interlaced )

VC-1 interlaced sample (http://www.megaupload.com/?d=RE4ED8EP)

Casimir666
27th July 2009, 22:00
Great , any G45 fixes ?

The1n

sorry not yet

Snowknight26
27th July 2009, 22:29
Enabling subs in r1194 with 20 subs to buffer causes a pretty big pause:

http://i32.tinypic.com/4ie8vt.jpg

Tested it with 60, paused for almost a second. Test with 1 and there was no stutter at all.

tetsuo55
27th July 2009, 22:33
Enabling subs in r1194 with 20 subs to buffer causes a pretty big pause:

http://i32.tinypic.com/4ie8vt.jpg

Tested it with 60, paused for almost a second. Test with 1 and there was no stutter at all.the subtitle renderer is not being worked on, but needs a lot of love.

bran
28th July 2009, 07:31
please, find a reliable host for uploading svn stuff.
please, forget http://www.xvidvideo.ru, that site is terrible, doesn't support download managers & download resume.

Heh, download manager..? It's not exactly gigabyte file-sizes we're talking about here..

Takes <5secs on a modern connection.

clemdaddy
28th July 2009, 08:17
First post :)

No matter what settings i try, or build I use, I seem to get video corruption on any AVC encoded bluray. When I run the same movie through powerdvd, I don't have any problems.

I have a nvidia 8400gs. I have the PCI version of the card (not to be confused with the pci-express version - this was the only way I could squeeze out a few more years from my aging agp amd x2 3800+). I'm running winxp (SP2)

I'm using the standalone filters (build 1179). I get dvxa on all bluray codecs (vc1, avc, h.264 and mpeg2). As I mentioned above, AVC has video corruption.

Since I'm using the standalone filters, I have all internal filters turned off in mpc hc. Graphedit and the filter option in mpc hc confirm that i'm using the standalone filters. Graphedit also shows i don't have any other filters in between standalone filter and splitter.

Here are the details (you can see the video corruption in the capture below):

http://img27.imageshack.us/img27/5586/mpchcinfo.jpg

tetsuo55
28th July 2009, 08:20
Too bad you didn't read the last few posts

This build (with internal decoder): http://forum.doom9.org/showthread.php?p=1309066#post1309066 Should work.

clemdaddy
28th July 2009, 09:52
Too bad you didn't read the last few posts

This build (with internal decoder): http://forum.doom9.org/showthread.php?p=1309066#post1309066 Should work.

Yes! that worked! Are the standalone filters available yet?

thanks for the quick response.

tetsuo55
28th July 2009, 10:06
Yes! that worked! Are the standalone filters available yet?

thanks for the quick response.We will release them with the next stable release

tetsuo55
28th July 2009, 10:14
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Also does anyone have an anime sample, with extremly difficult animated subtitles? (preferably one that works on ATI DXVA)

alex_3d42
28th July 2009, 10:52
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

The video is corrupted on my Nvidia 8800gt with 190.40beta drivers on Windows 7 x64.

http://img195.imageshack.us/img195/2480/corruptionmpc.jpg

aerodown
28th July 2009, 11:00
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Windows XP SP3
Nvidia GeForce 8600GT (Driver: 190.38)
Media Player Classic Homecinema RC3
Transform Filter: H264/AVC (DXVA)

http://img132.imageshack.us/img132/1313/arma2usmc720p.th.jpg (http://img132.imageshack.us/i/arma2usmc720p.jpg/)

neoufo51
28th July 2009, 11:04
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Also does anyone have an anime sample, with extremly difficult animated subtitles? (preferably one that works on ATI DXVA)
This is what I get using RC3 with EVR CP on a Win7x64 Notebook with an Nvidia GT 120M, latest WHQL drivers.

EDIT: The way it looks when I play it is like a very fast strobe effect: alternating between all green pixelization, very corrupted yet correctly colored picture, and perfect picture. It's weird to watch.

http://img145.imageshack.us/img145/4986/arma2usmc720pmp4thumbs2.th.jpg (http://img145.imageshack.us/i/arma2usmc720pmp4thumbs2.jpg/)

tetsuo55
28th July 2009, 11:12
Too bad :(

thanks for trying, lets hope the stream itself is corrupt, or that its a splitter problem.

Does it work with haali as the splitter?

neoufo51
28th July 2009, 11:15
Too bad :(

thanks for trying, lets hope the stream itself is corrupt, or that its a splitter problem.

Does it work with haali as the splitter?
Edit: never mind

Keiyakusha
28th July 2009, 11:18
On 8400gs/190.38/win7 32bit it doesn't works with original mp4 or muxed to mkv using internal splitter or haali, but it works when muxed to ts, using internal splitter or haali

marc99
28th July 2009, 11:28
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Also does anyone have an anime sample, with extremly difficult animated subtitles? (preferably one that works on ATI DXVA)

Remuxed to m2ts works perfectly.

Keiyakusha
28th July 2009, 11:42
After doing: original mp4 --> .ts (ts muxer) --> .mp4 (yamb) it works fine

tetsuo55
28th July 2009, 11:42
After doing: original mp4 --> .ts (ts muxer) --> .mp4 (yamb) it works fineSo we can be pretty sure it has been muxed incorrectly?

Keiyakusha
28th July 2009, 11:54
So we can be pretty sure it has been muxed incorrectly?

Don't know about "pretty", since neoufo51 said that it works for him with haali... but yes.

neoufo51
28th July 2009, 12:02
Don't know about "pretty", since neoufo51 said that it works for him with haali... but yes.
Sorry, I read that as Haali "as the renderer" for some reason. I now confirm your findings.

tetsuo55
28th July 2009, 12:04
Thanks for testing everyone, i am happy with the result.
The bug report about the sample has been closed.

stax76
28th July 2009, 17:36
The keyboard shortcuts feature is easily the worst I've ever seen, it's somehow understandable since working on DirectShow is more important. I'm still hoping at some time the UI improves, the C in MPC don't neccesary has to stand for Classic forever, at one time a more WMP/Win7 like UI could be added as additional option and the C in MPC could optionally stand for Contemporary.

I noticed recently that VirtualDub has a keyboard shortcuts feature very similar to the VisualStudio keyboard shortcuts feature allowing to search (filtering) and binding multiple shortcuts to the same target (very important for a player and yet not possible in MPC). Avery Lee being like Gabest one of the most respected low level programmer here with the difference he always ensures the UI lifes up to the same high quality standards then the low level features. It could be ported from VirtualDub.

The current implementation could be improved adding the possibility to learn the shortcut by entering it instead of going through the pain of using two different ComboBoxes. Another usability improvement could be adding groups to the ListView that could be collapsible on Vista or higher. I'm not sure if the collapsible option is available in detail mode but I guess yes, here is a codeproject article (http://www.codeproject.com/KB/list/ListViewGroupCollapsible.aspx).

Regarding UI on top of video, hovering mouse using Winspector (Spy++ like tool) shows Win 7 WMP uses transparent windows on top of the video, Zoom Player uses the same techique, this has some advantages over rendering the UI with DirectShow like media centers, most important OSD being independent from the renderer.

tetsuo55
28th July 2009, 18:06
Everyone with visual studio, microsoft had released a huge patch to adres a very serious security bug:

Visual Studio 2008 Service Pack 1 ATL Security Update
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=294de390-3c94-49fb-a014-9a38580e64cb

Unfortunately the end user runtimes are effected also.
You should uninstal the current ones completely and then install the new one:

2008
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2051a0c1-c9b5-4b0a-a8f5-770a549fd78c

2005
http://www.microsoft.com/downloads/details.aspx?familyid=7C8729DC-06A2-4538-A90D-FF9464DC0197&displaylang=en

----------
The runtimes are now being distributed over windows update, not sure about msvc one though.

STaRGaZeR
28th July 2009, 18:43
Blu-ray MBAFF sample that shows corruption when using DXVA but not with software decoders: http://www.megaupload.com/?d=ZMWMFHRA (58MB)

Blu-ray sample that has several frames out of order in the middle, causes stuttering, clearly visible with Ctrl+J. Happens in other sources too: http://www.megaupload.com/?d=NATS7AZF (45MB)

Specs in sig, but using RC3 from Casimir.

jmnk
28th July 2009, 18:46
These are my CoreAVC settings and a screenshot of MPC with Ctrl+J: http://img190.imageshack.us/img190/9131/51400480.th.jpg (http://img190.imageshack.us/img190/9131/51400480.jpg)

I'll appreciate any recommendations and thanks in advance to everyone!
I'm sure this is explained somewhere - but I can't find where. The info and the graph that MPC shows with Ctr+J; where I could find the explanation of the meaning of these numbers? Any links would be greatly appreciated.

^^^^sorry to bump this question. Any pointers please?

ADude
28th July 2009, 19:34
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

Please do not make a stable release of MPC-HC until we have had a chance to test Beliyaal's code.

We cannot test Beliyaal's code until he returns and clarifies how the options work.

There have been unanswered questions for months.

Casimir666
28th July 2009, 19:55
Blu-ray MBAFF sample that shows corruption when using DXVA but not with software decoders: http://www.megaupload.com/?d=ZMWMFHRA (58MB)

Blu-ray sample that has several frames out of order in the middle, causes stuttering, clearly visible with Ctrl+J. Happens in other sources too: http://www.megaupload.com/?d=NATS7AZF (45MB)

Specs in sig, but using RC3 from Casimir.

Stuttering happen only in mixer mode, can you confirm?

Keiyakusha
28th July 2009, 20:02
Please do not make a stable release of MPC-HC until we have had a chance to test Beliyaal's code.

We cannot test Beliyaal's code until he returns and clarifies how the options work.

There have been unanswered questions for months.

I thought all questions was answered. Maybe I miss something but even if you don't know what some options do, it doesn't mean that release can't be stable. Maybe this is because my limited knowledge of English, but from your posts I get an impression that you just don't like Beliyaal. If something is very broken for you, why not just post some bugreports... if nothing is broken, then there is no point to delay stable release.

Casshern
28th July 2009, 20:13
Please do not make a stable release of MPC-HC until we have had a chance to test Beliyaal's code.

We cannot test Beliyaal's code until he returns and clarifies how the options work.

There have been unanswered questions for months.

For me and many others his code works... it seems to be mainly you who constantly complains. Maybe it does not work for you - that's fine. But do not prevent the majority from enjoying the benefits.

clsid
28th July 2009, 20:29
A GUI suggestion for a next release (after the upcoming one):

Also add the new renderer settings to the Options, as a sub-page of the current Output page. Then tooltips and/or a text field can be added with clarifications of the various options.


Have any goals been set for the near future?
There are several minor GUI tweaks like the one above that I can think of that would improve the general user experience.
Reducing the number of open items on the bugtracker could also be a goal. For example going from the 100+ now to lets say 80.

STaRGaZeR
28th July 2009, 21:31
Stuttering happen only in mixer mode, can you confirm?

I don't know what do you mean with mixer mode, I'm using EVR Custom, not VMR9. But in case you mean the custom presenter, the corruption and the frame disorder both happen with normal EVR too.

ADude
28th July 2009, 22:08
For me and many others his code works... it seems to be mainly you who constantly complains. Maybe it does not work for you - that's fine. But do not prevent the majority from enjoying the benefits.

In order for you to determine that the code works for you, you must know what the options do, so you can answer the questions that no one else can answer. Cool !

Here is a paste of my previous post:
Someone decided to incorporate the code before it was adequately explained.

We are hoping the settings can be technically
described, so that we can test them prior to a "stable" version release.

For example, I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

STaRGaZeR
28th July 2009, 23:48
Beliyaal's code has problems, many of them (if not all) derivated from incorrect refresh rate detection. When it detects the correct one, almost everything works perfectly. However this does not happen on every computer everytime. Symptoms are stuttering, video playing at full speed, etc.

ranpha
29th July 2009, 01:37
For example, I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

From my observation, 'VSync', 'Accurate VSync' and 'Alternative VSnyc' are different vsync algorithms Beliyaal has coded. This mean that unchecking 'VSnyc' mean only 'VSync' feature has been disabled and you can still choose 'Accurate VSync' or 'Alternative VSync' (which I believe is coded specially for ATI users, but I am lazy to dig out the info). What each algorithm do, I do not know because for me Beliyaal's most important contribution are the D3D GUI and subtitle engine enhancements (finally, KMPlayer has nothing on MPC-HC anymore) while the vsync codes are only solving problems I never have in Vista/7.

_xxl
29th July 2009, 06:56
@all
I''ll write a new opening post and I would like that know issues, bugs, info's about DXVA, Todo to be added to my post.

Kazuya
29th July 2009, 11:25
Hello XXL, and thanks for all your incredible job.

I was wondering what you think about make a new GUI more attractive for MPC-HC ?

At least a skin support, and a SWF file support.
:thanks:

Like KMP for example :

http://img179.imageshack.us/img179/773/clip6resize.jpg

tetsuo55
29th July 2009, 12:03
The keyboard shortcuts feature is easily the worst I've ever seen, it's somehow understandable since working on DirectShow is more important. I'm still hoping at some time the UI improves, the C in MPC don't neccesary has to stand for Classic forever, at one time a more WMP/Win7 like UI could be added as additional option and the C in MPC could optionally stand for Contemporary.

I noticed recently that VirtualDub has a keyboard shortcuts feature very similar to the VisualStudio keyboard shortcuts feature allowing to search (filtering) and binding multiple shortcuts to the same target (very important for a player and yet not possible in MPC). Avery Lee being like Gabest one of the most respected low level programmer here with the difference he always ensures the UI lifes up to the same high quality standards then the low level features. It could be ported from VirtualDub.

The current implementation could be improved adding the possibility to learn the shortcut by entering it instead of going through the pain of using two different ComboBoxes. Another usability improvement could be adding groups to the ListView that could be collapsible on Vista or higher. I'm not sure if the collapsible option is available in detail mode but I guess yes, here is a codeproject article (http://www.codeproject.com/KB/list/ListViewGroupCollapsible.aspx).

Regarding UI on top of video, hovering mouse using Winspector (Spy++ like tool) shows Win 7 WMP uses transparent windows on top of the video, Zoom Player uses the same techique, this has some advantages over rendering the UI with DirectShow like media centers, most important OSD being independent from the renderer.I know how you feel about this, the gui definately needs an update, and this updated gui should at least be just as fast as it is now.
I still think it would be great if you could join the team to get this ball rolling...

chiyuwang
29th July 2009, 12:31
Is there anyone who try to play 2 movies with DXVA 1.0 enabled?
When I play them nicely, like build graph -> run, there would not be any problem.
But when I do pause and seek several times, one of the movie will not play. seems that it is kind of stuck.

stax76
29th July 2009, 13:59
I still think it would be great if you could join the team to get this ball rolling...

It's not a goal I have but recently I started a little WTL project and I want to do at least one or two more little ones. This will improve my rather poor C++ knowledge and might increase my interest in MPC development.

tetsuo55
29th July 2009, 14:16
It's not a goal I have but recently I started a little WTL project and I want to do at least one or two more little ones. This will improve my rather poor C++ knowledge and might increase my interest in MPC development.Sounds good ;).

If you want to learn C++ quickly and fully (at least the theoretical part) i recommend reading these books (in order)
http://www.cprogramming.com/books.html

These books are written in such a way that you learn it really quickly and its based on learning through doing.
The 2nd book for example, has a lot of "find the bug(s) in this code" exercises.

Anyone who wants to learn C++ should read these books.

Mirabel
29th July 2009, 14:43
I was wondering what you think about make a new GUI more attractive for MPC-HC ?

At least a skin support, and a SWF file support.

Please no.

I prefer MPC as it's lightwight. I just want to watch videos, without any bloated library and stuff just for the eye. All coding/development should target the quality of media, not the look of the application itself. That's the way it is right now and that's the way which made MPC-HC to the outstanding player it is - superior quality instead of pleasing the eye with effects.

The only thing I'd want in this category would be more glass on Vista/7 - but that's really not important.

And I don't see why all media players should have skin support (most of those skins are ugly, besides). Does e.g. Microsoft Word have skins? No.

If you want the stuff you requested, just use KMP. You can install MPC and KMP on the same machine.

Or use WMP - it has skin support.

bugmenot2
29th July 2009, 14:44
Many thanks for mpc-hc. It's awesome.

One problem though: shaders don't work for me. When I enable one, it says 'shader: [name]' at the bottom, but I don't see any difference (while at least grayscale and invert should be visible). Suggestions are highly appreciated.

And another problem: some quicktime movies only work with QT Alternative (no dxga), and do not work when renamed to *.hdmov (mpc-hc changes into an audio player and only plays noise). E.g. try one of the 1080p trailers on http://www.apple.com/trailers/sony_pictures/thetakingofpelham123/

XP SP3, Radeon HD4550, Catalyst 9.6, mpc-hc 1.2.908.0 (and a build from SVN from last week), DXVA mode H.264 bitstream decoder, no FGT.

stax76
29th July 2009, 14:46
@tetsuo55

Thanks for the advice, I once bought a 21 C++ books package for 60€ at eBay and at least the half of them were very popular titles containing the three last titles of your list. Unfortunately I sold a few good ones since prices for them were high but still got enough and also have good bookmarks. It was a very good deal. :)

tetsuo55
29th July 2009, 14:50
Nice buy.

The 6 mentioned on that site form the basis, there are ofcourse a bunch of good specialisation books for things like gaming, directx, security, etc.. that are not on that list.

St Devious
29th July 2009, 15:03
Sounds good ;).

If you want to learn C++ quickly and fully (at least the theoretical part) i recommend reading these books (in order)
http://www.cprogramming.com/books.html

These books are written in such a way that you learn it really quickly and its based on learning through doing.
The 2nd book for example, has a lot of "find the bug(s) in this code" exercises.

Anyone who wants to learn C++ should read these books.

thanks, I was looking for something like this

stax76
29th July 2009, 15:04
I prefer MPC as it's lightwight.

Some consider it being rather monolithic titanic instead of lightweight and modular, IIRC full compilation took 15 minutes on my dual core, an average .NET application compiles in 2 seconds.

without any bloated library and stuff just for the eye

It already uses some rather heavy libraries.

All coding/development should target the quality of media, not the look of the application itself.

I think a good applications shouldn't have any weak areas and should also get all the small things right since that what makes a application great.

And I don't see why all media players should have skin support (most of those skins are ugly, besides). Does e.g. Microsoft Word have skins? No.

Skins aren't required especially since Aero already looks good but a modern OSD is essential for me, WMP had the play controls first as regular controls, then on the skin and then in WMP 12 finally on the OSD and that's the best solution I think. A lot media center applications try to do a lot things and also fail in many areas like insane bloat but that don't mean it's not possible to do it better and to make it modular, lightweight, efficient etc.

St Devious
29th July 2009, 15:08
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

please use mediafire for uploading instead of zshare. mediafire doesn't have any wait time or popups like zshare

Its interesting to note that the above 32bit download is just one exe file of 2 MB. The builds that I downloaded off xvidvideo.ru were larger size with a 6MB exe file plus other dll's. WHat's the difference ?

kieranrk
29th July 2009, 15:23
And another problem: some quicktime movies only work with QT Alternative (no dxga), and do not work when renamed to *.hdmov (mpc-hc changes into an audio player and only plays noise). E.g. try one of the 1080p trailers on http://www.apple.com/trailers/sony_p...ngofpelham123/

QT alternative causes more problems that it's worth. You should remove it if possible and just use mpc-hc, ffdshow and haali's splitter.

Some consider it being rather monolithic titanic instead of lightweight and modular, IIRC full compilation took 15 minutes on my dual core, an average .NET application compiles in 2 seconds.


That statement is meaningless.

BatKnight
29th July 2009, 15:26
QT alternative causes more problems that it's worth. You should remove it if possible and just use mpc-hc, ffdshow and haali's splitter.
Then what do you suggest being used to play the trailers from Apple Trailers' site? By uninstalling QT Alternative one loses the interface to play the .mov file. You can only download it to watch it.

Bat

clsid
29th July 2009, 15:30
The minimalistic GUI is a reason why many people are using MPC. Skinning is not something that would improve MPC.
The current OSD is indeed pretty ugly and could use some work. Replacing GUI elements by the OSD is a cool idea.
The playlist functionality also far too basic to be usable. That needs improving as well. Particularly a 'snap to edges' function would be useful like Winamp has. Plus proper functionality to manage the contents of the playlist.
The long compilation time is mainly due to the many internal filters. Removing some of the lesser used ones (DSM, RoQ, Nut) and providing them only as a stand-alone filter could be a consideration for the future to make the player more light-weight.
I would also like to see the DXVA decoders being separated from the FFmpeg ones in the code.
The built-in DSM converter is also something that could be removed.

tetsuo55
29th July 2009, 15:33
thanks, I was looking for something like thisNo problem, please join the team when you get good at it :PThe minimalistic GUI is a reason why many people are using MPC. Skinning is not something that would improve MPC.
The current OSD is indeed pretty ugly and could use some work. Replacing GUI elements by the OSD is a cool idea.
The playlist functionality also far too basic to be usable. That needs improving as well. Particularly a 'snap to edges' function would be useful like Winamp has. Plus proper functionality to manage the contents of the playlist.
The long compilation time is mainly due to the many internal filters. Removing some of the lesser used ones (DSM, RoQ, Nut) and providing them only as a stand-alone filter could be a consideration for the future to make the player more light-weight.
I would also like to see the DXVA decoders being separated from the FFmpeg ones in the code.
The built-in DSM converter is also something that could be removed.
The playlist needs to be redone completely imho, more like foobar2000.
The DXVA is basically a patched FFmpeg decoder, it cannot be detached.
Dunno what the DSM converter is, sounds pretty useless

Keiyakusha
29th July 2009, 15:43
I agree that skins is not good idea, but I'd like to see new GUI for MPC-HC, maybe with full aero/jump lists/etc support or something like that.


The builds that I downloaded off xvidvideo.ru were larger size with a 6MB exe file plus other dll's
These was some bonus stuff like interface language translations. MPC-HC can work without that.

St Devious
29th July 2009, 15:46
No problem, please join the team when you get good at it :P

that is why I'm trying to learn it. This motivates me and provides me a goal to learn it. I have basic knowledge of loops and classes. Have to read a bit again and see what I need to do after that.

tetsuo55
29th July 2009, 15:53
On a very basic level MPC-HC can be devided into a few sub-parts.

Casimir666 oversees everything in this diagram.

GUI > Vacancy
Playlist > Vacancy
Video Renderer > Beliyaal and Ar-Jar
Audio Render > Vacancy
DXVA > Casimir
Subtitles > Vacancy
Splitters > Vacancy
Documentation/Wiki > Vacancy
External libraries > CLSID, Alexoid, _XXL, etc..(sorry if i forgot you)
Reviewing code for security > Vacancy
Reviewing code for speed > Vacancy
Commenting code > Vacancy

As you can see we need a lot of dev's who are interested in the sections which have vacancy's

I have some ideas on how to get almost all the bugfixes and feature requests in, especially for playlist and splitters. But this requires a dev that is truly interested in these subjects.

clsid
29th July 2009, 16:08
The DXVA is basically a patched FFmpeg decoder, it cannot be detached.
It uses some FFmpeg code. That does not mean it can't be detached.


Btw, is anyone else getting compilation errors after yesterdays Visual Studio ATL update?

leeperry
29th July 2009, 16:09
I was wondering what you think about make a new GUI more attractive for MPC-HC ?
you could try to send a letter to :
J'y crois, c'est déjà bien
18, Avenue des Champs-Élysées
75008 Paris
France

maybe that'll help!

or maybe using Crystal XP, or some GUI app as you said?

tetsuo55
29th July 2009, 16:12
It uses some FFmpeg code. That does not mean it can't be detached.


Btw, is anyone else getting compilation errors after yesterdays Visual Studio ATL update?Oh you mean only using those parts of ffmpeg truly required for the DXVA decoder.

kieranrk
29th July 2009, 16:14
Then what do you suggest being used to play the trailers from Apple Trailers' site? By uninstalling QT Alternative one loses the interface to play the .mov file. You can only download it to watch it.

Bat

http://www.davestrailerpage.co.uk/

stax76
29th July 2009, 17:31
Generally there are two different types of skins:

1. Normal skin around the video like many WMP versions have and most other players.

2. OSD skin on top of the video usually using visual effects like animations and transparency offering everything from simple messages, play controls to advanced menus entering media center area.

Type 1 is not needed, most users agree here especially people use Aero. Type 2 would be cool I think a lot users would agree, anything is better than the ugly blue box! WMP 12 uses a gradient effect to display a message on top, looks good and shouldn't be hard to implement, maybe something like this could be a start for better OSD features.

alex_3d42
29th July 2009, 18:18
2. OSD skin on top of the video usually using visual effects like animations and transparency offering everything from simple messages, play controls to advanced menus entering media center area.

Agree with that but only if we can deactivate it.

Somebody can compile the version 1197 for windows x64 please :D

Spec-Chum
29th July 2009, 20:39
It uses some FFmpeg code. That does not mean it can't be detached.


Btw, is anyone else getting compilation errors after yesterdays Visual Studio ATL update?

1197 x86 and x64 both compiling fine here. What errors you getting?

Aleksoid1978
30th July 2009, 01:32
Agree with that but only if we can deactivate it.

Somebody can compile the version 1197 for windows x64 please :D

Here - http://aleksoid.tosei.ru/Dist/

Snowknight26
30th July 2009, 03:04
Not sure why you'd need r1197 when all that has changed between that and r1194 is relating to how you compile MPC-HC.

boyumeow
30th July 2009, 04:39
In order for you to determine that the code works for you, you must know what the options do, so you can answer the questions that no one else can answer. Cool !

Here is a paste of my previous post:

As I feel what U r asking is more on fundamental, I suggest check out ar-jar website (http://www.ostrogothia.com/), if that still doesn't answer ur question, maybe U should try Google or the Libraries for books. Thanks.

Octo-puss
30th July 2009, 04:44
Oh and regarding CPU usage - I disabled WMP in Programs and features, and CPU usage went from 30% to say 10% reported. Still using DXVA according to MPC.

cweb
30th July 2009, 08:07
QT alternative causes more problems that it's worth. You should remove it if possible and just use mpc-hc, ffdshow and haali's splitter.



That statement is meaningless.

But qt alternative is needed for itunes too. I don't think one could use ffdshow or haali's with itunes then.

clsid
30th July 2009, 14:52
QT Alternative does not cause problems, it just extends MPC functionality. If you don't want MPC to use the QuickTime framework then is is easy to do so. Rename .mov to .hdmov (or something else). Or Options -> Player -> Formats -> QuickTime file -> set to DirectShow.

chiyuwang
30th July 2009, 16:14
There is a comment in file MP4Splitter.cpp line: 727

FIXME: slow search & stss->m_Entries is private

Is there anyone tell me what is that?

When I play 2 H264 movies with DXVA 1.0, and do pause and seek at same time, one of the movie cant set position properly. Is it related to that comment, or it is something else, is it possible to be fixed?

kieranrk
30th July 2009, 16:42
QT Alternative does not cause problems, it just extends MPC functionality.

Why would you ever want to use the Quicktime Framework? It has the slowest and most broken H.264 decoder I've ever seen.

MPC-HC + Haali's can do virtually everything that Quicktime can do and with DXVA where available.

iron2000
30th July 2009, 17:31
I think the UI is pretty ok except for the jagged edges of the playback symbols and I don't really like the mute button icon and stereo indicator icon.
The buttons go according to the visual style, thats good.
Maybe the seeker can follow the visual style too?

tetsuo55
30th July 2009, 17:35
Why would you ever want to use the Quicktime Framework? It has the slowest and most broken H.264 decoder I've ever seen.

MPC-HC + Haali's can do virtually everything that Quicktime can do and with DXVA where available.i wish the same was true about realmedia, but there really is no viable open source replacement to realalternative

_xxl
30th July 2009, 18:55
I have a question. What does this option and why was added to mpc-hc?
AdditionalOptions="/MP"

Casimir666
30th July 2009, 19:05
I have a question. What does this option and why was added to mpc-hc?

I think it's to improve compilation time on mutiprocessor machines

tetsuo55
30th July 2009, 19:12
I have a question. What does this option and why was added to mpc-hc?Casimir is right, but the option is pretty complex and could be improved further for enhanced speed.

Here is the short description

Visual C++ Compiler Options
/MP (Build with Multiple Processes)
The /MP option can reduce the total time to compile the source files on the command line. The /MP option causes the compiler to create one or more copies of itself, each in a separate process. Then these copies simultaneously compile the source files. Consequently, the total time to build the source files can be significantly reduced.

Here is the full description:
http://msdn.microsoft.com/en-us/library/bb385193.aspx

Spec-Chum
30th July 2009, 20:58
I think it's to improve compilation time on mutiprocessor machines

Funnliy enough, I thought doing a rebuild was taking less time (like noticablebly less) when I last compiled...

clsid
30th July 2009, 23:01
Why would you ever want to use the Quicktime Framework? It has the slowest and most broken H.264 decoder I've ever seen.

MPC-HC + Haali's can do virtually everything that Quicktime can do and with DXVA where available.
It is useful to play old QuickTime files that are not playable with DirectShow filters.

For H.264 it is of course recommended to use DirectShow. The download utility that is included with QTA automatically renames HD files to .hdmov so that DirectShow is used for playback.

Aleksoid1978
31st July 2009, 04:40
Hi all.
I update Png, Vorbis and Ogg lib, test it :
http://aleksoid.tosei.ru/Dist/MPCHC_1202_x86.7z
http://aleksoid.tosei.ru/Dist/MPCHC_1202_x64.7z

and exe only:
http://aleksoid.tosei.ru/Dist/Exe_only/mplayerc_1202.7z
http://aleksoid.tosei.ru/Dist/Exe_only/mplayerc64_1202.7z

her34
31st July 2009, 05:16
Hi all.
I update Png, Vorbis and Ogg lib, test it :
http://aleksoid.tosei.ru/Dist/MPCHC_1202_x86.7z
http://aleksoid.tosei.ru/Dist/MPCHC_1202_x64.7z

and exe only:
http://aleksoid.tosei.ru/Dist/Exe_only/mplayerc_1202.7z
http://aleksoid.tosei.ru/Dist/Exe_only/mplayerc64_1202.7z


ogg videos still don't play in mpc

sample:
http://www.mozilla.com/en-US/firefox/video/?video=meet

direct link:
http://videos.mozilla.org/firefox/3.5/meet/meet.ogv

ADude
31st July 2009, 06:03
As I feel what U r asking is more on fundamental, I suggest check out ar-jar website (http://www.ostrogothia.com/), if that still doesn't answer ur question, maybe U should try Google or the Libraries for books. Thanks.

You need to read my question more carefully.

The question is not related to the details of vertical sync, it is related to what the options actually do in a technical sense.

Here is an example of something similar. The "power" button on your PC or laptop can be setup to turn off the PC, put it in sleep or standby mode, or put it in hibernate mode. One can understand the meaning of all those modes, but yet, without documentation of the button, you would not know which mode the button was setup to do.

Here is a paste of my previous post:
Someone decided to incorporate the code before it was adequately explained.

We are hoping the settings can be technically
described, so that we can test them prior to a "stable" version release.

For example, I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

PS I am disappointed that code was added to MPC-HC that no one understands...

Tiduz
31st July 2009, 06:51
Im having a strange problem, im using newest mpc hc build from xvid.ru, it uses Microsoft MPEG-2 video decoder for DXVA, but i get weird transparant like vertical bars in dark scenes.

I never had that problem before, i get them on MKV and TS files, only ones that are DXVA accelerated, is there any fix for this?

I have no idea how this happened because i changed nothing, reverting back to older player didnt work either, and i uninstalled all codecs and reinstalled and still the same problem >:|

Aleksoid1978
31st July 2009, 06:52
ogg videos still don't play in mpc

sample:
http://www.mozilla.com/en-US/firefox/video/?video=meet

direct link:
http://videos.mozilla.org/firefox/3.5/meet/meet.ogv

Play : MPCHC+HaaliMediaSplitter

http://pic.ipicture.ru/uploads/090731/thumbs/Lf2lh74nEm.png (http://ipicture.ru/Gallery/Viewfull/21528877.html)

boyumeow
31st July 2009, 09:27
You need to read my question more carefully.

The question is not related to the details of vertical sync, it is related to what the options actually do in a technical sense.

Here is an example of something similar. The "power" button on your PC or laptop can be setup to turn off the PC, put it in sleep or standby mode, or put it in hibernate mode. One can understand the meaning of all those modes, but yet, without documentation of the button, you would not know which mode the button was setup to do.

Here is a paste of my previous post:


PS I am disappointed that code was added to MPC-HC that no one understands...

From what U have written, I believe U might have not try out ar-jar website. Sorry if I misunderstood ur msg, thanks.

chiyuwang
31st July 2009, 09:56
Anybody got runtime error in file BaseVideoFilter.cpp line 533?

pmt->subtype = *fmts[iPosition/2].subtype;

_xxl
31st July 2009, 10:10
Sample? What mpc-hc version do you use? Do you use internal splitters and decoders? For example internal avisplitter is known to be buggy and crashes mpc when used.

her34
31st July 2009, 18:18
Play : MPCHC+HaaliMediaSplitter

http://pic.ipicture.ru/uploads/090731/thumbs/Lf2lh74nEm.png (http://ipicture.ru/Gallery/Viewfull/21528877.html)

hi, i should have been more specific. i meant the mpc-hc internal splitter is still broken

neoufo51
31st July 2009, 18:30
ogg videos still don't play in mpc

sample:
http://www.mozilla.com/en-US/firefox/video/?video=meet

direct link:
http://videos.mozilla.org/firefox/3.5/meet/meet.ogv
Working fine on 1202 running on Win7, latest Nvidia drivers, EVR CP.

Keiyakusha
31st July 2009, 18:44
Working fine on 1202 running on Win7, latest Nvidia drivers, EVR CP.
Sure it's working, but not with internal splitter.

hi, i should have been more specific. i meant the mpc-hc internal splitter is still broken
I don't think this has something to do with updated libs...

Tiduz
31st July 2009, 20:11
I now have an image of my problem, when i disable DXVA i dont get this, i have no idea why, i never had this problem :(

using: Media Player Classic - Homecinema v1.2.1179.0
Transform Filter in MPCHC DXVA mode on for both VC1 and H264

heres an example:

http://i32.tinypic.com/1yk6qr.jpg

73ChargerFan
1st August 2009, 01:08
Attention "It works on my machine" people:

IT SHOULD WORK ON EVERYONE'S COMPUTER

(Thanks neoufo51 for your system specs, that kind of post is informative.)

betaking
1st August 2009, 03:49
HI,CM666 !when i update last vc2008 security patch KB973924! i can't compiled last svn!
error C2039: '_Swap_adl' : is not a member of 'std' c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
error C3861: '_Swap_adl': identifier not found c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764

Tiduz
1st August 2009, 06:40
I finally solved it, Goddamn i did so much and it was so simple.

For some reason after i updated my Ati driver it turned on De-Noise and Dynamic contrast, so i turned it off and now its fixed:D

_xxl
1st August 2009, 07:07
HI,CM666 !when i update last vc2008 security patch KB973924! i can't compiled last svn!
error C2039: '_Swap_adl' : is not a member of 'std' c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
error C3861: '_Swap_adl': identifier not found c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
No error for me. It compiles fine.

Kurtnoise
1st August 2009, 08:17
HI,CM666 !when i update last vc2008 security patch KB973924! i can't compiled last svn!
error C2039: '_Swap_adl' : is not a member of 'std' c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
error C3861: '_Swap_adl': identifier not found c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/4bc93a16-4ad5-496c-954c-45efbe4b180b

tetsuo55
1st August 2009, 08:41
@Everyone who is compiling.

MSVC has a 3 level update format.
Major release: 2005, 2008, 2010
Minor release: SP1
Servicepacks: Windows SDK

With the security update for MSVC2008 SP1, the minimum required "servicepack" is now Windows SDK 2008 (the newest stable release) or Windows SDK 7 RC1 (The newest release, only the new windows 7 and vista SP2 code is RC, the exisiting XP SP3 and Vista SP1 code can be considered stable)

If you want stable SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&displaylang=en
If you want newest SDK(Works without problems for MPC-HC and FFdshow):
http://www.microsoft.com/downloads/details.aspx?familyid=F75F2CA8-C1E4-4801-9281-2F5F28F12DBD&displaylang=en

_xxl
1st August 2009, 08:56
I compile mpc-hc and ffdshow using MSVC2008 SP1 with security patch kb971092, Windows SDK 2008 and DirectX March 2009 SDK. It works ok. I had trouble installing Windows SDK 7 RC1 it just stops at 99%. Waiting for stable release of Windows SDK 7.

tetsuo55
1st August 2009, 09:04
I compile mpc-hc and ffdshow using MSVC2008 SP1 with security patch KB973924, Windows SDK 2008 and DirectX March 2009 SDK. It works ok. I had trouble installing Windows SDK 7 RC1 it just stops at 99%. Waiting for stable release of Windows SDK 7.Yes, you are fully updated with stable releases. So compiling will work.

Too bad 7 RC1 did not work for you, final should.

Can you update the compiling instructions to state SDK 2008 instead of SDK vista?

Steveo08
1st August 2009, 10:10
i have a question to the display stats, on the right side i got two graphs (one green and one red) if i use the display stats.

sometimes they are are apart a little and sometimes more, during video playback.

so my questions is what is better for smooth video playback that the graphs are apart or they lie one on the other?

clsid
1st August 2009, 12:19
The 2008 SDK is NOT the minimum requirement. Compilation still works fine with the Vista SDK.

I had compilation errors as well after installing the security patch. I can be fixed by resetting Visual Studio settings:
devenv /resetsettings

Leak
1st August 2009, 13:02
Servicepacks: Windows SDK
Ummm... the Windows SDK is anything but a Service Pack, seeing as you can install and use it without ever installing Visual Studio... :confused:

np: Orbital - The Naked And The Dead (2Orbital (Disc 2))

Matching_Mole
1st August 2009, 13:32
Hi,

I made a little tool in VB in order to set up some parameters (for FFDshow, screen resolution,...) and launch MPC by command lines with the correct file and subs. This tool is not a big deal but it make easier the things for my set up. And all works fine for pretty all format but I have some issue with the *.m2ts from Blu-ray and MPC.

1/ I used the command line "/dvd" for DVD but also Blu-ray and I was expecting the same result than the menu "Open DVD" from the interface of MPC. But if it's ok for DVD, for Blu-ray MPC do not open the bigger m2ts file but give an error "Cannot find DVD directory".

2/ I use also a lot of external subs with my Blu-ray so my tool let me choice the sub to add and I use the command line "/sub" in the program. And if for mkv and so on, all is ok, for m2ts files not really. I mean I can see the sub file that I selected in the subtitle menu of MPC and it seems enable but nothing appears on the screen. Subs appear only if I click on the sub file name in the subtitle menu.

The first issue (/DVD) is not really important, it's just a lack of consistency between the feature in the command line version and the feature in the interface version. And for me it would be more interesting to have a separate menu for Blu-ray which let choice (by an additional menu or whatever) as eac3to give to select the good playlist and read the separate m2ts files as they was only one.

But please, can you fixed the second one?

Thanks in advance.

bobdynlan
1st August 2009, 13:36
The minimalistic GUI is a reason why many people are using MPC. Skinning is not something that would improve MPC.
The current OSD is indeed pretty ugly and could use some work. Replacing GUI elements by the OSD is a cool idea.
The playlist functionality also far too basic to be usable. That needs improving as well. Particularly a 'snap to edges' function would be useful like Winamp has. Plus proper functionality to manage the contents of the playlist.
These would be nice too:
- For the name of God, change the default assignment of VK_LEFT/VK_RIGHT to Jump Backward/Forward (medium or so) like on most media players, not that Framestep that frightens off any new users that are thinking MPC is retarded. Having VK_ADD and VK_SUBSTRACT for the zoom in/out would help too, people (and pets) tend to use those alot and it results in...audio delay !?
Enter and mouse wheel click for fullscreen would also help.
- Have by default enabled "Don't use XP-theming on the player controls" (ugly with custom themes that use other than white background).
- The playlist shuffle algorithm is the worst i've seen (Kmplayer's is stolen from MPC as it's behaving exactly the same). Is it hard to go through the playlist in random order without repeating items untill all have played? Not.
Everithing else is more than fine as it is.

neoufo51
1st August 2009, 13:42
For the name of God, change the default assignment of VK_LEFT/VK_RIGHT to Jump Backward/Forward (medium or so) like on most media players, not that Framestep that frightens off any new users that are thinking MPC is retarded.
Yes, yes, yes! Please do this! It's the little things that make a difference. I hate having to change this every time I run a new installation.

While you're at it, please disable "Left Click to Pause" too. I hate having to disable that.

clsid
1st August 2009, 14:53
Switching framestep with one of the jump key combos is something that could be considered.

Disabling XP-theming is a bad suggestion which will not be implemented.

The playlist as a whole is crap. But unfortunately there is currently no volunteer that has shown interest in improving it.

Doom9
1st August 2009, 15:09
Small X64 question: as far as I know (and my experience in 32bit XP) is that you get Subs in VMRx renderless mode, EVR mode or overlay mode using the built-in subtitle renderer (or via DirectVobSub if it is installed).
Now that I've made the move to Win7 (X64 edition), using the VMR9 or EVR Custom mode gets me a "Warning creating DX9 allocation presenter" (with text "No D3DX9 dll found. To enable stats, shaders and cmoplex resizers, please make sure to install the latest DirectX End-User Runtime.").
So, in order not to be bothered I switched to EVR which works without errors (system default and overlay mixer do, too) - though I'm wondering, isn't DirectX 11 to be downward compatible? Or can I simply and safely install the latest DirectX9 runtime (which would be a 32bit thing of course so would it even work in the 64bit MPC-HC)?

Second issue is subs in the 64bit built of MPC-HC. No matter what renderer I use, subs simply don't appear. Run the 32bit build of MPC-HC with the exact same settings (I made a copy of the ini file and renamed it) and sure enough the subs are here. I cannot add DirectVobSub as external filter in the 64bit build since it's not listed (unlike the 32bit build) - so, is there any way to get subs with the 64bit build of MPC-HC using the built-in filters, or are there any 64bit external filters out there that would do the job?

tetsuo55
1st August 2009, 15:14
i have a question to the display stats, on the right side i got two graphs (one green and one red) if i use the display stats.

sometimes they are are apart a little and sometimes more, during video playback.

so my questions is what is better for smooth video playback that the graphs are apart or they lie one on the other?the lines should overlap.

The 2008 SDK is NOT the minimum requirement. Compilation still works fine with the Vista SDK.

I had compilation errors as well after installing the security patch. I can be fixed by resetting Visual Studio settings:
devenv /resetsettingsI'm sure this is correct, MS recommends simply using 2008 because it will simply work, and you the compiler gets updated.
Ummm... the Windows SDK is anything but a Service Pack, seeing as you can install and use it without ever installing Visual Studio... :confused:

np: Orbital - The Naked And The Dead (2Orbital (Disc 2))You don't have to use them together, if you do have MSVC installed the SDK will update several files inside it, the compiler for example.Small X64 question: as far as I know (and my experience in 32bit XP) is that you get Subs in VMRx renderless mode, EVR mode or overlay mode using the built-in subtitle renderer (or via DirectVobSub if it is installed).
Now that I've made the move to Win7 (X64 edition), using the VMR9 or EVR Custom mode gets me a "Warning creating DX9 allocation presenter" (with text "No D3DX9 dll found. To enable stats, shaders and cmoplex resizers, please make sure to install the latest DirectX End-User Runtime.").
So, in order not to be bothered I switched to EVR which works without errors (system default and overlay mixer do, too) - though I'm wondering, isn't DirectX 11 to be downward compatible? Or can I simply and safely install the latest DirectX9 runtime (which would be a 32bit thing of course so would it even work in the 64bit MPC-HC)?As a policy, Microsoft does include runtimes with their OS, you will have to install the runtime as suggested.

Second issue is subs in the 64bit built of MPC-HC. No matter what renderer I use, subs simply don't appear. Run the 32bit build of MPC-HC with the exact same settings (I made a copy of the ini file and renamed it) and sure enough the subs are here. I cannot add DirectVobSub as external filter in the 64bit build since it's not listed (unlike the 32bit build) - so, is there any way to get subs with the 64bit build of MPC-HC using the built-in filters, or are there any 64bit external filters out there that would do the job?You need to use a 64bit splitter, what kind of container are you using?

stax76
1st August 2009, 15:35
Since there are so many complains about the playlist maybe it would be a good idea to create a dedicated thread about discussing about how it should be, what are the requirements, how it could be done, which code could be ported etc., once all this is clearer maybe chances are higher somebody wants to actually code it.

tetsuo55
1st August 2009, 15:38
Since there are so many complains about the playlist maybe it would be a good idea to create a dedicated thread about discussing about how it should be, what are the requirements, how it could be done, which code could be ported etc., once all this is clearer maybe chances are higher somebody wants to actually code it.Although i already have a good idea what it should be like, a good discussion on the subject is never a bad idea.

The real problem is no developers find this challenging or fun enough :(

On a very basic level:

-Playlist should be sortable by as many values as possible
-It should be easy to move items around
-New items added at the bottom in alphanumeric order
-Play all once(in order).
-Repeat all(in order).
-Shuffle all(once)
-Shuffle all(repeated)

Ofcourse the shuffle should play every file once before repeating.
I also think these options could be very compact.:
[]Repeat (All files will be repeated in order from top to bottom until you press stop)
[]Shuffle (All files will be played once in random order)
(Default behavior is play from top to bottom all files once)
(When repeat and shuffle are both enabled all files will be repeated in random order (this will probably create a random order once, and keep repeating that order, when you press stop/play a new random order will be created))

Doom9
1st August 2009, 15:42
you will have to install the runtime as suggested.so install this (http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&DisplayLang=en) and all is well?
You need to use a 64bit splitter, what kind of container are you using? so far I've tried AVI (and thus external vobsub files).. eventually there'll be MKVs and M2TS files, too but one after the other.
By the way.. has nobody ever asked why the built-in vobsub filter cannot handle rar compressed sub files? Is is a license thing? I saw that 7-zip has a special clause on the rar decompression while otherwise being LGPL.

tetsuo55
1st August 2009, 15:44
so install this (http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&DisplayLang=en) and all is well?
Yes thats it.
so far I've tried AVI (and thus external vobsub files).. eventually there'll be MKVs and M2TS files, too but one after the other.
By the way.. has nobody ever asked why the built-in vobsub filter cannot handle rar compressed sub files? Is is a license thing? I saw that 7-zip has a special clause on the rar decompression while otherwise being LGPL.Make sure your are using the internal splitters and not external ones like haali or microsoft ones.
I don't know about the rar thing.

Steveo08
1st August 2009, 15:49
thanks for the info tetsuo55! :-)

stax76
1st August 2009, 16:12
Playlist should be sortable by as many values as possible

What about ListView columns in detail mode?

It should be easy to move items around

I think it should include mouse and keyboard and multiselect.

New items added at the bottom in alphanumeric order

How are they added right now?

Play all once(in order).

It does this already, right?

-Repeat all(in order).
-Shuffle all(once)
-Shuffle all(repeated)

Ofcourse the shuffle should play every file once before repeating.
I also think these options could be very compact.:
[]Repeat
[]Shuffle
(Default behavior is play from top to bottom all files once)

Is that so important for movies? For music most people use MediaMonkey, foobar2000 etc. I guess.

tetsuo55
1st August 2009, 16:21
What about ListView columns in detail mode?

I think it should include mouse and keyboard and multiselect.Sure.
How are they added right now?How i see it happening, is that only 1 file can be added at a time, and windows doesn't present them to mpc in alphanumeric order.

It does this already, right?yes all files are played once from top to bottom
Is that so important for movies? For music most people use MediaMonkey, foobar2000 etc. I guess.Almost every playlist request is about this subject.

Doom9
1st August 2009, 17:14
Make sure your are using the internal splitters and not external ones like haali or microsoft ones.I don't have any external splitters installed at this point (though for MKV I will have no choice.. the built-in MKV splitter isn't quite up to par with Haalis). Bottom line.. same settings and subs in the 32bit build but not in the 64bit build. So for now my workaround is simply using the 32bit build.

tetsuo55
1st August 2009, 18:02
Please make a screenshot, with CTRL+J active.

And rightmouseclick on the screen with filters opened, and the bottom one (usually the splitter) opened too.

clsid
1st August 2009, 18:13
By the way.. has nobody ever asked why the built-in vobsub filter cannot handle rar compressed sub files? Is is a license thing? I saw that 7-zip has a special clause on the rar decompression while otherwise being LGPL.With DirectVobSub, all you need to do to be able to open compressed subs is put unrar.dll in your Windows system32 directory. I assume this also works with the internal one.

The dll can be downloaded freely here:
http://rarlabs.com/rar_add.htm

Doom9
1st August 2009, 20:28
Please make a screenshot, with CTRL+J active.I'm afraid control-j does nothing here.. I have the default keyboard shortcuts and I can see that it should be show stats, and I also see that "Display Stats" is active in the renderer settings, yet no stats (tried with vmr7, vmr9, custom evr.. the menu option is grayed out in EVR and overlay)
As for the rest here you go.. 32bit and 64bit varieties.. at first glance everything looks the same, I don't see any filters that are or are not there.. yet in the 32bit version the subtitle menu is active and lists all my subs, in the 64bit version it isn't active and I have no subs.

@clsid: you that does the trick.. cannot verify for the 64bit version of course since I get no subs there.

MrHetfield
1st August 2009, 20:48
Hello people. I need help. I use MPC-HC 1.2.1161 with Radeon HD 4800 & Catalyst 9.6 & Win7. I watch DVD (MPEG2) and i don't see subtitles. Filter Microsoft DTV-DVD Video decoder (ATI Avivo work fine). Built-in filter work fine with subs. Can I see subs with avivo or not?

tetsuo55
1st August 2009, 20:56
I'm afraid control-j does nothing here.. I have the default keyboard shortcuts and I can see that it should be show stats, and I also see that "Display Stats" is active in the renderer settings, yet no stats (tried with vmr7, vmr9, custom evr.. the menu option is grayed out in EVR and overlay)
As for the rest here you go.. 32bit and 64bit varieties.. at first glance everything looks the same, I don't see any filters that are or are not there.. yet in the 32bit version the subtitle menu is active and lists all my subs, in the 64bit version it isn't active and I have no subs.

@clsid: you that does the trick.. cannot verify for the 64bit version of course since I get no subs there.did you install the DirectX redist already? and reboot?
your using vsfilter external right?

You could try checking "autoload subtitles" in the options

73ChargerFan
1st August 2009, 21:09
Would subtitles, shaders & the stats graph all be the same problem? That is, don't they require the same functionality to display?

tetsuo55
1st August 2009, 21:14
i think they all do

Snowknight26
1st August 2009, 21:24
I'm afraid control-j does nothing here.. I have the default keyboard shortcuts and I can see that it should be show stats, and I also see that "Display Stats" is active in the renderer settings, yet no stats (tried with vmr7, vmr9, custom evr.. the menu option is grayed out in EVR and overlay)
You need DirectX 9 installed after running the DirectX web setup.


As for the rest here you go.. 32bit and 64bit varieties.. at first glance everything looks the same, I don't see any filters that are or are not there.. yet in the 32bit version the subtitle menu is active and lists all my subs, in the 64bit version it isn't active and I have no subs.
I reported about the issue (http://forum.doom9.org/showthread.php?p=1308531#post1308531) with the 64-bit version not showing subtitles, but I guess it was overlooked. Either way, it's a (known?) bug.

Doom9
1st August 2009, 22:09
did you install the DirectX redist already? and reboot?
your using vsfilter external right?No, no and no.

I did the first two now and now the internal subtitle support is working for that particular AVI, both in EVR custom and VMR9 renderless mode. Naturally

You could try checking "autoload subtitles" in the options is enabled. It even works with the 64bit dll of unrar.dll (renamed from unrar64.dll to unrar.dll and put into %windir%\system32 as with any 64bit dll).

Isn't it a bit weird though that subs work out of the box without DX9 (I get the usual warning message about the missing d3d dll) whereas the 64bit version requires a (32bit?) directx9?

Snowknight26
1st August 2009, 22:22
Subtitle rendering doesn't require DirectX runtime libraries; its a separate issue. DirectX is, apart from a few other things, required for the display stats.

Reino
1st August 2009, 23:55
I used "search" but couldn't find what I was looking for, so I hope this hasn't been asked before...

Embedded DirectVobSub is great of course, but is it normal that I have to setup "Styles..." every time I open a movie?
I noticed that just like the external DirectVobSub filter I used in the past, the options window is only accessible while watching a movie. Isn't it possible to fully integrate these style settings into the MPC-HC subtitle settings?

Steveo08
2nd August 2009, 03:05
is it possible that the bicubic resizer is broken under win 7 x64?

because i am having ghost lines during playback.

i use the latest driver from nvidia for win 7 x64 and 8600 gt.

Lincoln Burrows
2nd August 2009, 03:15
I have created a thread here:
http://forum.doom9.org/showthread.php?t=148667

Explaining a situation with MPC-HomeCinema. Do you guys have any idea if this is some sort of bug? I was using the last version.

sneaker_ger
2nd August 2009, 05:17
I used "search" but couldn't find what I was looking for, so I hope this hasn't been asked before...

Embedded DirectVobSub is great of course, but is it normal that I have to setup "Styles..." every time I open a movie?
I noticed that just like the external DirectVobSub filter I used in the past, the options window is only accessible while watching a movie. Isn't it possible to fully integrate these style settings into the MPC-HC subtitle settings?

I'm not sure if I understand you correctly:
Do you know about the settings under "View" > "Options" > "Subtitles>Default Style"?

hans-jürgen
2nd August 2009, 07:23
The playlist needs to be redone completely imho, more like foobar2000.
Dunno what the DSM converter is, sounds pretty useless
I would also like to have a better playlist in MPC for playing whole directories with many audio files, e.g. like foobar2000 or maybe like 1by1.

But please don't remove the DSM Converter, I just discovered it and use it for demuxing audio tracks from .flv files which works great in my opinion. In fact I would like to extract audio tracks from .swf files as well which play fine in v6.4.9.1 rev 89 (not MPC-HC, the patched build), but the DSM Converter does not open them. Does anybody know if I need a separate DS filter for .swf files for extracting audio tracks with the DSM Converter?

Kurtnoise
2nd August 2009, 09:13
I would also like to have a better playlist in MPC for playing whole directories with many audio files, e.g. like foobar2000 or maybe like 1by1.
what about File -> Open Directory from the menu ?

hans-jürgen
2nd August 2009, 10:10
what about File -> Open Directory from the menu ?
I don't have that option in v6.4.9.1 rev 89, but maybe you meant "Quick Open File..."? I use it now and then, but it's a bit inconvenient, because you have to mark all files in the chosen directory first, then click "Open" and then activate the Playlist option in the "View" menu as well. Furthermore this playlist only shows the duration of played files, not the size or date.

But maybe that is only the case in the patched build of MPC and not with MPC-HC?

Lincoln Burrows
2nd August 2009, 10:13
I am getting a signal on the M2TS I was trying to open before.

Now it's showing image, and all sorts of things. The only problem is that the video is running too fast, it can't stay normal at all.

The image was showed only after I selected "FFDShow Video Decoder" on "External Filters". I noticed BSPlayer is running the M2TS fine, and the "Haali Media Splitter" logo is being showed on the tray. But if I choose "Prefer" on FFDShow and/or Set Merit for FFDShow Video and Haali, it will not make the M2TS normal.

What should I set on External Filters for MPC-HC?

I am trying to play all kinds of files here. The K-Lite codec pack was installed (Mega w/ last update).

http://img6.imageshack.us/img6/7223/testjzb.png

EDIT: Issue solved! :D

I discover the reason for the black screen stated here:
http://forum.doom9.org/showthread.php?t=148667

http://img193.imageshack.us/img193/7271/solved.png

It was necessary to uncheck all the source-filters settings (as you can see, only FLAC is enabled). Then, only FFDShow Video-Decoder with Prefer merit was necessary. Now the extracted M2TS is working fine, normal speed, and only with my desired tracks/subtitles.

This is really cool, I thought I wasn't solve this issue at all.

*******************

Oh-oh, trouble again! :mad:

If the source-filter (see picture above) MPEG PS/TS/PVA is disabled (and I checked all the rest), MPC-HC will open "Haali Media Splitter" while the M2TS is running. The problem is when you attempt to change the subtitle embedded on the M2TS file.

All attempts will fail and the player WILL crash. Since it was working before, is there a way for me to remove this Haali Media Splitter? I tried to set the filter as "Blocked", but that didn't helped me.

If I enable the "MPEG PS/TS/PVA" source filter from MPC, I will have this issue (video running at very fast speed). So far I have solved a problem but caused another.

All started when I tried to remove some unwanted tracks from my movie, using TSMuxer. The new M2TS file was not being recognized by MPC-HC (and only him, returning a black-screen).

Reino
2nd August 2009, 10:22
I'm not sure if I understand you correctly:
Do you know about the settings under "View" > "Options" > "Subtitles>Default Style"?
Wuahahaha....unbelievable! I can't believe I missed that! Thank you :o

Kurtnoise
2nd August 2009, 10:34
I don't have that option in v6.4.9.1 rev 89, but maybe you meant "Quick Open File..."?
mmh...I was refering to MPC-HC not MPC. :)

clsid
2nd August 2009, 12:46
If the source-filter (see picture above) MPEG PS/TS/PVA is disabled (and I checked all the rest), MPC-HC will open "Haali Media Splitter" while the M2TS is running. The problem is when you attempt to change the subtitle embedded on the M2TS file.

All attempts will fail and the player WILL crash. Since it was working before, is there a way for me to remove this Haali Media Splitter? I tried to set the filter as "Blocked", but that didn't helped me.

If I enable the "MPEG PS/TS/PVA" source filter from MPC, I will have this issue (video running at very fast speed). So far I have solved a problem but caused another.

All started when I tried to remove some unwanted tracks from my movie, using TSMuxer. The new M2TS file was not being recognized by MPC-HC (and only him, returning a black-screen).
Your file might be damaged after you remuxed it.

Lincoln Burrows
2nd August 2009, 12:54
Your file might be damaged after you remuxed it.If the video is being displayed, why not the subtitles? I selected them as well to be remuxed. I believe TSMuxer is having some problem with subtitles.

There's no reason the new M2TS file crashes MPC if I attempt to change subtitles that are being listed. The original M2TS file can change them with no problems at all, why the new/modified one can't? Since I reinstalled MPC and all codecs, I don't think MPC is causing this.

hans-jürgen
2nd August 2009, 13:13
mmh...I was refering to MPC-HC not MPC. :)
Yes, I thought so, thank you nevertheless. I don't use MPC-HC yet, because my graphic card is rather old (nVidia GeForce-2) and doesn't support DXVA, as far as I know. Furthermore the download package is bigger than the one for MPC alone, but since I have installed ffdshow as well it would have been the same file size anyhow.

By the way, in the meantime I have found an old thread (http://forum.doom9.org/showthread.php?t=136168) about handling .swf files in MPC where cslid answered that it would use WaveOut for playback and not DirectSound. So this probably is the reason why I can listen to a .swf file with MP3 audio track, but not demux it with the internal DSM Converter, right?

I also found a Flash DS source filter (http://www.medialooks.com/products/directshow_filters/flash_source.html) yesterday, but don't know if this would work with MPC. Has anybody used this filter yet (download link (http://rm.medialooks.com/downloads/flash_directshow_source_filter.msi) from their Wiki)?

clsid
2nd August 2009, 13:34
By the way, in the meantime I have found an old thread about handling .swf files in MPC where cslid answered that it would use WaveOut for playback and not DirectSound. So this probably is the reason why I can listen to a .swf file with MP3 audio track, but not demux it with the internal DSM Converter, right?The audio renderer is not the issue. The reason is that DirectShow is not used for playing SWF files.

STaRGaZeR
2nd August 2009, 18:53
Is there any way to correctly display UTF-8 encoded .srt subtitles? I've tried different settings with no success, non english characters are wrongly displayed.

Casimir666
2nd August 2009, 19:13
Release candidate 4 is available for download from here :

32 bits (http://www.zshare.net/download/63528924e987d7f1/)
64 bits (http://www.zshare.net/download/635289578a925036/)

Snowknight26
2nd August 2009, 19:23
For those that don't like waiting for a download (if it's ok with Casimir666):

http://forum.doom9.org/showpost.php?p=1311585&postcount=8998

Casimir666
2nd August 2009, 19:25
For those that don't like waiting for a download (if it's ok with Casimir666):

http://stfcc.org/misc/mplayerc_releasecandidate4_rev1207.rar
http://stfcc.org/misc/mplayerc_releasecandidate4_rev1207_x64.rar

not fast enough ;)

St Devious
2nd August 2009, 19:30
not fast enough ;)

don't like all the popups and 1 minute wait. Please use mediafire if you can.

Casimir666
2nd August 2009, 19:36
don't like all the popups and 1 minute wait. Please use mediafire if you can.

Impossible to upload on MediaFire : it say at 1% a while .... and updload error ....
All the time...

St Devious
2nd August 2009, 19:39
Impossible to upload on MediaFire : it say at 1% a while .... and updload error ....
All the time...

did you make an account ?

you can upload without an account too but it asks you what folder do you want to upload the file to. this maybe why it is stuck at 1%, because it needs you to select a folder

gngn
2nd August 2009, 19:43
@Casimir666: can you change the ReFrames limit in MPC-HC for nvidia+XP to 14 from the actual 11 ?
after revision 1141 even files with 15 Reframes and without bpyramid worked, but since your changes in the release candidates it dropped to 14.

info on a 14 Reframes video that workes:


General
Complete name : D:\2\killa.sampla.x264_14ReF_bpyramid.mkv
Format : Matroska
File size : 89.6 MiB
Duration : 22s 981ms
Overall bit rate : 32.7 Mbps
Writing application : x264
Writing library : Haali Matroska Writer b0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 14 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 22s 958ms
Bit rate : 32.1 Mbps
Nominal bit rate : 33.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.645
Stream size : 87.7 MiB (98%)
Writing library : x264 core 68 r1183M f21daff
Encoding settings : cabac=1 / ref=14 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=tesa / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=33000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

Snowknight26
2nd August 2009, 20:50
There is a registry value that you can set that makes MPC-HC ignore reference frame count when using DXVA.

adoy
2nd August 2009, 21:23
If you don't like waiting on sites like zshare, rapidshare, etc and you are using FireFox...

... Get the extension 'SkipScreen'! :) It works perfect!

St Devious
2nd August 2009, 21:27
If you don't like waiting on sites like zshare, rapidshare, etc and you are using FireFox...

... Get the extension 'SkipScreen'! :) It works perfect!

perfect. thanks

gngn
2nd August 2009, 22:24
There is a registry value that you can set that makes MPC-HC ignore reference frame count when using DXVA.

yes, but then MPC-HC will try to decode even files with 15 and 16 Reframes, so you have to change the settings to watch those and then revert settings after.

ar-jar
2nd August 2009, 22:28
I get 2>MPCVideoDecDU.lib(log.obj) : error LNK2019: unresolved external symbol _snprintf referenced in function _av_log_default_callback. I tried to add a few c runtime libraries but no cigar. I'm using VS 2008 to build. Any build expert advice? -A

Aleksoid1978
3rd August 2009, 03:54
I get 2>MPCVideoDecDU.lib(log.obj) : error LNK2019: unresolved external symbol _snprintf referenced in function _av_log_default_callback. I tried to add a few c runtime libraries but no cigar. I'm using VS 2008 to build. Any build expert advice? -A

Fix ...

Casimir666
3rd August 2009, 07:09
I get 2>MPCVideoDecDU.lib(log.obj) : error LNK2019: unresolved external symbol _snprintf referenced in function _av_log_default_callback. I tried to add a few c runtime libraries but no cigar. I'm using VS 2008 to build. Any build expert advice? -A

I had the same error : to fix it I upgrade my mingw (with link in compilation.txt), and do a rebuild all on the project

Lincoln Burrows
3rd August 2009, 08:33
Question: Where can I find the best settings for Internal and external filters on MPC-HC?

As I said earlier I was disabling all source filters and only leaving FLAC enabled, but all transform filters were enabled. External filters with only FFDShow video decoder configured to Prefer merit.

But I don't know if something else needs to be configured for best results. I installed K-Lite's codec pack here.

I am addressing my problem in the TSMuxer's thread, it seems the modified M2TS file was having problems with MPC-HC's default source filter called MPEG PS/TS/PVA. When this option is enabled, the modified file is running very fast (the original one, on the other hand, it's normal). If disabled, it's running with normal speed, but Haali's Media Splitter filter crashes MPC if I attempt to change any subtitle. Does that make any sense?

I assume the MPEG PS/TS/PVA source filter from MPC is perfectly normal, so no chance this might be a bug? Have you guys tried to use TSMuxer, generating a new M2TS file and removing some tracks/subtitles from any Blu-ray disc and played on MPC? It would be very important to check that. But not the first time you insert the disc on your drive. I mean, the second time (once the files are already there).

What makes no sense for me it's that BSPlayer can play either the original or modified M2TS files, no matter how I change them. The problem is that BSP can't display any subtitles from these files, while MPC can.

One more thing: only the MPEG PS/TS/PVA source filter from MPC is able to tell me, while the video is being played, the name of the subtitle languages (english, spanish, etc.). Haali will always say they are just another stream, not giving me any names.

Aleksoid1978
3rd August 2009, 12:43
Release candidate 4 is available for download from here :

32 bits (http://www.zshare.net/download/63528924e987d7f1/)
64 bits (http://www.zshare.net/download/635289578a925036/)

This sample http://www.megaupload.com/?d=4U5GCHRE open fine with internal splitter, but DXVA is break - green artefacts while play.

Jong
3rd August 2009, 12:58
This sample http://www.megaupload.com/?d=4U5GCHRE open fine with internal splitter, but DXVA is break - green artefacts while play.That clip plays fine here with DXVA.

XP SP3, ATI 3850, Cat 9.2, VMR9(renderless) MPC-HC b1207.

tetsuo55
3rd August 2009, 12:59
might only be broken on nvidia then

Aleksoid1978
3rd August 2009, 13:09
might only be broken on nvidia then

Possible yes. But play fine at 1179 rev. on Nvidia.

marc99
3rd August 2009, 14:35
This sample http://www.megaupload.com/?d=4U5GCHRE open fine with internal splitter, but DXVA is break - green artefacts while play.

Interlaced (TFF). All interlaced file doesn't work.

tetsuo55
3rd August 2009, 14:37
Interlaced (TFF). All interlaced file doesn't work.not all, many do work.

gngn
3rd August 2009, 14:40
Possible yes. But play fine at 1179 rev. on Nvidia.

playback is full of artefacts here too (with internal and external splitter).

http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_avchd_error.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/avchd_error.png)

also, the 1920x1080/60p MP4 AVC files posted here on doom9 (http://forum.doom9.org/showthread.php?p=1266709#post1266709) will crash MPC-HC (if using Haali as splitter, with internal .mp4 splitter MPC-HC doesnt crash but black screen. audio works). dump is attached

hoborg
3rd August 2009, 17:26
playback is full of artefacts here too (with internal and external splitter).

http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_avchd_error.png (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/avchd_error.png)

also, the 1920x1080/60p MP4 AVC files posted here on doom9 (http://forum.doom9.org/showthread.php?p=1266709#post1266709) will crash MPC-HC (if using Haali as splitter, with internal .mp4 splitter MPC-HC doesnt crash but black screen. audio works). dump is attached

Perfect playback here.

Jong
3rd August 2009, 18:13
So, yes, it sounds like an Nvidia only problem.

DeathWolf
4th August 2009, 03:12
Can anyone with an mkv with ass subs get mpc-hc to display the subs using an external vsfilter, and without using haali's media splitter?

I used to have an external matroska splitter that'd load up, but lately haali seems to load even if I block it, which is fairly disturbing if I may say.

(EDIT: note that the disturbing part is that blocking haali's splitter does not block it, it still loads)

EDIT2: it seems I just have stumbled on a strange matroska file. Will report more when I find out what's special about it.

DeathWolf
4th August 2009, 03:28
Okay, here's the conclusion and a bug report:
If a filter returns the subtitle track before the video one, it seems mpc-hc does not behave correctly.
(that was the particularity of that mkv file)

Another possibility is that the mastroska splitter should actually be returning streams in another order.

G_M_C
4th August 2009, 12:04
Anyone having problems with 1440x1080 anamorphic HD streams (BBCHD) ? When i try to play a stream like that my display/connection to my display "hangs". The image itself is played in 4:3 at first, DAR isnt applied. When i then stop the clip and randomly start another (regular, non-anamorphic) clip my display remains black, only audio is sent through. I have to reboot my system to get the HDMI connection fully up again (As in: Including video).

- MPC-HT for playing of the stream.
- Stream was BBCHD original, 1080i (MBAFF, 1440x1080 anamorphic, PAL 25 fps).
- CoreAVC as decoder.
- ffdshow audio-decoder for audio (Ac3 & DTS on through).

My system is on Win XP SP3. I have an Ati1950Pro as graphics board. 1 monitor out is regular VGA. The secondary out is used for media, it is connected by DVI->HDMI to an Asus HDAV1.3 Slim. The HDMI-out from the Slim-card is connected to an Onkyo SR875 with HDMI-out set on "Through". The Display used is a Panasonic F-HD plasma (shows up as secondary display on the 1950pro).

Never had problems with those streams before, and other streams play fine. It's only the 1440x1080/anamorphic streams that have problems.

DeathWolf
4th August 2009, 13:46
In reference to my previous bug report, here is a quick and dirty patch to put the sub streams at the end of the output pins rather than the beginning.
matroskasplitter.subsfix.diff (http://saber.kawaii-shoujo.net/Various/matroskasplitter.subsfix.diff)

Keiyakusha
4th August 2009, 15:19
Quick suggestion. If in file->save image dialog we change file extension from dropdown menu, in resulting file we will get filename like somefile.avi_snapshot_2009.08.03.17_16_38.bmp.jpg. This is probably easy to fix.

her34
4th August 2009, 17:50
Quick suggestion. If in file->save image dialog we change file extension from dropdown menu, in resulting file we will get filename like somefile.avi_snapshot_2009.08.03.17_16_38.bmp.jpg. This is probably easy to fix.

If someone is editing naming, could they also change the date info to timestamp info which would be more useful for referencing for saving single image?

something like:
file.avi_snapshot_HH.MM.SS.bmp

Aleksoid1978
5th August 2009, 00:04
1211:
http://aleksoid.tosei.ru/Dist/MPCHC_1211_x86.7z
http://aleksoid.tosei.ru/Dist/MPCHC_1211_x64.7z

Snowknight26
5th August 2009, 03:14
MPC-HC flips targa files vertically:
http://stfcc.org/misc/mpc-hc.targa.png

Example targa:
http://stfcc.org/misc/normal.tga

Still happens in the latest verison:
http://i32.tinypic.com/n66rti.png

Aleksoid1978
5th August 2009, 03:17
Still happens in the latest verison:
http://i32.tinypic.com/n66rti.png

Why you use video player, MPC-HC as picture viewer ???

Snowknight26
5th August 2009, 04:33
Why you use video player, MPC-HC as picture viewer ???

Nevermind what I said. I think I overlooked it being an non-MPC-HC issue.

With that said, seems to be a Generate Still Video issue. Turns out ffmpeg can decode it fine. Now if only MPC-HC could decode all the formats that ffmpeg could by default.

DeathWolf
5th August 2009, 04:41
wouldnt that be dshow support for tga that returns the good ol' flipped RGB32?

clsid
5th August 2009, 11:37
Instead of asking us to make pigs fly, you could just install some picture viewer. IrfanView is an excellent free one.

G_M_C
5th August 2009, 11:48
Dont like to quote myself; But my question seems to have been lost between the other ones.

Anyone having problems with 1440x1080 anamorphic HD streams (BBCHD) ? When i try to play a stream like that my display/connection to my display "hangs". The image itself is played in 4:3 at first, DAR isnt applied. When i then stop the clip and randomly start another (regular, non-anamorphic) clip my display remains black, only audio is sent through. I have to reboot my system to get the HDMI connection fully up again (As in: Including video).

- MPC-HT for playing of the stream.
- Stream was BBCHD original, 1080i (MBAFF, 1440x1080 anamorphic, PAL 25 fps).
- CoreAVC as decoder.
- ffdshow audio-decoder for audio (Ac3 & DTS on through).

My system is on Win XP SP3. I have an Ati1950Pro as graphics board. 1 monitor out is regular VGA. The secondary out is used for media, it is connected by DVI->HDMI to an Asus HDAV1.3 Slim. The HDMI-out from the Slim-card is connected to an Onkyo SR875 with HDMI-out set on "Through". The Display used is a Panasonic F-HD plasma (shows up as secondary display on the 1950pro).

Never had problems with those streams before, and other streams play fine. It's only the 1440x1080/anamorphic streams that have problems.

Is there a known problem with anamorphic 1440x1080 streams ?

DeathWolf
5th August 2009, 14:39
Dont like to quote myself; But my question seems to have been lost between the other ones.



Is there a known problem with anamorphic 1440x1080 streams ?

Sounds like a problem of driver to me.(more than mpc-hc) In particular a DXVA problem.
Do you have latest drivers?

DeathWolf
5th August 2009, 14:40
Oh and could someone with commit access check my patch a few posts ago and maybe commit it? It helps for many situations.

G_M_C
5th August 2009, 15:12
Sounds like a problem of driver to me.(more than mpc-hc) In particular a DXVA problem.
Do you have latest drivers?

Dont use DXVA, as i wrote: I use CoreAVC as decoder (on Ati card, so no CUDA either; But QX9650 compensated for both easily :p ).

STaRGaZeR
5th August 2009, 16:16
Is there any way to correctly display UTF-8 encoded .srt subtitles? I've tried different settings with no success, non english characters are wrongly displayed.

http://thumbnails.imagebam.com/4436/9f353b44354006.gif (http://www.imagebam.com/image/9f353b44354006)

It's supposed to display "¿Tú?", "¿" and "ú" are not standard English characters. Is this a known problem in MPC-HC?

sneaker_ger
5th August 2009, 17:33
You're not the first one with such problems (http://forum.doom9.org/showthread.php?p=1248604#post1248604).

I guess I could at least test if it works for me or if I get the same problem if you upload your subtitle file and tell me which container you are using.

tiny
5th August 2009, 17:41
MPC-HC doesn't not recognize the UTF-8 encoding if the subtitle file does not start with a BOM (http://en.wikipedia.org/wiki/UTF-8#Byte-order_mark).

The easiest way to add a BOM to a subtitle file is to open the file in notepad, (check if the non-standard characters are correctly displayed), then use "Save As..." and in the dialog select for encoding "UTF-8".

ikarad
5th August 2009, 19:40
1) first problem: problem with HD subtitle and some blu-rays
http://sourceforge.net/tracker/?func=detail&aid=2805913&group_id=170561&atid=854651
With some blu-ray movies, some subtitles are not displayed with MPC-HC 1160
(this problem exists from the start of HD subtitle support).

When two subtitles must be displayed in the same time, only one subtitle is
displayed.

I give you an example of video (ten minutes cut in 7 parts)

The problem appeared between 8 minutes and 9 min30 during the generic.

There is two subtitles normally displayed: the subtitle of song and the
subtitle of text displayed on the screen. Only the subtitle of the text
displayed on the screen is displayed and not the subtitle of the song.

I try with powerdvd ultra 7.3 and it works very well. The both subtitles
are displayed.

example:


part 1/7
http://www.zshare.net/download/612945147e235956/

part 2/7
http://www.zshare.net/download/61294648d3270b91/

part 3/7
http://www.zshare.net/download/61296188690f1da3/

part 4/7
http://www.zshare.net/download/61298073e4e531b4/

part 5/7
http://www.zshare.net/download/612980765b76eeea/

part 6/7
http://www.zshare.net/download/6131235286731ecd/

part 7/7
http://www.zshare.net/download/61308949809f22a1/

I add file with all subtitles obtained with supread to show that some
subtitles are not displayed.
http://www.zshare.net/download/61317131a8f7ba09/


this problem still exists with mpc-HC 1179



2)second problem:
http://sourceforge.net/tracker/?func=detail&aid=2795839&group_id=170561&atid=854651
The problem with separated subtitle and opendvd function with evrcustom is
repaired but I have a problem with 1117 and the display of subtitle with
VMR9renderless

The problem is that with vmr9 it doesn't work as well as before. With
1.2.972 the subtitle are well displayed and are sync with sound. With 1117
some subtitles are displayed and disappeared before the right time.
Although the sync still exists. But the display of the subtitles is shorter
than with mpc homecinema 972 and it's more hard to read them

I give you a video captured by fraps to show the problem

vmr9renderless with mpc-hc 972
http://www.zshare.net/info.html?60353718-cd20d05bbed07514eed715858a499d96

vmr9renderless with mpc-hc 1117
http://www.zshare.net/info.html?60353398-b045b40ad86adf102458406f5ff12343

We can notice that with 972, subtitle are displayed correctly. With 1117,
subtitle disappeared faster.

at 5 seconds of 1117 and 6 seconds for the video with 972 there is two
subtitles displayed :
the first: [month of Sokarh, 7th day : 15:48]
the second: you've always spoken like that.

With 1172 when the first subtitle disappeared, the second also disappeared.
Then It appeared anew.

With 972 when the first subtitle disappeared, the second doesn't
disappeared and stay until the right end.

Moreover the transition between the subtitles are smoother with 972 than
1117


I give you 1 min of the movie
http://www.zshare.net/info.html?60355511-bd3f52f5ad313a55f2c5941a5fb6a2e9

subtitle file
http://www.zshare.net/info.html?60355230-4f7519cc428c9d3023b00f9fbd7c5e02


I try with directvobsub and it works like 972 and not like 1117


video captured by fraps with 972 and vobsub to display subtitles
http://www.zshare.net/info.html?60360755-771e34c88cafd4462a84002a7a202e12

screenshot

http://
nsa07.casimages.com/img/2009/05/22/mini_090522124804888638.jpg (http://www.casimages.com/img.php?i=090522124804888638.jpg)


same problem with mpc-hc 1179

i don't know if beliyaal works on this problem but I don't have news since two months.

neoufo51
6th August 2009, 00:01
Is it just me or are iPhone 3GS videos not working well with MPC-HC?

Build 1179, Win7, Latest Nvidia drivers.

I'm seeing problems with every renderer, even with Quicktime installed.

1) System Default, VMR9, and Haali all play the video 90 degrees counterclockwise and with an incorrect 4:3 ratio.

2) EVR CP doesn't play AT ALL and says at the bottom that DXVA is running.

Here's a sample video from a friend's iPhone. Please confirm my findings.

http://www.mediafire.com/?djogghzjv1z
Would anybody like to address this issue with iPhone videos playing improperly with EVERY renderer?

I know it seems minor, but fixing this would obviously make MPC-HC more marketable to those who would like to avoid having to install the Quicktime player rather than Quicktime alternative? Tons of people are sharing these videos over email now and it would be nice to have MPC-HC be their one-stop shop for proper playback.

tetsuox
6th August 2009, 02:08
1) System Default, VMR9, and Haali all play the video 90 degrees counterclockwise and with an incorrect 4:3 ratio.

What AR is it supposed to be? From MediaInfo its showing 640x480, with DAR 4:3. With Rotation: 90degrees. Perhaps your friend recorded this upright? I.e. at 480x640. Maybe get him to tilt his iphone.

You don't need qt or qtalternative to playback this video either. Just ffdshow + mpc-hc works fine for me with your clip. Although audio doesn't playback with Haali's splitter, works fine with internal splitter.

neoufo51
6th August 2009, 03:30
What AR is it supposed to be? From MediaInfo its showing 640x480, with DAR 4:3. With Rotation: 90degrees. Perhaps your friend recorded this upright? I.e. at 480x640. Maybe get him to tilt his iphone.

You don't need qt or qtalternative to playback this video either. Just ffdshow + mpc-hc works fine for me with your clip. Although audio doesn't playback with Haali's splitter, works fine with internal splitter.
No, it's filmed the right way. You can confirm by playing it in Quicktime player if you dare install that. It definitely has to do with the "tall screen" aspect of iPhone video that is mucking things up, but I don't understand why it would be rotated in MPC.

Also, it doesn't play at all with EVR:CP

STaRGaZeR
6th August 2009, 11:53
You're not the first one with such problems (http://forum.doom9.org/showthread.php?p=1248604#post1248604).

I guess I could at least test if it works for me or if I get the same problem if you upload your subtitle file and tell me which container you are using.

Thanks, it seems the problem is what tiny describes below:

MPC-HC doesn't not recognize the UTF-8 encoding if the subtitle file does not start with a BOM (http://en.wikipedia.org/wiki/UTF-8#Byte-order_mark).

The easiest way to add a BOM to a subtitle file is to open the file in notepad, (check if the non-standard characters are correctly displayed), then use "Save As..." and in the dialog select for encoding "UTF-8".

You're right. I've done some tests after knowing this and:

- Subtitles coming from an old version of SupRip, they look good in Notepad, but bad in MPC. If I open and save with Notepad, problem solved. After muxing the .srt file that looks bad into Matroska it still looks bad in MPC, and if you demux the subtitle track Notepad will see garbage now! It seems MKVToolnix needs BOM too as it does the same mistakes as MPC when muxing into the file.

- Subtitles coming from the lastest version of SupRip (v1.16) are correctly displayed everywhere, they don't need the Notepad trick. Oh well, I guess I'll have to redo my subtitles :rolleyes:

BOM is really needed everywhere?

Mercury_22
6th August 2009, 11:55
Since this version of Media Player Classic it's intend for a Home Cinema experience I think that the audio part it's been neglected.
Although decoding wise we've hit a wall, no more than 6 channels for E-AC3 and no DTS-HD (HR oR MA) due to ffmpeg limitation,@ Mercury
I fixed the True HD and LPCM mapping. The Eac3 is still 5.1 instead of 7.1 because ffmpeg return only 6 channels! Back and side surround channel are out on back.
Cannot fix the DTS, because it's decoded by libdts that didn't support 7.1. ...

IMO there are still things missing and easy to implement like those audio "options" existing in FFDshow but non-existing in MPC-HC.
I'm refering mainly to 7.1 and "same as input" speakers configuration, independent volume for every channel, custom matrix, ...
Am i the only one thinking this ?

STaRGaZeR
6th August 2009, 14:33
IMO there are still things missing and easy to implement like those audio "options" existing in FFDshow but non-existing in MPC-HC.
I'm refering mainly to 7.1 and "same as input" speakers configuration, independent volume for every channel, custom matrix, ...
Am i the only one thinking this ?

Yes, and not only with audio. Video options need some attention: an option to select the interlace flag, an option for using NV12 (for hardware deinterlacing) or other colorspaces, etc. It doesn't have to be like ffdshow, but at least some basic functionality. ffmpeg-mt should be included too, it works perfectly fine now in ffdshow.

sneaker_ger
6th August 2009, 15:35
Thanks, it seems the problem is what tiny describes below:

Didn't know they had to have the BOM. Good to know...

You can correctly mux your files without BOM with mkvmerge if you specify their charset as UTF-8 though. Otherwise mkvmerge will assume they have your system's default charset.

tetsuo55
6th August 2009, 15:48
Didn't know they had to have the BOM. Good to know...

You can correctly mux your files without BOM with mkvmerge if you specify their charset as UTF-8 though. Otherwise mkvmerge will assume they have your system's default charset.Maybe you could ask the mkvmerge guy to add a warning in these cases?

I think all subs should be UTF-8 by default.
A warning is especially required because you cannot restore the subs once merged.

@ everyone

Please post your bug reports and feature requests on sourceforge if you haven't already (do check if its already been posted, update the existing report if this is the case)

Just to be extra clear, only 2 things are being worked on right now.
1. H264 DXVA (for the next stable)
2. EVR sync (ar-jar is adding his jitterfree code to EVR, will be backported to VMR9 too), this is a branch, will not be added to trunk soon.

If you want more stuff fixed/added, please join the team if you know how to code in C++, if you dont try to learn C++ and then join.

sneaker_ger
6th August 2009, 16:59
Maybe you could ask the mkvmerge guy to add a warning in these cases?

I think all subs should be UTF-8 by default.
A warning is especially required because you cannot restore the subs once merged.

I could (as could everyone else in the mkvtoolnix thread (http://forum.doom9.org/showthread.php?t=120648)), but I'm not sure if it's really necessary. All subtitles within Matroska are UTF-8. Mkvmerge converts them when muxing. Incorrectly converted files (due to missing BOM and not having set the charset manually) result in errors which are pretty obvious (like the one STaRGaZeR got).

STaRGaZeR
6th August 2009, 18:29
Yep. However, if UTF-8 does not imply having BOM, how would I know if it needs it? It should have a warning, as in the tooltip mkvmerge GUI says that manually setting the charset is necessary with non-UTF files (among other things), which is not the case. It lacks the "and UTF without BOM" warning. Or better yet, auto detection of non-BOM files.

tetsuo55
6th August 2009, 18:41
Yep. However, if UTF-8 does not imply having BOM, how would I know if it needs it? It should have a warning, as in the tooltip mkvmerge GUI says that manually setting the charset is necessary with non-UTF files (among other things), which is not the case. It lacks the "and UTF without BOM" warning. Or better yet, auto detection of non-BOM files.please take that dicussion to the mkvmerge thread, maybe you can convince the author.