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.

Video catches up every 3-5 seconds

tvOS Video playback support subforum
Post Reply
neep12
Posts: 3
Joined: 27 Jan 2018, 23:18

Video catches up every 3-5 seconds

Post by neep12 » 27 Jan 2018, 23:34

Hi everyone,

first of all: nice kodi fork!
Some information of my setup:
apple tv 4k -> denon x1300w -> sony x90e
device: apple tv 4k, tvos 11.2.5
mrmc 3.4.0 2017-12-18
matching rate and hdr/sdr is on

So the problem occurs not with every .mkv file. According to mediainfo the rate is at 23.976. Other files with the same rate play smooth.
The problem: Some files have some kind of stutter. It's like its catching up frames (like forwarding fast just for one second, i dont know how to explain it better) every 3 to 5 seconds.

debug log:
https://pastebin.com/m5XGkRnK

greetz,
neep

cosmoxl
Posts: 1401
Joined: 12 Dec 2015, 14:16

Re: Video catches up every 3-5 seconds

Post by cosmoxl » 27 Jan 2018, 23:47

Try using AVFoundation as the decoder. That's your best bet for HDR content anyway.

Taking a look at the codec info during playback might give some clues as to the problem and will also confirm you're using AVF.

neep12
Posts: 3
Joined: 27 Jan 2018, 23:18

Re: Video catches up every 3-5 seconds

Post by neep12 » 28 Jan 2018, 00:06

The file is sdr. I tried avfoundation, but then it stutters really hard.
What i could observe with videotoolbox on: The skip rate was quiet high at ~130.

fyi: Playing the file on libreelec on a raspberry pi 2 it is just fine and smooth.

User avatar
davilla
Team MrMC
Posts: 3593
Joined: 26 Oct 2015, 17:01

Re: Video catches up every 3-5 seconds

Post by davilla » 28 Jan 2018, 13:48

mediainfo on test.mkv, plus would it be possible to get it for testing. It looks like a simple 1080p h264 and the AppleTV4K can handle that easy.

Sundew
Posts: 2
Joined: 30 Jan 2018, 21:33

Re: Video catches up every 3-5 seconds

Post by Sundew » 30 Jan 2018, 21:37

So I had this on a 1080p mkv, my ATV was set to HDR 24hz as I mainly watch movies. Changed the ATV to HDR 50hz and the 'stutter' disappeared. So I think that the match frame rate setting on the ATV does not push to MrMC ? or do you have to change a setting in MrMC to adjust ?

cosmoxl
Posts: 1401
Joined: 12 Dec 2015, 14:16

Re: Video catches up every 3-5 seconds

Post by cosmoxl » 30 Jan 2018, 21:43

Sundew wrote:
30 Jan 2018, 21:37
So I had this on a 1080p mkv, my ATV was set to HDR 24hz as I mainly watch movies. Changed the ATV to HDR 50hz and the 'stutter' disappeared. So I think that the match frame rate setting on the ATV does not push to MrMC ? or do you have to change a setting in MrMC to adjust ?
Yes, match frame rate works with MrMC. Turn it on in video playback settings.

User avatar
davilla
Team MrMC
Posts: 3593
Joined: 26 Oct 2015, 17:01

Re: Video catches up every 3-5 seconds

Post by davilla » 30 Jan 2018, 21:44

Video -> Playback -> Adjust display refresh rate = Always
Video -> Acceleration -> Allow hardware acceleration - VideoToolbox = Checked
Video -> Acceleration -> - Use VideoToolBox for 4K HEVC HDR content = Unchecked
Video -> Acceleration -> Allow hardware acceleration - AVFoundation = Checked

Sundew
Posts: 2
Joined: 30 Jan 2018, 21:33

Re: Video catches up every 3-5 seconds

Post by Sundew » 30 Jan 2018, 21:56

Brilliant - thx Guys

neep12
Posts: 3
Joined: 27 Jan 2018, 23:18

Re: Video catches up every 3-5 seconds

Post by neep12 » 15 Feb 2018, 14:35

So to give you an example of the file, i cutted it with avidemux.
I checked if the behavior is the same as in the full length file and the result is:
The cutted example now plays flawlessly. The full length file still has the described behavior.

Why that? Can the file size be a thing?

Best,
neep

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest