I get this error when tunning into some channels. The channels work fine if I try a different PVR software. It doesn’t seem to matter what device I’m watching from either. It’s not always the same channels either. A while back I tried it and CBS and FOX wouldn’t work, not today those are fine but PBS doesn’t work. I’m running the Plex server on my home PC and I’m not seeing any resource issues, CPU and GPU go up to around 25% when watching live TV. Any help would be greatly appreciated!
I also get this error, but only in the Plex client for desktop computers (Fedora Linux).
Stream works fine in the web app, also on Android devices including FireTV.
Also have “Use alternate streaming protocol for video playback” disabled (which was the workaround discussed in above thread), and I can reliably get a ‘ended tv session’ within 2 minutes.
Logs show ‘idle subscription’, and the dashboard doesn’t detect the live tv session. On android app all works fine.
Does this also go for the Windows app? Currently using the latest version, 1.60.1.3413-533a7645, but get the same error message as the title. This applies to all channels; but plays perfectly on my iOS devices.
We have a fix for the issue of DVR Live TV streaming failing sometime after start
The fix is in Plex Web and initially is available in the hosted Plex Web that is on https://app.plex.tv/desktop
See release notice for Plex Web 4.99.2
Fix live tv session stopped after a period of time.
The fix will get included in the Plex Desktop app sometime soon and will eventually also be included in the Plex Web app bundled within Plex Media Server
Hello there,
It seems that I’ve got a similar issue with the Plex for Windows app (even 1.62.2.3451)
I can see my IPTV [passing by xTeve] on the Chrome Webapp, but the Windows app is popping this error :
Playback Error / This live TV session has ended
Here are logs from the app concerning the issue : PFWLogs.txt (37.9 KB)
I will have a look on monday …. But will need logs from both sides - the debug server logs and the Plex app logs for corresponding period and indication of when the failure arose
It’s most likely because your Live TV stream has AAC audio which the Windows client does NOT like for Live TV streams. Other platforms will work though.
Otherwise transcode your audio stream to AC3 via ffmpeg buffer inside xTeVe.
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)