Jump to content

No sound with frame rate switching


serpi

Recommended Posts

serpi

Hi,

 

I've just installed a new HTPC (Intel NUC, i3 7100U, W10 64 Bit 1903) and for now, I've installed only the latest gfx driver and Emby Theater.

 

There is now a strange problem:

 

When I enable frame rate switching, it plays no sound, the output for nerds also looks strange:

post-3861-0-30346200-1560103165_thumb.jpg

 

The same video without frame rate switching plays with sound and looks healthier:

post-3861-0-67022600-1560103248_thumb.jpg

 

This happens on all videos, as it seems.

I'm not using passthrough.

 

I think, this is really strange, any ideas on this?

 

Ciao, Alfred

Link to comment
Share on other sites

serpi

This didn't work.

 

I enabled logging when trying to play a video with frame rate switching in mpv, the file is attached.

 

The two extra lua script do not harm, I just added them, it also didn't work without them.

 

It seems, mpv has problems after frame switching to obtain the sound device, so I found this line:

 

[   1.166][e][cplayer] Could not open/initialize audio device -> no sound.

 

I disabled and enabled exclusive audio device, this doesn't help anything.

 

So it might be some problem with the frame rate switching script.

 

Ciao, Alfred

mpv.log

Link to comment
Share on other sites

Guest asrequested

What you can try is use mpv on its own, elevate the logging to trace, play a video and manually change the refresh rate in Windows. If the sound fails, then look at the log. The log will be huge. You won't be able to use trace logging in theater. For some reason, playback won't start with anything above debug.

Link to comment
Share on other sites

serpi

No problems with Kodi (18.2) and frame rate switching on the same device...

 

I will move the box soon to another TV, maybe that will change anything.

Link to comment
Share on other sites

serpi

I will move the box soon to another TV, maybe that will change anything.

 

Same problem on different TV...

Link to comment
Share on other sites

serpi

It used the log-file entry in it, so I would say yes, it is used.

 

I can see nothing about the audio-stream-silence in the log file, so I don't know, if this is used.

 

But doofus discribed the problem already in posting #6, so it seems, it's nothing new and seems to be related to Intel NUCs?!

 

Seems like mpv (or the frame rate switching script ot the RefreshRate.exe) does not correctly reset the audio device when switching framerate.

 

Sound does work, if there is no frame rate switching, for example, when screen frequency already matches video framerate, so it's not the option itself, does make the problem, but the switching.

 

I only have this problem now on my new NUC (Intel with i3 7100U), not on my old one (Vorke P1 Plus with Intel Celeron J3455), both with integrated Intel graphics.

 

Ciao, Alfred

Link to comment
Share on other sites

Guest asrequested

Did you try what I suggested using the standalone and elevate the log level to trace?

 

msg-level=all=trace

Link to comment
Share on other sites

serpi

Did you try what I suggested using the standalone and elevate the log level to trace?

 

msg-level=all=trace

 

Nope, not yet.

Link to comment
Share on other sites

Guest asrequested

Nope, not yet.

I was able to reproduce the issue in that way. No scripts. I determined that it has something to do with the device (the PC). I never ran a trace log, and I can't test it anymore. So maybe the the trace log will show something and then you can report it to mpv.

Edited by Doofus
Link to comment
Share on other sites

  • 5 months later...
Dave3000

In the near future I might be buying a Nvidia Shield TV Pro but I'm still not sure if I should buy Premiere lifetime especially that Premiere lifetime is on sale right now at a $20 discount.  Does the Emby app on the Nvidia Shield TV have this same issue with no sound during playback when frame rate switching is enabled?  

Link to comment
Share on other sites

Guest asrequested

In the near future I might be buying a Nvidia Shield TV Pro but I'm still not sure if I should buy Premiere lifetime especially that Premiere lifetime is on sale right now at a $20 discount.  Does the Emby app on the Nvidia Shield TV have this same issue with no sound during playback when frame rate switching is enabled?  

 

I don't use that on my Shield, but I'm pretty sure it works correctly. And this is only an issue with Theater on a few low end PCs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...