Jump to content

emby app on lg very slow (keeps buffering every 10-20 seconds)


proo4509
Go to solution Solved by SamES,

Recommended Posts

proo4509

synology ds118 and lg tv both on the network (wired).

Installed the emby app.

 

Browsing is ok, but playing is terrible. The movie pauzes every 10-20 seconds for about 5-10 seconds and then starts playing again.

 

 

Link to comment
Share on other sites

SamES

synology ds118 and lg tv both on the network (wired).

Installed the emby app.

 

Browsing is ok, but playing is terrible. The movie pauzes every 10-20 seconds for about 5-10 seconds and then starts playing again.

 

Is this DirectStreaming (not DirectPlaying) 4K content?  Is it TrueHD audio?

Edited by SamES
Link to comment
Share on other sites

proo4509

I think it has something to do with my libraries. The pausing doesn't seem to happen with tv shows, only with movies. 

all libraries are on the same synology, just in a different folder. 

So, i think there's a difference in the settings....?

Link to comment
Share on other sites

proo4509

Is this DirectStreaming (not DirectPlaying) 4K content?  Is it TrueHD audio?

 

how can i tell the difference?

Link to comment
Share on other sites

Happy2Play

I'm using the emby app on the LG tv, so you don't need the normal server log i think, but the debug log file? I'll try that...

A normal server log should be fine and the ffmpeg log if there is one for the media being played.

Link to comment
Share on other sites

  • Solution
SamES

You are trying to play DVDSUB/graphical subtitles which need to be burnt in by the server with a full transcode.

 

Your server is only an arm based processor, so this is a very high workload for it.  You can see in the transcode log that the conversion rate is very slow, less than 1x the playback speed (speed=0.519x).  In other words, it is not transcoding as fast as you are playing and it can't keep up.  This is why it is pausing.

 

I would suggest getting a text based subtitle file if possible and avoid playing the DVDSUB subtitles.

:38.883 frame= 1489 fps= 13 q=28.0 size=    6915kB time=00:00:59.61 bitrate= 950.3kbits/s throttle=off speed=0.52x    
>! ThrottleByStreamBufferSize: WARNING - Playback position too close to transcoding position: PlaybackPosition: 00:00:51 - TranscodingPosition: 00:00:59 - ThrottleBuffer: 8s
15:56:39.457 frame= 1496 fps= 13 q=28.0 size=    6955kB time=00:00:59.87 bitrate= 951.6kbits/s throttle=off speed=0.519x    
15:56:39.965 frame= 1503 fps= 13 q=28.0 size=    6999kB time=00:01:00.16 bitrate= 953.0kbits/s throttle=off speed=0.519x    
15:56:40.534 frame= 1510 fps= 13 q=28.0 size=    7046kB time=00:01:00.48 bitrate= 954.4kbits/s throttle=off speed=0.52x    
15:56:41.131 frame= 1518 fps= 13 q=28.0 size=    7092kB time=00:01:00.70 bitrate= 957.1kbits/s throttle=off speed=0.519x    
>! ThrottleByStreamBufferSize: WARNING - Playback position too close to transcoding position: PlaybackPosition: 00:00:51 - TranscodingPosition: 00:01:00 - ThrottleBuffer: 9s
15:56:41.374 [segment @ 0x31d8e100] Opening '/var/packages/EmbyServer/target/var/transcoding-temp/90b973025e5f48003fc2130a94d79717.m3u8.tmp' for writing
15:56:41.376 SegmentComplete=video:0 Index=19 Start=57.000000 End=60.000000 Duration=3.000000 offset_pts=0 start_pts=57000000 Frames=75 filename=90b973025e5f48003fc2130a94d7971719.ts
15:56:41.376 [segment @ 0x31d8e100] Opening '/var/packages/EmbyServer/target/var/transcoding-temp/90b973025e5f48003fc2130a94d7971720.ts.tmp' for writing
15:56:41.642 frame= 1525 fps= 13 q=28.0 size=    7135kB time=00:01:01.02 bitrate= 957.8kbits/s throttle=off speed=0.52x    
15:56:42.134 frame= 1531 fps= 13 q=28.0 size=    7168kB time=00:01:01.28 bitrate= 958.2kbits/s throttle=off speed=0.519x    
15:56:42.732 frame= 1539 fps= 13 q=28.0 size=    7212kB time=00:01:01.56 bitrate= 959.6kbits/s throttle=off speed=0.52x    
>! ThrottleByStreamBufferSize: WARNING - Playback position too close to transcoding position: PlaybackPosition: 00:00:51 - TranscodingPosition: 00:01:01 - ThrottleBuffer: 10s
15:56:43.220 frame= 1545 fps= 13 q=28.0 size=    7248kB time=00:01:01.85 bitrate= 959.9kbits/s throttle=off speed=0.519x    
15:56:43.732 frame= 1552 fps= 13 q=28.0 size=    7287kB time=00:01:02.14 bitrate= 960.6kbits/s throttle=off speed=0.52x    
15:56:44.244 frame= 1559 fps= 13 q=28.0 size=    7323kB time=00:01:02.43 bitrate= 960.9kbits/s throttle=off speed=0.52x    
15:56:44.814 frame= 1566 fps= 13 q=28.0 size=    7362kB time=00:01:02.65 bitrate= 962.5kbits/s throttle=off speed=0.519x    
>! ThrottleByStreamBufferSize: WARNING - Playback position too close to transcoding position: PlaybackPosition: 00:00:51 - TranscodingPosition: 00:01:02 - ThrottleBuffer: 11s
15:56:45.453 frame= 1576 fps= 13 q=28.0 size=    7419kB time=00:01:03.07 bitrate= 963.6kbits/s throttle=off speed=0.52x    
15:56:45.945 frame= 1582 fps= 13 q=28.0 size=    7448kB time=00:01:03.32 bitrate= 963.5kbits/s throttle=off speed=0.52x    
15:56:46.543 frame= 1590 fps= 13 q=28.0 size=    7501kB time=00:01:03.61 bitrate= 966.0kbits/s throttle=off speed=0.52x    
Edited by SamES
  • Like 1
Link to comment
Share on other sites

SamES

It's not really a conversion issue, it's that your server can't handle burning in subs.

 

Have a go at SubtitleEdit.  It can extract the PGS sub stream, perform OCR and create a text subtitle file.  This will allow you to have subs without burn-in.  Really useful for conversions you have made yourself.

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...