Jump to content


Photo

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

lg

Best Answer SamES , 31 March 2020 - 08:11 AM

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    
Go to the full post


  • Please log in to reply
10 replies to this topic

#1 proo4509 OFFLINE  

proo4509

    Member

  • Members
  • 20 posts
  • Local time: 09:20 AM

Posted 28 March 2020 - 10:27 AM

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.

 

 



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157225 posts
  • Local time: 03:20 AM

Posted 28 March 2020 - 11:42 AM

Hi there, can we please look at an example? Please attach the information requested in how to report a media playback issue. thanks !



#3 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1278 posts
  • Local time: 05:20 PM

Posted 29 March 2020 - 08:12 AM

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, 29 March 2020 - 08:12 AM.


#4 proo4509 OFFLINE  

proo4509

    Member

  • Members
  • 20 posts
  • Local time: 09:20 AM

Posted 30 March 2020 - 09:45 AM

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



#5 proo4509 OFFLINE  

proo4509

    Member

  • Members
  • 20 posts
  • Local time: 09:20 AM

Posted 30 March 2020 - 11:47 AM

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

 

how can i tell the difference?



#6 proo4509 OFFLINE  

proo4509

    Member

  • Members
  • 20 posts
  • Local time: 09:20 AM

Posted 30 March 2020 - 11:51 AM

Hi there, can we please look at an example? Please attach the information requested in how to report a media playback issue. thanks !

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



#7 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19207 posts
  • Local time: 12:20 AM
  • LocationWashington State

Posted 30 March 2020 - 12:08 PM

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.



#8 proo4509 OFFLINE  

proo4509

    Member

  • Members
  • 20 posts
  • Local time: 09:20 AM

Posted 30 March 2020 - 12:18 PM

I attached both logfiles!

Attached Files



#9 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1278 posts
  • Local time: 05:20 PM

Posted 31 March 2020 - 08:11 AM   Best Answer

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, 31 March 2020 - 08:12 AM.

  • proo4509 likes this

#10 proo4509 OFFLINE  

proo4509

    Member

  • Members
  • 20 posts
  • Local time: 09:20 AM

Posted 01 April 2020 - 03:52 AM

So, it's more a conversion issue? Damn, i did these myself... 

 

Thank you for helping me!



#11 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1278 posts
  • Local time: 05:20 PM

Posted 01 April 2020 - 06:57 AM

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.







Also tagged with one or more of these keywords: lg

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users