Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: HW Decoding not working #11626

Closed
1 task done
FML128 opened this issue May 14, 2024 · 9 comments
Closed
1 task done

[Issue]: HW Decoding not working #11626

FML128 opened this issue May 14, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@FML128
Copy link

FML128 commented May 14, 2024

Please describe your bug

It seems that the hardware decoding in particular is not working. (infinite loading)

Encoding seems to work just fine.

Reproduction Steps

  1. enable hw decoding (encoding and co is already active)
  2. load video (i tested x264 + x265)

Jellyfin Version

10.9.0

if other:

10.9.1

Environment

- OS: Arch based distribution
- Linux Kernel: 6.8.9-arch1-1
- Virtualization: Docker
- Clients: Browser
- Browser: Brave
- FFmpeg Version: latest official docker
- Playback Method: Transcode
- Hardware Acceleration: QSV
- GPU Model: Arc A770
- Plugins: AniDB, AudioDB, Cover Art Archive, Fanart, InfuseSync, Kitsu, Kodi Sync Queue, LDAP-Auth, MusicBrainz, OMDb, Playback Reporting, Reports, SSO-Auth, Session Cleaner, Studio Images, TMDb, TMDb Box Sets, TV Maze, TheTVDB, VGMdb
- Reverse Proxy: Traefik v2
- Base URL: none
- Networking: Reverse proxy non host
- Storage: local

Jellyfin logs

[2024-05-14 08:09:19.410 +00:00] [INF] [52] Emby.Server.Implementations.IO.LibraryMonitor: "movies" ("/media/movies") will be refreshed.
[2024-05-14 08:09:19.978 +00:00] [INF] [82] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Movie", Name: "Fingernails", Path: "/media/movies/Fingernails (2023) [imdbid-tt13968674]/Fingernails (2023) [imdbid-tt13968674] - [WEBDL-2160p][EAC3 Atmos 5.1][h265]-HUZZAH.mkv", Id: 214676c4-68ae-c2ee-6b21-69318ea943dd
[2024-05-14 08:09:20.012 +00:00] [INF] [101] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Field of Dreams (1989)/Field of Dreams (1989) [imdb-tt0097351][Bluray-2160p][bit][]]-PHOCiS.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.024 +00:00] [INF] [177] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Only the Brave (2017)/Only the Brave (2017) [imdb-tt3829920][DoVi][Remux-2160p][bit][]]-FraMeSToR.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.025 +00:00] [INF] [70] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Disappearance at Clifton Hill (2020)/Disappearance at Clifton Hill (2020) [imdb-tt5919756][WEBDL-1080p][8bit][h264][EAC3 5.1]-NTG.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.029 +00:00] [INF] [76] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Hunger Games (2012)/The Hunger Games (2012) [imdbid-tt1392170] - [Bluray-2160p][HDR10][TrueHD Atmos 7.1][x265]-CtrlHD.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.080 +00:00] [INF] [95] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Darkest Hour (2017)/Darkest Hour (2017) [imdb-tt4555426][Remux-2160p][bit][]]-4K4U.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.080 +00:00] [INF] [113] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Fingernails (2023) [imdbid-tt13968674]/Fingernails (2023) [imdbid-tt13968674] - [WEBDL-2160p][DV HDR10Plus][EAC3 Atmos 5.1][HEVC]-CiUHD.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.082 +00:00] [INF] [82] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Olympus Has Fallen (2013)/Olympus Has Fallen (2013) [imdb-tt2302755][Hybrid DoVi][Remux-2160p][bit][]]-FraMeSToR.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.095 +00:00] [INF] [41] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Ghostbusters (1984)/Ghostbusters (1984) [imdb-tt0087332][DoVi][Remux-2160p][bit][]]-FraMeSToR.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.098 +00:00] [INF] [169] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Jerry and Marge Go Large (2022)/Jerry and Marge Go Large (2022) [imdbid-tt8323668] - [PMTP][WEBDL-2160p]-HONE.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.146 +00:00] [ERR] [135] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-14 08:09:20.162 +00:00] [ERR] [76] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-14 08:09:20.226 +00:00] [ERR] [76] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-14 08:09:20.229 +00:00] [INF] [170] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Mother (2023)/The Mother (2023) [imdb-tt6968614][WEBDL-2160p][HDR][10bit][x265][EAC3 Atmos 5.1]-CM.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.229 +00:00] [INF] [169] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Mother (2023)/The Mother (2023) [imdb-tt6968614][WEBDL-1080p][8bit][x264][EAC3 Atmos 5.1]-CMRG.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-14 08:09:20.237 +00:00] [INF] [169] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Hunger Games (2012)/The Hunger Games (2012) [imdbid-tt1392170] - [Bluray-2160p][HDR10][TrueHD Atmos 7.1][x265]-CtrlHD.en.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-05-14 08:09:20.257 +00:00] [ERR] [170] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-14 08:09:20.271 +00:00] [ERR] [76] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-14 08:09:20.272 +00:00] [INF] [170] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/Disappearance at Clifton Hill (2020)/Disappearance at Clifton Hill (2020) [imdb-tt5919756][WEBDL-1080p][8bit][h264][EAC3 5.1]-NTG.en.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-05-14 08:09:20.288 +00:00] [ERR] [135] MediaBrowser.Providers.MediaInfo.SubtitleResolver: Error getting external streams from "/media/movies/Disappearance at Clifton Hill (2020)/Disappearance at Clifton Hill (2020) [imdb-tt5919756][WEBDL-1080p][8bit][h264][EAC3 5.1]-NTG.en.srt"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.MediaInfoResolver.GetExternalStreamsAsync(Video video, Int32 startIndex, IDirectoryService directoryService, Boolean clearCache, CancellationToken cancellationToken)
[2024-05-14 08:09:20.323 +00:00] [ERR] [169] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-14 08:09:20.331 +00:00] [INF] [170] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Mother (2023)/The Mother (2023) [imdb-tt6968614][WEBDL-2160p][HDR][10bit][x265][EAC3 Atmos 5.1]-CM.en.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-05-14 08:09:20.434 +00:00] [INF] [135] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Mother (2023)/The Mother (2023) [imdb-tt6968614][WEBDL-1080p][8bit][x264][EAC3 Atmos 5.1]-CMRG.en.forced.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-05-14 08:09:20.444 +00:00] [INF] [76] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Mother (2023)/The Mother (2023) [imdb-tt6968614][WEBDL-1080p][8bit][x264][EAC3 Atmos 5.1]-CMRG.en.forced.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-05-14 08:09:20.454 +00:00] [INF] [76] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/movies/The Mother (2023)/The Mother (2023) [imdb-tt6968614][WEBDL-1080p][8bit][x264][EAC3 Atmos 5.1]-CMRG.en.srt\" -threads 0 -v warning -print_format json -show_streams -show_format"
[2024-05-14 08:09:21.281 +00:00] [INF] [76] Emby.Server.Implementations.IO.LibraryMonitor: "Season 7" ("/media/shows/The Blacklist (2013)/Season 07") will be refreshed.

FFmpeg logs

{"Protocol":0,"Id":"dd40f03ca2abb9f12bb763ade1bb2ce8","Path":"/media/shows/Brooklyn Nine-Nine (2013)/Season 06/Brooklyn Nine-Nine (2013) - S06E15 - [AMZN WEBDL-1080p][bit]-NTb.mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":1655087928,"Name":"Brooklyn Nine-Nine (2013) - S06E15 - [AMZN WEBDL-1080p][bit]-NTb","IsRemote":false,"ETag":"f708eea8cd21dbcb15e10240e3d8dd66","RunTimeTicks":12898880000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"subrip","CodecTag":null,"Language":"ger","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"Ger - SUBRIP - External","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":0,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/media/shows/Brooklyn Nine-Nine (2013)/Season 06/Brooklyn Nine-Nine (2013) - S06E15 - [AMZN WEBDL-1080p][bit]-NTb.de.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP - External","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":true,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/media/shows/Brooklyn Nine-Nine (2013)/Season 06/Brooklyn Nine-Nine (2013) - S06E15 - [AMZN WEBDL-1080p][bit]-NTb.en.srt","PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"h264","CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":1,"VideoRangeType":1,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"1080p H264 SDR","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"ChannelLayout":null,"BitRate":10265002,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"eac3","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"LocalizedHearingImpaired":null,"DisplayTitle":"English - Dolby Digital\u002B - 5.1 - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"5.1","BitRate":640000,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":4,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"subrip","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/1000","CodecTimeBase":null,"Title":"SDH","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"SDH - English - SUBRIP","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":5,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":10905002,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i file:"/media/shows/Brooklyn Nine-Nine (2013)/Season 06/Brooklyn Nine-Nine (2013) - S06E15 - [AMZN WEBDL-1080p][bit]-NTb.mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 av1_qsv -preset veryfast -b:v 336000 -maxrate 336000 -bufsize 672000 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=w=426:h=240:format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -codec:a:0 libfdk_aac -vbr:a 5 -af "volume=4.25,pan=stereo|c0=0.5*c2+0.707*c0+0.707*c4+0.5*c3|c1=0.5*c2+0.707*c1+0.707*c5+0.5*c3" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "299f58782cedcb142ada0bf08bfac386-1.mp4" -start_number 0 -hls_segment_filename "/transcode/299f58782cedcb142ada0bf08bfac386%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "/transcode/299f58782cedcb142ada0bf08bfac386.m3u8"


ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
Input #0, matroska,webm, from 'file:/media/shows/Brooklyn Nine-Nine (2013)/Season 06/Brooklyn Nine-Nine (2013) - S06E15 - [AMZN WEBDL-1080p][bit]-NTb.mkv':
  Metadata:
    encoder         : libebml v1.3.5 + libmatroska v1.4.8
    creation_time   : 2019-05-03T13:21:34.000000Z
  Duration: 00:21:29.89, start: 0.000000, bitrate: 10265 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 9622497
      BPS-eng         : 9622497
      DURATION        : 00:21:29.872000000
      DURATION-eng    : 00:21:29.872000000
      NUMBER_OF_FRAMES: 30926
      NUMBER_OF_FRAMES-eng: 30926
      NUMBER_OF_BYTES : 1551473767
      NUMBER_OF_BYTES-eng: 1551473767
      _STATISTICS_WRITING_APP: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2019-05-03 13:21:34
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-05-03 13:21:34
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      BPS             : 640000
      BPS-eng         : 640000
      DURATION        : 00:21:29.888000000
      DURATION-eng    : 00:21:29.888000000
      NUMBER_OF_FRAMES: 40309
      NUMBER_OF_FRAMES-eng: 40309
      NUMBER_OF_BYTES : 103191040
      NUMBER_OF_BYTES-eng: 103191040
      _STATISTICS_WRITING_APP: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2019-05-03 13:21:34
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-05-03 13:21:34
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Subtitle: subrip
    Metadata:
      BPS             : 136
      BPS-eng         : 136
      DURATION        : 00:21:20.540000000
      DURATION-eng    : 00:21:20.540000000
      NUMBER_OF_FRAMES: 602
      NUMBER_OF_FRAMES-eng: 602
      NUMBER_OF_BYTES : 21920
      NUMBER_OF_BYTES-eng: 21920
      _STATISTICS_WRITING_APP: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2019-05-03 13:21:34
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-05-03 13:21:34
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title           : SDH
      BPS             : 140
      BPS-eng         : 140
      DURATION        : 00:21:22.978000000
      DURATION-eng    : 00:21:22.978000000
      NUMBER_OF_FRAMES: 633
      NUMBER_OF_FRAMES-eng: 633
      NUMBER_OF_BYTES : 22516
      NUMBER_OF_BYTES-eng: 22516
      _STATISTICS_WRITING_APP: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v19.0.0 ('Brave Captain') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2019-05-03 13:21:34
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-05-03 13:21:34
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> av1 (av1_qsv))
  Stream #0:1 -> #0:1 (eac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[libfdk_aac @ 0x5aac5e4fb780] Note, the VBR setting is unsupported and only works with some parameter combinations
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
[hls @ 0x5aac5e552b80] Opening '/transcode/299f58782cedcb142ada0bf08bfac386-1.mp4' for writing
Output #0, hls, to '/transcode/299f58782cedcb142ada0bf08bfac386.m3u8':
  Metadata:
    encoder         : Lavf60.3.100
  Stream #0:0: Video: av1, qsv(tv, bt709, progressive), 426x240 [SAR 640:639 DAR 16:9], q=2-31, 336 kb/s, 23.98 fps, 24k tbn (default)
    Metadata:
      encoder         : Lavc60.3.100 av1_qsv
  Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 (default)
    Metadata:
      encoder         : Lavc60.3.100 libfdk_aac
frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
[av1_qsv @ 0x5aac5e4f9880] Invalid FrameType:0.
[vost#0:0/av1_qsv @ 0x5aac5e4f9540] Error submitting video frame to the encoder
[libfdk_aac @ 0x5aac5e4fb780] 2 frames left in the queue on closing
Conversion failed!

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@FML128 FML128 added the bug Something isn't working label May 14, 2024
@jellyfin-bot

This comment was marked as resolved.

@FML128
Copy link
Author

FML128 commented May 14, 2024

Hi, it seems like your issue report has the following item(s) that need to be addressed:

  • You have not provided the ffmpeg log unaltered from the server. Please provide a valid ffmpeg log.

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

It is unaltered

@gnattu
Copy link
Member

gnattu commented May 14, 2024

6.8.9-arch1-1

Your kernel contains Intel i915 bug, can you try 6.8.4 and see?

@jellyfin-bot jellyfin-bot added this to Needs triage in Issue Triage for Main Repo May 14, 2024
@FML128
Copy link
Author

FML128 commented May 15, 2024

I now tried it with 6.6.30-2-lts, same issue. (Does it need to be 6.8.4 specific?)
Also, I use the ZFS kernel module if this is relevant.

@gnattu
Copy link
Member

gnattu commented May 15, 2024

I now tried it with 6.6.30-2-lts, same issue. (Does it need to be 6.8.4 specific?) Also, I use the ZFS kernel module if this is relevant.

6.6.26+ also has i915 bug that is yet to be resolved.

But for your specific one, it is probably something other like intel/media-driver#1626

@icedterminal
Copy link

I use Arch as well with kernel 6.7.9. As that is the only version to work with my A380. Kernel 6.8 and later do not work for me.

@xhaihao
Copy link

xhaihao commented May 19, 2024

I use Arch as well with kernel 6.7.9. As that is the only version to work with my A380. Kernel 6.8 and later do not work for me.

AFAIK kernel 6.8.5+ has the Intel i915 regression, kernel 6.8 to 6.8.4 isn't impacted by this regression.

@nyanmisaka
Copy link
Member

I use Arch as well with kernel 6.7.9. As that is the only version to work with my A380. Kernel 6.8 and later do not work for me.

AFAIK kernel 6.8.5+ has the Intel i915 regression, kernel 6.8 to 6.8.4 isn't impacted by this regression.

FYI the kernel 6.6.31+, 6.8.10+ and 6.9+ have a fix for this regression.

@FML128
Copy link
Author

FML128 commented May 20, 2024

Works with 6.9.1-arch1-1 now correctly

@FML128 FML128 closed this as completed May 20, 2024
Issue Triage for Main Repo automation moved this from Needs triage to Closed/Done May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

6 participants