Server Version#: 1.30.1.6562
Player Version#: 1.61.1.3432
Tuner Make/Model: xTeVe
Guide/Lineup name:
Using XMLTV?: Yes
Channel number/Name: All
I’m having an issue when anytime that I try to watch live TV from my Plex Sever, it gives me a “Playback Error” and says that the Live TV Session has ended. I am using Xteve with EPG best. It works fine if I use it through a web browser, through the IOS app, or on xbox. It seems to be specifically if I use either the windows application or Plex HTPC application. It’s only Live TV that has this issue, movies/tv shows are fine.
I just built this Live TV setup. Before, I used a HDHR hooked to an antenna in my attic and all the apps worked just fine. Any ideas?
For future reference to who ever has this same problem, I had to make sure my Stream Buffer was using FFmpeg (if its not already, make sure your binary path is set correctly) in the xTeVe settings, then change the FFmpeg options to make it transcoded to Mp3 stero. You can do that by entering the following in line:
IPTV via xTeVe is not working on the Windows/Linux/Mac player because the audio is not a compatable format. I found it likes AC3 best but if your streams are AAC it will fail… or so that’s how it was when I encountered a similar problem. Not all platforms have this issue. I use Roku/Android for example and all audio formats play through on Live TV.
Goog job transcoding the audio using FFmpeg. That’s similar to how I fixed the issue. Might want to consider transcoding to AC3 instead for the better quality.
This is the line I use: ffmpeg -hide_banner -loglevel quiet -i pipe:0 -f lavfi -i anullsrc -c:v copy -c:a ac3 -b:a 640k -ac 6 -c:s copy -shortest -f mpegts pipe:1
I’m using TVheadend though so it’s a little different.
For some reason with that code I kept getting the following error message and Live TV stopped working on all channels. Not sure what would cause it. When I went back to the other one it started working again.
[ERROR] FFMPEG error (Streaming was stopped by third party transcoder (FFmpeg / VLC)) - EC: 1204
I tried that code and it fails to play as well. I’m guessing there is something more wrong maybe? When I use the code I pasted above, it works but I’ve noticed that after 5-20 minutes, my live TV stops with an error saying to please check the connection and try again. I’ve tried the same channels through Tivimate and don’t have any issues, any thoughts @sixxnet ?
This uses AAC instead of MP3, that’s the only big difference I think.
I have also been fighting the stream stopping and was hoping getting the FFMPEG buffer setup correctly would help with my issues. I’ll report back here if I find anything.
I’ll test that code. I noticed already that it doesn’t like working with my Windows Plex app which is ok as it works through my browser and on my phone. I’ll check on my shield and see how it does too and if it fixes my issue with the live stream stopping and let you know as well, thanks!
I’m also using it on a Shield. Initial tests seem like it works. It’s also worth noting I downloaded the very latest FFMPEG static build and put it into XteVe. I’m going to do some more extensive testing soon but seems like it may work.
It should stop corrupt segments from reaching plex by discarding them. You’ll see the screen go black but it’s probably better than constantly restarting.
Try going into settings, plex for windows, debug and turning off direct stream (Allows the server to copy compatible audio and video streams without converting them).
This helped. Going to also try the above for ac3 & ffmpeg as did have some streams not playing and expect it will be audio.
I’m still getting the same issue for some reason. It seems as if any type of player I use (Plex for Windows, Nvidia Shield, web browser, iOS) all get the error at some point or another. Currently, I had my Nvidia Shield and a Windows app running the exact same channel and the Windows app just stopped so I pulled the logs for the server and the Windows app. The Windows app crashed on 03/21/2023 at approximately 04:59-05:00. The Nvidia Shield is still playing the channel. Plex.1.log (958.4 KB) Plex Media Server Logs_2023-03-21_05-01-44.zip (5.6 MB)
Thank You. I have referred this to the development team. We may need to enable some extra logging, I will let you know if more information / diagnostics needed
I have another user with what appears to be a similar issue when using the Plex Desktop app but indicated that Plex HTPC app was ok. Could you try that and see if it makes a difference