sa2000 674 Posted September 16, 2024 Posted September 16, 2024 On 14/09/2024 at 13:00, macnb said: Same behaviour as the release server version. Errors are the same. So still getting the 1 minute timeout on the ffmpeg peocess for image extraction?
macnb 32 Posted September 16, 2024 Posted September 16, 2024 1 hour ago, sa2000 said: So still getting the 1 minute timeout on the ffmpeg peocess for image extraction? Yes I believe so. See attached log extract As I said before, the FFMPEG method Emby server is using to extract a single thumbnail from a video file is prone to issues. And, I suggested alternative method that is much quicker and more likely to work with any problem some videos. emby-error-log.txt
sa2000 674 Posted September 16, 2024 Posted September 16, 2024 (edited) 8 minutes ago, macnb said: Yes I believe so. Yes it is the same on the 4.9.0.30 beta as before 1 minute timeout on both methods used by Emby Server to extract an image First Attempt 2024-09-14 04:42:59.313 Info QuickSingleImageExtractor: ProcessRun 'quick-extract-image' Execute: /opt/emby-server/bin/ffmpeg -skip_list 20 -f mp4 -threads 1 -i file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" -an -sn -update 1 -vf "thumbnail=24" -vsync 0 -f image2 "/var/lib/emby/cache/temp/32ab543f-a361-48c3-82bb-c1253ed861a7.jpg" 2024-09-14 04:43:59.314 Error QuickSingleImageExtractor: QuickSingleImageExtractor.RunExtraction [F84807EEEE12]: Error running quick-extract-image -skip_list 20 -f mp4 -threads 1 -i file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" -an -sn -update 1 -vf "thumbnail=24" -vsync 0 -f image2 "/var/lib/emby/cache/temp/32ab543f-a361-48c3-82bb-c1253ed861a7.jpg" *** Error Report *** Version: 4.9.0.30 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.1.0-25-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT OS/Process: x64/x64 Framework: .NET 8.0.6 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Exception: System.Exception: Error running ffmpeg quick-extract-image for file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" - Command: -skip_list 20 -f mp4 -threads 1 -i file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" -an -sn -update 1 -vf "thumbnail=24" -vsync 0 -f image2 "/var/lib/emby/cache/temp/32ab543f-a361-48c3-82bb-c1253ed861a7.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) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() and 2nd attempt with different options 2024-09-14 04:43:59.316 Error ImageExtraction: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" 2024-09-14 04:43:59.322 Info QuickSingleImageExtractor: ProcessRun 'quick-extract-image' Execute: /opt/emby-server/bin/ffmpeg -skip_list 20 -f mp4 -threads 1 -i file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" -an -sn -update 1 -vsync 0 -f image2 "/var/lib/emby/cache/temp/6a392f63-6b06-4b74-9463-e887bef1134a.jpg" 2024-09-14 04:44:59.334 Error QuickSingleImageExtractor: QuickSingleImageExtractor.RunExtraction [9DC30653E18E]: Error running quick-extract-image -skip_list 20 -f mp4 -threads 1 -i file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" -an -sn -update 1 -vsync 0 -f image2 "/var/lib/emby/cache/temp/6a392f63-6b06-4b74-9463-e887bef1134a.jpg" *** Error Report *** Version: 4.9.0.30 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.1.0-25-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT OS/Process: x64/x64 Framework: .NET 8.0.6 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Data path: /var/lib/emby Application path: /opt/emby-server/system System.Exception: System.Exception: Error running ffmpeg quick-extract-image for file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" - Command: -skip_list 20 -f mp4 -threads 1 -i file:"/export/d1/video/Test/Thumbnail/trimmed2.mp4" -an -sn -update 1 -vsync 0 -f image2 "/var/lib/emby/cache/temp/6a392f63-6b06-4b74-9463-e887bef1134a.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) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() 8 minutes ago, macnb said: I suggested alternative method that is much quicker and more likely to work with any problem some videos Yes - this was referred to the development team - together with the earlier evidence which is the same as in the beta Edited September 16, 2024 by sa2000
antalj 0 Posted March 2, 2025 Posted March 2, 2025 Was this issue resolved? I have the same problem on 4.8.8.0. Some thumbs are generated for certain videos in the same folder as some just don't.
macnb 32 Posted March 2, 2025 Posted March 2, 2025 26 minutes ago, antalj said: Was this issue resolved? I have the same problem on 4.8.8.0. Some thumbs are generated for certain videos in the same folder as some just don't. simply...no. Do not don't your breath
macnb 32 Posted March 6, 2025 Posted March 6, 2025 1 hour ago, Luke said: Hi, we are looking into this. Thanks guys. I think you said that back in Aug 2024. I had already suggested a fix in July 2024. So what are "we" actually looking at ?
Luke 42077 Posted March 7, 2025 Posted March 7, 2025 The problem is in the ffmpeg build, so we are looking into that. Thanks.
Happy2Play 9780 Posted March 7, 2025 Posted March 7, 2025 I guess this topic should be tagged with the platforms it affects as I still don't see this issue.
sa2000 674 Posted March 7, 2025 Posted March 7, 2025 (edited) It is to do with slow systems and specific videos that invoke the bug in image extraction - not platform specific but seen a lot on NAS Edited March 7, 2025 by sa2000
macnb 32 Posted March 7, 2025 Posted March 7, 2025 18 hours ago, Luke said: The problem is in the ffmpeg build, so we are looking into that. Thanks. The fix I suggested works with the FFMPEG that emby uses. That's how I tested it in addition to newer version. So the quick fix is to change emby not FFMPEG.
Luke 42077 Posted March 8, 2025 Posted March 8, 2025 Hi, we have this resolved now. If you need immediate relief, the fix will be in the beta channel in the next build build, which will be 4.9.0.42+. Thanks ! 1
macnb 32 Posted March 8, 2025 Posted March 8, 2025 6 hours ago, Luke said: Hi, we have this resolved now. If you need immediate relief, the fix will be in the beta channel in the next build build, which will be 4.9.0.42+. Thanks ! Thank you. Will check it out
macnb 32 Posted March 30, 2025 Posted March 30, 2025 (edited) I can confirm that 4.9.0.42 beta fixes the issue for me. The test thumbnail video generated the correct thumbnail and others video folders too. Also the speed of thumbnail generation seems somewhat faster. Thanks Edited March 30, 2025 by macnb 1
sa2000 674 Posted April 3, 2025 Posted April 3, 2025 On 31/03/2025 at 01:13, macnb said: I can confirm that 4.9.0.42 beta fixes the issue for me. The test thumbnail video generated the correct thumbnail and others video folders too. Interesting. We have not yet released the version of Emby ffmpeg that has the significant improvements to image extraction times
macnb 32 Posted April 4, 2025 Posted April 4, 2025 17 hours ago, sa2000 said: Interesting. We have not yet released the version of Emby ffmpeg that has the significant improvements to image extraction times Whatever has been changed has made a difference. The key fix is that the beta Emby now extracts the thumbnails from those troublesome videos. The speed of extraction may be subjective as I said it "seems" faster but it could have been my perception. 1
sa2000 674 Posted April 7, 2025 Posted April 7, 2025 On 04/04/2025 at 14:01, macnb said: Whatever has been changed has made a difference. The key fix is that the beta Emby now extracts the thumbnails from those troublesome videos. The speed of extraction may be subjective as I said it "seems" faster but it could have been my perception. Yes the fix appears to have got released in the 4.9.0.43 package for linux platform ! I was checking the windows release
bubblesjs 1 Posted April 10, 2025 Posted April 10, 2025 On 3/2/2025 at 10:47 PM, antalj said: Was this issue resolved? I have the same problem on 4.8.8.0. Some thumbs are generated for certain videos in the same folder as some just don't. Nope, same here.
Luke 42077 Posted April 10, 2025 Posted April 10, 2025 Hi, this is resolved on the 4.9 beta channel if you need immediate relief. Thanks !
sa2000 674 Posted May 1, 2025 Posted May 1, 2025 On 07/04/2025 at 12:23, sa2000 said: Yes the fix appears to have got released in the 4.9.0.43 package for linux platform ! I was checking the windows release The fix has now been released for the other plaforms in Emby Server beta 4.9.0.51
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