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: 3
Joined: 04 Dec 2018, 16:32

FireTV 4K - 4k HDR not framerate switching

Post by Slickric21 » 04 Dec 2018, 16:39

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: 280
Joined: 20 Mar 2016, 17:49

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

Post by koying » 05 Dec 2018, 07:04

The 3rd gen?
Anyway, a debug log would tell which resolutions are reported/available to MrMC

Slickric21
Posts: 3
Joined: 04 Dec 2018, 16:32

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

Post by Slickric21 » 05 Dec 2018, 10:25

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 (1920x1080@59.939999) 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 3840x2160@59.939999
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: 280
Joined: 20 Mar 2016, 17:49

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

Post by koying » 05 Dec 2018, 12:42

"4096x2176"? Strange frame size..
I have to check what is done in that case, probably not what it should ;)

Slickric21
Posts: 3
Joined: 04 Dec 2018, 16:32

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

Post by Slickric21 » 05 Dec 2018, 15:21

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 10@L5.1@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: 280
Joined: 20 Mar 2016, 17:49

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

Post by koying » 05 Dec 2018, 19:05

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests