Jump to content

Mibox Lag Direct Play Issue


mrjn

Recommended Posts

mrjn

Hi !

I'm trying the emby solution to setup a server media. I use my personnal computer (i7-7700k, 16Go ram, no graphic card) to direct play on my mibox 4s. 

My computer is wired to my internet box and the mibox uses wifi. They are really near as the mibox is over the internet box. 

I hade a few lag issue tonight. It was like 4 seconds freeze (looks like it was not buffering or doing something : no loading wheel) 


Checked for the logs, hope it's the good ones. Don't know why one was about transcode... I disabled it I believe. 


The media played was :
 

General
Unique ID                                : 
Complete name                            : 
Format                                   : Matroska
Format version                           : Version 4
File size                                : 23.7 GiB
Duration                                 : 2 h 8 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 26.3 Mb/s
Movie name                               : Kingsman: The Secret Service (2014)
Encoded date                             : UTC 2020-04-26 18:02:03
Writing application                      : mkvmerge v43.0.0 ('The Quartermaster') 64-bit
Writing library                          : libebml v1.3.10 + libmatroska v1.5.2
 
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 8 min
Bit rate                                 : 21.3 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.107
Stream size                              : 19.1 GiB (81%)
Writing library                          : x265 3.3+2-gd9a7411cc:[Windows][MSVC 1925][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=4 / numa-pools=24 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=185200 / level-idc=51 / high-tier=1 / uhd-bd=1 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=6 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / selective-sao=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.01 / no-opt-cu-delta-qp / no-aq-motion / hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0
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
 
Audio
ID                                       : 2
Format                                   : DTS ES XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 2 h 8 min
Bit rate mode                            : Variable
Bit rate                                 : 4 935 kb/s
Channel(s)                               : 8 channels
Channel layout                           : C L R Ls Rs LFE Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 4.44 GiB (19%)
Title                                    : DTS-HD Master Audio / 7.1 / 48 kHz / 4935 kbps / 24-bit
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
Text #1
ID                                       : 3
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 40 min
Bit rate                                 : 128 b/s
Count of elements                        : 38
Stream size                              : 95.0 KiB (0%)
Title                                    : Forced only
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
 

Not sure if it helps. I used subtitles (not sur it was thoses ones, there where a lot on the description files and I cut it out to have a clearer post. 

It worked crystal clear with Avatar, don't know what happened. 

Anyway, the app looks great, thanks for your work. 

embyserver.txt

embyserver-63724665599.txt

hardware_detection-63724638513.txt

ffmpeg-transcode-b8e64e32-35d5-4e3f-8474-d6edf9263094_1.txt

Link to comment
Share on other sites

Hi.  It looks like you are burning in graphic subs in a 4K HEVC file.  All of that adds up to significant processing power being needed on the server.

 

The reason the transcoding/burn-in was needed is due to the combination of graphic subs and an audio format that is not supported by the Mi (DTS-HD MA).  Either obtaining a version with a compatible audio track or obtaining text-based subtitles would probably eliminate your problem here.

Link to comment
Share on other sites

oh ok, kind of good for me ! I believed it was my network failing. 

Will work on the subtitles stuff and choose more carefully the audio format ! 

Thanks for your answer, will keep you updated !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...