Jump to content

Problem with Thumbnail Creation


Bigmack3000

Recommended Posts

Bigmack3000

Oddly, one film will not create chapter thumbnails.  I've removed it from the library, re scanned, then added it back in, and scanned again.  But still, thumbnails aren't created for it.  The file itself has chapters and plays fine.  Is there a way to force a file to create thumbnails outside of the scheduled tasks?

Link to comment
Share on other sites

Happy2Play

Is there by chance a "thumbnail-failures.txt" in your Emby cache folder?  You can see your Emby cache path on the Dashboard.

Link to comment
Share on other sites

Bigmack3000

5dc752501910c_ScreenShot20191109at65444P

 

Sorry, this is probably staring me in the face.  Here is what I see in my dashboard, but nothing happens when I click on cache.  Am I supposed to copy and paste that link somewhere?

Link to comment
Share on other sites

Happy2Play

I don't know other OSes besides Windows, but you would have to navigate to that path to see the content.  The Dashboard it just showing you the location.

Link to comment
Share on other sites

Happy2Play

@@Luke I guess the real question is do the items on the "thumbnail-failures.txt" ever get retried?   Or is this a user requirement to delete this file?

Link to comment
Share on other sites

Happy2Play

If the video file is ever modified, then it will retry.

Okay so once the item is on the list it would be a matter of trying to figure out why it failed in the first place.  I would assume one would have to catch this and provide the perspective logs.

 

Not to hijack OPs issue, I have a txt file full of avi (88) and mp4 (27) files, but pulling the item up in UI still shows chapter images.  Library set to Chapter Markers.  But one that I checked only had the first image.  Only checked a handful.

 

I deleted the txt file last night and search todays log

 

here are two examples

2019-11-09 01:00:19.511 Info TaskManager: Scheduled task Thumbnail image extraction will run with a time limit of 240 minutes
2019-11-09 01:00:40.369 Info MediaEncoder: ProcessRun 'extract-image' Execute: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -ss 01:20:00.000  -f avi -i file:"Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2,thumbnail=24" -f image2 "Y:\Emby\cache\temp\b622e7e7-ed59-41d9-be59-b5c3d923aa9d.jpg"
2019-11-09 01:00:40.369 Info MediaEncoder: ProcessRun 'extract-image' Started.
2019-11-09 01:00:41.087 Info MediaEncoder: ProcessRun 'extract-image' Process exited with code 0
2019-11-09 01:00:41.103 Error MediaEncoder: ffmpeg image extraction failed for file:"Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi" (output file not found)
2019-11-09 01:00:41.103 Error MediaEncoder: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi"
2019-11-09 01:00:41.103 Info MediaEncoder: ProcessRun 'extract-image' Execute: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -ss 01:20:00.000  -f avi -i file:"Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2" -f image2 "Y:\Emby\cache\temp\30a69ced-43a6-496e-b061-bb07674c6e74.jpg"
2019-11-09 01:00:41.103 Info MediaEncoder: ProcessRun 'extract-image' Started.
2019-11-09 01:00:41.758 Info MediaEncoder: ProcessRun 'extract-image' Process exited with code 0
2019-11-09 01:00:41.758 Error MediaEncoder: ffmpeg image extraction failed for file:"Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi" (output file not found)
2019-11-09 01:00:41.758 Error ChapterImagesTask: Error extracting chapter images for Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi
	*** Error Report ***
	Version: 4.2.1.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
	System.Exception: System.Exception: ffmpeg image extraction failed for file:"Z:\ServerFolders\Videos\Movies\C\Christmas with a Capital C (2011)\Christmas with a Capital C (2011).avi" (output file not found)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.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.Encoder.MediaEncoder.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 MediaBrowser.Providers.MediaInfo.ThumbnailGenerator.RefreshChapterImages(Video item, ReadOnlyMemory`1 inputPath, MediaProtocol protocol, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean saveChapters, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
2019-11-09 01:57:30.167 Info MediaEncoder: ProcessRun 'extract-image' Execute: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -ss 01:45:00.000  -f mp4 -i file:"Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2,thumbnail=24" -f image2 "Y:\Emby\cache\temp\26ea0806-ef4f-467b-b86d-3e4d534d5dce.jpg"
2019-11-09 01:57:30.167 Info MediaEncoder: ProcessRun 'extract-image' Started.
2019-11-09 01:57:30.588 Info MediaEncoder: ProcessRun 'extract-image' Process exited with code 0
2019-11-09 01:57:30.682 Error MediaEncoder: ffmpeg image extraction failed for file:"Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4" (output file not found)
2019-11-09 01:57:30.682 Error MediaEncoder: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4"
2019-11-09 01:57:30.682 Info MediaEncoder: ProcessRun 'extract-image' Execute: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -ss 01:45:00.000  -f mp4 -i file:"Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2" -f image2 "Y:\Emby\cache\temp\472baf38-d1a2-4911-b9ca-dd9ebf7793d9.jpg"
2019-11-09 01:57:30.682 Info MediaEncoder: ProcessRun 'extract-image' Started.
2019-11-09 01:57:30.994 Info MediaEncoder: ProcessRun 'extract-image' Process exited with code 0
2019-11-09 01:57:31.197 Error MediaEncoder: ffmpeg image extraction failed for file:"Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4" (output file not found)
2019-11-09 01:57:31.197 Error ChapterImagesTask: Error extracting chapter images for Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4
	*** Error Report ***
	Version: 4.2.1.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
	System.Exception: System.Exception: ffmpeg image extraction failed for file:"Z:\ServerFolders\Videos\Movies\F\Fantastic Four Collection\Fantastic Four (2005)\Fantastic Four (2005).mp4" (output file not found)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.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.Encoder.MediaEncoder.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 MediaBrowser.Providers.MediaInfo.ThumbnailGenerator.RefreshChapterImages(Video item, ReadOnlyMemory`1 inputPath, MediaProtocol protocol, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean saveChapters, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
Link to comment
Share on other sites

Bigmack3000

Yes you'd have to browse the file system and locate the file. 

 

Ok thanks.  I'll make a new post in the Synology thread then to see if someone can point me to it.

Link to comment
Share on other sites

  • 3 weeks later...
Bigmack3000

So, even though I tried removing the folder and adding it back in, I somehow never opened the actual folder.  When . I did so today, I found a random .bif file in there?  No other folder has a bif file and no other film is having this problem.  Could this have been the problem?

Link to comment
Share on other sites

If you enabled thumbnail image extraction, and if you enabled saving thumbnails to media folders, then that's why you got the .bif file.

Link to comment
Share on other sites

Bigmack3000

Hmm, that is the setup I have, but no other movie folder contains a bif file.  Also, I removed the one from the affected folder, and now that film has populated thumbnails, but did not repopulate the bif file.

Link to comment
Share on other sites

Either you turned off saving to media folders or the server is being denied write access and therefore only saving them internally.

Link to comment
Share on other sites

No. We'd have to look at the emby server log during the time of the attempt to create thumbnails in order to tell what happened. Try adding a new video and then let's see what happens with that. Thanks.

Link to comment
Share on other sites

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