Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 12th September 2009, 21:32   #9681  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
I'm having a very strange bug.
Until yesterday, I was using MPC-HC on windows xp (don't remember which version), and it was working great.

However, then I decided to upgrade to windows 7. I downloaded the latest MPC-HC from the website, and now I am having a really strange problem. I have a few 1080p x264 videos sitting here, and whenever I get to a point after about 1 hour and 32 minutes, in any of them, they just stop working! If I am using a DXVA decoder, then it crashes. If I use ffdshow, then it simply goes black and audio stops. These videos all play fine in VLC.

It's odd, but they all stop working right around the same timecode. Not at the exact same spot, but within a few minutes of each other. When it crashes, there is no error message. It just says the application has stopped working.
Zarxrax is offline  
Old 12th September 2009, 21:41   #9682  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Ah, after further inspection, I discovered that this problem was caused by the MP4 source filter. Disabling it so that haali is used, and the problem was solved.
Zarxrax is offline  
Old 12th September 2009, 21:43   #9683  |  Link
Luyten
Registered User
 
Join Date: May 2009
Posts: 19
Quote:
Originally Posted by Luyten View Post
I have problems too in svn 1276: monitor full hd 1920x1080; with PS 2.0 resizer (bicubic or bilinear), no video if a 1920x1080 video is windowed (full screen is fine), and no video if a (for example) 640x480 video is fullscreened (windowed is fine)...
In short, the video is displayed only in... native resolution!?

(Vista H.Premium 64bit, 9600M gt w/ latest nvidia mobile driver, EVR-CP, no ffdshow)
OK, Installed the latest Directx End-User Runtime and now all work fine!
Luyten is offline  
Old 12th September 2009, 21:44   #9684  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Troubleshooting and bug report

i don't have access to the WIKI.

Here is the new version of the troubleshooting and bug reporting checklist.

The idea is that anyone who has a problem goes through the steps from A to I, stopping at the point where the problem is fixed.
If someone Reaches I and the problem is still there, then that person posts the checklist on the forum and or tracker.

I'm also looking for feedback and additions

To find out the cause of your problem, and to make sure the staff is able to reproduce, please follow the following script, fill in the results of each step. Often you will have solved the problem along the way. Only submit a bugreport if you have reached the end, still have the problem and have supplied all the information, screenshots and samples

Please fill in the following form, use this as your bug report.
Each step is explained in detail below

A: Update your system (link here)
Windows version: (fill in here)
64bit or 32bit: (fill in here)
DirectX version: (fill in here)
.NET version: (fill in here)
Videocard: (fill in here)
Videocard driver version: (fill in here)
VC2005 version: (fill in here)
VC2008 version: (fill in here)

B: Get the lastest SVN build (link here)
MPC-HC version: (fill in here)
64bit or 32bit: (fill in here)
Last working build: (fill in here)

C: Clean the registry and .ini file (link here)
Registry cleaned (yes/no)
Ini file cleaned (yes/no)

D: Make sure you have tested with the internal splitters and filters (link here)
Internal splitter behaviour: (fill in here)
External filter behaviour: (fill in here)
Internal filter behaviour: (fill in here)
External splitter behaviour: (fill in here)
(Add as many as need to list all being used)
Link to splitters/filters screenshot: (link here)

E: When using DXVA, report the DXVA caps and file's media info (link here) (you can skip this part if you do not use DXVA)
Link to DXVA caps screenshot: (link here)
Media info: (paste here)

F: Post a screenshot of the internal statistics (link here)
Link to CTRL+J overlay screenshot: (link here)

G: Provide an overview of settings used (link here) (these settings are not revealed though the previous screenshots)
Internal subtitle renderer: (on/off)
Subtitle animation: (on/off)
Subtitle buffering: (fill in, 0 is off)
EVR buffers: (fill in) (only if EVR is used)
Shaders enabled: (list here)
Resizer used: (fill in here)

H: Provide Samples and debug logs (link here)
Link to sample(s): (link here)
Link to minidump(s) and Debug log(s): (link here)

I: Explain in as much detail as possible, the steps we have to take to reproduce the problem:
(your explanation here)

Detailed explanation

A: Update your system
Here are the default recommended updates for any windows version (even Windows 7):

----

1. All available updates on [http://update.microsoft.com/windowsupdate/ Windows Update]

2. [http://www.microsoft.com/Downloads/d...displaylang=en x86 Microsoft Visual C++ 2005 SP1 Redistributable Package] or [http://www.microsoft.com/Downloads/d...displaylang=en x64 Microsoft Visual C++ 2005 SP1 Redistributable Package]

3. [http://www.microsoft.com/Downloads/d...displaylang=en x86 Microsoft Visual C++ 2008 SP1 Redistributable Package] or [http://www.microsoft.com/Downloads/d...displaylang=en x64 Microsoft Visual C++ 2008 SP1 Redistributable Package]

NOTE 64bit users have to install both versions

4. [http://www.microsoft.com/downloads/d...displaylang=en Microsoft .NET Framework 3.5 Service Pack 1]

5. http://www.microsoft.com/downloads/d...1-442d8712d553 DirectX End-User Runtimes (August 2009)]

6. Finally update to the latest available drivers for your videocard:

ATI - [http://support.amd.com/us/gpudownload/Pages/index.aspx Driver Download]<br>
NVIDIA - [http://www.nvidia.com/Download/index.aspx?lang=en-us Driver Download]<br>
INTEL - [http://downloadcenter.intel.com/ Download Center]

B: Get the lastest SVN build:
'''- Download the newest build [http://www.xvidvideo.ru/content/category/1/1/2/ HERE]''' ''(You can also find older builds here for regression testing)'' because the problem might have been fixed in a newer version than the one you are using ''('' '''''[http://mpc-hc.svn.sourceforge.net/vi...c-hc/?view=log Changelog]''''' '')''
- '''MPC-HC build version''', when reporting regressions please name the last working build, also comparisons to other players (even MPC regular) are very welcome

C: Clean the registry and .ini file
'''- Reset MPC-HC's settings''' ( ''may be incompatible with earlier versions ).''

<br>
For the settings stored in the '''registry''' you can manually delete "'''HKEY_CURRENT_USER\Software\Gabest'''" key '''or''' save the following code as ''"'''''clean-registry.reg'''''"'' and run it ''(with admin rights in vista / win7).''
<pre>Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Gabest]</pre>
For the settings stored in the '''mplayerc.ini''' or '''mplayerc64.ini''' ''(for the 64-bit edition)'' file created next to the '''mplayerc.exe''' or '''mplayerc64.exe''' ''(for the 64-bit edition)'' open the '''mplayerc.ini''' or '''mplayerc64.ini''' file and delete everything inside except
<pre>[Settings]</pre>
''* In both cases MPC-HC will recreate the settings entries on the first run.''

D: Make sure you have tested with the internal splitters and filters
'''. <u>''Make sure you're using''</u>''' ''<u>'''only''' (if possible) '''MPC-HC's internal splitters and filters'''</u>''

''-'' '''TEST''' with GraphEdit or [http://blog.monogram.sk/janos/tools/...m-graphstudio/ GraphStudio] or other Player(s) ( If ) any '''external splitter(s) and / or filter(s)''' (codecs) involved

- '''For''' [http://mpc-hc.sourceforge.net/DXVASupport.html DXVA SUPPORT] make sure your '''files''' ''(video stream)'' and '''graphics card''' are '''DXVA compliant'''

go to rightmouseclick>filters and make a screenshot by pressing the "print screen" button on the keyboard and opening paint, then paste (CTRL+V)
'''- Please upload screenshots to [http://imageshack.us/ ImageShack]'''


E: DXVA caps and file's media info
Download DXVAchecker and make a screenshot of the main screen

'''- A screenshot can be made''' by pressing the "print screen" button on the keyboard and opening paint, then paste '''(CTRL+V)'''

'''- Please upload screenshots to [http://imageshack.us/ ImageShack]'''

Open the file with mediainfo and copy and paste the information

F: Post a screenshot of the internal statistics
Load a file, preferably one that has a refresh rate that is a multiple of your screen refresh rate.
Open the statistics by pressing CTRL+J, wait about 5 seconds then press CTRL+R, then make a screenshot by pressing the "print screen" button on the keyboard and opening paint, then paste '''(CTRL+V)'''
'''- Please upload screenshots to [http://imageshack.us/ ImageShack]'''

H: Provide an overview of settings used
Internal subtitle renderer option is found at View > Options > Plaback > "auto-load subtitles"
Subtitle animation option is found at View > Options > Subtitles > "Disable animation (for slow computers)
Subtitle bufferings option found at View > Options > Subtitles > "Sub pictures to buffer" (0=off)
EVR buffers option is found at View > Options > Plaback > Output > "EVR Buffers"
Shaders are found in Play > Shaders (list all checked shaders)
Resizer option is found at View > Options > Plaback > Output > "Resizer"

G: Provide Samples and debug logs
'''- A sample can be cut with''' - [http://fixounet.free.fr/avidemux avidemux], [http://www.bunkus.org/videotools/mkvtoolnix mkvmerge], [http://www.ffprojects.net/tssplitter/ TSSplitter], or any other ''(Lossless)'' tool. For the "'''HOW TO CUT"''' follow each tool's guide
'''- If the bug causes mpc-hc to crash, attach a minidump or upload it it to''' '''[http://www.sharebee.com/ Sharebee]''' '''and post all the mirrors.''' You can make a mini dump by starting mplayerc.exe in a command line ''(with admin rights in vista / win7)'' with the option "mplayerc.exe /minidump".
'''- Please upload samples to [http://www.sharebee.com/ Sharebee] and post all the mirrors'''

I: Explain in as much detail as possible, the steps we have to take to reproduce the problem:
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Old 12th September 2009, 21:55   #9685  |  Link
Mangix
Audiophile
 
Join Date: Oct 2006
Posts: 353
Quote:
Originally Posted by FoLLgoTT View Post
I noticed that the EVR custom presenter doesn't switch to BT.709 coefficients automatically. EVR standard does with vertical input resolution >= 720. Is it possible to add this behaviour to the custom presenter? I can use the shader to to the 601 -> 709 conversion, but this is not automatic and gives wrong colors when playing SD.
might wanna post a bug report in the sourceforge tracker
Mangix is offline  
Old 13th September 2009, 00:45   #9686  |  Link
Darth Viorel
Registered User
 
Join Date: Jul 2003
Posts: 12
I also have a problem with *.ass subtitles.
By default they are shown in the picture regardless what I do in the configuration. But while playing a file with *.ass subs I can change the position by clicking on subtitles -> styles. There are at least 2 styles with everything but the default set to relative picture position. Changing it only stays changed for the current playback and is lost if I open the file again.
I don't know with which version of MPC HC it started as I don't use *.ass that often, but the problem wasn't there several months ago.
Darth Viorel is offline  
Old 13th September 2009, 01:16   #9687  |  Link
gngn
the hedgehog
 
gngn's Avatar
 
Join Date: Apr 2008
Posts: 163
Quote:
Originally Posted by tetsuo55 View Post
1194 still works normally for me, can you pinpoint the exact regression point?

@everyone looking at this problem, you can open the video in windowed mode, and then drag the bottom of the screen frame down to create the 4:3 effect.
The subs should go down with you, instead of staying within the video frame
as wOxxOm said, with the option "Position subtitles relative to the video frame" set to off and .ass subtitles since r1237 the subs stay in the video frame. but if i right-click on a video while playing and select "Subtitles - Styles" and uncheck there "Position subtitles relative to the video frame" then the subs will go down .
but no problem with .srt subtitles
__________________
Athlonx2@2,9Ghz,2G DDRAM2@800Mhz,WinXPSP3 x86,GF8600GTS-256M,Nvidiadrivers 295.73
latest MPC-HC (MVS2010 SP1, GCC 4.7.1)
VMR9renderless+VMR9MixerMode+YUVMixing,VSync+AccurateVSync,all GPUflushes on

Last edited by gngn; 13th September 2009 at 01:25. Reason: +1 for the post above
gngn is offline  
Old 13th September 2009, 01:23   #9688  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Mercury, i fixed the wiki access for you.
i have combined all previous documents and updated them

These are the new troubleshooting and bug reporting rules:
https://sourceforge.net/apps/mediawi...ing_guidelines

@Mercury> please help with the formatting again, thanks
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Old 13th September 2009, 02:33   #9689  |  Link
thuan
Registered User
 
Join Date: Sep 2005
Location: Vietnam, HCM City
Posts: 262
Quote:
Originally Posted by wOxxOm View Post
thuan, absolutely definitely sure - I've just checked it for the 5th time - older version shows subs below, newer builds show inside. The ini is the same. The option is unchecked (as I've said earlier it has no influence in any state). Ah, and my pc runs XP 32bit for many years :-D which will be followed by as many I suppose.
Quote:
Originally Posted by gngn View Post
as wOxxOm said, with the option "Position subtitles relative to the video frame" set to off and .ass subtitles since r1237 the subs stay in the video frame. but if i right-click on a video while playing and select "Subtitles - Styles" and uncheck there "Position subtitles relative to the video frame" then the subs will go down .
but no problem with .srt subtitles
Ah sorry, indeed, I'm interested in the sub to be kept inside and check for the opposite of what you guys were checking. I can confirm with styled subs, the sub will stay inside the video in any state of the mentioned setting. SRT works as expected.

Last edited by thuan; 13th September 2009 at 02:44.
thuan is offline  
Old 13th September 2009, 10:38   #9690  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,970
MPC-HC rev.1276 from XvidVideo.RU has a resize bug (VMR9(renderless)) on the system with DirectX Runtime March 2009.

XvidVideo.RU - rev.1276 (DX SDK August 2009) - bug
my build - rev.1276 (DX SDK March 2009) - ok
v0lt is offline  
Old 13th September 2009, 10:52   #9691  |  Link
alexins
MPC-BE DEV
 
alexins's Avatar
 
Join Date: Mar 2008
Location: Slovenija
Posts: 584
Quote:
Originally Posted by v0lt View Post
MPC-HC rev.1276 from XvidVideo.RU has a resize bug (VMR9(renderless)) on the system with DirectX Runtime March 2009.

XvidVideo.RU - rev.1276 (DX SDK August 2009) - bug
my build - rev.1276 (DX SDK March 2009) - ok
It is necessary to install DX August 2009, and then everything will work correctly!
__________________
Win11 x64, i7 8700K 5Ghz, ASUS MAXIMUS X HERO, G.Skill (2x8GB) Trident Z F4-3600C16D-16GTZ, RX 5700,TV Philips 43PUS6703/12, Zappiti 4K HDR
Media Player Classic - BE x86/x64. Team of developers.
alexins is offline  
Old 13th September 2009, 11:02   #9692  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
Quote:
Originally Posted by alexins View Post
It is necessary to install DX August 2009, and then everything will work correctly!
I noticed this "bug" but if a certain version of dx is required I think mpc should tell the user that and point them to the Microsoft dx page if their version is too old.

Last edited by mark0077; 13th September 2009 at 11:37.
mark0077 is offline  
Old 13th September 2009, 14:30   #9693  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
@Everyone,

I think we have found the cause of most lockup's, hangs, crashes and black screen problems.
Except for those cases where DirectX needs to be updated obviously.
(It appears that the new DirectX version changes behaviour related to scaling, i'm hoping they fixed the stretchrect bug, fingers crossed)

There are basically 2 problems:
1. Several threads reading or even modifying the same data
2. Thread B depending on results from thread A, and being excecuted before these results are ready.

We need to fix out exactly which types of threads use and modify which data, and which threads depend on results from others.

Please help us find the critical points!
Thanks!
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Old 13th September 2009, 14:32   #9694  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Here a signature for MPC-HC beta testers, you can add this if you want to:

Code:
[*URL="http://mpc-hc.sourceforge.net/"]MPC-HC[/URL] [*URL="http://www.xvidvideo.ru/content/category/1/1/2/"]SVN[/URL] [*URL="http://mpc-hc.wiki.sourceforge.net/Troubleshooting+guidelines"]tester[/URL]
You have to remove the 3 *'s for it to work
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Old 13th September 2009, 15:11   #9695  |  Link
_xxl
ffdshow user
 
_xxl's Avatar
 
Join Date: Oct 2005
Location: Romania
Posts: 818
Quote:
1. Several threads reading or even modifying the same data
2. Thread B depending on results from thread A, and being executed before these results are ready.
For me internal avisplitter crashes. Default ms avisplitter is working fine, no crashes, tested with latest mpc and winxp sp3.
Code:
DWORD WINAPI
CAMThread::InitialThreadProc(__inout LPVOID pv)
{
    HRESULT hrCoInit = CAMThread::CoInitializeHelper();<---HERE
    if(FAILED(hrCoInit)) {
        DbgLog((LOG_ERROR, 1, TEXT("CoInitializeEx failed.")));
    }

    CAMThread * pThread = (CAMThread *) pv;

    HRESULT hr = pThread->ThreadProc();

    if(SUCCEEDED(hrCoInit)) {
        CoUninitialize();
    }

    return hr;
}
_xxl is offline  
Old 13th September 2009, 19:16   #9696  |  Link
pdanpdan
Registered User
 
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 145
Hello,
This is a cosmetic bug, but I thought I should mention it: if the playlist is visible and undocked from the player window, when I close and open the player again the player starts with the top part of the window transparent. After play or any window resize, that part becomes normal again.
Latest MPC, XPSP3.
screenshot at
pdanpdan is offline  
Old 13th September 2009, 21:03   #9697  |  Link
jasonwc
Registered User
 
Join Date: May 2006
Posts: 70
Video artificating/corruption with DXVA H.264 decoder on Intel G45 chip

I recently upgraded to the latest version version of MPC-HC (1.3.1249) and have enabled the DXVA codecs for my Intel G45 based laptop. My laptop, an Asus U81A, has an Intel 4500MHD and appears to be supported. I can decode 720p and 1080p x264 videos using the DXVA H.264 codec, however I see artifacting every 15-30 minutes. The display is overlayed with a green/red blocky tinge which disappears after a few seconds.

I originally thought the issue was due to file corruption. However, the issue does not arise when using CoreAVC for playback. In addition, I found the issue with several 720p and 1080p L4.1 x264 videos, all of which passed MD5 checks ensuring that the files were not corrupted. I used the EVR Custom output mode and used the latest Haali Media Splitter.

I am using the 32 bit version of MPC-HC on Windows 7 Ultimate. DXVA also works on MPC-HC x64, however, I have not used it enough to discover whether the problem occurs there. I will test with the internal matroska splitter to see whether the problem goes away.

Thanks again for adding hardware acceleration for Intel G45 based systems. It really helps to keep my system cool, and save battery life. I hope I can get this problem resolved, though. If you need any more info, or if I can be of assistance by testing, please feel free to ask.

Jason
jasonwc is offline  
Old 13th September 2009, 21:04   #9698  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
if you guys had to pick an OS from a full reinstallation of a HTPC. Which is the best to pick (with keeping in mind the best for MPC-HC and no-tearing).

XP
Vista
or
Windows7 (which version is the current one?)
THX-UltraII is offline  
Old 13th September 2009, 21:06   #9699  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by jasonwc View Post
I recently upgraded to the latest version version of MPC-HC (1.3.1249) and have enabled the DXVA codecs for my Intel G45 based laptop. My laptop, an Asus U81A, has an Intel 4500MHD and appears to be supported. I can decode 720p and 1080p x264 videos using the DXVA H.264 codec, however I see artifacting every 15-30 minutes. The display is overlayed with a green/red blocky tinge which disappears after a few seconds.

I originally thought the issue was due to file corruption. However, the issue does not arise when using CoreAVC for playback. In addition, I found the issue with several 720p and 1080p L4.1 x264 videos, all of which passed MD5 checks ensuring that the files were not corrupted. I used the EVR Custom output mode and used the latest Haali Media Splitter.

I am using the 32 bit version of MPC-HC on Windows 7 Ultimate. DXVA also works on MPC-HC x64, however, I have not used it enough to discover whether the problem occurs there. I will test with the internal matroska splitter to see whether the problem goes away.

Thanks again for adding hardware acceleration for Intel G45 based systems. It really helps to keep my system cool, and save battery life. I hope I can get this problem resolved, though. If you need any more info, or if I can be of assistance by testing, please feel free to ask.

Jason
please use this checklist http://mpc-hc.wiki.sourceforge.net/T...ing+guidelines
If the problem still happens after doing all that report it on the tracker on sourceforge.

Also you want to test this special build : http://www.bahnhofbredband.se/~wb118...mplayercgs.exe

Please test only 32bit for now.
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Old 13th September 2009, 21:06   #9700  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by THX-UltraII View Post
if you guys had to pick an OS from a full reinstallation of a HTPC. Which is the best to pick (with keeping in mind the best for MPC-HC and no-tearing).

XP
Vista
or
Windows7 (which version is the current one?)
windows 7, x64 if supported.
It has the best media foundation implementation
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Closed Thread

Tags
dxva, h264, home cinema, media player classic, mpc-hc


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.