Jump to content


Photo

Live TV playback not working

Live tv playback error

  • Please log in to reply
24 replies to this topic

#1 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 02 August 2019 - 08:08 AM

Whenever I try to watch live TV through the Emby Theater app I get a spinning circle for a few minutes before the app freezes.

 

The app is from the Emby site, not the Windows store.

 

Live TV will playback on my phone and through the web player on any device.

 

It will not play through androiid TV on an Nvidia Shield.

 

I use an HDhomerun tuner. 

 

The tuner will play using NextPVR, and the HDhomerun app.

 

E,by theatre will still not play LiveTV if using the NPVR plugin in Emby server, however I can still use the web player or my phone.

 

In the Emby server log file it shows the stream being accessed then writing to a transcoding file. At the point where the stream is to be played by Emby Theater it seems to try and access the local loopback address rather than the address of the server or tuner.

 

Beyond this problem, opening a TV stream through Emby is hugely slow compared to NextPVR. NPVR takes a second or 2 while emby always takes 10 seconds or more.

 

 

I have attached the part of the server log from just before trying to watch LiveTV.

Attached Files

  • Attached File  log..txt   43.89KB   1 downloads


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138256 posts
  • Local time: 07:50 PM

Posted 02 August 2019 - 01:56 PM

Hi there, can you please attach the complete emby server log? thanks !



#3 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 02 August 2019 - 06:08 PM

Here you go.

Attached Files

  • Attached File  log.txt   1.27MB   3 downloads


#4 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 20 August 2019 - 01:47 PM

Any updates on this?

Emby theater will not even work when using the nextpvr plug in. Which works immediately in kodi.

#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138256 posts
  • Local time: 07:50 PM

Posted 20 August 2019 - 02:03 PM

Hi there, have you tried setting up the HD Homerun directly in Emby, without using next pvr?



#6 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 20 August 2019 - 04:43 PM

I have tried directly first.
I only later tried nextpvr as this is already working with kodi so I assumed there would be no problems...
Definitely points to emby as the problem though.

When I try and tune in with emby theatre when using the nextpvr plug in the tuner is active on the nextpvr server but I still only get a loading screen in emby theatre.

#7 serpi OFFLINE  

serpi

    Advanced Member

  • Members
  • 221 posts
  • Local time: 12:50 AM

Posted 21 August 2019 - 11:35 AM

Any updates on this?

Emby theater will not even work when using the nextpvr plug in. Which works immediately in kodi.

 

Are you using the tv metadata from the NextPVR plugin in Emby?

 

Always make sure that you are running the "Refresh Guide" task in Emby right after the EPG update in NextPVR, you might have to change the time settings in the task in Emby.

 

For a test, run a refresh guide in Emby and wait for it to end.

 

After that, reenter the LiveTV in Emby and retry to play LiveTV.

 

Ciao, Alfred



#8 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 21 August 2019 - 12:28 PM

Are you using the tv metadata from the NextPVR plugin in Emby?

 

Always make sure that you are running the "Refresh Guide" task in Emby right after the EPG update in NextPVR, you might have to change the time settings in the task in Emby.

 

For a test, run a refresh guide in Emby and wait for it to end.

 

After that, reenter the LiveTV in Emby and retry to play LiveTV.

 

Ciao, Alfred

 

I've refreshed the guide.

 

My channel mappings in NPVR are different and they update accordingly in emby theater.



#9 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 24 August 2019 - 02:07 AM

After replacing ffmpeg with the latest version livetv will now play...

However it is direct playing and shouldn't have affected anything.

#10 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 24 August 2019 - 06:16 PM

Back to not working again.

 

I'm a little disappointed as to how unreliable the Windows version is.

 

The Android TV version seems to work far better.

 

It seems to be the version of mpv perhaps. The version that comes with emby doesn't handle hdr videos correctly and the lighting keeps changing randomly. If I replace mpv for a newer version too fix this then live tv will not work.

 

Could a more up to date mpv version be looked into and fully supported?


Edited by Milldor, 24 August 2019 - 06:28 PM.


#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138256 posts
  • Local time: 07:50 PM

Posted 25 August 2019 - 08:31 PM

Back to not working again.

 

I'm a little disappointed as to how unreliable the Windows version is.

 

The Android TV version seems to work far better.

 

It seems to be the version of mpv perhaps. The version that comes with emby doesn't handle hdr videos correctly and the lighting keeps changing randomly. If I replace mpv for a newer version too fix this then live tv will not work.

 

Could a more up to date mpv version be looked into and fully supported?

 

Yes we will update but there are certain things we're waiting on. Thanks.



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138256 posts
  • Local time: 07:50 PM

Posted 26 August 2019 - 10:39 PM

What phone are you able to use?



#13 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 28 August 2019 - 01:28 AM

What phone are you able to use?

works on my samsung s8 and my wifes s9. 



#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138256 posts
  • Local time: 07:50 PM

Posted 28 August 2019 - 10:29 PM

Using the web app or the Android app?

#15 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 29 August 2019 - 01:28 PM

Using the web app or the Android app?

The web app and the android app work fine.

 

Emby theater seems to as well when using the old version of MPV. But wehn using the old version hdr videos don't play correctly.



#16 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12301 posts
  • Local time: 04:50 PM

Posted 29 August 2019 - 02:15 PM

Try the git build of mpv from March 10th

#17 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12301 posts
  • Local time: 04:50 PM

Posted 29 August 2019 - 03:22 PM

Luke, remember this is because of stream cache being removed.

https://github.com/m...r/mpv/pull/6659

#18 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 30 August 2019 - 02:27 AM

Try the git build of mpv from March 10th

Unfortunately it has the same problem with livetv



#19 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12301 posts
  • Local time: 04:50 PM

Posted 30 August 2019 - 09:00 AM

Then the problem lies elsewhere. If you force it to transcode, does it play?

#20 Milldor OFFLINE  

Milldor

    Member

  • Members
  • 18 posts
  • Local time: 12:50 AM

Posted 01 September 2019 - 12:48 PM

Then the problem lies elsewhere. If you force it to transcode, does it play?

 

 

Whether I transcode or not it will not play in theater.

 

The problem seems to almost certainly lie with mpv player.

 

I have tried using theater on the same pc as the server and face the same problem. Tv playback will work until i use a version of mpv player not supplied with theater.

The version supplied however will not properly play hdr content. so I'm stuck with either problem.

 

The official version of mpv will play livetv. The git builds will not.

 

When madvr was part of theater there were no problems with anything.


Edited by Milldor, 01 September 2019 - 01:12 PM.






Also tagged with one or more of these keywords: Live tv, playback error

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users