Jump to content

Watching live tv stops after a few seconds


silvers4640

Recommended Posts

silvers4640

So ill start of saying im new to Emby and trying to migrate from Plex. The big thing that is making want to switch is the native support for live tv. Problem is everything seems to work fine except when i go to start a live channel. When i start the channel it streams for a few seconds then hangs. It does this local and remote. What i have noticed is ffmpeg shows cpu usage for about 3-5 sec then just stops. The memory usage remains but cpu usage stops. If i try to start another stream it opens another ffmpeg and does the same thing. It also ties up 1 of the tuners on the hdhr prime. I dont have any problems streaming directly from hdhr or using plex hdhr channel. This only happens with Emby. If someone more advanced can help out, i would really appreciate it. At this point willing to try anything. Few things i have tried is SD, HD, lowering stream quality, local, remote. So far nothing makes a difference. Thank you in advance for any help i get.

Link to comment
Share on other sites

legallink

I have had previously similar expereinces.  I don't know if you are running this under windows and have wmc, but if so, I would suggest installing server wmc and tying it into windows wmc.  That has smoothed out my problems.

Link to comment
Share on other sites

mjktg99

I have had previously similar expereinces.  I don't know if you are running this under windows and have wmc, but if so, I would suggest installing server wmc and tying it into windows wmc.  That has smoothed out my problems.

 

That would negate the appeal of 'native support' of live tv.  First and foremost, provide some logs.  Shut down emby server, clear the logs.  Start emby server and run a test.  Then attach the server log and transcode log.

 

Log path:  %appdata%\Emby-Server\logs

Edited by mjktg99
Link to comment
Share on other sites

Ok, what's happening here is, we don't know the media info ahead of time so we're doing a full transcode, and that's too much for your server (notice the low fps). Since the hdhr channel was written by SiliconDust, I think they have a way of querying the media info to indicate h264 and just stream copy the video. We used to prove the live tv feed dynamically, it's something that's been added and taken out several times due to side effects that it's created. This week I'll take another look at adding it back. If we have the media info that tells us the source feed is h264, then delivering it to the client application will be much more efficient since we won't have to re-encode it.

Link to comment
Share on other sites

DiscoLives4ever

I'm having the same issue, however most channels that are MPEG2 will work without issue. Occasionally those MPEG2 channels also have the same issue, but I can't replicate why consistently. Regardless, if I monitor the ffmpeg process in task manager it will use CPU resources for a few seconds before dropping to 0% there, while still using 275 MB of memory and 100 kbps or so of network. If I end the ffmpeg process, it stops playback of the video however the reverse is not true (the ffmpeg process hangs even when I stop playback).

Link to comment
Share on other sites

silvers4640

Ty for the reply. If you want me to do any testing for it i can. Like i said as soon as i get native full functioning tv support i think i will b ready to jump over fully to Emby. Also i did notice similar things to the post above. So just let me know if you want me to do some testing. Thanks again for the reply.

Link to comment
Share on other sites

  • 2 weeks later...

I am using HD Home Run prime (cable card) on Comcast and have not seen any type of problem with live TV.  It buffers for 10 seconds or so and off it goes on IOS, nvidia shield tv or browser with excellent HD Quality.

Emby is running on Windows 10, i7 5960X (16 logical cpu cores) but during playback of live TV the CPU use is only a steady 11%.

 

The only time I am seeing excessive cpu use on server is if I am playing h.265 content and it is transcoding on the fly. Hopefully down the road direct play of that will be possible.

Link to comment
Share on other sites

DiscoLives4ever

I am using HD Home Run prime (cable card) on Comcast and have not seen any type of problem with live TV.  It buffers for 10 seconds or so and off it goes on IOS, nvidia shield tv or browser with excellent HD Quality.

Emby is running on Windows 10, i7 5960X (16 logical cpu cores) but during playback of live TV the CPU use is only a steady 11%.

 

The only time I am seeing excessive cpu use on server is if I am playing h.265 content and it is transcoding on the fly. Hopefully down the road direct play of that will be possible.

Has your area received the "Enhanced HD" rollout yet? They are converting channels from MPEG2 to MP4 and that seems to be where the issue lies.

Link to comment
Share on other sites

I am not sure......sorry I did not realize that was the root cause here. I am probably in the non-enhanced area. I do not see an easy way to check that without having a cable box.

Link to comment
Share on other sites

  • 1 year later...
eliranbd9

Hi i have the same problem with HD content (m3u)

any configuration that i can try?

h264 level?

is there buffering for live tv?

 

 

i have also noticed that sometimes emby play the channel all over the screen and sometime with large black margins on the side of the tv any ideas?

 

by the way can you use wmc server with m3u list as tuner?

 

thnx 

Edited by eliranbd9
Link to comment
Share on other sites

maegibbons

Hi i have the same problem with HD content (m3u)

any configuration that i can try?

h264 level?

is there buffering for live tv?

 

 

i have also noticed that sometimes emby play the channel all over the screen and sometime with large black margins on the side of the tv any ideas?

 

by the way can you use wmc server with m3u list as tuner?

 

thnx 

 

What client playback hardware are you using?

 

Aspect ratio issues can be down to your IPTV provider.  Who do you use?

 

I actually find very good HD content from m3u played om Fire TV and Android TV boxes predominantly.

 

Krs

 

Mark

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
×
×
  • Create New...