split 6 Posted July 9, 2022 Posted July 9, 2022 Hey I've been experiencing the same issue for a few weeks now and finally decided to look into it. Rather than create another thread, I'm going to just check in here on this thread with some additional info. I noticed a few weeks ago (more or less start of June) that new thumbnails are not being generated for any new content i add to a Mixed Content library. I typically use this for sports which do not have coverage in the online dbs. It doesn't matter if I use the scheduled task, add new video files or refresh metadata for the episode itself. Below are the errors i started seeing, even when trying to refresh metadata for files that generated automatically some time prior to June. It appears to be a syntax issue? If it helps, this is Emby Server 4.7.5 running in docker. I have confirmed via terminal in the docker that the content exists at this path and that permissions are good. 2022-07-09 13:59:20.061 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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,thumbnail=24" -vsync 0 -f image2 "/config/cache/temp/fa529f17-ba36-4dd2-8b7b-0a9ae5d8f214.jpg" 2022-07-09 13:59:20.076 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-09 13:59:20.575 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" (output file not found) 2022-07-09 13:59:20.575 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" 2022-07-09 13:59:20.577 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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/6c8588c6-b087-4ffe-9a61-9f847357200f.jpg" 2022-07-09 13:59:20.590 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-09 13:59:21.089 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" (output file not found) 2022-07-09 13:59:21.089 Error App: Error extracting chapter images for /media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv *** 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.10.28-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Wed Apr 7 08:23:18 PDT 2021 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: 24 Data path: /config Application path: /usr/lib/emby-server System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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()
split 6 Posted July 9, 2022 Author Posted July 9, 2022 Hey I've been experiencing the same issue for a few weeks now and finally decided to look into it. Rather than create another thread, I'm going to just check in here on this thread with some additional info. I noticed a few weeks ago (more or less start of June) that new thumbnails are not being generated for any new content i add to a Mixed Content library. I typically use this for sports which do not have coverage in the online dbs. It doesn't matter if I use the scheduled task, add new video files or refresh metadata for the episode itself. Below are the errors i started seeing, even when trying to refresh metadata for files that generated automatically some time prior to June. It appears to be a syntax issue? If it helps, this is Emby Server 4.7.5 running in docker. I have confirmed via terminal in the docker that the content exists at this path and that permissions are good. 2022-07-09 13:59:20.061 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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,thumbnail=24" -vsync 0 -f image2 "/config/cache/temp/fa529f17-ba36-4dd2-8b7b-0a9ae5d8f214.jpg" 2022-07-09 13:59:20.076 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-09 13:59:20.575 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" (output file not found) 2022-07-09 13:59:20.575 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" 2022-07-09 13:59:20.577 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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/6c8588c6-b087-4ffe-9a61-9f847357200f.jpg" 2022-07-09 13:59:20.590 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-09 13:59:21.089 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" (output file not found) 2022-07-09 13:59:21.089 Error App: Error extracting chapter images for /media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv *** 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.10.28-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Wed Apr 7 08:23:18 PDT 2021 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: 24 Data path: /config Application path: /usr/lib/emby-server System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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()
split 6 Posted July 9, 2022 Author Posted July 9, 2022 Hey I've been experiencing the same issue for a few weeks now and finally decided to look into it. Rather than create another thread, I'm going to just check in here on this thread with some additional info. I noticed a few weeks ago (more or less start of June) that new thumbnails are not being generated for any new content i add to a Mixed Content library. I typically use this for sports which do not have coverage in the online dbs. It doesn't matter if I use the scheduled task, add new video files or refresh metadata for the episode itself. Below are the errors i started seeing, even when trying to refresh metadata for files that generated automatically some time prior to June. It appears to be a syntax issue? If it helps, this is Emby Server 4.7.5 running in docker. I have confirmed via terminal in the docker that the content exists at this path and that permissions are good. 2022-07-09 13:59:20.061 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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,thumbnail=24" -vsync 0 -f image2 "/config/cache/temp/fa529f17-ba36-4dd2-8b7b-0a9ae5d8f214.jpg" 2022-07-09 13:59:20.076 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-09 13:59:20.575 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" (output file not found) 2022-07-09 13:59:20.575 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" 2022-07-09 13:59:20.577 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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/6c8588c6-b087-4ffe-9a61-9f847357200f.jpg" 2022-07-09 13:59:20.590 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-09 13:59:21.089 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv" (output file not found) 2022-07-09 13:59:21.089 Error App: Error extracting chapter images for /media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.mkv *** 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.10.28-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Wed Apr 7 08:23:18 PDT 2021 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: 24 Data path: /config Application path: /usr/lib/emby-server System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.2.New.Zealand.v.Ireland.1080p50.H264-bill.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()
Luke 40137 Posted July 15, 2022 Posted July 15, 2022 hi @split, @softworkz will take a look at this. Thanks.
Luke 40137 Posted July 16, 2022 Posted July 16, 2022 @split Can you provide a copy of this video file for testing? Thanks.
Moats 0 Posted July 16, 2022 Posted July 16, 2022 Same here and remotely some artwork that I upload does not appear.
split 6 Posted July 17, 2022 Author Posted July 17, 2022 Thanks for looking into this Luke & Softworkz. I provided copies of videos in DM. Additionally, I noticed that these specific files would not play on my Roku (it would buffer to 99% then just sit there), but it would play just fine via the web/mobile/direct. I thought that it might be related to the encoding, but I am less sure of that now. I re-encoded a few of these files to x265 and while it now plays perfectly on the Roku, the image extraction error is still the same. 2022-07-17 08:54:58.706 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.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,thumbnail=24" -vsync 0 -f image2 "/config/cache/temp/cdb28d74-a134-47ed-9bdd-627df53a0987.jpg" 2022-07-17 08:54:58.709 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-17 08:54:59.209 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.mkv" (output file not found) 2022-07-17 08:54:59.209 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.mkv" 2022-07-17 08:54:59.210 Info App: ProcessRun 'quick-extract-image' Execute: /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.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/3e8a9fbf-06a3-49b9-bfec-398136d7d88b.jpg" 2022-07-17 08:54:59.213 Info App: ProcessRun 'quick-extract-image' Process exited with code 1 - Failed 2022-07-17 08:54:59.711 Error ImageExtraction: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.mkv" (output file not found) 2022-07-17 08:54:59.712 Error App: Error extracting chapter images for /media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.mkv *** 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.10.28-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Wed Apr 7 08:23:18 PDT 2021 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: 24 Data path: /config Application path: /usr/lib/emby-server System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/Rugby/2022 July Internationals/Test.3.South.Africa.v.Wales.1080p50.x265-bill.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() 1
Solution Luke 40137 Posted August 2, 2022 Solution Posted August 2, 2022 Hi, please try updating to the new Emby Server 4.7.6 release and see how that compares. Thanks. 1
split 6 Posted August 2, 2022 Author Posted August 2, 2022 Thanks for the update! I use the docker image for Unraid which seems to still be 4.7.5.0. I couldnt find a tag for 4.7.6.0 so i set the tag to emby/embyserver:beta which still had this issue. After browsing the Unraid forum a bit i did find that some other users had related issues, and i ended up trying out the binhex/arch-emby:4.6.7.0-3-01 image which does work correctly on these files.
Luke 40137 Posted August 2, 2022 Posted August 2, 2022 OK 4.7.6 for Docker should be up by tomorrow. Thanks. 1
split 6 Posted August 2, 2022 Author Posted August 2, 2022 Only just got to this. Can confirm that migrating to 4.7.6.0 fixed my issue - thank you! I took the opportunity to move to the official EmbyServer docker as well. I was using binhex's until now, but looks like his had not updated yet at the time i was trying to update. Luckily just had to point to the old config and it fired right up. 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