No Picture or No Sound on HD broadcast recordings (sometimes)!

@e10kstarfire I discussed your findings with the development team and we would like channel stream capture with debug server logs

Please could you reproduce the loss of picture and loss of sound issues on HD channels with debug server logging enabled and also with the settings that allow for capture of the channel stream and transcode segments

Please locate the Preferences.xml for Plex Media Server - For docker there is information here Where is the Plex Media Server data directory located? | Plex Support
Other relevant support article is Advanced, Hidden Server Settings | Plex Support - however the specific settings needed to capture the channel stream are not actually listed there

When editing the Preferences.xml file, please do that whilst Plex Media Server is shutdown and process not running

The advanced diagnostic settings to add in the Preferences.xml file are:

TranscoderPersistSessionDirs set value to be 1
TranscoderInputTracing set value to be 1
TranscoderPruneBuffer set value to be 0
TranscoderLivePruneBuffer set value to be 0

With these values, the transcoder temp files would not get purged and also there would be a DVR TV channel stream capture file.

Please remove the changes you made to the tvheadend configuration to circumvent the problem.

You would need to locate the transcoder temp directory and copy out and zip all the Transcode\Sessions directories/sub-directories after you reproduce the problem. Server would need to be running with debug logging enabled and to also capture the server logs after reproducing the problem

Note that the transcode sessions directories may be large and so do not leave these diagnostic settings enabled for long period of time

Once the diagnostics are captured, shutdown the Plex Media Server and remove the settings that were added, deleting:

TranscoderPersistSessionDirs
TranscoderInputTracing
TranscoderPruneBuffer
TranscoderLivePruneBuffer

Please note down the channel name and number that you repro the problem on. Also what time the test started and how many seconds / minutes from start before the problem arose - or just note down actual times.

As the captured diagnostics will be large, please upload to dropbox or google drive etc and send me a link to download. Please make sure we have the associated server logs also

Thank you

Edited to replace the settings of “true” with “1”