Jump to content


Photo

Problem with Thumbnail Creation


  • Please log in to reply
11 replies to this topic

#1 Bigmack3000 OFFLINE  

Bigmack3000

    Advanced Member

  • Members
  • 63 posts
  • Local time: 08:27 PM

Posted 08 November 2019 - 08:00 PM

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?



#2 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 16076 posts
  • Local time: 08:27 PM
  • LocationWashington State

Posted 08 November 2019 - 10:51 PM

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



#3 Bigmack3000 OFFLINE  

Bigmack3000

    Advanced Member

  • Members
  • 63 posts
  • Local time: 08:27 PM

Posted 09 November 2019 - 03:14 AM

Okay, I found the path for the cache folder, but nothing happens when I click it?



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139864 posts
  • Local time: 11:27 PM

Posted 09 November 2019 - 10:35 AM

Did you look at the contents?

#5 Bigmack3000 OFFLINE  

Bigmack3000

    Advanced Member

  • Members
  • 63 posts
  • Local time: 08:27 PM

Posted 09 November 2019 - 07:58 PM

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?



#6 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 16076 posts
  • Local time: 08:27 PM
  • LocationWashington State

Posted 09 November 2019 - 08:10 PM

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.



#7 Bigmack3000 OFFLINE  

Bigmack3000

    Advanced Member

  • Members
  • 63 posts
  • Local time: 08:27 PM

Posted 09 November 2019 - 08:14 PM

so that path leads to somewhere on my Synology?



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139864 posts
  • Local time: 11:27 PM

Posted 09 November 2019 - 08:17 PM

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



#9 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 16076 posts
  • Local time: 08:27 PM
  • LocationWashington State

Posted 09 November 2019 - 08:21 PM

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



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139864 posts
  • Local time: 11:27 PM

Posted 09 November 2019 - 08:22 PM

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



#11 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 16076 posts
  • Local time: 08:27 PM
  • LocationWashington State

Posted 09 November 2019 - 08:45 PM

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()


#12 Bigmack3000 OFFLINE  

Bigmack3000

    Advanced Member

  • Members
  • 63 posts
  • Local time: 08:27 PM

Posted 09 November 2019 - 10:14 PM

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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users