hainter 1 Posted July 12, 2022 Share Posted July 12, 2022 Hey All, Having an issue where where the preview image extraction is failing for Home videos and photos library. This was working on a previous version of Emby and stopped after upgrading to 4.7.5 I am running Emby in a docker in an Unraid server. The video preview thumbnails and the chapter thumbnails are working...its just the preview thumbnail that shows when you are browsing thru your library. This used to automatically take a preview thumbnail at like 20% into the movie and display it on the home screen. I suspect some kind of permissions issue but I haven't been able to track it down and could use some help. Here is a sample of the log where the extract-imageseries works and then the quick-extract-image fails 2022-07-12 14:01:51.774 Info LibraryMonitor: (/media/) will be refreshed. 2022-07-12 14:01:51.859 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /usr/bin/ffprobe -i file:"/media/g20220712-032.m4v" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2022-07-12 14:01:51.874 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2022-07-12 14:01:51.878 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 34 -f mp4 -threads 1 -copyts -i file:"/media/g20220712-032.m4v" -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,thumbnail=24" -vsync 0 -f image2 "/config/cache/temp/beaddc1f-bdca-4d83-ab29-91dfd02cff4a.jpg" 2022-07-12 14:01:51.882 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-12 14:01:52.381 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/g20220712-032.m4v" (output file not found) 2022-07-12 14:01:52.381 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/media/g20220712-032.m4v" 2022-07-12 14:01:52.382 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 34 -f mp4 -threads 1 -copyts -i file:"/media/g20220712-032.m4v" -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/d84d8118-28b2-4646-8727-6f34c86317c8.jpg" 2022-07-12 14:01:52.396 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-12 14:01:52.896 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/g20220712-032.m4v" (output file not found) 2022-07-12 14:01:52.896 Error App: Error in Screen Grabber *** Error Report *** Version: 4.7.5.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.2 OS/Process: x64/x64 Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.2/System.Private.CoreLib.dll Processor count: 8 Data path: /config Application path: /usr/lib/emby-server System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/g20220712-032.m4v" (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.VideoImageProvider.GetImage(BaseMetadataResult itemResult, ImageType type, CancellationToken cancellationToken) at Emby.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseMetadataResult itemResult, IDynamicImageProvider provider, Boolean providerReportsChanges, ImageRefreshOptions refreshOptions, Boolean replaceAllImages, TypeOptions savedOptions, LibraryOptions libraryOptions, List`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() 2022-07-12 14:01:52.907 Info App: ProcessRun 'extract-imageseries' Execute: /usr/bin/ffmpeg -f mp4 -i file:"/media/g20220712-032.m4v" -an -sn -threads 0 -vf "fps=fps=1/10,scale=min(iw\,320):trunc(ow/dar/2)*2" -f image2 "/config/cache/temp/eb5a678f799d450582fdd08cc9c79cf5/img_%05d.jpg" 2022-07-12 14:01:55.704 Info App: ProcessRun 'extract-imageseries' Process exited with code 0 - Succeeded Link to comment Share on other sites More sharing options...
Luke 37251 Posted July 12, 2022 Share Posted July 12, 2022 Hi there @hainter please attach the complete emby server log file. Thanks. Link to comment Share on other sites More sharing options...
hainter 1 Posted July 13, 2022 Author Share Posted July 13, 2022 I would rather not, can I PM it? Link to comment Share on other sites More sharing options...
Luke 37251 Posted July 13, 2022 Share Posted July 13, 2022 Yes you can. Link to comment Share on other sites More sharing options...
hainter 1 Posted July 13, 2022 Author Share Posted July 13, 2022 I have messaged the log Link to comment Share on other sites More sharing options...
Luke 37251 Posted July 15, 2022 Share Posted July 15, 2022 On 7/13/2022 at 12:28 PM, hainter said: I have messaged the log Thanks. @softworkz will take a look. Link to comment Share on other sites More sharing options...
Luke 37251 Posted July 16, 2022 Share Posted July 16, 2022 @hainter Can you provide a copy of this video file for testing? Thanks. Link to comment Share on other sites More sharing options...
hainter 1 Posted July 18, 2022 Author Share Posted July 18, 2022 will message Thanks 1 Link to comment Share on other sites More sharing options...
hainter 1 Posted August 8, 2022 Author Share Posted August 8, 2022 Any thoughts on this? I haven't had any luck getting it to work. Like I said the chapter thumbnails and the scrubbing thumbnails work fine, just don't have a preview thumbnail on the main page. Link to comment Share on other sites More sharing options...
Luke 37251 Posted August 8, 2022 Share Posted August 8, 2022 6 hours ago, hainter said: Any thoughts on this? I haven't had any luck getting it to work. Like I said the chapter thumbnails and the scrubbing thumbnails work fine, just don't have a preview thumbnail on the main page. Hi there, have you updated to Emby Server 4.7.6? Try doing that and then refreshing the metadata on affected titles. Please let us know if this helps. Thanks. Link to comment Share on other sites More sharing options...
hainter 1 Posted August 12, 2022 Author Share Posted August 12, 2022 hi. 4.7.6 did not fix the issue. Will continue looking. Thanks Link to comment Share on other sites More sharing options...
mshaf 1 Posted August 17, 2022 Share Posted August 17, 2022 I have the same issue and I am currently running 4.7.6 @hainter Did you ever resolve this? Link to comment Share on other sites More sharing options...
hainter 1 Posted August 18, 2022 Author Share Posted August 18, 2022 its still not working in 4.7.6. Like I said not sure if its a permissions issue on my end or something with the Emby. It was working fine in an older version of the Emby. Link to comment Share on other sites More sharing options...
hainter 1 Posted August 21, 2022 Author Share Posted August 21, 2022 Ok, this is working now and just for the record wanted to record the solution. I was using the binhex/arch-emby docker in Unraid. They made an update 3 days ago that seems to have fixed the issue, see screenshot for what it was...I don't fully understand this but I know it has something to do with making the docker use Emby's version of ffmpeg. Link to comment Share on other sites More sharing options...
Luke 37251 Posted August 22, 2022 Share Posted August 22, 2022 That's good news. Thanks for the feedback. @mshaf does this help? Link to comment Share on other sites More sharing options...
mshaf 1 Posted August 22, 2022 Share Posted August 22, 2022 Thanks - I noticed that they made the update. I've since moved to the official emby docker version which resolved my issues. Link to comment Share on other sites More sharing options...
Luke 37251 Posted August 25, 2022 Share Posted August 25, 2022 Thanks for the feedback. Link to comment Share on other sites More sharing options...
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