Jump to content

Thumbnails not generating


Recommended Posts

Posted

Hi,

I am running a docker instance of Emby server on unraid and recently started getting issues after upgrading the container. I am currently running 4.7.6.0

No thumbnails are working, nothing is now shown on the library icon or the chapters.

I see the following errors in the logs.

*** Error Report ***
Version: 4.7.6.0
Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /config -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartexitcode 3
Operating system: Linux version 5.15.46-Unraid (root@Develop) (gcc (GCC) 11.2.0, GNU ld version 2.37-slack15) #1 SMP Fri Jun 10 11:08:41 PDT 2022
Framework: .NET 6.0.8
OS/Process: x64/x64
Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.CoreLib.dll
Processor count: 6
Data path: /config
Application path: /usr/lib/emby-server
System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/plex/movies/[movie].mkv" (output file not found)
at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractionManager.ExtractImageInternal(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 container, MediaStream videoStream, Nullable`1 streamIndex, Nullable`1 threedFormat, Nullable`1 offset, Boolean useThumbNailFilter, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractionManager.ExtractImage(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 container, MediaStream videoStream, Nullable`1 streamIndex, MediaProtocol protocol, Boolean isAudio, Nullable`1 threedFormat, Nullable`1 offset, CancellationToken cancellationToken)
at Emby.Providers.MediaInfo.ThumbnailGenerator.RefreshChapterImages(Video item, MediaStream videoStream, ReadOnlyMemory`1 inputPath, MediaProtocol protocol, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean saveChapters, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()

 

This command fails

 /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/plex/movies/[movie]/[movie].mkv" -an -sn -update 1 -vf "scale=trunc(min(max(iw\,ih*dar)\,min(600\,0*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(600/dar\,0))/2)*2" -vsync 0 -f image2 "/config/cache/temp/bf4db904-3f43-4b32-8af6-0ec606871dfb.jpg"

 

when running the above command inside the docker container, I get the following error message

Unrecognized option 'skip_list'.
Error splitting the argument list: Option not found

 

If I remove the skip_list argument then ffmpeg starts to do its work on the command line.

 

I would appreciate some help.

 

Thanks.

 

Posted

HI, how did you install Emby Server?

Posted (edited)

Hi, 

Thanks for the quick reply,

I am using unraid and the docker version of Emby Server.

Edit:

This has been working perfectly, it's just the latest update has caused some issues.

Edited by mshaf
Posted

Sorry, it's the binhex-emby version - isn't that based on the official version?

Posted
Just now, mshaf said:

Sorry, it's the binhex-emby version - isn't that based on the official version?

Yes but it appears to be missing essential components such as our custom ffmpeg build. That's the reason for the errors.

Posted

Brill - I'll use the official version and report back. 

Thanks for your help @Luke👍

  • Thanks 1

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