Plex hardware transcoding breaks MKV files

Server Version#: Version 4.16.4
Player Version#: web player, samsung app

Certain MKV files show garbled video output when using hardware transcoding on my DS418PLAY.

Log here.Plex Media Server Logs_2019-12-07_18-33-26.zip (4.3 MB)

Here’s the mediainfo for file 1:

General
Unique ID                                : 246065812688025783236713343916453049438 (0xB91E8D3BDB37BC98BF197D26AB6EB45E)
Complete name                            : Z:\media\tv\[anon] Mononoke (BD 1280x720 H264 FLAC)\[anon] Mononoke 01 (BD 1280x720 H264 FLAC) [7970526D].mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 530 MiB
Duration                                 : 22 min 31 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 290 kb/s
Encoded date                             : UTC 2012-04-02 14:41:00
Writing application                      : mkvmerge v5.4.0 ('Piper') built on Mar 10 2012 13:34:39
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0
Attachments                              : dolly-italic.ttf / dolly-roman.ttf / itc-mendoza-roman-lt-book-italic.ttf / MTCORSVA.TTF / stentor.ttf

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Muxing mode                              : Header stripping
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 22 min 31 s
Bit rate mode                            : Variable
Maximum bit rate                         : 31.2 Mb/s
Width                                    : 1 280 pixels
Height                                   : 720 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                                : 8 bits
Scan type                                : Progressive
Writing library                          : x264 core 116 r2074 2641b9e
Encoding settings                        : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=8 / vbv_maxrate=31250 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=vbr / ip_ratio=1.40 / aq=2:0.80
Default                                  : No
Forced                                   : No

Audio
ID                                       : 2
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Codec ID                                 : A_FLAC
Duration                                 : 22 min 31 s
Bit rate mode                            : Variable
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Compression mode                         : Lossless
Title                                    : Japanese
Writing library                          : libFLAC 1.2.1 (UTC 2007-09-17)
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Text
ID                                       : 3
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Compression mode                         : Lossless
Title                                    : English
Language                                 : English
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.000                             : en:Prologue
00:01:33.051                             : en:Opening
00:02:53.090                             : en:A-Part
00:18:00.037                             : en:B-Part
00:21:10.019                             : en:Ending

and file 2:

General
Unique ID                                : 194891334423079068302643361156425362270 (0x929EB4A7E22F831DACC14D94487CAB5E)
Complete name                            : Z:\media\tv\[a-s] Mushi Shi\[a-s]_mushi-shi_-_01_-_the_green_gathering__rs2_[1080p_bd-rip][D07A158D].mkv
Format                                   : Matroska
Format version                           : Version 1
File size                                : 443 MiB
Duration                                 : 23 min 43 s
Overall bit rate                         : 2 614 kb/s
Encoded date                             : UTC 2009-04-26 22:14:36
Writing application                      : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library                          : libebml v0.7.7 + libmatroska v0.8.1
Attachments                              : BAARS___.TTF

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 23 min 43 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                                : 8 bits
Scan type                                : Progressive
Title                                    : AVC
Writing library                          : x264 core 67 r1139M 1024283
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=6 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=2 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=crf / crf=22.0 / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 23 min 43 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Title                                    : AAC
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 23 min 43 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Title                                    : AAC
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Text
ID                                       : 4
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Compression mode                         : Lossless
Title                                    : ASS
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Intro
00:00:30.000                             : en:Opening
00:01:32.933                             : en:Part A
00:12:06.367                             : en:Part B
00:22:26.667                             : en:Closing
00:23:31.667                             : en:Preview

Well known problem with ApolloLake CPUs (J3455) and the Intel iHD_drv_video.

Workaround while getting resolved.

awesome, thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.