Playback Error This Live TV Session has Ended

I can see the transcoder failing with Error parsing AAC extradata, unable to determine samplerate.

Jan 21, 2023 10:29:13.824 [0x14e84eb2db38] ERROR - [Req#2a671/Transcode/u52l6czu02eimct6vn3978xa/c39d36cc-54ac-4e4d-a53d-ea044c6899e7] [matroska @ 0x14a8d32873c0] Error parsing AAC extradata, unable to determine samplerate.
Jan 21, 2023 10:29:13.824 [0x14e84f02cb38] ERROR - [Req#2a672/Transcode/u52l6czu02eimct6vn3978xa/c39d36cc-54ac-4e4d-a53d-ea044c6899e7] av_interleaved_write_frame(): Invalid argument
Jan 21, 2023 10:29:13.825 [0x14e85098ab38] ERROR - [Req#2a673/Transcode/u52l6czu02eimct6vn3978xa/c39d36cc-54ac-4e4d-a53d-ea044c6899e7] Error writing trailer of chunk-%05d: Invalid argument
Jan 21, 2023 10:29:13.826 [0x14e857ff9b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 20358 is 1 (failure)

Thanks for the info and get round

I would like to get diagnostics for this so I can pass it to the development team

We introduced some diagnostic server settings to capture the stream and also retain the transcoder session files - if you can find time to revert the change and run with these settings and provide me with zip of all the transcoder session directories for the test and server logs zip and time of failure, that would be good

The server diagnostic preferences for the capture are these (to be added to the PMS Preferences.xml file)

TranscoderPersistSessionDirs Set the value to 1
TranscoderInputTracing Set the value to 1
TranscoderPruneBuffer Set the value to 0
TranscoderLivePruneBuffer Set the value to 0

When you add these settings, launch the server and just do one test and then capture the diagnostics - debug server logs and zip of the Transcode/Session directory

And then shutdown PMS, remove these preferences or flip them round (changing 1 to 0 and 0 to 1 to disable)

Thanks