Jump to content
FliegenderMaulwurf

Transcoding live tv always stops after ~20 minutes

Recommended Posts

cayars

What is the source of this TV?  Is this a network tuner or IPTV?  If IPTV have you extensively tested playing this on the Shield outside of Emby to make sure this isn't an IPTV provider issue?

Share this post


Link to post
Share on other sites
FliegenderMaulwurf

It's a livestream from an enigma2 set top box on my local network. The stream will play for hours, this isn't the problem. Also Emby server for windows will transcode the stream for hours without any problems and with ffmpeg only using 150-160 MB of RAM.

I've attached logs from the shield emby server and from a windows emby server where everything works fine. Both servers transcoded the same stream at the same time and I used chrome as client. Maybe that helps.

windows-ffmpeg-transcode-0053346b-ec5c-4973-bb8a-57d820745e02_1.txt windows-embyserver.txt android-embyserver.txt android-ffmpeg-transcode-591a3f63-4ff8-401f-bc94-59b1bdccf387_1.txt

Share this post


Link to post
Share on other sites
cayars

Thanks, that's really good information to know about the stream source.

Share this post


Link to post
Share on other sites
Luke

hi @FliegenderMaulwurf have you updated to Emby Server 4.5? Are you still running into this?

Share this post


Link to post
Share on other sites
FliegenderMaulwurf

Yes, I'm still running into this in 4.5.1

Share this post


Link to post
Share on other sites
Luke

So you're saying it's fine on the windows server, but not android?

Share this post


Link to post
Share on other sites
FliegenderMaulwurf

Yes, it's working fine on windows server.

Share this post


Link to post
Share on other sites
cayars
Posted (edited)

speechles already showed the source of the problem.  Now the question is why?

Likely: Emby is using more and more memory until it get's shut down during the transcode.

Edited by cayars

Share this post


Link to post
Share on other sites
Luke

Hi, have you tried this with Emby Server 4.5.2?

Share this post


Link to post
Share on other sites
FliegenderMaulwurf

Yes, I still have this problem in 4.5.2

Share this post


Link to post
Share on other sites
Luke

Does your provider stop the stream after 20 minutes?

Share this post


Link to post
Share on other sites
cayars

ffmpeg is getting shut down by android watch dog likely do to resource use.

Share this post


Link to post
Share on other sites
softworkz

@FliegenderMaulwurf - There's no generally known memory leak with hw acceleration on the Shield.

  1. When you do H.264-to-H.264 transcoding with files from other sources (not tv recordings)  - do you see the same problem?
    .
  2. Could you please go to "Transcoding" settings, choose "Advanced" and deselect the H.264 hw decoder (but leave the encoder enabled)
    Does the problem still occur?

Thanks

Share this post


Link to post
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...