Jump to content

Video Preview Thumbnail Extraction not working in 4.9.1.90 - Docker


Recommended Posts

Posted
  • Describe the problem in your own words, including what you're trying to accomplish, and where you're getting stuck. Please mention some specific examples.
    • I am trying to perform the video preview thumbnail extraction in 4.9.1.90.  I am running the Docker version of Emby Server on a Ubuntu Linux box.

      Here is my docker-compose file:
      services:
        embyserver:
          image: emby/embyserver:latest
          container_name: embyserver
          volumes:
            - /home/emby/docker_emby_linuxserver:/config
            - /home/emby/Television:/mnt/television_default
            - /home/emby/Television2:/mnt/television1
            - /home/emby/Movies:/mnt/movies
            - /home/emby/Movies2:/mnt/movies2
            - /home/emby/camera_backup:/mnt/camera_backup
            - /home/emby/camera_backup_old:/mnt/camera_backup_old
            - /home/emby/photo:/mnt/photo
            - /home/emby/audiobooks:/mnt/audiobooks
            - /home/emby:/home/emby
          ports:
            - 8096:8096
            - 8920:8920
          environment:
            - UID=1001
            - GID=1001
            - GIDLIST=44,993
          devices:
            - /dev/dri:/dev/dri
          restart: on-failure
  • In your description, be very specific about the steps you took and what happened with the system.  Describe it like you are talking to a blind person - because you are. We cannot see what you did or what happened so be as specific as possible.
    • I am seeing a lot of these errors in the embyserver.txt logs:
      2025-11-19 15:23:26.220 Error QuickImageSeriesExtractor: QuickImageSeriesExtractor.RunExtraction [C9249D20B393]: Error running quick-extract-imageseries -f mpegts -threads 1 -skip_interval 10 -i fi
      le:"/mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts" -an -sn -vf "scale=w=320:h=180" -f image2 -b:v 100M "/config/cache/temp/5d7d095c551c436eb7f4632b4ecc301d/img_
      %05d.jpg"
              *** Error Report ***
              Version: 4.9.1.90
              Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
              Operating system: Linux version 6.8.0-87-generic (buildd@lcy02-amd64-034) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubunt
              OS/Process: x64/x64
              Framework: .NET 8.0.11
              Runtime: system/System.Private.CoreLib.dll
              Processor count: 8
              Data path: /config
              Application path: /system
              System.Exception: System.Exception: Error running ffmpeg quick-extract-imageseries for /mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts - Command: -f mpegt
      s -threads 1 -skip_interval 10 -i file:"/mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts" -an -sn -vf "scale=w=320:h=180" -f image2 -b:v 100M "/config/cache/temp/5
      d7d095c551c436eb7f4632b4ecc301d/img_%05d.jpg"
                 at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractorBase.RunExtraction(String inputPath, IDictionary`2 requestHeaders, Nullable`1 container, MediaStream videoStream, Nullable`1 pr
      otocol, Nullable`1 streamIndex, Nullable`1 threedFormat, Nullable`1 startOffset, Nullable`1 interval, String targetDirectory, String targetFilename, Nullable`1 maxWidth, Boolean enableThumbnailFilt
      er, CancellationToken cancellationToken)
              Source: Emby.Server.MediaEncoding
              TargetSite: Void MoveNext()
      
      2025-11-19 15:23:26.220 Error QuickImageSeriesExtractor: ProcessRun 'quick-extract-imageseries' Error Output:
              ffmpeg version 5.1-emby_2023_06_25_p4 Copyright (c) 2000-2022 the FFmpeg developers and softworkz for Emby LLC
                built with gcc 10.3.0 (crosstool-NG 1.25.0)
              Execution Date: 2025-11-19 14:53:26
              [mpeg2video @ 0x12961a80] Invalid frame dimensions 0x0.
                  Last message repeated 24 times
              [mpegts @ 0x12941740] PES packet size mismatch
              [mpegts @ 0x12941740] Packet corrupt (stream = 1, dts = 4004186188).
              Input #0, mpegts, from 'file:/mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts':
                Duration: 00:34:58.46, start: 42393.197644, bitrate: 7816 kb/s
                Program 3
                Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], Closed Captions, Level 4, 59.94 fps, 59.94 tbr, 90k tbn, Start-Time 42393.591s
                  Side data:
                    cpb: bitrate max/min/avg: 11716800/0/0 buffer size: 7995392 vbv_delay: N/A
                Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s, Start-Time 42393.198s
              Stream mapping:
                Stream #0:0 -> #0:0 (mpeg2video (native) -> mjpeg (native))
              Press [q] to stop, [?] for help
       [swscaler @ 0x12c10080] [swscaler @ 0x12a3cc40] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12bd2d40] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12c20d80] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12d4b400] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12d7c880] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12c34980] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12a63840] deprecated pixel format used, make sure you did set range correctly
              [swscaler @ 0x12c10080] [swscaler @ 0x12d22280] deprecated pixel for
      2025-11-19 15:23:32.865 Error ChapterImagesTask: Error creating thumbnails for /mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts
              *** Error Report ***
              Version: 4.9.1.90
              Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
              Operating system: Linux version 6.8.0-87-generic (buildd@lcy02-amd64-034) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubunt
              OS/Process: x64/x64
              Framework: .NET 8.0.11
              Runtime: system/System.Private.CoreLib.dll
              Processor count: 8
              Data path: /config
              Application path: /system
              System.Exception: System.Exception: Error running ffmpeg quick-extract-imageseries for /mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts - Command: -f mpegts -threads 1 -skip_interval 10 -i file:"/mnt/television1/Modern Family/Season 5/Modern Family S05E19 A Hard Jay's Night.ts" -an -sn -vf "scale=w=320:h=180" -f image2 -b:v 100M "/config/cache/temp/5d7d095c551c436eb7f4632b4ecc301d/img_%05d.jpg"
                 at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractorBase.RunExtraction(String inputPath, IDictionary`2 requestHeaders, 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)
                 at Emby.Providers.MediaInfo.ThumbnailGenerator.CreateThumbnailSet(Video item, String inputPath, MediaProtocol protocol, Nullable`1 mediaContainer, IDictionary`2 requestHeaders, MediaStream videoStream, LibraryOptions libraryOptions, Int32 width, CancellationToken cancellationToken)
                 at Emby.Providers.MediaInfo.ThumbnailGenerator.CreateThumbnailSets(Video item, String inputPath, MediaProtocol protocol, Nullable`1 mediaContainer, IDictionary`2 requestHeaders, MediaStream videoStream, LibraryOptions libraryOptions, CancellationToken cancellationToken)
                 at Emby.Providers.MediaInfo.ThumbnailGenerator.RefreshThumbnailImages(Video item, MediaSourceInfo mediaSource, MediaStream videoStream, LibraryOptions libraryOptions, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean replaceExistingImages, Boolean saveChapters, CancellationToken cancellationToken)
              Source: Emby.Server.MediaEncoding
              TargetSite: Void MoveNext()

      The process for creating the thumbnails never finishes and eventually times out.  Any new recordings do not have chapter images or thumbnail images for fast-forwarding.

    • I've attached the embyserver.txt and the errors are towards the bottom of the file.  

    • If I go back a version, this does not happen and the thumbnail generation is fine.

embyserver.txt

Posted

Hi, we'll take a look at it. Thanks.

  • Like 1

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