Jump to content

Shield TV forcing transcoding on Live TV from legacy HDHR


BoostedK20
 Share

Recommended Posts

BoostedK20

Hello.  I've been having a time getting Live TV to work properly with my new Shield TV (2017) client.  It appears no matter what I select in the Application, it changes to transcoding.  My setup consists of an i5 server running Emby as a service (Version 3.2.32.0).  I have 2 legacy HDHomeRun tuners, one HDHR-US and one HDHR3-US, with update to date firmware (20170815).  All are connected via 1GB Ethernet on the same subnet.  The Shield TV is connected to a Denon 3808ci receiver over HDMI.

 

In the App, I have Direct Play Live TV selected.  When viewing from the Dashboard on the server, I see an attempt to Direct Play, but it then changes over to transcoding before displaying anything on the TV.  I read the Wiki page on Transcoding to ensure I wasn't missing anything.  I also reviewed the Android TV Wiki page.  I changed the Max bit rate from auto to 100 Mb/s on the Shield to make sure it was not being limited there.

 

I reviewed the server logs and see why it is transcoding, but I am not sure the reason behind the decision.  The Server log reports TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported.  From what I've read, the Shield TV supports MPEG2 and AC3.  The Transcoding log shows it converting the MPEG2 to h264 and the AC3 448 kb/s to AC3 192 kb/s.  This is using the default ffmpeg from a fresh install of Emby.

  Stream #0:0[0x61]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bottom first), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
  Stream #0:1[0x64](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
  Stream #0:2[0x69](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, mono, fltp, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
Output #0, segment, to 'C:\Users\Craig\AppData\Roaming\Emby-Server\transcoding-temp\e18931ed84ca26a2e3f13474526754b0%d.ts':
  Metadata:
   encoder         : Lavf57.66.103
  Stream #0:0: Video: h264 (h264_nvenc) (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 5000 kb/s, 59.94 fps, 90k tbn, 59.94 tbc
   Metadata:
   encoder         : Lavc57.82.102 h264_nvenc
  Side data:
   cpb: bitrate max/min/avg: 5000000/0/5000000 buffer size: 10000000 vbv_delay: -1
  Stream #0:1: Audio: ac3, 48000 Hz, 5.1, fltp, 192 kb/s

 

I enabled debugging and sent a report via the app last night (Time: 8:37PM ET, User: Craig, Program: hdhr_64.1).  Server and transcoding logs attached here.  This is the second server I have tried to get working, so I assume its something on the Android TV side I'm missing or with the tuners themselves.  I notice there is no System Profile for Android TV or Shield TV under DNLA, so not sure if that's the reason?  

 

Any direction would be appreciated.  Thank you

LiveTV Forced Transcode.zip

Edited by BoostedK20
Link to comment
Share on other sites

Hi.  I see this as well with the 32 release.  Channels that direct played before are now transcoding.

 

We are looking into both the server and app side to figure out what is going on.  Thanks.

  • Like 1
Link to comment
Share on other sites

BoostedK20

Thanks for the quick response.  That is good news, because I swore that everything worked fine via the XBox One app, prior to me buying the Shield TV.  I thought I wasted $200 :)

Link to comment
Share on other sites

Thanks for the quick response.  That is good news, because I swore that everything worked fine via the XBox One app, prior to me buying the Shield TV.  I thought I wasted $200 :)

 

Well, "everything is working fine" on the Shield too, right?  The item is playing as it should?

 

I would expect the XBox One to definitely have to transcode this stream but, perhaps not.

Link to comment
Share on other sites

BoostedK20

Well, "everything is working fine" on the Shield too, right?  The item is playing as it should?

 

I would expect the XBox One to definitely have to transcode this stream but, perhaps not.

 

To be honest, I never had a reason to check the server when I was using the XBox One App, because Live TV worked fine.  I only looked into this because the Live TV stream would get pixelated and degraded on my first attempt at watching Live TV with the Shield (I bought it last week).  I noticed on my e3-1220v3 server (WHS 2011) the transcoding logs were looking horrible (looked like it couldn't keep up, even though it was using about 30-40% CPU transcoding).  I had also updated Emby to 32 around this time.  I went back to the XBox One and it too had pixelation (so yes, it was transcoding).  Last night I switched to the i5 server (Windows 10) to see if it would work better and it does (no more pixelation issue with transcoding). 

 

If curious, all of my transcoding files on the WHS 2011 server looked like this:

[mpeg2video @ 0000000002a666a0] ac-tex damaged at 39 14
[mpeg2video @ 0000000002a666a0] Warning MVs not available
[mpeg2video @ 0000000002a666a0] concealing 3240 DC, 3240 AC, 3240 MV errors in B frame
[mpeg2video @ 0000000002a666a0] Warning MVs not available
[mpeg2video @ 0000000002a666a0] concealing 4471 DC, 4471 AC, 4471 MV errors in P frame
[mpegts @ 00000000006fbc20] PES packet size mismatch
[ac3 @ 0000000002a13020] invalid coupling range (14 >= 11)
[ac3 @ 0000000002a13020] error decoding the audio block
[mpeg2video @ 0000000002a666a0] 00 motion_type at 0 54
[mpeg2video @ 0000000002a666a0] 00 motion_type at 0 55
[mpeg2video @ 0000000002a666a0] 00 motion_type at 0 56
[mpeg2video @ 0000000002a666a0] 00 motion_type at 0 57
[mpeg2video @ 0000000002a666a0] 00 motion_type at 0 58

Now that I am on the i5 server, yes, Live TV looks fine and the transcoding logs are clean, but is transcoding instead of direct playing.  It's been a long week trying to figure this out.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...