DtectiveDecimal 0 Posted March 21, 2025 Posted March 21, 2025 Emby refuses to make scrubbing thumnails for a select set of movies. - I discovered with another movie for some reason that it didnt like 4K H.265 encoding. If I re-encoded and downscaled that to 1080p H.254, it would read and make the images just fine. But now I've got 6 movies. All were originally 4K MKV files. All downscaled to 1080p H.264. Emby made thumnails for 2 of them. But not the other 4. I cannot figure out why, I have tried deleting them, refreshing library, re adding them, re-running the image generation task. I watch it create the folder of images in the Temp directory, but it gets to the same spot every time, and just stops. Deletes the folder, and fails to make the thumbnails. I know the file isn't corrupted, I've run programs to check it for that. It shouldn't be the encoding, its endoded exactly the same as the 2 that emby did make thumnails for. This is the Log's Error report, If someone could tell me what's causing this process to fail and how to fix it I would be greatly appreciative
DtectiveDecimal 0 Posted March 21, 2025 Author Posted March 21, 2025 Original post did not paste in the log properly 2025-03-18 12:26:02.396 Error ChapterImagesTask: Error creating thumbnails for E:\Media\Movies\Jurassic Park Collection\(4) Jurassic World.mp4 *** Error Report *** Version: 4.8.11.0 Command line: C:\Users\Media Server\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows 10.0.19045 Framework: .NET 6.0.36 OS/Process: x64/x64 Runtime: C:/Users/Media Server/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 6 Data path: C:\Users\Media Server\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Media Server\AppData\Roaming\Emby-Server\system System.Exception: System.Exception: Error running ffmpeg quick-extract-imageseries for E:\Media\Movies\Jurassic Park Collection\(4) Jurassic World.mp4 - Command: -f mp4 -threads 1 -skip_interval 10 -copyts -i file:"E:\Media\Movies\Jurassic Park Collection\(4) Jurassic World.mp4" -an -sn -vf "select='eq(pict_type,PICT_TYPE_I)',scale=w=320:h=160,format=p010,supertonemap=tonemap=hable" -vsync cfr -r 0.1 -f image2 "C:\Users\Media Server\AppData\Roaming\Emby-Server\programdata\cache\temp\a3e06f0a144d474b81a266bc56bee1f2\img_%05d.jpg" at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractorBase.RunExtraction(String inputPath, Nullable`1 container, MediaStream videoStream, Nullable`1 protocol, Nullable`1 streamIndex, Nullable`1 threedFormat, Nullable`1 startOffset, Nullable`1 interval, String targetDirectory, String targetFilename, Nullable`1 maxWidth, Boolean enableThumbnailFilter, CancellationToken cancellationToken) at Emby.Providers.MediaInfo.ThumbnailGenerator.CreateThumbnailSet(Video item, MediaStream videoStream, LibraryOptions libraryOptions, Int32 width, CancellationToken cancellationToken) at Emby.Providers.MediaInfo.ThumbnailGenerator.CreateThumbnailSets(Video item, MediaStream videoStream, LibraryOptions libraryOptions, CancellationToken cancellationToken) at Emby.Providers.MediaInfo.ThumbnailGenerator.RefreshThumbnailImages(Video item, MediaStream videoStream, LibraryOptions libraryOptions, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean saveChapters, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext()
Luke 42078 Posted March 21, 2025 Posted March 21, 2025 Hi there, please attach the complete emby server log file. Thanks.
Luke 42078 Posted March 30, 2025 Posted March 30, 2025 Hi, we are looking into this as part of the 4.9 server release. Thanks. 1
Opera_of_Death 9 Posted April 10, 2025 Posted April 10, 2025 On 3/30/2025 at 6:05 AM, Luke said: Hi, we are looking into this as part of the 4.9 server release. Thanks. I'm running the latest beta and you have indeed fixed the problem with scanning 4K x265 files. But now I have several movies that needs rescan. What is the easiest way to do that? I hope you can implement a option in the three dots menu on each movie that says rescan chapter thumbnails or something like that. The only way I know how to trigger a rescan of the chapter thumbnails is by moving the movie to a new location or renaming the file and do the scan for thumbnails again. That is not what I want to do because I have already organised my files and named them how I like. If I should do that then I have to rename them and scan them two times for it to be as I want it. So please tell me there is an easier option!
GrimReaper 4740 Posted April 10, 2025 Posted April 10, 2025 1 minute ago, Opera_of_Death said: I hope you can implement a option in the three dots menu on each movie that says rescan chapter thumbnails or something like that. Refresh Metadata should do that. Note that if chapter extraction failed the first time for some reason, it'll possibly fail again. You can check the logs to see if extraction was successful.
Opera_of_Death 9 Posted April 11, 2025 Posted April 11, 2025 13 minutes ago, GrimReaper said: Refresh Metadata should do that. Note that if chapter extraction failed the first time for some reason, it'll possibly fail again. You can check the logs to see if extraction was successful. But I tested to do that on one movie that I put on my Synology Server and it just rescanned metadata and images. Not the thumbnails. And when using the task to scan for chapter thumbnails it didn't change anything. The thing is that all new movies that I add to the server are scanned perfectly. And when I rename the file it scans as well. I have a lot of movies that it scanned only one chapter up to half of the chapters that needs to be rescanned. If I rename them they scan good now but not when updating metadata. I have set it to scan metadata when adding new movies but not thumbnails. That I do manually in the scheduled task or it will run automatically on the specified time I set. So in short: Moving file works well. Renaming file works well. Update metadata doesn't impact the chapter thumbnails at all. I have tried restarting after the update and then run the scan but the old images is still there and the ones not scanned is still empty.
Luke 42078 Posted April 12, 2025 Posted April 12, 2025 Quote But I tested to do that on one movie that I put on my Synology Server and it just rescanned metadata and images. Not the thumbnails. And when using the task to scan for chapter thumbnails it didn't change anything. If you configured it to run during the scan and scheduled task, then refreshing metadata will do the job. if you configured it to run during scheduled task only, then the next run of the scheduled task will handle it after you've refreshed metadata.
Opera_of_Death 9 Posted April 12, 2025 Posted April 12, 2025 18 hours ago, Luke said: If you configured it to run during the scan and scheduled task, then refreshing metadata will do the job. if you configured it to run during scheduled task only, then the next run of the scheduled task will handle it after you've refreshed metadata. Yes I changed to scan and scheduled task and now it worked. But strange that it didn't work when running scheduled task after refreshing metadata. Thank you for the help! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now