Jellyfin Forum
SOLVED: Playback Error on Windows - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Playback Error on Windows (/t-solved-playback-error-on-windows)



Playback Error on Windows - FangerZero - 2024-10-04

I seem to have an issue when I try to play my media when on my desktop. (5800x AMD/3070 Nvidia) so it's not the local resources. Things work fine on Rokus, Phones, and Smart TVs. it's just windows computers, I can't run it on a Surface Book 2 either. I can't even run it on the host machine which is currently using windows as well. I get back "Playback failed due to a fatal player error." I've tried windows 11, 10 edge and firefox. I've tried turning HEVC and MPEG2 on and still nothing. Not sure if I have to restart JellyFin if I do that or if just hitting "save" does the trick. Anyways any thoughts would be great!

Also Forum search doesn't seem to work?

Enable hardware decoding for
[x] H264
[  ] HEVC
[  ] MPEG2
[x] VC1
[  ] VP9
[x] AV1 
[x] HEVC 10bit
[x] VP9 10bit

Hardware encoding options
[x] Enable hardware encoding

Encoding format options
[x] Allow encoding in HEVC format 
[x] Allow encoding in AV1 format

FFmpeg.Transcode logs
Code:
{"Protocol":0,"Id":"c7ca577d2fc044ea91e28e53eb9dd152","Path":"F:\\Anime\\Shows\\MOBILE_SUIT_GUNDAM_WING\\Season 01\\[AnimeRG] Gundam Wing - 09 [1080p] [x265] [pseudo].mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":222245641,"Name":"[AnimeRG] Gundam Wing - 09 [1080p] [x265] [pseudo]","IsRemote":false,"ETag":"50322eea410e35342f361be156c68c22","RunTimeTicks":14395800000,"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":"hevc","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 HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":1235058,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1072,"Width":1440,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main","Type":1,"AspectRatio":"4:3","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":150,"IsAnamorphic":false},{"Codec":"aac","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":"English Stereo","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English Stereo - AAC - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":77190,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"aac","CodecTag":null,"Language":"jpn","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":"Japanese Stereo","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"Japanese Stereo - AAC","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":95317,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","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":"English (Signs / Songs)","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English (Signs / Songs) - Default - ASS","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","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":"English (Full)","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English (Full) - ASS","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}],"MediaAttachments":[{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":5,"FileName":"calibri.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":6,"FileName":"calibrii.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":7,"FileName":"Explora.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"otf","CodecTag":"[0][0][0][0]","Comment":null,"Index":8,"FileName":"Material_Sans.otf","MimeType":"application/vnd.ms-opentype","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":9,"FileName":"msjhbd.ttc","MimeType":"application/x-truetype-font","DeliveryUrl":null}],"Formats":[],"Bitrate":1407565,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device d3d11va=dx11:,vendor=0x1002 -init_hw_device opencl=ocl@dx11 -filter_hw_device ocl -noautorotate -i file:"F:\Anime\Shows\MOBILE_SUIT_GUNDAM_WING\Season 01\[AnimeRG] Gundam Wing - 09 [1080p] [x265] [pseudo].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 av1_amf -quality speed -header_insertion_mode gop -rc cbr -qmin 0 -qmax 32 -b:v 3087645 -maxrate 3087645 -bufsize 6175290 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,min(1440\,1072*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1440/a\,1072))/2)*2,format=yuv420p" -codec:a:0 libfdk_aac -ac 2 -ab 77190 -ar 48000 -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 "C:\Users\fange\AppData\Local\Jellyfin\cache\transcodes\ecea544e94a1f8f2e0d2611e8f97ff30-1.mp4" -start_number 0 -hls_segment_filename "C:\Users\fange\AppData\Local\Jellyfin\cache\transcodes\ecea544e94a1f8f2e0d2611e8f97ff30%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\Users\fange\AppData\Local\Jellyfin\cache\transcodes\ecea544e94a1f8f2e0d2611e8f97ff30.m3u8"


ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13-win32 (GCC)
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --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
[AVHWDeviceContext @ 000001dbe4f08900] Using device 1002:67b1 (AMD Radeon R9 200 Series).
Input #0, matroska,webm, from 'file:F:\Anime\Shows\MOBILE_SUIT_GUNDAM_WING\Season 01\[AnimeRG] Gundam Wing - 09 [1080p] [x265] [pseudo].mkv':
  Metadata:
    encoder        : libebml v1.3.3 + libmatroska v1.4.4
    creation_time  : 2017-03-09T04:03:45.000000Z
  Duration: 00:23:59.58, start: 0.000000, bitrate: 1235 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 80.306000
      Metadata:
        title          : Opening Credits
    Chapter #0:1: start 80.306000, end 691.661000
      Metadata:
        title          : Part 1
    Chapter #0:2: start 691.661000, end 1337.417000
      Metadata:
        title          : Part 2
    Chapter #0:3: start 1337.417000, end 1407.636000
      Metadata:
        title          : End Credits
    Chapter #0:4: start 1407.636000, end 1439.580000
      Metadata:
        title          : Next Episode Preview
  Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1440x1072, SAR 1:1 DAR 90:67, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS            : 970151
      BPS-eng        : 970151
      DURATION        : 00:23:59.146000000
      DURATION-eng    : 00:23:59.146000000
      NUMBER_OF_FRAMES: 34505
      NUMBER_OF_FRAMES-eng: 34505
      NUMBER_OF_BYTES : 174523649
      NUMBER_OF_BYTES-eng: 174523649
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:45
      _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: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      title          : English Stereo
      BPS            : 77190
      BPS-eng        : 77190
      DURATION        : 00:23:58.762000000
      DURATION-eng    : 00:23:58.762000000
      NUMBER_OF_FRAMES: 67442
      NUMBER_OF_FRAMES-eng: 67442
      NUMBER_OF_BYTES : 13882432
      NUMBER_OF_BYTES-eng: 13882432
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      title          : Japanese Stereo
      BPS            : 95317
      BPS-eng        : 95317
      DURATION        : 00:23:59.339000000
      DURATION-eng    : 00:23:59.339000000
      NUMBER_OF_FRAMES: 67469
      NUMBER_OF_FRAMES-eng: 67469
      NUMBER_OF_BYTES : 17149287
      NUMBER_OF_BYTES-eng: 17149287
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:45
      _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: ass (default)
    Metadata:
      title          : English (Signs / Songs)
      BPS            : 17
      BPS-eng        : 17
      DURATION        : 00:23:46.170000000
      DURATION-eng    : 00:23:46.170000000
      NUMBER_OF_FRAMES: 25
      NUMBER_OF_FRAMES-eng: 25
      NUMBER_OF_BYTES : 3187
      NUMBER_OF_BYTES-eng: 3187
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(eng): Subtitle: ass
    Metadata:
      title          : English (Full)
      BPS            : 124
      BPS-eng        : 124
      DURATION        : 00:23:47.480000000
      DURATION-eng    : 00:23:47.480000000
      NUMBER_OF_FRAMES: 359
      NUMBER_OF_FRAMES-eng: 359
      NUMBER_OF_BYTES : 22207
      NUMBER_OF_BYTES-eng: 22207
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5: Attachment: ttf
    Metadata:
      filename        : calibri.ttf
      mimetype        : application/x-truetype-font
  Stream #0:6: Attachment: ttf
    Metadata:
      filename        : calibrii.ttf
      mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
    Metadata:
      filename        : Explora.ttf
      mimetype        : application/x-truetype-font
  Stream #0:8: Attachment: otf
    Metadata:
      filename        : Material_Sans.otf
      mimetype        : application/vnd.ms-opentype
  Stream #0:9: Attachment: ttf
    Metadata:
      filename        : msjhbd.ttc
      mimetype        : application/x-truetype-font
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_amf))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[av1_amf @ 000001dbee217ac0] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 10



RE: Playback Error on Windows - theguymadmax - 2024-10-04

You didn't mention your server specs, but it's likely that it doesn't support AV1 encoding. Just go ahead and disable it.


RE: Playback Error on Windows - TheDreadPirate - 2024-10-04

THe 3070 does not support AV1 encoding. Disable that. Use this Nvidia codec matrix to check the appropriate decode and encode boxes.

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new


RE: Playback Error on Windows - theguymadmax - 2024-10-04

(2024-10-04, 04:21 AM)FangerZero Wrote: Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_amf))

The post is unclear about what the server specs are. But the NVIDIA device that is listed can't encode AV1. From the log, you're using an AMD GPU, so I assume that your server is running on some other machine.


RE: Playback Error on Windows - FangerZero - 2024-10-04

My host system is 2600k and AMD r290x. I didn't think it'd be the host since it works fine on other devices.

I've disabled AV1, and had HVEC/MPEG2 turned on. I still get the same error and here are the logs. Is there another area where AV1 encoding is set as true possibly? since I see it's trying to do it again? All I did was uncheck it and hit "Save" at the bottom of the page. 

Code:
{"Protocol":0,"Id":"af710fa864ae69554f805bec0913b292","Path":"F:\\Anime\\Shows\\MOBILE_SUIT_GUNDAM_WING\\Season 01\\[AnimeRG] Gundam Wing - 04 [1080p] [x265] [pseudo].mkv","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mkv","Size":202744908,"Name":"[AnimeRG] Gundam Wing - 04 [1080p] [x265] [pseudo]","IsRemote":false,"ETag":"d334a3093db938bb45a92a70f3aee341","RunTimeTicks":14398710000,"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":"hevc","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 HEVC SDR","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":1126461,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":1072,"Width":1440,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main","Type":1,"AspectRatio":"4:3","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":150,"IsAnamorphic":false},{"Codec":"aac","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":"English Stereo","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"English Stereo - AAC - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":79664,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"aac","CodecTag":null,"Language":"jpn","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":"Japanese Stereo","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"Japanese Stereo - AAC","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":96370,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","Type":0,"AspectRatio":null,"Index":2,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","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":"English (Signs / Songs)","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English (Signs / Songs) - Default - ASS","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":0,"Width":0,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":2,"AspectRatio":null,"Index":3,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":null,"PixelFormat":null,"Level":0,"IsAnamorphic":null},{"Codec":"ass","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":"English (Full)","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":"Undefined","LocalizedDefault":"Default","LocalizedForced":"Forced","LocalizedExternal":"External","LocalizedHearingImpaired":"Hearing Impaired","DisplayTitle":"English (Full) - ASS","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}],"MediaAttachments":[{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":5,"FileName":"calibri.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":6,"FileName":"calibrii.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":7,"FileName":"Explora.ttf","MimeType":"application/x-truetype-font","DeliveryUrl":null},{"Codec":"otf","CodecTag":"[0][0][0][0]","Comment":null,"Index":8,"FileName":"Material_Sans.otf","MimeType":"application/vnd.ms-opentype","DeliveryUrl":null},{"Codec":"ttf","CodecTag":"[0][0][0][0]","Comment":null,"Index":9,"FileName":"msjhbd.ttc","MimeType":"application/x-truetype-font","DeliveryUrl":null}],"Formats":[],"Bitrate":1302495,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

ffmpeg -analyzeduration 200M -probesize 1G -init_hw_device d3d11va=dx11:,vendor=0x1002 -init_hw_device opencl=ocl@dx11 -filter_hw_device ocl -hwaccel d3d11va -hwaccel_output_format d3d11 -noautorotate -i file:"F:\Anime\Shows\MOBILE_SUIT_GUNDAM_WING\Season 01\[AnimeRG] Gundam Wing - 04 [1080p] [x265] [pseudo].mkv" -noautoscale -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 av1_amf -quality speed -header_insertion_mode gop -rc cbr -qmin 0 -qmax 32 -b:v 5632304 -maxrate 5632304 -bufsize 11264608 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=opencl,scale_opencl=format=nv12,hwmap=derive_device=d3d11va:reverse=1,format=d3d11" -codec:a:0 libfdk_aac -ac 2 -ab 79664 -ar 48000 -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 "C:\Users\fange\AppData\Local\Jellyfin\cache\transcodes\028e55288a8b99ff107faa2a4373b924-1.mp4" -start_number 0 -hls_segment_filename "C:\Users\fange\AppData\Local\Jellyfin\cache\transcodes\028e55288a8b99ff107faa2a4373b924%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\Users\fange\AppData\Local\Jellyfin\cache\transcodes\028e55288a8b99ff107faa2a4373b924.m3u8"


ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13-win32 (GCC)
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --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
[AVHWDeviceContext @ 000002c2e02f8a00] Using device 1002:67b1 (AMD Radeon R9 200 Series).
Input #0, matroska,webm, from 'file:F:\Anime\Shows\MOBILE_SUIT_GUNDAM_WING\Season 01\[AnimeRG] Gundam Wing - 04 [1080p] [x265] [pseudo].mkv':
  Metadata:
    encoder        : libebml v1.3.3 + libmatroska v1.4.4
    creation_time  : 2017-03-09T04:03:17.000000Z
  Duration: 00:23:59.87, start: 0.000000, bitrate: 1126 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 80.306000
      Metadata:
        title          : Opening Credits
    Chapter #0:1: start 80.306000, end 752.594000
      Metadata:
        title          : Part 1
    Chapter #0:2: start 752.594000, end 1337.140000
      Metadata:
        title          : Part 2
    Chapter #0:3: start 1337.140000, end 1408.600000
      Metadata:
        title          : End Credits
    Chapter #0:4: start 1408.600000, end 1439.871000
      Metadata:
        title          : Next Episode Preview
  Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1440x1072, SAR 1:1 DAR 90:67, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS            : 858141
      BPS-eng        : 858141
      DURATION        : 00:23:59.146000000
      DURATION-eng    : 00:23:59.146000000
      NUMBER_OF_FRAMES: 34505
      NUMBER_OF_FRAMES-eng: 34505
      NUMBER_OF_BYTES : 154373865
      NUMBER_OF_BYTES-eng: 154373865
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:17
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:17
      _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: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      title          : English Stereo
      BPS            : 79664
      BPS-eng        : 79664
      DURATION        : 00:23:59.851000000
      DURATION-eng    : 00:23:59.851000000
      NUMBER_OF_FRAMES: 67493
      NUMBER_OF_FRAMES-eng: 67493
      NUMBER_OF_BYTES : 14338180
      NUMBER_OF_BYTES-eng: 14338180
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:17
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:17
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp
    Metadata:
      title          : Japanese Stereo
      BPS            : 96370
      BPS-eng        : 96370
      DURATION        : 00:23:59.680000000
      DURATION-eng    : 00:23:59.680000000
      NUMBER_OF_FRAMES: 67485
      NUMBER_OF_FRAMES-eng: 67485
      NUMBER_OF_BYTES : 17342894
      NUMBER_OF_BYTES-eng: 17342894
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:17
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:17
      _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: ass (default)
    Metadata:
      title          : English (Signs / Songs)
      BPS            : 17
      BPS-eng        : 17
      DURATION        : 00:23:46.500000000
      DURATION-eng    : 00:23:46.500000000
      NUMBER_OF_FRAMES: 25
      NUMBER_OF_FRAMES-eng: 25
      NUMBER_OF_BYTES : 3164
      NUMBER_OF_BYTES-eng: 3164
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:17
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:17
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(eng): Subtitle: ass
    Metadata:
      title          : English (Full)
      BPS            : 118
      BPS-eng        : 118
      DURATION        : 00:23:46.500000000
      DURATION-eng    : 00:23:46.500000000
      NUMBER_OF_FRAMES: 351
      NUMBER_OF_FRAMES-eng: 351
      NUMBER_OF_BYTES : 21102
      NUMBER_OF_BYTES-eng: 21102
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-03-09 04:03:17
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-03-09 04:03:17
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5: Attachment: ttf
    Metadata:
      filename        : calibri.ttf
      mimetype        : application/x-truetype-font
  Stream #0:6: Attachment: ttf
    Metadata:
      filename        : calibrii.ttf
      mimetype        : application/x-truetype-font
  Stream #0:7: Attachment: ttf
    Metadata:
      filename        : Explora.ttf
      mimetype        : application/x-truetype-font
  Stream #0:8: Attachment: otf
    Metadata:
      filename        : Material_Sans.otf
      mimetype        : application/vnd.ms-opentype
  Stream #0:9: Attachment: ttf
    Metadata:
      filename        : msjhbd.ttc
      mimetype        : application/x-truetype-font
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_amf))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[hevc @ 000002c2e9445840] Failed setup for format d3d11: hwaccel initialisation returned error.
[AVHWFramesContext @ 000002c2ec226d40] Only fixed-size pools are supported for D3D11 to OpenCL mapping.
[Parsed_hwmap_3 @ 000002c2ee864380] Failed to create derived source frames context: -22.
[Parsed_hwmap_3 @ 000002c2ee864380] Failed to configure output pad on Parsed_hwmap_3
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
[libfdk_aac @ 000002c2e9448840] 2 frames left in the queue on closing
Conversion failed!



RE: Playback Error on Windows - theguymadmax - 2024-10-04

You need to disable [] Allow encoding in AV1 format.


RE: Playback Error on Windows - TheDreadPirate - 2024-10-04

And Allow encoding in HEVC format should also be disabled. That GPU does not support HEVC in any capacity. H264 encoding, MPEG2, VC1, and H264 decoding AFAICT from AMD's wiki for VCE and UVD.


RE: Playback Error on Windows - FangerZero - 2024-10-04

That did the trick, so long story short it just saw "Windows Client" Must do AV1/HEVC encoding.