Jellyfin Forum
SOLVED: Trickplay generation failing: Trickplay process unresponsive - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification)
+---- Thread: SOLVED: Trickplay generation failing: Trickplay process unresponsive (/t-solved-trickplay-generation-failing-trickplay-process-unresponsive)



Trickplay generation failing: Trickplay process unresponsive - huelsenfruchtzwerg - 2024-06-18

Since a while now (unfortunately I can't say when exactly it started), my jellyfin instance has been unable to generate trickplay images. The following appears in the logs:

Code:
[2024-06-18 13:50:16.163 +02:00] [INF] [11] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-06-18 13:50:16.163 +02:00] [INF] [11] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/config/cache"
[2024-06-18 13:50:24.960 +02:00] [INF] [32] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for "/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv" [ID: f74fb471-0d2a-35fc-bedf-f7624cc4d44c]
[2024-06-18 13:50:24.961 +02:00] [INF] [32] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:\"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 \"/config/cache/temp/dad83175e3aa4bd9ab096d60dafe0b55/%08d.jpg\""
[2024-06-18 13:51:24.962 +02:00] [INF] [21] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay process unresponsive.
[2024-06-18 13:51:24.962 +02:00] [INF] [21] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Stopping trickplay extraction.
[2024-06-18 13:51:25.962 +02:00] [INF] [21] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Killing ffmpeg process
[2024-06-18 13:51:25.963 +02:00] [ERR] [21] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: ffmpeg image extraction failed for "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:\"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 \"/config/cache/temp/dad83175e3aa4bd9ab096d60dafe0b55/%08d.jpg\""
[2024-06-18 13:51:25.963 +02:00] [ERR] [21] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 "/config/cache/temp/dad83175e3aa4bd9ab096d60dafe0b55/%08d.jpg"
  at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnIntervalInternal(String inputArg, String filterParam, String vidEncoder, Nullable`1 outputThreads, Nullable`1 qualityScale, Nullable`1 priority, CancellationToken cancellationToken)
  at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
[2024-06-18 13:51:27.566 +02:00] [INF] [21] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for "/media/videos/anime/Fairy Tail/Specials/Fairy Tail - S00E08 - Fairy Tail x Rave Bluray-1080p.mkv" [ID: 00a34321-9f57-5a64-29ed-61121a92890d]
[2024-06-18 13:51:27.567 +02:00] [INF] [21] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:\"/media/videos/anime/Fairy Tail/Specials/Fairy Tail - S00E08 - Fairy Tail x Rave Bluray-1080p.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 \"/config/cache/temp/71345d126956477daec86db740d4fe0f/%08d.jpg\""
[2024-06-18 13:51:27.616 +02:00] [ERR] [9] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
System.ArgumentException: Can't create trickplay from 0 images.
  at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.CreateTiles(List`1 images, Int32 width, TrickplayOptions options, String outputDir)
  at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
[2024-06-18 13:51:29.140 +02:00] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Generate Trickplay Images" Completed after 1 minute(s) and 4 seconds
[2024-06-18 13:52:20.276 +02:00] [INF] [27] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Saving system configuration
[2024-06-18 13:52:20.276 +02:00] [INF] [27] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/config/cache"
[2024-06-18 13:52:28.865 +02:00] [INF] [9] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for "/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv" [ID: f74fb471-0d2a-35fc-bedf-f7624cc4d44c]
[2024-06-18 13:52:28.865 +02:00] [INF] [9] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:\"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 \"/config/cache/temp/3a31cd47f6544988b083a1fa5415c0e6/%08d.jpg\""
[2024-06-18 13:53:48.871 +02:00] [INF] [31] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay process unresponsive.
[2024-06-18 13:53:48.871 +02:00] [INF] [31] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Stopping trickplay extraction.
[2024-06-18 13:53:49.871 +02:00] [INF] [31] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Killing ffmpeg process
[2024-06-18 13:53:49.871 +02:00] [ERR] [31] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: ffmpeg image extraction failed for "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:\"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 \"/config/cache/temp/3a31cd47f6544988b083a1fa5415c0e6/%08d.jpg\""
[2024-06-18 13:53:49.872 +02:00] [ERR] [31] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 "/config/cache/temp/3a31cd47f6544988b083a1fa5415c0e6/%08d.jpg"
  at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnIntervalInternal(String inputArg, String filterParam, String vidEncoder, Nullable`1 outputThreads, Nullable`1 qualityScale, Nullable`1 priority, CancellationToken cancellationToken)
  at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
[2024-06-18 13:53:51.601 +02:00] [INF] [31] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for "/media/videos/anime/Fairy Tail/Specials/Fairy Tail - S00E08 - Fairy Tail x Rave Bluray-1080p.mkv" [ID: 00a34321-9f57-5a64-29ed-61121a92890d]
[2024-06-18 13:53:51.601 +02:00] [INF] [31] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:\"/media/videos/anime/Fairy Tail/Specials/Fairy Tail - S00E08 - Fairy Tail x Rave Bluray-1080p.mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 \"/config/cache/temp/40832cb4edec44fc9e2f47f6e1416804/%08d.jpg\""
[2024-06-18 13:53:51.687 +02:00] [ERR] [31] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
System.ArgumentException: Can't create trickplay from 0 images.
  at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.CreateTiles(List`1 images, Int32 width, TrickplayOptions options, String outputDir)
  at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, CancellationToken cancellationToken)
[2024-06-18 13:53:53.163 +02:00] [INF] [31] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Generate Trickplay Images" Completed after 1 minute(s) and 25 seconds

I've tried both with hw encoding enabled and disabled, but the result doesn't change. I verfied during generation that the output directory is created and populated with jpgs.


I'm using the official docker container, with the following docker-compose configuration:
Code:
  jellyfin:
    image: jellyfin/jellyfin
    user: $PUID:$PGID
    devices:
      - /dev/dri:/dev/dri
    container_name: jellyfin
    network_mode: host
    environment:
      - JELLYFIN_DATA_DIR=/config/data #Uncomment for Jellyfin Images
      - JELLYFIN_CONFIG_DIR=/config #Uncomment for Jellyfin Images
      - JELLYFIN_LOG_DIR=/config/log #Uncomment for Jellyfin Images
      - JELLYFIN_CACHE_DIR=/config/cache #Uncomment for Jellyfin Images
      - TZ=$TZ
      - UMASK="022"
      - JELLYFIN_PublishedServerUrl=<snip>
    volumes:
      - ./jellyfin/config:/config
      - ./jellyfin/cache:/cache
      - $MEDIA_DIR:/media
    restart: unless-stopped

I was unfortunately unable to find any instance of this problem being discussed anywhere, so any help is appreciated.


RE: Trickplay generation failing: Trickplay process unresponsive - TheDreadPirate - 2024-06-18

Did you enable hardware acceleration in the trickplay settings? In your docker compose I don't see the group_add variable. If you are using hardware acceleration you need to make sure that you've properly setup the GPU passthrough, which includes passing in the group ID for the render group.


RE: Trickplay generation failing: Trickplay process unresponsive - huelsenfruchtzwerg - 2024-06-18

The user jellyfin runs as has access to the dri device, and hardware acceleration works for normal playback.
But either way, as I mentioned in the initial post, the behaviour is the same whether I enable or disable hw acceleration for trickplay, and the log I posted is without hw acceleration.


RE: Trickplay generation failing: Trickplay process unresponsive - TheDreadPirate - 2024-06-18

Open a bash shell for the container and manually run this command. Can you share the output via pastebin?

Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 8 -noautorotate -i file:"/media/videos/movies/Doctor Strange (2016)/Doctor Strange (2016) Remux-1080p.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 8 -c:v mjpeg -qscale:v 4 -f image2 "/config/cache/temp/dad83175e3aa4bd9ab096d60dafe0b55/%08d.jpg"



RE: Trickplay generation failing: Trickplay process unresponsive - huelsenfruchtzwerg - 2024-06-18

Good idea!

It shows a whole lot of errors:
Code:
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 6
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2795b00] reference count overflow
[h264 @ 0x55fee2795b00] decode_slice_header error
[h264 @ 0x55fee2795b00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27aa440] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b1aec0] illegal modification_of_pic_nums_idc 6
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b2f440] reference count overflow
[h264 @ 0x55fee2b2f440] decode_slice_header error
[h264 @ 0x55fee2b2f440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee26d0d00] illegal modification_of_pic_nums_idc 5
[h264 @ 0x55fee26d0d00] decode_slice_header error
[h264 @ 0x55fee26d0d00] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 5
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27bfd40] Reference 2 >= 2
[h264 @ 0x55fee27bfd40] error while decoding MB 2 0, bytestream 28377
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27c5980] reference count overflow
[h264 @ 0x55fee27c5980] decode_slice_header error
[h264 @ 0x55fee27c5980] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27da280] reference count overflow
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] no frame!
[NULL @ 0x55fee26b9980] reference count 3 overflow
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2795b00] reference count overflow
[h264 @ 0x55fee2795b00] decode_slice_header error
[h264 @ 0x55fee2795b00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27aa440] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b1aec0] reference count overflow
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b2f440] illegal modification_of_pic_nums_idc 32
[h264 @ 0x55fee2b2f440] decode_slice_header error
[h264 @ 0x55fee2b2f440] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 6
[h264 @ 0x55fee26d0d00] co located POCs unavailable
[h264 @ 0x55fee26d0d00] Reference 3 >= 2
[h264 @ 0x55fee26d0d00] error while decoding MB 35 0, bytestream 10014
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27bfd40] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27c5980] illegal modification_of_pic_nums_idc 6
[h264 @ 0x55fee27c5980] decode_slice_header error
[h264 @ 0x55fee27c5980] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27da280] reference overflow 58 > 15 or 1 > 15
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 27
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2795b00] reference count overflow
[h264 @ 0x55fee2795b00] decode_slice_header error
[h264 @ 0x55fee2795b00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27aa440] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b1aec0] illegal modification_of_pic_nums_idc 27
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
[h264 @ 0x55fee2b2f440] cabac_init_idc 5 overflow
[h264 @ 0x55fee2b2f440] decode_slice_header error
[h264 @ 0x55fee2b2f440] no frame!
[NULL @ 0x55fee26b9980] reference count 2 overflow
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee26d0d00] illegal modification_of_pic_nums_idc 32
[h264 @ 0x55fee26d0d00] decode_slice_header error
[h264 @ 0x55fee26d0d00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27bfd40] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27c5980] reference count overflow
[h264 @ 0x55fee27c5980] decode_slice_header error
[h264 @ 0x55fee27c5980] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27da280] reference overflow 2 > 15 or 26 > 15
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 12
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2795b00] illegal modification_of_pic_nums_idc 5
[h264 @ 0x55fee2795b00] decode_slice_header error
[h264 @ 0x55fee2795b00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27aa440] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b1aec0] illegal modification_of_pic_nums_idc 12
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b2f440] reference count overflow
[h264 @ 0x55fee2b2f440] decode_slice_header error
[h264 @ 0x55fee2b2f440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee26d0d00] reference count overflow
[h264 @ 0x55fee26d0d00] decode_slice_header error
[h264 @ 0x55fee26d0d00] no frame!
[NULL @ 0x55fee26b9980] reference count 3 overflow
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27bfd40] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27c5980] reference count overflow
[h264 @ 0x55fee27c5980] decode_slice_header error
[h264 @ 0x55fee27c5980] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27da280] illegal modification_of_pic_nums_idc 4
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] no frame!
[NULL @ 0x55fee26b9980] reference count 3 overflow
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2795b00] illegal modification_of_pic_nums_idc 14
[h264 @ 0x55fee2795b00] decode_slice_header error
[h264 @ 0x55fee2795b00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27aa440] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b1aec0] reference count overflow
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] no frame!
[NULL @ 0x55fee26b9980] illegal reordering_of_pic_nums_idc 8
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee2b2f440] reference count overflow
[h264 @ 0x55fee2b2f440] decode_slice_header error
[h264 @ 0x55fee2b2f440] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee26d0d00] reference count overflow
[h264 @ 0x55fee26d0d00] decode_slice_header error
[h264 @ 0x55fee26d0d00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27bfd40] illegal modification_of_pic_nums_idc 8
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x55fee27c5980] reference count overflow
[h264 @ 0x55fee27c5980] decode_slice_header error
[h264 @ 0x55fee27c5980] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 6 times
[matroska,webm @ 0x55fee269c0c0] Element at 0x350c02bf7 ending at 0x5b663a4b8 exceeds containing master element ending at 0x350d6c003
[h264 @ 0x55fee27bfd40] reference overflow 3 > 15 or 37 > 15
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] reference overflow 3 > 15 or 37 > 15
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] reference overflow 3 > 15 or 37 > 15
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] reference overflow 3 > 15 or 37 > 15
[h264 @ 0x55fee27bfd40] decode_slice_header error
[h264 @ 0x55fee27bfd40] no frame!
[NULL @ 0x55fee26b9980] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee27c5980] chroma_log2_weight_denom 32 is out of range
[NULL @ 0x55fee26b9980] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee27c5980] top block unavailable for requested intra mode
[h264 @ 0x55fee27c5980] error while decoding MB 26 0, bytestream 26724
[h264 @ 0x55fee27c5980] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee27da280] reference overflow 5 > 15 or 37 > 15
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] reference overflow 5 > 15 or 37 > 15
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] reference overflow 5 > 15 or 37 > 15
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] reference overflow 5 > 15 or 37 > 15
[h264 @ 0x55fee27da280] decode_slice_header error
[h264 @ 0x55fee27da280] no frame!
[h264 @ 0x55fee2795b00] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee27c5980] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee27aa440] mmco: unref short failure
[h264 @ 0x55fee27aa440] illegal short term buffer state detected
[h264 @ 0x55fee27c5980] top block unavailable for requested intra mode -1
[h264 @ 0x55fee27c5980] error while decoding MB 2 34, bytestream 54972
[h264 @ 0x55fee27c5980] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee27c5980] deblocking_filter_idc 6 out of range
[h264 @ 0x55fee27c5980] decode_slice_header error
[h264 @ 0x55fee27aa440] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee27aa440] decode_slice_header error
[h264 @ 0x55fee27aa440] no frame!
[h264 @ 0x55fee2b1aec0] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] reference overflow 1 > 15 or 154 > 15
[h264 @ 0x55fee2b1aec0] decode_slice_header error
[h264 @ 0x55fee2b1aec0] no frame!
[h264 @ 0x55fee2795b00] chroma_log2_weight_denom 32 is out of range
[h264 @ 0x55fee2795b00] top block unavailable for requested intra mode -1
[h264 @ 0x55fee2795b00] error while decoding MB 25 17, bytestream 54059
[h264 @ 0x55fee2795b00] chroma_log2_weight_denom 32 is out of range
    Last message repeated 1 times
[h264 @ 0x55fee2795b00] deblocking_filter_idc 4 out of range
[h264 @ 0x55fee2795b00] decode_slice_header error
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 3 times
[matroska,webm @ 0x55fee269c0c0] 0x00 at pos 14348816571 (0x3574190bb) invalid as first byte of an EBML number
[h264 @ 0x55fee2b1aec0] Invalid NAL unit size (0 > 88763).
[h264 @ 0x55fee2b1aec0] Error splitting the input into NAL units.
Error while decoding stream #0:0: Invalid data found when processing input
[matroska,webm @ 0x55fee269c0c0] Length 5 indicated by an EBML number's first byte 0x0b at pos 14982055240 (0x37d000548) exceeds max length 4.
[matroska,webm @ 0x55fee269c0c0] Element at 0x37d24673f ending at 0x37d41fd49 exceeds containing master element ending at 0x37d35971f
[h264 @ 0x55fee26d0d00] Invalid NAL unit size (1580257627 > 154602).
[h264 @ 0x55fee26d0d00] Error splitting the input into NAL units.
[h264 @ 0x55fee27bfd40] co located POCs unavailable
[h264 @ 0x55fee27da280] co located POCs unavailable
(that's just a small excerpt, it keeps going). All the while it still keeps producing jpg thumbnails, but at some point it slows to a crawl.

So I suppose the file is somehow broken/encoded weirdly (funnily enough playback in jellyfin works just fine). Will try replacing it and see if that helps.


RE: Trickplay generation failing: Trickplay process unresponsive - huelsenfruchtzwerg - 2024-06-18

That was indeed it, thank you. Smiling-face


RE: Trickplay generation failing: Trickplay process unresponsive - nosni.kladis - 2024-07-22

(2024-06-18, 07:19 PM)huelsenfruchtzwerg Wrote: That was indeed it, thank you. Smiling-face


How did you solve it? I have the same problem.