Jump to content

Error encoding image


Recommended Posts

revengineer
Posted

Using now v3.2.29 and my logs are full of the following errors

2017-08-29 19:46:27.830 Info HttpClient: HttpClientManager GET: https://s3.amazonaws.com/schedulesdirect/assets/p12008769_b_h10_ab.jpg
2017-08-29 19:46:27.831 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.2.29.0
	Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 4
	Program data path: C:\Users\admin\AppData\Roaming\Emby-Server
	Application directory: C:\Users\admin\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.GetBitmap(String path, Boolean cropWhitespace, Boolean autoOrient, Nullable`1 orientation)
	   at Emby.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
	   at Emby.Drawing.ImageProcessor.<ProcessImage>d__30.MoveNext()
	System.NullReferenceException
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.GetBitmap(String path, Boolean cropWhitespace, Boolean autoOrient, Nullable`1 orientation)
	   at Emby.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
	   at Emby.Drawing.ImageProcessor.<ProcessImage>d__30.MoveNext() 
Posted

Are you experiencing a problem?

revengineer
Posted

No except that I was missing a title image for a show I recorded yesterday. I figured these calls must be good for something, and it is not good when they crash. Conversely, if the calls are not necessary then it seems that emby should not be using these CPU cycles. I am using a low-power i3 to safe power. This works sufficiently well, but being judicious about CPU cycles is key for a smooth ride. I suspect folks on NAS boxes have similar concerns.

Posted

Thanks for the feedback.

revengineer
Posted (edited)

Just tried to use my Roku box and emby is going completely crazy. I am not allowed to attach a video but here is a link https://1drv.ms/v/s!AodzfbnreZEYgZtvid7iY6eCqtokcw. The log is showing errors of the type posted above.

 

I am now involved in multiple threads that show significant issues with emby. It seems like nothing works: Memory leaks on Windows emby server, cannot shutdown Windows emby server application, Android app crashes when I set the sync path, Android sync fails over internet, log file not being created on Android app. It's sad but this is not looking good. In my opinion a time out is needed for new features to make an investment into fixing existing capability. 

2017-08-30 21:11:37.818 Info HttpServer: HTTP GET http://192.168.1.50:8096/emby/Items/c0d0483658fe2dbc08ad647d364f1956/Images/Backdrop/0?EnableImageEnhancers=false&tag=ea93988a91147fd091293cc9ce24ee43&maxheight=720. UserAgent: Roku/DVP-7.70 (047.70E04135A)
2017-08-30 21:11:37.819 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.2.29.0
	Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 4
	Program data path: C:\Users\admin\AppData\Roaming\Emby-Server
	Application directory: C:\Users\admin\AppData\Roaming\Emby-Server\system
	System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.GetBitmap(String path, Boolean cropWhitespace, Boolean autoOrient, Nullable`1 orientation)
	   at Emby.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
	   at Emby.Drawing.ImageProcessor.<ProcessImage>d__30.MoveNext()
	System.NullReferenceException
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, SKCodecOrigin& origin)
	   at Emby.Drawing.Skia.SkiaEncoder.GetBitmap(String path, Boolean cropWhitespace, Boolean autoOrient, Nullable`1 orientation)
	   at Emby.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
	   at Emby.Drawing.ImageProcessor.<ProcessImage>d__30.MoveNext()
Edited by revengineer
Posted

What is happening in the Roku app?

revengineer
Posted

What is happening in the Roku app?

The video I linked shows the emby interface on my TV. Cover images are wildly flashing, and the interface becomes unusable. Did you watch the video? The same happened with v3.2.28. Never saw those problems with version 3.2.26 or below.

revengineer
Posted

@Luke: Did you get a chance to look at the video I linked and can provide some guidance how to debug this issue encountered on a Roku 2? Should I be posting this in the Roku forum instead?

Posted

Should I be posting this in the Roku forum instead?

 

Yes please.

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