Hi,
While waiting for a reply I did some additional research. Maybe the issue is related to rewriting tags after AdDetection of recordings through DVR. Please find full Media Info xml files attached for reference. For convenience reasons I did my tests on Windows, but that shouldn’t matter because, as I wrote before, the issue occurs on both Windows and Synology.
01_1082.xml.txt - Part section after recording was aborted and before AdDetection has been finished. I could play the file with no problem as long as AdDetection hasn’t finished yet.
<Part accessible="1" exists="1" id="1296" key="/library/parts/1296/1616332021/file.ts" duration="3114767" file="D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts" size="1418748392" container="mpegts" packetLength="188" videoProfile="main">
02_1082.log - Log excerpt of AdDetection after recording.
Mar 21, 2021 14:07:01.361 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector/JobRunner] Job running: set "FFMPEG_EXTERNAL_LIBS=\\\\?\\C\:\\Users\\Daniel\\AppData\\Local\\Plex\ Media\ Server\\Codecs\\367b3d4-3673-windows-x86\\" & "C:\Program Files (x86)\Plex\Plex Media Server\Plex Commercial Skipper.exe" "--ini=C:\Program Files (x86)\Plex\Plex Media Server\Resources\comskip.ini" "--output=D:\Temp\Plex\Filme\Jack and Jill (2011)" -t --quiet "D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts"
Mar 21, 2021 14:07:01.392 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector/JobRunner] Jobs: Starting child process with pid 11320
Mar 21, 2021 14:09:49.012 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector] EDL built after 167.7 seconds.
Mar 21, 2021 14:09:49.014 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector] Updating part with ID=1296 [D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts]
Mar 21, 2021 14:09:49.019 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector] Doing expensive tags write for 'Jack and Jill' because something changed.
Mar 21, 2021 14:09:49.022 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector] Updating part with ID=1296 [D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts]
Mar 21, 2021 14:09:49.022 [25272] DEBUG - [Grabber/4ff9d5c33dad36da6ec637dc5f787b04432b5de0/AdDetector] AdDetector: Removing all intermediate files at path `D:\Temp\Plex\Filme\Jack and Jill (2011)`
03_1082.xml.txt - Part section after AdDetection. When playing the file it is squeezed to 4:3 aspect ratio.
<Part accessible="1" exists="1" id="1296" key="/library/parts/1296/1616332021/file.ts" file="D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts" size="1418748392">
04_1083.xml.txt - Part section after Plex Dance. Playing is no problem.
<Part accessible="1" exists="1" id="1297" key="/library/parts/1297/1616332021/file.ts" duration="3114767" file="D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts" size="1418748392" container="mpegts" packetLength="188" videoProfile="main">
05_1083.log - Log excerpt of AdDetection within library by scheduled task.
Mar 21, 2021 14:56:33.630 [16356] DEBUG - [AdDetector/JobRunner] Job running: set "FFMPEG_EXTERNAL_LIBS=\\\\?\\C\:\\Users\\Daniel\\AppData\\Local\\Plex\ Media\ Server\\Codecs\\367b3d4-3673-windows-x86\\" & "C:\Program Files (x86)\Plex\Plex Media Server\Plex Commercial
Skipper.exe" "--ini=C:\Program Files (x86)\Plex\Plex Media Server\Resources\comskip.ini" "--output=D:\Temp\Plex\Filme\Jack and Jill (2011)" -t --quiet "D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts"
Mar 21, 2021 14:56:33.638 [16356] DEBUG - [AdDetector/JobRunner] Jobs: Starting child process with pid 11560
Mar 21, 2021 14:59:32.705 [16356] DEBUG - [AdDetector] EDL built after 179.1 seconds.
Mar 21, 2021 14:59:32.708 [16356] DEBUG - [AdDetector] Updating part with ID=1297 [D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts]
Mar 21, 2021 14:59:32.732 [16356] DEBUG - [AdDetector] Doing expensive tags write for 'Jack und Jill' because something changed.
Mar 21, 2021 14:59:32.735 [16356] DEBUG - [AdDetector] Updating part with ID=1297 [D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts]
Mar 21, 2021 14:59:32.735 [16356] DEBUG - [AdDetector] AdDetector: Removing all intermediate files at path `D:\Temp\Plex\Filme\Jack and Jill (2011)`
06_1083.xml.txt - Part section after AdDetection has finished. Playing still no problem.
<Part accessible="1" exists="1" id="1297" key="/library/parts/1297/1616332021/file.ts" duration="3114767" file="D:\Temp\Plex\Filme\Jack and Jill (2011)\Jack and Jill (2011).ts" size="1418748392" container="mpegts" deepAnalysisVersion="4" packetLength="188" requiredBandwidths="4604,4344,3834,3434,3434,3434,3434,3434" videoProfile="main">
As you can see the part section with id 1026 has been modified after AdDetection und the container and duration tags are missing. After a Plex Dance and subsequent AdDetetion processing the container as well as the duration tag are present and there’s als no issue anymore. So I guess there’s a bug rewriting the tags directly after recording provided that one or both tags are indeed related to this issue, but that’s the only obvious thing I could find.
So Plex, it’s your turn ;). I would really appreciate your help. Maybe someone else can confirm this behavior to push investigation by Plex.
Thanks, Daniel
01_1082.xml.txt (4.7 KB) 02_1082.log (1.6 KB) 03_1082.xml.txt (4.9 KB) 04_1083.xml.txt (18.3 KB) 05_1083.log (1.2 KB) 06_1083.xml.txt (18.8 KB)