Hello,
I’ve noticed for some time that the butler gets stuck on generating video preview thumbnails for some movies.
These are the messages I get in the log:
Logs
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: Loaded memory image of size 1920x1080.
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 7(SPS), nal_ref_idc: 3
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 8(PPS), nal_ref_idc: 3
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 7(SPS), nal_ref_idc: 3
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 8(PPS), nal_ref_idc: 3
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - unknown SEI type 7
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 7(SPS), nal_ref_idc: 3
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 8(PPS), nal_ref_idc: 3
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 6(SEI), nal_ref_idc: 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 6(SEI), nal_ref_idc: 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 6(SEI), nal_ref_idc: 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 6(SEI), nal_ref_idc: 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - unknown SEI type 7
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - Format yuv420p chosen by get_format().
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - Frame num gap 4 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - Frame num gap 4 1
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - Frame num gap 4 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - no picture
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 6(SEI), nal_ref_idc: 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - no picture
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - mmco: unref short failure
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 6(SEI), nal_ref_idc: 0
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
Aug 27 12:03:26 plex-01 PlexMediaServer[585]: [FFMPEG] - nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 1
and here’s the mediainfo of one of the files:
mediainfo
eneral
Complete name : Rebecca.mkv
Format : Matroska
Format version : Version 4
File size : 33.4 GiB
Duration : 2 h 10 min
Overall bit rate mode : Variable
Overall bit rate : 36.6 Mb/s
Encoded date : UTC 2018-09-27 13:53:13
Writing application : mkvmerge v26.0.0 (‘In The Game’) 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 10 min
Bit rate mode : Variable
Bit rate : 35.0 Mb/s
Maximum bit rate : 40.0 Mb/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
Bits/(Pixel*Frame) : 0.704
Stream size : 31.9 GiB (96%)
Title : MPEG-4 AVC Video / 35014 kbps / 1080p / 23.976 fps / 16:9 / High Profile 4.1
Writing library : x264 core 142 r2479kMod dd79a61
Encoding settings : cabac=1 / ref=4 / deblock=0:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=1 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=1 / constrained_intra=0 / fgo=15 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=1 / keyint=24 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=abr / mbtree=0 / bitrate=35000 / ratetol=1.0 / qcomp=0.20 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=30000 / nal_hrd=vbr / filler=0 / ip_ratio=1.40 / pb_ratio=1.13 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio #1
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 10 min
Bit rate mode : Variable
Bit rate : 1 038 kb/s
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 968 MiB (3%)
Title : DTS-HD Master Audio / 1.0 / 48 kHz / 1038 kbps / 24-bit
Language : English
Default : Yes
Forced : No
Audio #2
ID : 3
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 10 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 179 MiB (1%)
Title : Commentary by author Leonard J. Leff / Dolby Digital Audio / 1.0 / 48 kHz / 192 kbps
Language : English
Service kind : Complete Main
Default : No
Forced : No
Audio #3
ID : 4
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 10 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 179 MiB (1%)
Title : Commentary by film historian Richard Schickel / Dolby Digital Audio / 2.0 / 48 kHz / 192 kbps
Language : English
Service kind : Complete Main
Default : No
Forced : No
Audio #4
ID : 5
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 2 h 10 min
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 1 channel
Channel layout : C
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 179 MiB (1%)
Title : Isolated music and effects track / Dolby Digital Audio / 1.0 / 48 kHz / 192 kbps
Language : zxx
Service kind : Complete Main
Default : No
Forced : No
Text #1
ID : 6
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Duration : 2 h 7 min
Bit rate : 85 b/s
Count of elements : 1782
Stream size : 80.2 KiB (0%)
Language : English
Default : No
Forced : No
Text #2
ID : 7
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 7 min
Bit rate : 73.8 kb/s
Count of elements : 3652
Stream size : 67.3 MiB (0%)
Title : SDH
Language : English
Default : No
Forced : No
Text #3
ID : 8
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 2 h 8 min
Bit rate : 31.0 kb/s
Count of elements : 3204
Stream size : 28.5 MiB (0%)
Language : French
Default : No
Forced : No
Menu
00:00:00.000 : en:Remembering Manderley
00:03:32.379 : en:First Impressions
00:07:44.506 : en:Romance Blooms
00:18:13.134 : en:A Proposal
00:28:14.151 : en:“Welcome Home”
00:39:01.381 : en:R
00:46:58.232 : en:The Cottage
00:55:34.915 : en:Broken Cupid
01:02:11.978 : en:“A Lonely Old Bachelor”
01:06:39.162 : en:Raising the Dead
01:16:13.819 : en:“You Couldn’t Compare”
01:24:27.854 : en:“Rebecca Has Won”
01:40:24.101 : en:“Believe What You like”
01:49:18.343 : en:Blackmail
02:00:52.537 : en:The Motive
02:07:00.821 : en:A Bad Feeling
Any idea why this happens? Do you need other data?
To unblock the butler I usually kill the Transcoder process and it goes to the next files.
Is there a way for the butler to skip those files? Mark them somehow in the database?
Server Version#: 1.19.5.3112
Player Version#: irrelevant