Video files crash when playing True HD. It has been going on for some time now, I haven’t posted about this since I assumed it was known (since you type in true HD + Plex in google and tons of results come up) but since it has been a few months I will post too. I have tested this on android (Multiple devices), windows (web players in chrome (multiple computers and configs)), Chromecast 4k, Chromecast 1st gen, Chromecast 2nd gen, and Nvidia Sheild 4k. I have tried to delete the codec folder and let it rebuild to no avail. I know I could just remux the audio to something else like DTS, but I have MANY MANY files and that would be quite time consuming and would have to decide between that and switching to a different service. I would rather just resolve this issue.
Included is a section of logs pertaining to the error mentioned.
NOTE it only happens with TureHD audio codec.
Aug 14, 2018 10:31:55.124 [1396] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.124 [8904] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.140 [7244] DEBUG - Transcoder segment range: 0 - 2673
Aug 14, 2018 10:31:55.218 [2952] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.218 [6384] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.327 [7848] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.327 [7704] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.390 [9812] DEBUG - Request: [::ffff:192.168.1.193:3249 (Subnet)] GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/1/607.m4s (13 live) TLS GZIP Signed-in
Aug 14, 2018 10:31:55.390 [9812] DEBUG - Asked for segment 607 from session.
Aug 14, 2018 10:31:55.390 [9812] DEBUG - Returning segment 607 from session: “P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream1-00608.m4s”
Aug 14, 2018 10:31:55.390 [9812] DEBUG - Content-Length of P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\init-stream1.m4s,P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream1-00608.m4s is 26250.
Aug 14, 2018 10:31:55.390 [6040] DEBUG - Completed: [::ffff:192.168.1.193:3249] 200 GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/1/607.m4s (13 live) TLS GZIP 2ms 26250 bytes (pipelined: 12)
Aug 14, 2018 10:31:55.405 [1396] DEBUG - Transcoder segment range: 0 - 2674
Aug 14, 2018 10:31:55.452 [7244] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.452 [8904] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.562 [2952] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.562 [6384] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.624 [7848] DEBUG - Request: [::ffff:192.168.1.193:3249 (Subnet)] GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/0/607.m4s (13 live) TLS GZIP Signed-in
Aug 14, 2018 10:31:55.624 [7848] DEBUG - Asked for segment 607 from session.
Aug 14, 2018 10:31:55.624 [7848] DEBUG - Returning segment 607 from session: “P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream0-00608.m4s”
Aug 14, 2018 10:31:55.624 [7848] DEBUG - Content-Length of P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\init-stream0.m4s,P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream0-00608.m4s is 2149443.
Aug 14, 2018 10:31:55.671 [9812] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.671 [7704] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.671 [9440] DEBUG - Completed: [::ffff:192.168.1.193:3249] 200 GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/0/607.m4s (13 live) TLS GZIP 42ms 2149443 bytes (pipelined: 13)
Aug 14, 2018 10:31:55.796 [1396] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.796 [7244] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.890 [8428] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.890 [8904] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:55.983 [7848] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:55.983 [6384] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.124 [9812] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.124 [7704] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.249 [7244] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.249 [1396] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.358 [8428] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.358 [2952] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.405 [8904] DEBUG - Request: [::ffff:192.168.1.193:3249 (Subnet)] GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/1/608.m4s (13 live) TLS GZIP Signed-in
Aug 14, 2018 10:31:56.405 [8904] DEBUG - Asked for segment 608 from session.
Aug 14, 2018 10:31:56.405 [8904] DEBUG - Returning segment 608 from session: “P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream1-00609.m4s”
Aug 14, 2018 10:31:56.405 [8904] DEBUG - Content-Length of P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\init-stream1.m4s,P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream1-00609.m4s is 25812.
Aug 14, 2018 10:31:56.405 [6040] DEBUG - Completed: [::ffff:192.168.1.193:3249] 200 GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/1/608.m4s (13 live) TLS GZIP 2ms 25812 bytes (pipelined: 14)
Aug 14, 2018 10:31:56.452 [7848] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.452 [6384] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.577 [7704] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.577 [7244] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.687 [2952] DEBUG - Request: [::ffff:192.168.1.193:3249 (Subnet)] GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/0/608.m4s (12 live) TLS GZIP Signed-in
Aug 14, 2018 10:31:56.687 [2952] DEBUG - Asked for segment 608 from session.
Aug 14, 2018 10:31:56.687 [2952] DEBUG - Returning segment 608 from session: “P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream0-00609.m4s”
Aug 14, 2018 10:31:56.687 [2952] DEBUG - Content-Length of P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\init-stream0.m4s,P:\Transcode\Transcode\Sessions\plex-transcode-he07ekh0w2fjyhw8coqu17xd-9df0e359-e583-408a-ab30-42d0a4635b1a\chunk-stream0-00609.m4s is 1901276.
Aug 14, 2018 10:31:56.702 [1396] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.702 [8428] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.718 [9440] DEBUG - Completed: [::ffff:192.168.1.193:3249] 200 GET /video/:/transcode/universal/dash/he07ekh0w2fjyhw8coqu17xd/0/608.m4s (13 live) TLS GZIP 36ms 1901276 bytes (pipelined: 15)
Aug 14, 2018 10:31:56.812 [8904] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.812 [9812] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:56.999 [6384] ERROR - [Transcoder] [truehd_eae @ 0341e2c0] error reading output
Aug 14, 2018 10:31:56.999 [7704] ERROR - [Transcoder] Error while decoding stream #0:1: Cannot allocate memory
Aug 14, 2018 10:31:57.046 [7244] ERROR - [Transcoder] [h264 @ 035d7980] decode_slice_header error
Aug 14, 2018 10:31:57.046 [2952] ERROR - [Transcoder] [h264 @ 035d7980] decode_slice_header error
Aug 14, 2018 10:31:57.046 [1396] ERROR - [Transcoder] [h264 @ 035d7980] decode_slice_header error
Aug 14, 2018 10:31:57.046 [8428] ERROR - [Transcoder] [h264 @ 035d7980] decode_slice_header error
Aug 14, 2018 10:31:57.046 [8904] ERROR - [Transcoder] [h264 @ 035d7980] no frame!
Aug 14, 2018 10:31:57.077 [9812] ERROR - [Transcoder] Video encoding failed