Jump to content

Emby slow on Roku and LG app


silver_2000

Recommended Posts

silver_2000

Looking for self help options for slowness on Roku and LG tv app

We have wired connection to Synology running emby, with some libraries stored on a second Synology.  

When I look at the Synology resource monitor neither shows much cpu, network or disk usage to explain the slowness.

 I do widows support and am used to looking at logs and performance to find issues.  I know I need to upload logs.  I wish the logs were easier to interpret for humans.

Anyone have any ideas ?   

We are considering moving emby back to an older HP server I have here to leverage faster processor ... 

 

 

 

Link to comment
Share on other sites

Hi logs shouldn't be too hard.  Try this, make sure you don't have debug turned on (Log menu) as that writes a lot of info.  Use debug logging only when trying to drill down into something specific or for short periods of time.

So with that off, go to scheduled tasks and rotate the log file.  That will give you a fresh log.

Try playing back something on the LG or Roku then return to the Emby dashboard and bring up the logs menu.  Do you see logs starting with ffmpeg?  If so that means the file wasn't able to be direct played and Emby had to try and remux or transcode it.  The rest of the filename after ffmpeg will give you a clue. :)

Now you look at a short server log to see if any errors show up which should be easy to spot.  If there are ffmpeg files these will normally tell the tail just scrolling to the bottom to see how it ended.  Of course you can attach the file(s) here and we can help you interpret them as well.

 

Link to comment
Share on other sites

silver_2000

thanks for the replies 

debug is not on 

Ive attached the log 

what happens is the show starts to play then about 40 seconds in it just buffers forever 

 

was testing as doug trying to watch seal team 

it was direct playing 

Playback position: 0.6% 0:18
Transcode position: 13.5% 6:30
Transcode buffer:   6:12
Throttle: Off  
http://mbserver:8096/emby/Users/d3cb6d5003fe4d7f8a3ec077706208a6/Images/Primary?tag=4290b69d086d3c8df392ff578fd3f6fc&height=24&quality=90
!DOUG
 
roku.jpg
Soundbar

 

embyserver (5).txt

ffmpeg-remux-5c26eb69-945a-4ecd-ac8a-5d7b7d0106e9_1.txt

Edited by silver_2000
Link to comment
Share on other sites

Happy2Play

Where are you using SMB paths?  Don't see this library in LibraryMonitor though.

2021-12-19 19:32:45.882 Error App: Error validating images for smb://synology-ds1819/Emby-DS1819/TV Shows A-L (Ended)/24/Season 08/24_08x20_11AM - 12PM.avi

		SharpCifs.Smb.SmbException: Failed to connect: 192.168.10.224
	Line 103: 2021-12-19 19:32:45.882 Error App: Error validating images for smb://synology-ds1819/Emby-DS1819/TV Shows A-L (Ended)/24/Season 08/24_08x20_11AM - 12PM.avi
	Line 176: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E09.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 197: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E04.Need.to.Know.720p.HDTV.x264-CRiMSON -thumb.jpg
	Line 215: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E08.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 232: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E05.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 251: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E09.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 273: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E08.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 290: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E04.Need.to.Know.720p.HDTV.x264-CRiMSON -thumb.jpg
	Line 307: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E05.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 334: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E07.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 352: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E06.1080p.WEB.h264-KOGi -thumb.jpg
	Line 376: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E07.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 394: 	System.Exception: System.Exception: SKCodec had an error reading smb://192.168.10.32/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E06.1080p.WEB.h264-KOGi -thumb.jpg

 

Link to comment
Share on other sites

silver_2000

THANKS for the quick reply

 

The SMB paths are used in connecting to the libraries on the second synology

192.168.10.224 was a dhcp address assigned to the 2nd synology in error.  That wat corrected last week.  The connection issues and buffering predate that change.  I made the change to try to help resolve the buffering hanging issue.  The bonded IP of the 2nd Synology is 192.168.10.32 - I cant figure out where the 1st synology is storing the .224 address.  Its not in DNS, and Ive rebooted the Firewall ( dns ) and both synologys since the change.

Because it bears repeating the buffering was happening when the synology was reachable via .224 

Is there a recommended way to connect the libraries that doesnt use SMB ? 

 

the thumbnails seem to be an issue in the logs - Can we disable them ?  

Edited by silver_2000
Link to comment
Share on other sites

You can try it this way: 

Then add the local path to Emby Server instead of the SMB path. Please let us know if this helps. Thanks.

Link to comment
Share on other sites

silver_2000

trying this now - down side is that changing the path to the folder causes the media to rescan all over again - takes a LONG time 

 

thanks again for the quick responses 

Link to comment
Share on other sites

Yes it does but if you have the graphics and NFO saved with your media you can go into each library and remove all meta-data providers except the NFO and it will reload them much faster!

Link to comment
Share on other sites

silver_2000

just tested 2 more rokus 

we have 2 roku ultras that stop at the same point and buffer and never continue 

the roku stick we have seems to be unfazed.  I didnt watch a whole show but it played 3x as far as the ultras with no issue 

Link to comment
Share on other sites

Happy2Play

Overall nothing is standing out.

Doubt it is related to your issue, but Emby would appear to not like these images.

	Line 781: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E01.720p.WEB.H264-CAKES -thumb.jpg
	Line 798: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E10.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 818: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E02.720p.WEB.H264-GGWP -thumb.jpg
	Line 839: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E10.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 856: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E01.720p.WEB.H264-CAKES -thumb.jpg
	Line 874: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E02.720p.WEB.H264-GGWP -thumb.jpg
	Line 905: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E09.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 922: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E03.720p.WEB.H264-GLHF -thumb.jpg
	Line 944: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E09.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 961: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E03.720p.WEB.H264-GLHF -thumb.jpg
	Line 982: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E08.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 1001: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E04.Need.to.Know.720p.HDTV.x264-CRiMSON -thumb.jpg
	Line 1021: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E08.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 1041: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E04.Need.to.Know.720p.HDTV.x264-CRiMSON -thumb.jpg
	Line 1058: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E07.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 1077: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E05.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 1096: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E07.720p.HEVC.x265-MeGusta -thumb.jpg
	Line 1115: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E05.1080p.HEVC.x265-MeGusta -thumb.jpg
	Line 1134: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E06.1080p.WEB.h264-KOGi -thumb.jpg
	Line 1153: 	System.Exception: System.Exception: SKCodec had an error reading /volume1/Second-Synology/Emby-DS1819/TV SHOWS/SEAL Team/Season 05/SEAL.Team.S05E06.1080p.WEB.h264-KOGi -thumb.jpg

 

Dev will have to comment but I am wondering why your setup shows eac3 is not supported.  May need to go over your Roku audio settings.

&TranscodeReasons=AudioCodecNotSupported


21:01:17.086 Stream mapping:
21:01:17.086   Stream #0:0 -> #0:0 (copy)
21:01:17.086   Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))

 

During playback if you bring up the OSD click the gear and select Playback Correction causing Transcoding does it play back normal?

Link to comment
Share on other sites

silver_2000

Many, mostly the TV shows which are what is on the second Synology.

Not all - Let me collect some more specific data.  I know that it occurs with MANY of the files but not all.  

I was wrong about the roku stick working - it buffered it just took longer 

the 2 roku ultras buffer at exactly the =same spot on the videos 

Edited by silver_2000
Link to comment
Share on other sites

14 hours ago, silver_2000 said:

The rescan is done but the media still stops and bufferembyserver (6).txts about 30 seconds in.  I just tried it on my phone and it played fine but the Roku still stalls 

 

It works from my phone and from firefox 

ffmpeg-remux-4018d716-5f2e-4f75-a6a3-dca8de8f0b0a_1.txt 207.4 kB · 1 download

Have you tried lowering the in-app quality setting to reduce the bitrate?

Link to comment
Share on other sites

All the Rokus and server on the same LAN? (ie your home network)

Do you have everything plugged into Ethernet?  If not what devices are on wifi?

If you see the same problem with multiple devices on the same files, that could be an indication there is something wrong with the media. Could just be the header info is off a bit.
A good of this would be to run one problem file through mkvtoolnix (I think that's the one) to remux the file.

Remux the file outside of your Emby media folder then put the new version back on top of the old one, after you verified it plays with VLC or some other program.

Link to comment
Share on other sites

Happy2Play
3 hours ago, Luke said:

Have you tried lowering the in-app quality setting to reduce the bitrate?

But it is only 1M ("Bitrate":1219975),  But guessing you would like to know if transcoding resolves the issue.  That is why I asked if Playback correction makes any difference.

If it is everything on the second nas then I would say there is a man in the middle effect (server to nas, nas back to server, server to client)

  • Like 1
Link to comment
Share on other sites

That's possible. One test would be to copy the files to a new test library on the first NAS and try playing them back that way.

  • Agree 1
Link to comment
Share on other sites

silver_2000

good ideas 

they are all on local gb network - tested using wifi and ethernet 

we will look at the other options of moving the file to the other NAS and the remux option 

these are exactly the kinds of hints I was looking for 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
silver_2000

We moved the emby server to a dual processor workstation that I had laying around.  The media is still split between 2 Synologys 

From Web browser the media FLYS !! its awesome.  Looks great.

From Roku we still see media intermittently load play a few min then show the wait circle and 33% 

We are running Roku ultras that are only a year or 2 old ... 

Link to comment
Share on other sites

silver_2000

We are finding some details on the videos that get stuck buffering. Apparently one difference is that the TV episodes that buffer at 33% are encoded w different audio and  there was no thumbnail, on each of the episodes where there's no thumbnail, The audio is "CPE EAC3 2 channel default."

The web browser plays fine the Roku is having issues.

The LG app seems to like the audio changes better than the Roku ...

 

Edited by silver_2000
Link to comment
Share on other sites

Happy2Play

What is your Roku audio settings?  Your Roku is not showing support of DD at all which is odd.

VideoCodec=h264,hevc,mpeg2video&AudioCodec=aac,mp2,mp3,flac,vorbis,lpcm

 

  • Like 1
Link to comment
Share on other sites

silver_2000
On 2/20/2022 at 6:21 PM, Happy2Play said:

What is your Roku audio settings?  Your Roku is not showing support of DD at all which is odd.

VideoCodec=h264,hevc,mpeg2video&AudioCodec=aac,mp2,mp3,flac,vorbis,lpcm

 

where do I check those ?  

Link to comment
Share on other sites

54 minutes ago, silver_2000 said:

where do I check those ?  

Hi, have you checked the Roku system settings?

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