PMS + xteve, claims 40000kbps required

Server Version#: 1.21.1.3830
Player Version#:any/all

I have PMS running with an xteve source. Plex is reporting that the streams require 40000kbps which is forcing them to transcode no matter what I do, even though the streams are more like 8Mbps. Apps show the reason for transcode being that the 40,000kbps exceeds the 8Mbps available.

As far as I can tell, xteve isn’t sending this and plex is just making an assumption or something. Any ideas?

Need to see the XML of the file and the DEBUG log file which captures the start of the playback (only a few seconds).

In the XML and Log file will be the decision logs of why it thought it was that value.

Often it’s because the media was never analyzed. It’s telling you 40 Mbps, which is one of the Profile limits.

How do I collect this info for you?

  1. Hover over the poster for the item you are having difficulty
  2. Lower right is a vertical ellipsis - click it
  3. Get Info
  4. View XML
  5. We only want the top part (down through </media> (no actor / genre / etc info)
  6. save that in a text file.

Now the logs are normal Download of troubleshooting logs.

attach the ZIP and the text file.

This is for live tv… I don’t see these options there.

I didn’t know. This wasn’t tagged LiveTV/DVR.

I don’t know the answer to that.

I also don’t know what impact the xteve source is having on it.
Might it be sending out fixed values?

I will retag this for LiveTV-streaming but there’s nothing else I can do. Sorry (I’m a server/OS guy)

Hopefully someone who knows the streaming side can help.

I tagged livetv-streaming… but I’ve updated to include livetv-dr as well

Note that Emby is perfectly happy with the stream. I’m assuming there is some missing data in the xteve emulation of the HDHomeRun that is missing the bitrate but I don’t know where to identify that or if my guess is actually right.

The short version is that plex is just assuming this 40000kbps number for some reason and I have no idea how to track that down.

I found a dirty hack and I’ve just set my upload speed to 999Mbps.

Now I’m streaming out at a very nice ~3Mbps but plex is convinced it’s 40Mbps. Plex’ own bandwidth chart says ~3Mbps and my router says that as well.

I’m not sure what data is missing to get this right. It seems that Plex is acting on some metadata. xteve claims to be passing the metadata through untouched from the HDHR. I’m still suspecting there is something missing.

Any chance I could get the API call Plex is making to the HDHR so I can compare between the HDHR and xteve?

As far as I am aware Plex does not use any API calls for the HDHR. When a recording or Live TV Session is initiated they make an HTTP call to the tuner device as outlined in the Silicondust HDHomeRun HTTP Development Guide. You should see a line similar to:

Dec 28, 2020 12:29:00.729 [6940] DEBUG - [Grabber/5bafd4a2b6cf992f2ea878147ecd05409204422f] Grabber: Going to record for 1920 seconds, final URL is http://10.0.1.24:5004/auto/v25.1?transcode=heavy

I always search for “final URL” when checking logs to see what tuner device was used for a recording.

I found that the xteve stream is missing the ‘VideoCodec’ entry in the lineup.json it produces that plex hits. I’m thinking that is the cause, Plex (and Emby) are simply putting this 40M value in as the default. This is just a suspicion though.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.