Constant buffering problem

I have a few problems with my setup

  1. A large number of videos at unwatchable as they are constantly buffering and moving literally frame by frame and I don’t know why, an example below.

General
Unique ID : 272394100495662685737809472659831799282 (0xCCED320B1A193D623859BAE9EFAE3DF2)
Complete name :The Dark Knight (2008)\The.Dark.Knight.2008.UHD.BluRay.2160p.DTS-HD.MA.5.1.HEVC.REMUX-FraMeSToR-AsRequested.mkv
Format : Matroska
Format version : Version 4
File size : 54.3 GiB
Duration : 2 h 32 min
Overall bit rate mode : Variable
Overall bit rate : 51.1 Mb/s
Frame rate : 23.976 FPS
Movie name : The Dark Knight 4K
Encoded date : 2018-01-15 02:39:41 UTC
Writing application : mkvmerge v19.0.0 (‘Brave Captain’) 64-bit
Writing library : libebml v1.3.5 + libmatroska v1.4.8

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 32 min
Bit rate : 47.1 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.237
Stream size : 50.0 GiB (92%)
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.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 1002 cd/m2
Maximum Frame-Average Light Level : 225 cd/m2

Audio
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 32 min
Bit rate mode : Variable
Bit rate : 3 814 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 4.06 GiB (7%)
Title : DTS-HD MA 5.1
Language : English
Default : Yes
Forced : No

Text #1
ID : 3
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 30 min
Bit rate : 38.8 kb/s
Frame rate : 0.445 FPS
Count of elements : 4020
Stream size : 41.8 MiB (0%)
Title : English (SDH)
Language : English
Default : No
Forced : No

Text #2
ID : 4
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 30 min
Bit rate : 28.6 kb/s
Frame rate : 0.461 FPS
Count of elements : 4164
Stream size : 30.8 MiB (0%)
Title : French
Language : French
Default : No
Forced : No

Text #3
ID : 5
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 30 min
Bit rate : 30.7 kb/s
Frame rate : 0.408 FPS
Count of elements : 3686
Stream size : 33.0 MiB (0%)
Title : Chinese (Mandarin Simplified)
Language : Chinese
Default : No
Forced : No

Text #4
ID : 6
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 30 min
Bit rate : 32.8 kb/s
Frame rate : 0.400 FPS
Count of elements : 3608
Stream size : 35.2 MiB (0%)
Title : Spanish (Latin American)
Language : Spanish
Default : No
Forced : No

Text #5
ID : 7
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 30 min
Bit rate : 35.0 kb/s
Frame rate : 0.402 FPS
Count of elements : 3628
Stream size : 37.7 MiB (0%)
Title : Portuguese (Brazilian)
Language : Portuguese
Default : No
Forced : No

Text #6
ID : 8
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 30 min
Bit rate : 32.2 kb/s
Frame rate : 0.404 FPS
Count of elements : 3644
Stream size : 34.6 MiB (0%)
Title : Thai
Language : Thai
Default : No
Forced : No

Menu
00:00:00.000 : en:No Rules
00:06:25.927 : en:Dishonor Guard
00:10:36.135 : en:Somebody with Access
00:13:52.540 : en:Hero with a Face
00:17:54.156 : en:Men of Their Word
00:21:39.298 : en:Why So Serious?
00:26:09.985 : en:Kill the Batman
00:29:36.233 : en:Protector’s Mantle
00:31:42.442 : en:Last Game in Town
00:37:49.017 : en:Unknown Limits
00:43:34.028 : en:Robbery Gone Stranger
00:46:39.505 : en:Right Choice
00:48:57.726 : en:Watch the World Burn
00:53:19.405 : en:Your Plan Is Blackmail?
00:57:15.599 : en:I Am the Batman
00:59:26.313 : en:Hong Kong Holiday
01:03:59.544 : en:Tonight’s Entertainment
01:08:23.516 : en:Landing Lau
01:10:48.286 : en:Intimidate Mode
01:14:24.877 : en:Trip to Country
01:18:05.598 : en:Bat-Pod Faceoff
01:22:22.396 : en:We Got Him
01:24:48.542 : en:Good Cop, Bad Cop
01:30:48.401 : en:Two-Way Race
01:34:04.931 : en:Burned Down
01:39:57.742 : en:Harvey Two-Face
01:42:05.453 : en:Better Class of Criminal
01:44:59.877 : en:Watch Out
01:47:00.831 : en:Agent of Chaos
01:51:09.872 : en:Hospital Boom
01:54:14.598 : en:Too Much Power
01:57:03.975 : en:Unlucky
02:00:14.207 : en:Ferry Scary
02:03:37.535 : en:Prewitt Building Siege
02:09:07.573 : en:Verge of Fireworks
02:12:27.273 : en:Battle for Gotham’s Soul
02:15:22.740 : en:One Pointing the Gun
02:19:58.640 : en:Dark Knight
02:24:26.658 : en:End Credits

  1. I have a lip sync issue (Previously when #1 was working this was present - logs can be seen here, I’ve looked through and I don’t know what to look for: http://paste.osmc.tv/papebelijo

An example file below:

Processing: telegram-cloud-photo-size-4-6046378200109534780-y.jpg…

I have a Vero V, all wired and served by a windows share on a PC.

My setup is as follows:

Sony Bravia 9 TV
Marantz cinema 70s
Vero V

I’m not sure what else to share. I’ve tried every possible setting that I can think of.

Thanks in advance, I’d appreciate any help as I’m struggling to move on from this.

What is your network speed?
Maybe also want to check with iperf

Maybe something changed in the network, we suggest to check your network with iperf3. Please read this howto

Hello,

I’m running at a gigabit, resources on the severing PC don’t seem to even be challenged, disk I/o, network cpu or memory.

I’ve ran an iperf test below, which in my head is lined with what I roughly expected to see:

osmc@osmc:~$ iperf3 -R -c 192.168.0.100
Connecting to host 192.168.0.100, port 5201
Reverse mode, remote host 192.168.0.100 is sending
[ 5] local 192.168.0.196 port 36422 connected to 192.168.0.100 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 111 MBytes 928 Mbits/sec
[ 5] 1.00-2.00 sec 111 MBytes 928 Mbits/sec
[ 5] 2.00-3.00 sec 111 MBytes 929 Mbits/sec
[ 5] 3.00-4.00 sec 110 MBytes 927 Mbits/sec
[ 5] 4.00-5.00 sec 111 MBytes 929 Mbits/sec
[ 5] 5.00-6.00 sec 111 MBytes 929 Mbits/sec
[ 5] 6.00-7.00 sec 111 MBytes 930 Mbits/sec
[ 5] 7.00-8.00 sec 111 MBytes 932 Mbits/sec
[ 5] 8.00-9.00 sec 111 MBytes 931 Mbits/sec
[ 5] 9.00-10.00 sec 111 MBytes 931 Mbits/sec


[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 1.09 GBytes 933 Mbits/sec sender
[ 5] 0.00-10.00 sec 1.08 GBytes 929 Mbits/sec receiver

iperf Done.
osmc@osmc:~$ iperf3 -c 192.168.0.100
Connecting to host 192.168.0.100, port 5201
[ 5] local 192.168.0.196 port 36426 connected to 192.168.0.100 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 82.8 MBytes 694 Mbits/sec 1542 59.4 KBytes
[ 5] 1.00-2.00 sec 74.7 MBytes 627 Mbits/sec 1658 156 KBytes
[ 5] 2.00-3.00 sec 78.2 MBytes 656 Mbits/sec 1917 67.9 KBytes
[ 5] 3.00-4.00 sec 78.6 MBytes 659 Mbits/sec 1749 65.0 KBytes
[ 5] 4.00-5.00 sec 78.2 MBytes 656 Mbits/sec 1638 49.5 KBytes
[ 5] 5.00-6.00 sec 77.5 MBytes 650 Mbits/sec 1559 91.9 KBytes
[ 5] 6.00-7.00 sec 78.2 MBytes 656 Mbits/sec 1698 55.1 KBytes
[ 5] 7.00-8.00 sec 76.7 MBytes 643 Mbits/sec 1741 66.5 KBytes
[ 5] 8.00-9.00 sec 77.0 MBytes 646 Mbits/sec 1574 83.4 KBytes
[ 5] 9.00-10.00 sec 78.1 MBytes 655 Mbits/sec 1564 84.8 KBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 780 MBytes 654 Mbits/sec 16640 sender
[ 5] 0.00-10.00 sec 778 MBytes 653 Mbits/sec receiver

Thanks

Attaching some revised logs which hopefully captures something about what is going on:

https://paste.osmc.tv/gupikisoka

Some progress after further tweaking post the log. Video now plays smooth after enabling “Enable Hardware acceleration” Should this be enabled or have I just fudged it?

Which leaves my last issue of my audio is out of sync to the picture there is a delay which I can’t resolve

Yes enabled by default (for some Codecs limited to HD and above.
So if it was disabled then you must have done so by accident

3 Likes