Jump to content

Emby Direct Stream Lagging


Recommended Posts

Posted (edited)

I'm running Emby on a Hetzner dedicated server and have been using it smoothly for almost a week but suddenly it started lagging (Video stops playing) and I'm not really sure why. I've installed a speed test to check connection speed between my server and home and it seems fine. Also, I've been mostly direct streaming. Note that I'm streaming videos hosted on Google Drive using Rclone.

 

Sever Performance while Streaming (1min):

5c800cbe9ab06_20190306_210825.gif

 

Media Info of Video Streaming:

$ mediainfo all.or.nothing.manchester.city.s01e01.720p.web.h264-skgtv.mkv
General
Unique ID                                : 2321864520059873898967730258657057138 (0x1BF2CC25A8044A28C4B9E3DB90E9972)
Complete name                            : all.or.nothing.manchester.city.s01e01.720p.web.h264-skgtv.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.49 GiB
Duration                                 : 47 min 48 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 468 kb/s
Encoded date                             : UTC 2018-08-21 13:36:43
Writing application                      : mkvmerge v25.0.0 ('Prog Noir') 32-bit
Writing library                          : libebml v1.3.6 + libmatroska v1.4.9


Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 47 min 48 s
Bit rate mode                            : Variable
Bit rate                                 : 3 826 kb/s
Maximum bit rate                         : 4 500 kb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.166
Stream size                              : 1.28 GiB (86%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709


Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 47 min 47 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 219 MiB (14%)
Title                                    : English
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No


Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 46 min 0 s
Bit rate                                 : 77 b/s
Count of elements                        : 662
Stream size                              : 26.3 KiB (0%)
Title                                    : English [SDH]
Language                                 : English
Default                                  : No
Forced                                   : No


Menu
00:00:00.000                             : en:Amazon Original
00:00:05.000                             : en:Work hard and make history
00:04:42.000                             : en:Title Sequence
00:05:17.000                             : en:Changes to step forward
00:13:52.000                             : en:New season, new players
00:18:25.000                             : en:Premier League - Manchester City vs Liverpool
00:24:56.000                             : en:The new backline Benjamin Mendy
00:27:00.000                             : en:Premier League - Manchester City vs Crystal Palace
00:28:53.000                             : en:Mendy's injury
00:31:24.000                             : en:The back room staff
00:36:38.000                             : en:Kevin De Bruyne potential
00:40:03.000                             : en:Chelsea vs Manchester City
00:44:41.000                             : en:Next On
00:46:09.000                             : en:End Credits

Emby Direct Stream:

5c800dbf5cfcb_firefox_20190306_211255.pn

Edited by AlGallaf
Posted

Hi there, can you please attach the emby server and ffmpeg log? Thanks.

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...