Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Takes a while for play a file (mp3 or mp4) after of start the OS #18

Closed
hellishvictor opened this issue Sep 10, 2018 · 9 comments
Closed

Comments

@hellishvictor
Copy link

Hi

Most of the time, after of start the operative system (Win7 x64) and play a file from explorer (with double-click), it hangs (it doesn't respond) for several seconds, and then it play it. I notice it at least since 1.7.13, and a couple of weeks ago I updated to the last version, but still the bug is there.

Cheers

@clsid2
Copy link
Owner

clsid2 commented Sep 11, 2018

That is not a bug in MPC-HC. It is most likely caused by some security software on your computer (antivirus/antimalware). Those sometimes cause delays when first starting an application. Try disabling such tools as a test, and if that solves it add the MPC-HC folder to the exclusion list of those tools.

@hellishvictor
Copy link
Author

hellishvictor commented Sep 11, 2018

I don't have none of those installed, its a laptop which I use wiithout connection to internet, it's only for music/movies, so no viruses or any other threats.

@hellishvictor hellishvictor changed the title Takes a while for play a mp3 after of start the OS Takes a while for play a file (mp3 or mp4) after of start the OS Sep 11, 2018
@clsid2
Copy link
Owner

clsid2 commented Sep 11, 2018

This may help:
Options > Player > Disable Open Discs menu

Another common cause is bad sound or video drivers.
https://griffeltavla.wordpress.com/2014/02/10/resolved-mpc-hc-taking-10-seconds-to-launch-a-clip/

@hellishvictor
Copy link
Author

hellishvictor commented Sep 11, 2018

So far none of those worked, I use Realtek drivers btw. I'd recorded the issue with my smartphone, here is the link: https://youtu.be/jQoN-fHjt_8
I think this started to happen since I changed to MPC-HC x86 sometime ago, but not sure now.

@clsid2
Copy link
Owner

clsid2 commented Sep 11, 2018

As a test you can try this:
Options > Playback > Output > Audio Renderer > Null (Anything)

If that works (sound will be mute) then it is certainly a sound related issue.

Why are you using x86? The x64 version has better performance. If you are using ReClock, then try without that.

@vlakoff
Copy link

vlakoff commented Sep 12, 2018

Just FYI, I previously had a similar issue: audio player foobar2000 was hanging when opening some web radios, on Windows freshly booted. The issue suddenly disappeared some day (not by updating foobar2000). I don't know what or where the actual fix was.

What's surprising with your case is that it's happening on a local file. These kind of issues often happen because of network. By any chance, is the file loaded over some network share, LAN, NAS?

Otherwise, I highly suspect some bootup eager process, eating your CPU or your disk I/O. Try disabling antivirus, etc. Also, use Task Manager and Process Monitor to check if there is a resource hog.

@hellishvictor
Copy link
Author

hellishvictor commented Sep 12, 2018

Sorry, I mean sinceMPC-HC x86

As a test you can try this:
Options > Playback > Output > Audio Renderer > Null (Anything)

If that works (sound will be mute) then it is certainly a sound related issue.

Why are you using x86? The x64 version has better performance. If you are using ReClock, then try without that.

I'm using the x64 version, I mean since I changed the x86 for the x64, I typed that wrong.
However, I finally solved it! Here is how: using the Codec Tweak Tool, go to "Preferred Splitters". I noticed that by default, most of the associations were to "Use merit", so I change them to "LAV Splitter (recommended)".
Awesome see it lauch INSTANTLY!
Thanks to clsid2 and vlakoff for your help, you're amazing !

@clsid2
Copy link
Owner

clsid2 commented Sep 12, 2018

In that case you may have unwanted third party filters installed. You can get a list with:
Codec Tweak Tool > Generate Log

You should also re-install your codec pack, since those "recommended" settings is what it uses by default. Some other program must have messed things up.

@hellishvictor
Copy link
Author

Ok, cheers from Canary Islands (IsPain)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants