Jump to content

ImageProcessor error playing GIF Collections


Recommended Posts

go_robot_go
Posted

I've created a Collection in Emby that contains half a dozen or so animated GIF images. Attempting to play or shuffle the collection causes the UI to spin forever (the "waiting" circle displays endlessly, and nothing ever happens). Looking in the logs, I find this error each time I attempt this:
 

2017-03-09 19:46:24.1657 Error ImageProcessor: Error encoding image
	*** Error Report ***
	Version: 3.2.7.0
	Command line: C:\Users\Andy\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	Processor count: 8
	Program data path: C:\Users\Andy\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Andy\AppData\Roaming\Emby-Server\System
	System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
	Parameter name: index
	   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
	   at Emby.Drawing.ImageMagick.ImageMagickEncoder.ScaleImage(MagickWand wand, Int32 width, Int32 height, Int32 blur)
	   at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage(String inputPath, String outputPath, Boolean autoOrient, Int32 width, Int32 height, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
	   at Emby.Drawing.ImageProcessor.<ProcessImage>d__27.MoveNext()
	System.ArgumentOutOfRangeException
	   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
	   at Emby.Drawing.ImageMagick.ImageMagickEncoder.ScaleImage(MagickWand wand, Int32 width, Int32 height, Int32 blur)
	   at Emby.Drawing.ImageMagick.ImageMagickEncoder.EncodeImage(String inputPath, String outputPath, Boolean autoOrient, Int32 width, Int32 height, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat)
	   at Emby.Drawing.ImageProcessor.<ProcessImage>d__27.MoveNext()

Related (possibly), I've found that I cannot create a Playlist of GIF images, only a Collection. I can attempt to add them to a Playlist, but they are never actually added.

Posted

To be honest I don't think we've really tested animated gifs. Can you provide the image that is failing here for testing? Please zip it up to avoid the forum making any changes to it. thanks !

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