Jump to content

Home videos no longer gets generated thumbnail image (video poster)


Recommended Posts

Posted
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?

Posted
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

Posted (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 by sa2000
  • 5 months later...
Posted

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. 

Posted
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

Posted

Hi, we are looking into this. Thanks guys.

Posted
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 ?

Posted

The problem is in the ffmpeg build, so we are looking into that. Thanks.

Happy2Play
Posted

I guess this topic should be tagged with the platforms it affects as I still don't see this issue.

Posted (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 by sa2000
Posted
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.

Posted

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 !

  • Like 1
Posted
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

  • 4 weeks later...
Posted (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 by macnb
  • Thanks 1
Posted
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

 

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

  • Thanks 1
Posted
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
Posted
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.

Posted

Hi, this is resolved on the 4.9 beta channel if you need immediate relief. Thanks !

  • 3 weeks later...
sa2000
Posted
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

 

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