1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

FireTV 4K - 4k HDR not framerate switching

Any issues that are FireTV specific
Post Reply
Slickric21
Posts: 5
Joined: 04 Dec 2018, 16:32

FireTV 4K - 4k HDR not framerate switching

Post by Slickric21 »

Hello there.

I have recently purchased a FireTV 4K (and sold my Sheild that MrMC worked great on thanks btw)

On the Fire TV I have resolution set to ‘auto’, framerate matching set to ‘on’ and HDR set to adaptive.

In MrMC the GUI is set to 2160p 59.94hz.
1080p movie 23.96fps files correctly switch to 23.96hz @1080p.
Refresh rate switching on stop/start and 2 sec delay applied.

4K HDR 24fps play in HDR and at 2160p, but framerate stays at 59.94hz.

Can the FireTV and MrMC not correctly switch framerate in these types of files ?
User avatar
koying
Team MrMC
Posts: 443
Joined: 20 Mar 2016, 17:49

Re: FireTV 4K - 4k HDR not framerate switching

Post by koying »

The 3rd gen?
Anyway, a debug log would tell which resolutions are reported/available to MrMC
Slickric21
Posts: 5
Joined: 04 Dec 2018, 16:32

Re: FireTV 4K - 4k HDR not framerate switching

Post by Slickric21 »

Yes its a 2018 Fire TV Stick 4k.

I cant post a full log to pastebin as its too big so i uploaded it here

https://drive.google.com/open?id=1ONun1 ... 8UpXnEJTFF

Here are the bits i think are interesting

Code: Select all

10:06:43.927 T:18446744071676320032    INFO: CWinSystemAndroidEGL : fetchDisplayModes : found 21 modes
10:06:43.927 T:18446744071676320032   DEBUG: CWinSystemAndroidEGL: maximum/current resolution: 3840x2160
10:06:43.927 T:18446744071676320032   DEBUG: CWinSystemAndroidEGL: selected resolution: 0x0
10:06:43.929 T:18446744071676320032  NOTICE: CWinSystemAndroidEGL: window resolution: 1920x1080
10:06:43.929 T:18446744071676320032  NOTICE: CWinSystemAndroidEGL: Current resolution: 1920x1080 3840x2160 @ 59.939999 - Full Screen
10:06:43.929 T:18446744071676320032   DEBUG: CWinSystemAndroidEGL: ProbeResolutions: 1920x1080
10:06:43.930 T:18446744071676320032  NOTICE: CWinSystemAndroidEGL: Current resolution: 1920x1080 3840x2160 @ 59.939999 - Full Screen
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000004 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 59.939999 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 59.939999 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 12
80 x 720 for display 0 with 1280 x 720 @ 59.939999 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 50.000000 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 60.000004 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 30.000000 Hz
10:06:43.930 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 29.969999 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 25.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 24.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 3840 x 2160 @ 23.976000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 50.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 29.969999 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 23.976000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 24.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 25.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 30.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000004 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 720 x 576 for display 0 with 720 x 576 @ 50.000000 Hz
10:06:43.931 T:18446744071676320032  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000004 Hz
10:06:43.932 T:18446744071676320032  NOTICE: Found ([email protected]) at 18, setting to RES_DESKTOP at 16
10:06:43.932 T:18446744071676320032  NOTICE: Checking resolution 16
10:06:43.932 T:18446744071676320032   DEBUG: CWinSystemAndroidEGL: SetNativeResolution: 3: 1920x1080 [email protected]
10:06:43.932 T:18446744071676320032   DEBUG: Previous line repeats 1 times.
10:06:43.932 T:18446744071676320032   DEBUG: CreateWindow: Created surface of size 1920x1080

Code: Select all

10:07:00.386 T:2132285728  NOTICE:  fps: 23.976024, pwidth: 4096, pheight: 2176, dwidth: 3868, dheight: 2176, colorrange: Limited, colorspace: fcc, colortransfer: reserved
10:07:00.387 T:2132285728   DEBUG: OutputPicture - change configuration. 4096x2176. framerate: 23.98. format: MEDIACODECSURFACE
10:07:00.387 T:2132285728   DEBUG: Resolution 3840x2160 @ 59.939999 - Full Screen (16) not a very good match for fps 23.976 (weight: 0.250), trying 2:3 cadence
10:07:00.387 T:2132285728  NOTICE: Display resolution ADJUST : 3840x2160 @ 59.939999 - Full Screen (16) (weight: 0.000)
10:07:00.387 T:2132285728   DEBUG: CXBMCRenderManager::Configure - 2
10:07:00.392 T:18446744071676320032   DEBUG: Activating window ID: 12005
User avatar
koying
Team MrMC
Posts: 443
Joined: 20 Mar 2016, 17:49

Re: FireTV 4K - 4k HDR not framerate switching

Post by koying »

"4096x2176"? Strange frame size..
I have to check what is done in that case, probably not what it should ;)
Slickric21
Posts: 5
Joined: 04 Dec 2018, 16:32

Re: FireTV 4K - 4k HDR not framerate switching

Post by Slickric21 »

Yeah I have no idea about that frame size ?
I have 30+ UHD 23.976fps HDR Blu-Ray rips and MrMC is unable to switch to 23.976/24hz for any of them.

The file playback used in the debug logs was just one played at random (MI Fallout)

Here is the Media info for that file, not sure where the "4096x2176" comes in.

Code: Select all

ideo
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Commercial name                          : HDR10
Format profile                           : Main [email protected]@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 27 min
Bit rate                                 : 61.5 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.309
Stream size                              : 63.3 GiB (91%)
Title                                    : HEVC
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
I guess its entirely possible that this inability to switch framerate for 4k HDR bug is due to the Fire Stick TV itself ?
It seems to have several bugs/quirks by itself.

I have also noticed that after 46mins playback (any source = Prime/Netflix/MrMc/iPlayer) audio drops out for a split second then is out of sync thereafter.
User avatar
koying
Team MrMC
Posts: 443
Joined: 20 Mar 2016, 17:49

Re: FireTV 4K - 4k HDR not framerate switching

Post by koying »

The 4096x2176 is returned by the codec, for strange reasons

Code: Select all

10:07:00.379 T:2132285728   DEBUG: CDVDVideoCodecAndroidMediaCodec:: width(4096), height(2176), stride(4096), slice-height(2176), color-format(2130706439)
10:07:00.379 T:2132285728   DEBUG: CDVDVideoCodecAndroidMediaCodec:: crop-left(0), crop-top(0), crop-right(4095), crop-bottom(2175)
I assume some magic is done behind the scene so that it displays correctly, at least.

Fact is we ignore resolutions lower than the frame size, so that's why it doesn't switch.
Will have to think a bit about how to properly circumvent this quirk.
Slickric21
Posts: 5
Joined: 04 Dec 2018, 16:32

Re: FireTV 4K - 4k HDR not framerate switching

Post by Slickric21 »

Will there be any update for this issue to get working frame rate switching with 24/23.976fps 4K material?

Is it only the FireTV 4K that has this issue btw ?
I’m thinking of getting an Apple TV for smooth playback of these files.
alekseyz
Posts: 20
Joined: 04 Jan 2017, 19:30

Re: FireTV 4K - 4k HDR not framerate switching

Post by alekseyz »

Fire TV 3 pendant (Amlogic-based) works fine with smooth 24p and HDR.
I confirm that fire stick 4K does not switch to 3840p24 and does not play 24p content smoothly in general on fire stick 4K. You can disable autoframerate, and then everything is smooth, if your TV is able to do inverse telecine, that is figure out that the 60fps signal is actually 24p with 3:2 pulldown and reverse the pulldown. Most modern TVs with 120Hz panels can do that, I tested on Samsung MU8000 and KS8000 but if your TV uses 60Hz panel, (line Samsung MU/NU series)then the playback will not be smooth.
thprivat
Posts: 1
Joined: 10 Sep 2019, 15:22

Re: FireTV 4K - 4k HDR not framerate switching

Post by thprivat »

Hi,

same problem here.
No switching refresh rate for 4K 23,98 movies on fire stick TV 4K.
Works fine with 1080p 24Hz.
I found a work around by manually selecting 23,98 Hz in the Mrmc "system" options panel.
Navigation is less smooth but movies have no jutter at all and my tv (panasonic Z800) gets the right stuff : HDR, HDR 10+, 4K of course and the 4K "Pure mode" which can only be activated when the tv receives "original" signal.

Maybe it would be a good work around to add, the same way as in kodi, the option to choose your resolution and refresh rate in the video menu, the one used when you watch a movie ?
That way, we could keep the Mrmc interface smooth and select the good refresh rate only when a movie needs it.
Of course, the best work around would be the refresh rate to switch automaticaly ;-)
Post Reply