Page 1 of 3

25fps material at 50fps stutter

Posted: 22 Jul 2017, 13:12
by cosmoxl
I'm making a new thread on the problem since my post in the other thread got no attention. I'll make a github post if I have to.

https://pastebin.com/SFwNQYGk

There is a log of playback where 25fps material doesn't playback smoothly at 50fps. Irregular stutter becomes more and more frequent to where it's unwatchable.

Just as an aside, I can manually set my shield to 50fps and watch the same file in the plex app (refresh rate switching off) and it's beautiful. (I can't let plex automatically switch for these files as it tries 25fps which my TV seems to not support.)

Re: 25fps material at 50fps stutter

Posted: 23 Jul 2017, 13:19
by davilla
NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 25.000000 Hz
NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 50.000000 Hz

Both 25 and 50 are reported as present for your display.

Switches from 59.97 to 50.
NOTICE: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (18) (weight: 0.000)
CEGLNativeTypeAndroid: SetNativeResolution: 1920x1080@50.000000 3

After the initial 'DEBUG: CDVDClock::ErrorAdjust', log is quiet until you stop. So nothing dropped or skipped. Strange. What do you see if you bring up codec info ?

Re: 25fps material at 50fps stutter

Posted: 23 Jul 2017, 17:51
by cosmoxl
davilla wrote:
23 Jul 2017, 13:19
NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 25.000000 Hz
NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 50.000000 Hz

Both 25 and 50 are reported as present for your display.

Switches from 59.97 to 50.
NOTICE: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (18) (weight: 0.000)
CEGLNativeTypeAndroid: SetNativeResolution: 1920x1080@50.000000 3

After the initial 'DEBUG: CDVDClock::ErrorAdjust', log is quiet until you stop. So nothing dropped or skipped. Strange. What do you see if you bring up codec info ?
What in particular are you wondering about re codec info? I agree - codec info shows there are no problems. But, the cadence keeps failing or something. Could tightening up the refresh rate range with advancedsettings.xml (like in that other thread) fix the problem?

Re: 25fps material at 50fps stutter

Posted: 08 Nov 2017, 14:21
by cosmoxl
Davilla, just want to bring this up again.

I'm watching the new Blue Planet series, 25fps material, and MrMC changes to 50fps and there is occasional stutter.

Playback in Plex on the Shield TV is at 25fps, not 50, and is smooth.

Playback on the ATV4 at 50fps is smooth.

Playback on a Roku Ultra OS8 (which now has auto switching) is at 25fps and is smooth.

Something needs fixing here.

1) Can you get MrMC to switch to 25fps for 25fps material?
2) Even at 50fps there shouldn't be stutter.

Re: 25fps material at 50fps stutter

Posted: 22 Mar 2018, 10:10
by costaud
Did you use advancedsettings.xml file to force output to 25fps for 25 fps content ?
I have to do that with KODI, if not I have stutter. :oops:

Re: 25fps material at 50fps stutter

Posted: 22 Mar 2018, 14:51
by cosmoxl
costaud wrote:
22 Mar 2018, 10:10
Did you use advancedsettings.xml file to force output to 25fps for 25 fps content ?
I have to do that with KODI, if not I have stutter. :oops:
No, I actually have no idea how to edit advancedsettings.xml :)

Re: 25fps material at 50fps stutter

Posted: 23 Mar 2018, 07:23
by koying
It's a known issue on shield. Indeed, the fix is to force 25hz for 25 fps.
I posted the advanced setting snippet on the Kodi forum at one point (on phone here).

I'll probably just force it for shield when I'll implement the "downscale resolution" feature.

Re: 25fps material at 50fps stutter

Posted: 23 Mar 2018, 14:21
by cosmoxl
koying wrote:
23 Mar 2018, 07:23
It's a known issue on shield. Indeed, the fix is to force 25hz for 25 fps.
I posted the advanced setting snippet on the Kodi forum at one point (on phone here).

I'll probably just force it for shield when I'll implement the "downscale resolution" feature.
My main TV can't do 25 but can do 50. What will be the fix for that situation?

Re: 25fps material at 50fps stutter

Posted: 30 Mar 2018, 12:38
by zabba8
Hi, i am trying to force 25fps content to refresh at 25hz. I have tried numerous times adding different versions of the advanced xml settings but it is not kicking in. Can someone tell me if these settings are correct? Thanks.
<advancedsettings>
<adjustrefreshrate> 
<override>
<fps>25.000</fps>
<refresh>25.000</refresh>
</override>
</adjustrefreshrate>
<cache>
<buffermode>1</buffermode>
<memorysize>278921216</memorysize>
<readfactor>20</readfactor>
</cache>
</advancedsettings>
Edit: I noticed video was missing as a command line so added these settings and its working now.
<advancedsettings>
<video>
<adjustrefreshrate>
<override>
<fps>25.0</fps>
<refresh>25.0</refresh>
</override>
</adjustrefreshrate>
</video>
<cache>
<buffermode>1</buffermode>
<memorysize>278921216</memorysize>
<readfactor>20</readfactor>
</cache>
</advancedsettings>

Re: 25fps material at 50fps stutter

Posted: 13 May 2018, 13:50
by Shepardos
I have the same issues and the XML does not work! I can’t understand, why this basic feature is not fixed in the offical release?

MrMc team: Please add this in the next release.

Thanks
S.