Pancho 9 Posted March 5, 2016 Share Posted March 5, 2016 (edited) Emby Server - Version 3.0.5871.0 (running under Unraid 6.1.8 docker on 128GB SSD) Nvidia Shield TV - Android 6.0 Android TV - 1.1.57g TV - HDHomeRun Prime (x2) I am encountering a strange issue in Emby when I attempt to tune various live TV channels. Here is my setup: 2 Silicon Dust Prime tuners (Comcast) Prime Tuners plugged intp Netgear gigabit switch (CAT6 cables) Unraid Server connected to same switch as Prime Tuners Emby set to 'Direct Stream Live TV' For example, I will choose TBS (678) and it tunes the channel within 3-5 seconds (direct - no transcoding as expected). However, if I pick SyFy (688), it will just spin & spin & I receive a 'Video Playback error - Unable to play video' (attached image). I tried another channel HGTV (682), same Video playback error. I monitored this via the Silicon Dust tuner log below: 20160305-03:24:39 CableCARD: tuner0 678 TBS HD (auto:285MHz-2) access = subscribed 20160305-03:25:01 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:01 Tuner: tuner0 streaming http to 192.168.0.80:57450 20160305-03:25:02 CableCARD: tuner0 688 Syfy HD (auto:219MHz-3) access = subscribed 20160305-03:25:02 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:02 Tuner: tuner0 streaming http to 192.168.0.80:54464 20160305-03:25:03 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:04 Tuner: tuner0 streaming http to 192.168.0.80:58646 20160305-03:25:06 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:06 Tuner: tuner0 streaming http to 192.168.0.80:51550 20160305-03:25:09 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:10 Tuner: tuner0 streaming http to 192.168.0.80:41389 20160305-03:25:14 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:15 Tuner: tuner0 streaming http to 192.168.0.80:58404 20160305-03:25:20 Tuner: tuner0 tuning 688 Syfy HD (auto:219MHz-3) 20160305-03:25:20 Tuner: tuner0 streaming http to 192.168.0.80:46662 20160305-03:25:37 Tuner: tuner0 tuning 716 Discovery Chann (auto:225MHz-1) 20160305-03:25:38 Tuner: tuner0 streaming http to 192.168.0.80:57585 20160305-03:25:38 CableCARD: tuner0 716 Discovery Chann (auto:225MHz-1) access = subscribed 20160305-03:25:38 Tuner: tuner0 tuning 716 Discovery Chann (auto:225MHz-1) 20160305-03:25:38 Tuner: tuner0 streaming http to 192.168.0.80:50065 20160305-03:25:39 CableCARD: tuner0 716 Discovery Chann (auto:225MHz-1) access = subscribed 20160305-03:25:55 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:25:55 Tuner: tuner0 streaming http to 192.168.0.80:46775 20160305-03:25:56 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:25:56 Tuner: tuner0 streaming http to 192.168.0.80:43372 20160305-03:25:57 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:25:58 Tuner: tuner0 streaming http to 192.168.0.80:34294 20160305-03:26:00 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:26:00 Tuner: tuner0 streaming http to 192.168.0.80:55072 20160305-03:26:03 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:26:04 Tuner: tuner0 streaming http to 192.168.0.80:36427 20160305-03:26:08 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:26:08 Tuner: tuner0 streaming http to 192.168.0.80:56563 20160305-03:26:13 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) 20160305-03:26:14 Tuner: tuner0 streaming http to 192.168.0.80:33847 20160305-03:26:41 Tuner: tuner0 tuning 682 HGTV HD (auto:195MHz-3) I tested this with other various channels, some worked, others did not. I thought I had a bad tuner. However, whenever I am unable to tune a channel in Emby, I can exit out, choose the built-in LIVE CHANNELS app and tune in that same channel without issue (takes about 2-3 seconds). Any channel that will not play in Emby, works fine in the LIVE CHANNELS or the Silicon Dust HD View application. I am baffled by this. I selected 'Enable Debug Option', re-created the problem and sent the logs. Anyone else having this issue? Pancho Edited March 5, 2016 by Pancho Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 5, 2016 Share Posted March 5, 2016 Are those channels DRM protected perhaps? Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 5, 2016 Author Share Posted March 5, 2016 No DRM on any of these channels that I have trouble accessing. The only DRM I have are they pay channels (HBO, STARZ, etc.) and those don't work either in Emby or the LIVE CHANNELS app, but will work in the HD HOMERUN VIEW. Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 5, 2016 Share Posted March 5, 2016 MPEG-4 vs 2 maybe? Link to comment Share on other sites More sharing options...
Cobra 6 Posted March 5, 2016 Share Posted March 5, 2016 I am having the same problem on nVidia shield tv running 6.0. The thing is it was working fine until I updated to the beta app and updated the Live channels app. After this point emby live tv would no longer work. It spins the circle when trying to play direct and no live channels will work in emby. I uninstalled the beta and went back to prior version and still it would not work like it was. I also am using Comcast with HD Homerun prime on a gigabit network with both prime and shield hard wired. Running emby server 3.0.5886.0 on Windows 10. Like the OP said I can use the Live Channels app just fine on the shield, no problem with that at all. It is only the shield that quit working for me. I have an original Fire TV on wireless and the emby app on that streams live TV perfectly, as does any IOS client. I have sent the debug logs up from both attempts with beta and prior version using the send logs button. I am baffled on why it quit working as it was working just fine. I made no other changes to the settings on server or the prime. The Fire TV does pull the direct stream without any issues. It looks like it will not pull a direct stream for whatever reason. If I turn that button on in settings it stays on but still does not work, if I go back to settings I see the direct stream checkbox off although the app looks like it is still trying for direct. At this point I think my only choice is to restore the shield to factory defaults and start over......maybe not upgrading to 6.0. Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 5, 2016 Author Share Posted March 5, 2016 I also notice the same issue as Cobra where the 'Direct stream live TV' option 'unchecks itself' in the settings. I can easily re-create it with these steps: Validate the option is checked in settings Choose one of the problematic channels above Black screen that spins and spins and then I receive a different error message 'Error Streaming Live TV - Will Retry' Black screen again that spins and spins and then the error 'Video Playback error - Unable to play video'. If I go back into settings, the Direct Stream Live TV option is unchecked. Pancho Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 5, 2016 Author Share Posted March 5, 2016 I also confirmed with Comcast that all my channels are still sent via MPEG2, the Comcast 'HD Enhanced' (MPEG4) conversion has not been implemented in my area (Denver, CO). Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 5, 2016 Share Posted March 5, 2016 When direct streaming a Live TV channel fails, we turn off that option and re-try without direct streaming because the most likely reason for the failure is that we were not able to directly access the tuner. That's why you see the option change like that. When the option is off, the channel still will not play? Pancho, I see your log and it looks like the signal is interrupted or poor from the outset. Is it possible that these channels having trouble have poor signal quality? Link to comment Share on other sites More sharing options...
Cobra 6 Posted March 5, 2016 Share Posted March 5, 2016 I did a factory reset on shield tv. Still on 6.0 and now it is working fine including direct stream and the beta version. Link to comment Share on other sites More sharing options...
Cobra 6 Posted March 6, 2016 Share Posted March 6, 2016 It looks like all goes well until I install the beta for android tv, if i do the issue comes back. If i uninstall and revert to normal version issue goes away. Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 6, 2016 Author Share Posted March 6, 2016 (edited) I reset my Shield like Cobra above and did some additional testing. I can tune to any channel using the LIVE CHANNELS or HD VIEW applications. I installed the Emby beta 1.1.58g. I unselected the 'Enable This Tuner' option in the LIVE TV on one of 2 separate HDHR devices. That way I could see if the signal problem was tied to a specific box. All tests proved that no matter which HDHR I was using, Emby could not tune in various channels with the beta installed. I opted out of the beta and rolled back to the stable release (1.1.46g) and all of the tuner problems disappeared. I could tune any channel, even those that I was unable to before when running 1.1.58g. Edited March 6, 2016 by Pancho Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 6, 2016 Share Posted March 6, 2016 What about the direct stream option? Does it still not play if that option is off? Link to comment Share on other sites More sharing options...
Cobra 6 Posted March 6, 2016 Share Posted March 6, 2016 (edited) Direct stream option is on and it works normally in non beta version. I have not tried turning it off yet. I will try it. I know the beta version does not work with it off. Edited March 6, 2016 by Cobra Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 7, 2016 Author Share Posted March 7, 2016 Update for you. I just installed 1.1.59g beta, still no luck with the Live TV channels in Emby (some work, others do not). Works without issue in Live Channels/HDView. Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 8, 2016 Share Posted March 8, 2016 Can you identify anything the channels that don't play have in common? Like type of audio or they are all HD or they are all 1080i or something? Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 10, 2016 Author Share Posted March 10, 2016 (edited) Upgraded to 1.1.60g here tonight. Un-checking the Direct Stream option doesn't work either, just an endless spinning circle. Testing proves that both various HD and SD channels fail to tune. The HDHR's are on the same switch as the Emby Docker, so there isn't even a single network hop (It all inside the switch). I have multiple WMC machines (using the HDHR's ), and no problems tuning any channel on those machines either. Edited March 10, 2016 by Pancho Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 10, 2016 Share Posted March 10, 2016 It has to be something in the stream for those particular channels - or maybe even the particular programs at the time. Like, their resolution, or they all have closed-captions or something like that. When you turn off direct streaming is a transcode log produced on the server? If so, can you post that please? Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 10, 2016 Author Share Posted March 10, 2016 Validated 'Direct Stream Live TV' option is disabled, rebooted Shield. Upon reboot, select a 'problem channel' but no transcode log is ever generated on the server. I see it state 'transcoding' in the server console for about 5 seconds and then it disappears. I then get the 'video playback error - failed to load video' error on the Shield (and an endless spinning circle). Tried it with both 'problem' SD and HD channels with the same result. I have monitored my Unraid docker CPU when I choose a 'problem channel' and I never get a jump in the CPU usage, so the transcoding process is never starting. Monitoring the HDHOMERUN Tuner Status page, when I select a problem channel, I see it lock onto a station for about 1-2 seconds and then it's gone. So it's clearly failing from the get go. Trying to figure out a way to determine resolution on a channel for better troubleshooting. As a test, I tried one of the problem channels on my LG G4, and lo and behold it began transcoding. I have attached that log to see if helps narrow this down. transcode-f5cebd58-cc5f-42eb-8b81-86049a8a107c.txt Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 10, 2016 Share Posted March 10, 2016 All the linefeeds are gone from that log so hard to decipher but it looks like it is transcoding the audio to mp3 whereas we will be attempting to transcode to aac. That's the only thing I could notice immediately. Luke - could transcoding Live TV to aac be some sort of unique problem with some streams? Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 15, 2016 Author Share Posted March 15, 2016 Updated to 1.1.61g. Validated 'Direct Stream Live TV' option is disabled, I even pulled the network cable (which I typically use) & connected via wireless in an attempt to get the shield to try and transcode on the problem channels. No change, still see it state 'transcoding' in the server console for about 5 seconds (which disappears) & receive the usual 'video playback error - failed to load video' error on the Shield (and an endless spinning circle). Tested with both SD & HD channels, same result. Any news from Luke (per your question above) about the transcoding audio? Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 15, 2016 Share Posted March 15, 2016 I believe the mobile app transcoding the audio to mp3 was a bug that was later corrected. Have you re-tried with the mobile app with its latest beta? Based on your description, it still appears to be a problem with both the server and our internal player being able to comprehend these particular streams. But we don't know yet what it is about these streams that is different from the other ones. Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 16, 2016 Author Share Posted March 16, 2016 Update. I have replaced the one of my old HDHR's with a brand-spanking new model (along with a new comcast cableCard) to see if that makes any difference and the same errors persist in Emby (works everywhere else WMC, Live Channels, etc.). However, I do believe I may have some transcoding logs for your review to see if that helps (attached). transcode-82e7b8cd-3f3d-4a43-bd1d-37c672b34639.txt transcode-571f97c2-22c2-4beb-be97-f5e144b29a5c.txt Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 16, 2016 Share Posted March 16, 2016 Any way you can get the line feeds back in those logs? I'm pretty sure the problem is somehow related to the source signal so I'm not surprised different equipment didn't make a difference. Link to comment Share on other sites More sharing options...
Pancho 9 Posted March 18, 2016 Author Share Posted March 18, 2016 (edited) No change on 1.1.63g. Any suggestions on how to get the line feeds back in the logs for better troubleshooting (additional diagnostic setting I may missed)? Would it be beneficial rolling back to the stable release (where all the channels work) and playing the channels that do not work on the newer releases and upload the server log? Edited March 18, 2016 by Pancho Link to comment Share on other sites More sharing options...
ebr 14949 Posted March 18, 2016 Share Posted March 18, 2016 The line feeds in the logs are a Linux thing I think. My Windows notepad isn't seeing whatever your Linux system is using for eol. Nothing in the app has attempted to address this because I have no idea what it is . Also, since the channels cannot transcode either, I don't think it is necessarily something that can be handled in the app. You say they all work in .49 of the app with everything else the same? Are they direct playing or transcoding in that instance? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now