Jump to content

Indexing CR2 does not work and takes down FreeNAS


hansbaer80

Recommended Posts

hansbaer80

Hello,

 

I have installed the latest FreeNAS. I am trying to import my photo library, which includes mostly CR2 raw image files. This does not work however. I get loads of error like the following:

2017-12-25 01:26:13.634 Info ImageProcessor: Getting image size for item Photo /mnt/Bilder/2017/12/10/PV4A1447.CR2
2017-12-25 01:26:13.663 Error App: Error in Embedded Information
    *** Error Report ***
    Version: 3.2.60.0
    Command line: /usr/pbi/emby-amd64/lib/emby-server/MediaBrowser.Server.Mono.exe -os freebsd -ffmpeg /usr/pbi/emby-amd64/bin/ffmpeg -ffprobe /usr/pbi/emby-amd64/bin/ffprobe -programdata /var/db/emby-server
    Operating system: Unix 11.1.0.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: False
    Mono: 4.6.1 (Stable 4.6.1.5/ef43c15 Mon Jun 12 05:53:22 UTC 2017)
    Processor count: 8
    Program data path: /var/db/emby-server
    Application directory: /usr/pbi/emby-amd64/lib/emby-server
    System.ArgumentException: Could not recognize image format.
    Parameter name: binaryReader
     at Emby.Drawing.Common.ImageHeader.GetDimensions (System.IO.BinaryReader binaryReader) [0x00076] in <b8cb098136cb407495cc0b227f217afc>:0
     at Emby.Drawing.Common.ImageHeader.GetDimensions (System.String path, MediaBrowser.Model.Logging.ILogger logger, MediaBrowser.Model.IO.IFileSystem fileSystem) [0x0000f] in <b8cb098136cb407495cc0b227f217afc>:0
     at Emby.Drawing.ImageProcessor.GetImageSizeInternal (System.String path, System.Boolean allowSlowMethod) [0x00000] in <b8cb098136cb407495cc0b227f217afc>:0
    System.ArgumentException
     at Emby.Drawing.Common.ImageHeader.GetDimensions (System.IO.BinaryReader binaryReader) [0x00076] in <b8cb098136cb407495cc0b227f217afc>:0
     at Emby.Drawing.Common.ImageHeader.GetDimensions (System.String path, MediaBrowser.Model.Logging.ILogger logger, MediaBrowser.Model.IO.IFileSystem fileSystem) [0x0000f] in <b8cb098136cb407495cc0b227f217afc>:0
     at Emby.Drawing.ImageProcessor.GetImageSizeInternal (System.String path, System.Boolean allowSlowMethod) [0x00000] in <b8cb098136cb407495cc0b227f217afc>:0

 

 

 

 

Moreover scanning the library seems to block resources. The machine starts to slow down, and after I while I have to hard reset the whole server since it does not reply anymore.

 

I have found this thread https://emby.media/community/index.php?/topic/24733-cr2-format/ and installed ufraw in the jail, but that does not seem to make any difference.

 

Any ideas how this can be fixed?

Link to comment
Share on other sites

Hi, we're trying to read the image dimensions with something that doesn't even support cr2. We'll skip this for the next release and this should clear up the resource consumption issue. thanks.

Link to comment
Share on other sites

hansbaer80

Thanks for the reply - great! Will this fix CR2 support or will this deactivate CR2 altogether? When can the new release be expected?

 

BTW: A nice feature would be if you could exclude certain folders and files with some regexp pattern.

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