Stream Crashing (Typically 5.1 or 7.1 content)

I can start providing various samples, but I’ve found Plex Media Server crashes a lot more often since upgrading to 1.7.x, especially on content with 5.1 (or 7.1) DTS-MA. My player is a Roku 4.

Media
General
Unique ID : 224769773440408645038567748235966082232 (0xA919156F14927945BA620CFC9094ECB8)
Complete name : Sing (2016).mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 8.39 GiB
Duration : 1 h 47 min
Overall bit rate mode : Variable
Overall bit rate : 11.1 Mb/s
Encoded date : UTC 2017-03-15 11:43:01
Writing application : mkvmerge v9.2.0 (‘Photograph’) 64bit
Writing library : libebml v1.3.3 + libmatroska v1.4.4

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 47 min
Bit rate : 5 505 kb/s
Width : 1 920 pixels
Height : 1 080 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
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.111
Stream size : 4.15 GiB (49%)
Writing library : x265 2.3+9-820f4327ddac:[Windows][MSVC 1910][64 bit] 10bit
Encoding settings : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=155213 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=6 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=0 / scenecut=40 / no-intra-refresh / ctu=32 / min-cu-size=8 / rect / amp / max-tu-size=16 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=1 / dynamic-rd=0.00 / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / weightp / weightb / no-analyze-src-pics / deblock=-1:-1 / no-sao / no-sao-non-deblock / rd=5 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=0.50 / psy-rdoq=5.00 / no-rd-refine / analysis-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=18.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=0.70 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt
Default : Yes
Forced : No

Audio #1
ID : 2
Format : Atmos / TrueHD
Codec ID : A_TRUEHD
Duration : 1 h 47 min
Bit rate mode : Variable
Bit rate : 4 888 kb/s
Maximum bit rate : 8 139 kb/s
Channel(s) : Object Based / 8 channels
Channel positions : Object Based / Front: L C R, Side: L R, Back: L R, LFE
Sampling rate : / 48.0 kHz
Frame rate : 1 200.000 FPS (40 spf)
Compression mode : Lossless
Stream size : 3.68 GiB (44%)
Title : Dolby Atmos Audio _ 7.1 _ 48 kHz _ 4888 kbps _ 24-bit
Language : English
Default : No
Forced : No

Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 1 h 47 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 spf)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 494 MiB (6%)
Title : Compatibility Track _ Dolby Digital Audio _ 5.1 _ 48 kHz _ 640 kbps
Language : English
Default : No
Forced : No

Text #1
ID : 4
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 39 min
Bit rate : 15.1 kb/s
Count of elements : 3466
Stream size : 10.7 MiB (0%)
Language : English
Default : No
Forced : No

Text #2
ID : 5
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 46 min
Bit rate : 9 828 b/s
Count of elements : 2724
Stream size : 7.51 MiB (0%)
Language : French
Default : No
Forced : No

Text #3
ID : 6
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 46 min
Bit rate : 10.4 kb/s
Count of elements : 2934
Stream size : 7.97 MiB (0%)
Language : Spanish
Default : No
Forced : No

Menu
00:00:00.000 : en:Chapter 1
00:04:29.352 : en:Chapter 2
00:10:36.469 : en:Chapter 3
00:14:04.677 : en:Chapter 4
00:18:32.653 : en:Chapter 5
00:25:14.722 : en:Chapter 6
00:30:04.052 : en:Chapter 7
00:35:11.776 : en:Chapter 8
00:40:07.405 : en:Chapter 9
00:44:36.132 : en:Chapter 10
00:50:26.649 : en:Chapter 11
00:55:36.208 : en:Chapter 12
01:04:40.710 : en:Chapter 13
01:14:03.981 : en:Chapter 14
01:19:17.962 : en:Chapter 15
01:23:59.159 : en:Chapter 16
01:26:56.461 : en:Chapter 17
01:30:38.266 : en:Chapter 18
01:34:47.181 : en:Chapter 19
01:40:16.010 : en:Chapter 20

Logs
Jul 11, 2017 19:56:34.226 [0x7f6e353ff700] ERROR - Error parsing content.
Jul 11, 2017 19:56:34.226 [0x7f6e353ff700] ERROR - Error parsing XML.
Jul 11, 2017 19:56:40.855 [0x7f6e42fff700] WARN - NAT: PMP, timed out waiting for response.
Jul 11, 2017 19:56:47.242 [0x7f6e3effd700] INFO - Refreshing paths watched by LibraryUpdateManager
Jul 11, 2017 19:56:56.245 [0x7f6e32bff700] ERROR - get - invalid frameRate value: 23.976
Jul 11, 2017 19:56:56.566 [0x7f6e40ffd700] INFO - CodecManager: starting EAE at /tmp/pms-95be5b18-c046-4aec-8313-a948694a43b5/EasyAudioEncoder
Jul 11, 2017 19:57:00.157 [0x7f6e3ffff700] WARN - NAT: PMP, timed out waiting for response.
Jul 11, 2017 19:57:00.816 [0x7f6e2ebf7700] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (be15e2f3-fdc1-4335-85e2-fe3cb43a7cce, expected 270d720a-c490-463e-9bcc-909dc067de5d)
Jul 11, 2017 19:57:01.636 [0x7f6e323fe700] ERROR - Couldn’t get size of file : boost::filesystem::file_size: No such file or directory
Jul 11, 2017 19:57:51.678 [0x7f6e32bff700] ERROR - Throttle: timed out trying to read chunk 1
Jul 11, 2017 19:58:22.196 [0x7f6e3c3fe700] ERROR - Throttle: timed out trying to read chunk 1
Jul 11, 2017 19:58:23.078 [0x7f6e32bff700] ERROR - Throttle: timed out trying to read chunk 1
Jul 11, 2017 19:59:04.000 [0x7f6e2ebf7700] ERROR - [Transcoder] [truehd_eae @ 0x2f118a0] EAE timeout! EAE not running, or wrong folder? Could not read ‘/tmp/pms-95be5b18-c046-4aec-8313-a948694a43b5/EasyAudioEncoder/Convert to WAV (to 8ch or less)/532ba001b3590191c982b8a5f067ad90_15690-1-4.wav’
Jul 11, 2017 19:59:12.793 [0x7f6e2ebf7700] ERROR - [Transcoder] [truehd_eae @ 0x2f118a0] error reading output
Jul 11, 2017 19:59:12.794 [0x7f6e353ff700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 11, 2017 19:59:52.000 [0x7f6e313fc700] ERROR - [Transcoder] [truehd_eae @ 0x3142c40] EAE timeout! EAE not running, or wrong folder? Could not read ‘/tmp/pms-95be5b18-c046-4aec-8313-a948694a43b5/EasyAudioEncoder/Convert to WAV (to 8ch or less)/532ba001b3590191c982b8a5f067ad90_15947-1-131.wav’
Jul 11, 2017 19:59:53.180 [0x7f6e40ffd700] ERROR - [Transcoder] [truehd_eae @ 0x3142c40] error reading output
Jul 11, 2017 19:59:53.180 [0x7f6e353ff700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error

May I have the full logs please? Reading this fragment isn’t enough.

I do see the input/output error. Is the transcoder temp and/or your Library on a network share? The error shown here frequently occurs in those two scenarios.

PMS 1.8.x seems to have significantly reduced the amount of crashing. If I can consistently reproduce the issue on a video in the future, I’ll create a new thread with logs + a small video sample to assist with troubleshooting. Thanks!

Dear @SFTX,

I hope you are doing well.

I am having the issue, were you able to fix it? :slight_smile:

Any update on this issue? Having the same.

Considering this is a 2 year old thread, would you mind creating new and bringing us up to date with current server, distro, and PMS version info, including log files?

This thread should have been closed due to age when we migrated to this provider.

Closing thread now.

Please feel free to link back to here for reference purposes.