Jump to content

full transcode happening when watching Hdhomerun Extend


Recommended Posts

Posted (edited)

So I am trying to figure out why a full transcode is happening whenever I watch something from my extend in emby. The extend is already transcoding it using the heavy profile so why is emby transcoding it again?

post-3762-0-93683500-1507229713_thumb.png

post-3762-0-59740900-1507229719_thumb.png

Edited by nagle3092
Posted (edited)

Hi there, please attach the information requested in how to report a media playback issue. thanks !

Sorry about that. Here is the server and transcode logs if needed. Edited by nagle3092
Posted

In the very first log it looks like you need to increase the in-app quality setting.

 

Please be advised, you have two methods that you can use to discover why something is transcoding all on your own:

  • Stats for nerds feature inside video player
  • Server dashboard

Please let us know if this helps. Thanks.

Posted

In the very first log it looks like you need to increase the in-app quality setting.

 

Please be advised, you have two methods that you can use to discover why something is transcoding all on your own:

  • Stats for nerds feature inside video player
  • Server dashboard

Please let us know if this helps. Thanks.

 

 

Seems like it is incorrectly flagging the transcoded stream as MPEG2 when the Extend transcodes to h264.

post-3762-0-56147100-1507231445_thumb.png

Posted

it looks to me like we are using the raw stream from the tuner. what you need to do is configure the tuner transcoding inside emby rather than inside your hd homerun.

Posted (edited)

it looks to me like we are using the raw stream from the tuner. what you need to do is configure the tuner transcoding inside emby rather than inside your hd homerun.

The option to enable hardware transcoding is already enabled.

 

Also if emby was grabbing the raw stream what would the extend be transcoding?

Edited by nagle3092
Posted

Also if emby was grabbing the raw stream what would the extend be transcoding?

 

the point being that if you configure it from the HDHR, emby will not be aware that transcoding is occurring.

 

So in this case, emby chose to grab the raw stream, but it's actually being given a transcoded stream due to your configuration in the HDHR.

Posted (edited)

the point being that if you configure it from the HDHR, emby will not be aware that transcoding is occurring.

 

So in this case, emby chose to grab the raw stream, but it's actually being given a transcoded stream due to your configuration in the HDHR.

 

How to I get the hardware trancoding to kick in from the HDHR extend then exactly? I changed the default transcoding profile to none and it still transcodes in emby vs on the extend even with the allow hardware transcoding option enabled.

Edited by nagle3092
Posted

what Emby app are you playing from?

Posted

what Emby app are you playing from?

 

Web app right now

Posted

ok well the web app doesn't support the mpegts container, or ac3 audio so you're going to get transcoding anyway.

Posted

ok well the web app doesn't support the mpegts container, or ac3 audio so you're going to get transcoding anyway.

 

Shouldnt it still be transcoded to h264 ac3 on the extend though? That would overall provide less load on the server which would only have to worry about container and audio correct?

Posted

Currently we only use a transcode profile on the HDHR if it will be fully direct played. For any partial transcode we also transcode the video, at least for the web app because we've seen problems with stream copying it in the past. Since that time, newer HDHR firmware versions have been released so this can probably be re-tested.

 

Even still though, in your first example it would fully transcode anyway due to the reason mentioned in post #4.

Posted

Currently we only use a transcode profile on the HDHR if it will be fully direct played. For any partial transcode we also transcode the video, at least for the web app because we've seen problems with stream copying it in the past. Since that time, newer HDHR firmware versions have been released so this can probably be re-tested.

 

Even still though, in your first example it would fully transcode anyway due to the reason mentioned in post #4.

 

I bumped it to 4K 120mbps since you mentioned it. Would this also apply for remote connections? I have my limit set to 2mbps but it still doesn't show that its transcoding on the extend (transcoding profile set to none on extend) when watching on my S8 via cell connection.

Posted

Any connection. When you are remote it can use the  mobile transcode profile, if it can direct play it. but as mentioned before, it needs to support the mpegts container in order to be able to direct play it.

Posted (edited)

Any connection. When you are remote it can use the mobile transcode profile, if it can direct play it. but as mentioned before, it needs to support the mpegts container in order to be able to direct play it.

Thanks for all the answers.

 

 

When playing a main channel like 4.1, 5.1, 7.1 remotely on the android app it wont transcode at the extend at all but if I pick a lower channel like 4.2, 5.2, 7.3 it will use a transcoding profile on the extend but also has ffmpeg working on the server.

 

Instead of using the mobile profile its using heavy and I am guessing to meet the 2mbps limit I imposed for remote connections its transcoding on the server to bring it even lower instead of just using a lower transcoding profile like mobile or one of the 4 internet settings on the extend.

Edited by nagle3092
Posted

Did you check stats for nerds to find out why it is transcoding? The app is requesting roughly 1.5mbps. We have the mobile profile estimated at 2mbps, therefore it is transcoding on Emby Server to make the bitrate fit.

Posted

Did you check stats for nerds to find out why it is transcoding? The app is requesting roughly 1.5mbps. We have the mobile profile estimated at 2mbps, therefore it is transcoding on Emby Server to make the bitrate fit.

 

Yes the stats for nerds says the media bitrate exceeds the limit but on the extend its using the heavy profile instead of mobile. This only happens on subchannels if I play a main channel it wont kick in at all on the extend.

Posted

Does it matter which profile is being used at 1.5mbps? Because all of them will transcode at the Emby Server level, doesn't matter if it's pulling mobile, heavy, etc. If the app needs 1.5mbps then it's going to have to transcode the HDHR stream because there is no HDHR profile that can fit under 1.5mbps.

 

Generally speaking when we're going to transcode on emby server, we will take the raw stream from hdhr in order to avoid a double transcode on both emby server and the hdhr.

 

In your case I think you have configured your HDHR to return heavy, so in that scenario emby server thinks it's getting the raw stream but is really getting the heavy transcode. (which is probably fine and won't matter in most situations).

Posted

Does it matter which profile is being used at 1.5mbps? Because all of them will transcode at the Emby Server level, doesn't matter if it's pulling mobile, heavy, etc. If the app needs 1.5mbps then it's going to have to transcode the HDHR stream because there is no HDHR profile that can fit under 1.5mbps.

 

Generally speaking when we're going to transcode on emby server, we will take the raw stream from hdhr in order to avoid a double transcode on both emby server and the hdhr.

 

In your case I think you have configured your HDHR to return heavy, so in that scenario emby server thinks it's getting the raw stream but is really getting the heavy transcode. (which is probably fine and won't matter in most situations).

 

 

I am just trying to prevent the double transcoding. I changed the limit to 3mbps for external streams and it is using the heavy profile on the extend and ffmpeg on the server to convert the stream. Since you said the mobile profile was estimated to be 2mbps wouldnt that be the one for the server to use?

 

Stats say media bitrate exeeds limit, under transcoding info the bitrate is listed at 1.3bps.

Posted

Are you sure you actually changed the limit?

Posted

Are you sure you actually changed the limit?

Well I just went back to that area, it was on 3 and pressed saved about a dozen more times. Closed my stream, reopened, started a new stream on the same channel.

 

Bitrate is listed as 1.1Mbps, media bitrate exceeds limit. Extend is using the heavy profile and ffmpeg is working on the server.

Posted

Pressed save? the android app doesn't have a save button on that config screen. What app are you in?

Posted

If you're referring to the server remote bitrate setting, then you also need to be out of network for that to be used.

 

What I have been referring to is the in-app quality setting.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...