• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Transcoding not working with A310

     
    • 0 Vote(s) - 0 Average

    SOLVED: Transcoding not working with A310

    Bw00d21
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #1
    2024-12-10, 12:49 PM (This post was last modified: 2024-12-10, 01:29 PM by Bw00d21. Edited 3 times in total.)
    I'm having a hell of a time getting transcoding to work with the Arc A310. 


    Setup is:
    Dell Optiplex 5050 SFF
    Windows Server 2025 (Activated)
    Core i5-7600
    64gb of Ram
    Sparkle Eco Arc A310
    4TB HDD to store Media
    256gb SSD for OS and Apps
    JF Server Version 10.10.1
    Intel Driver updated to lates. Ver 32.0.101.6297

    It will playback if Quality is set to auto. If I drop the bitrate to force a transcode, it will give a Playback error. What's more confusing, when I used JF on my iPhone, it would transcode. When I use a Web browser or the Windows Player, it will break. 

    I've attached my setup images. I've tried Enabling Tone Mapping and VPP tone Mapping, both do not work.

    I have QSV Device set to 1 as this i5 is an iGPU which is set to GPU 0 0 in Task Manager, A310 shows GPU 1

    I'm ripping my hair out! (what I have left anyways)

    If there is any more info you need to help please let me know. I've tried to provide the same info others have shared in my searches here. 

    Thanks in advance!

    Log:

    Quote:{"Protocol":0,"Id":"63a69e30cf1e41f7a1675fcfca089294","Path":"D:\\Media\\Movies\\White House Down (2013)\\White House Down (2013).mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":2097143064,"Name":"White House Down (2013)","IsRemote":false,"ETag":"448ab2fb891a1afe4a454a5fe043526b","RunTimeTicks":78929684170,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","ColorRange":null,"ColorSpace":"bt709","ColorTransfer":null,"ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/24000","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":2027723,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":802,"Width":1920,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"ReferenceFrameRate":23.976025,"Profile":"High","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","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,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":"GPAC ISO Audio Handler","VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"GPAC ISO Audio Handler - English - AAC - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":93745,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":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}],"MediaAttachments":[],"Formats":[],"Bitrate":2125581,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}

    ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device d3d11va=dx11:1 -init_hw_device qsv=qs@dx11 -filter_hw_device qs -hwaccel d3d11va -hwaccel_output_format d3d11 -noautorotate -threads 2 -i file:"D:\Media\Movies\White House Down (2013)\White House Down (2013).mp4" -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 1406255 -maxrate 1406255 -bufsize 2812510 -profile:v:0 main -level 53 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=qsv,vpp_qsv=w=1280:h=534:format=nv12" -codec:a:0 libfdk_aac -ac 2 -ab 93745 -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:\ProgramData\Jellyfin\Server\cache\transcodes\e292b934a0a0fc7728cf82a5f2de7bd3-1.mp4" -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\cache\transcodes\e292b934a0a0fc7728cf82a5f2de7bd3%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\cache\transcodes\e292b934a0a0fc7728cf82a5f2de7bd3.m3u8"


    ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
      built with clang version 18.1.8
      configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --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-libharfbuzz --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-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59.  8.100 / 59.  8.100
      libavcodec    61.  3.100 / 61.  3.100
      libavformat    61.  1.100 / 61.  1.100
      libavdevice    61.  1.100 / 61.  1.100
      libavfilter    10.  1.100 / 10.  1.100
      libswscale      8.  1.100 /  8.  1.100
      libswresample  5.  1.100 /  5.  1.100
      libpostproc    58.  1.100 / 58.  1.100
    [AVHWDeviceContext @ 00000240ff26e780] Using device 8086:5912 (Intel® HD Graphics 630).
    [AVHWDeviceContext @ 00000240ff308d00] Error creating a MFX session: -9.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fileGrinning-face:\Media\Movies\White House Down (2013)\White House Down (2013).mp4':
      Metadata:
        major_brand    : isom
        minor_version  : 1
        compatible_brands: isomavc1
        creation_time  : 2013-10-10T20:52:22.000000Z
      Duration: 02:11:32.97, start: 0.000000, bitrate: 2125 kb/s
      Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/unknown, progressive), 1920x802 [SAR 1:1 DAR 960:401], 2027 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
          Metadata:
            creation_time  : 2013-10-10T20:52:22.000000Z
            handler_name    : video.264#trackID=1:fps=23.976 - Imported with GPAC 0.5.0-rev
            vendor_id      : [0][0][0][0]
      Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 93 kb/s (default)
          Metadata:
            creation_time  : 2013-10-10T20:52:35.000000Z
            handler_name    : GPAC ISO Audio Handler
            vendor_id      : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> av1 (av1_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [Parsed_vpp_qsv_2 @ 000002408a91c900] Error querying VPP params: unsupported (-3)
    [Parsed_vpp_qsv_2 @ 000002408a91c900] Failed to configure output pad on Parsed_vpp_qsv_2
    [vf#0:0 @ 000002408a3bf880] Error reinitializing filters!
    [vf#0:0 @ 000002408a3bf880] Task finished with error code: -40 (Function not implemented)
    [vf#0:0 @ 000002408a3bf880] Terminating thread with return code -40 (Function not implemented)
    [vost#0:0/av1_qsv @ 00000240860a1380] Could not open encoder before EOF
    [vost#0:0/av1_qsv @ 00000240860a1380] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_qsv @ 00000240860a1380] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 000002408609e5c0] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
    Conversion failed!


    Attached Files Thumbnail(s)
           
    Go to solution
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #2
    2024-12-10, 01:38 PM
    Typically, on Dell systems (I also have an Optiplex), once you install a dGPU (ARC, NVIDIA, what have you), the motherboard disables the iGPU. Is Windows Device Manager really seeing both devices active? Have you ensured the dGPU has the latest video drivers installed and can you verify all other functions of the GPU are working, maybe use a benchmark tool? Maybe go into BIOS and force disable the iGPU, if possible and retry.
    Bw00d21
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #3
    2024-12-10, 02:20 PM (This post was last modified: 2024-12-10, 02:29 PM by Bw00d21. Edited 2 times in total.)
    (2024-12-10, 01:38 PM)wenzelja Wrote: Typically, on Dell systems (I also have an Optiplex), once you install a dGPU (ARC, NVIDIA, what have you), the motherboard disables the iGPU.  Is Windows Device Manager really seeing both devices active?  Have you ensured the dGPU has the latest video drivers installed and can you verify all other functions of the GPU are working, maybe use a benchmark tool?  Maybe go into BIOS and force disable the iGPU, if possible and retry.

    I just ran a GPU test using Novabench. It is indeed using the Arc310 card. iGPU isn't being used at all. Driver is up to date as well. 

    I tried leaving "QSV Device" blank, it still comes up with the same Error.


    Attached Files Thumbnail(s)
           
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-12-10, 02:55 PM
    Remove "1" from the QSV device. If it is blank, the Intel driver will auto select the GPU. Since you disabled the iGPU, there is no concern of the driver selecting the iGPU.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Bw00d21
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #5
    2024-12-10, 03:04 PM (This post was last modified: 2024-12-10, 03:05 PM by Bw00d21. Edited 1 time in total.)
    (2024-12-10, 02:55 PM)TheDreadPirate Wrote: Remove "1" from the QSV device.  If it is blank, the Intel driver will auto select the GPU.  Since you disabled the iGPU, there is no concern of the driver selecting the iGPU.

    Thank you for the reply. Unfortunatelyately this did not work. 

    Here is the log after leaving it blank. 

    And to confirm, I changed Transcoding to None, saved, restarted JF, then changed back to QSV, save, and tried. 

    Quote:{"Protocol":0,"Id":"09d3aaa4b50c35069213296bc4c5f0cb","Path":"D:\\Media\\Movies\\Ratchet \u0026 Clank (2016)\\Ratchet \u0026 Clank (2016).mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":1534667325,"Name":"Ratchet \u0026 Clank (2016)","{"Protocol":0,"Id":"09d3aaa4b50c35069213296bc4c5f0cb","Path":"D:\\Media\\Movies\\Ratchet \u0026 Clank (2016)\\Ratchet \u0026 Clank (2016).mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mov,mp4,m4a,3gp,3g2,mj2","Size":1534667325,"Name":"Ratchet \u0026 Clank (2016)","IsRemote":false,"ETag":"974c8952414fc521ca8b999d4fe0eb0c","RunTimeTicks":56473600000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/13978","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":2048062,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":800,"Width":1920,"AverageFrameRate":23.975986,"RealFrameRate":23.975986,"ReferenceFrameRate":23.975986,"Profile":"High","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"AAC - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":119024,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":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}],"MediaAttachments":[],"Formats":[],"Bitrate":2173996,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}
    ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device d3d11va=dx11:,vendor=0x8086 -init_hw_device qsv=qs@dx11 -filter_hw_device qs -hwaccel d3d11va -hwaccel_output_format d3d11 -noautorotate -threads 2 -i file:"D:\Media\Movies\Ratchet & Clank (2016)\Ratchet & Clank (2016).mp4" -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 1380976 -maxrate 1380976 -bufsize 2761952 -profile:v:0 main -level 53 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=qsv,vpp_qsv=w=1280:h=532:format=nv12" -codec:a:0 libfdk_aac -ac 2 -ab 119024 -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:\ProgramData\Jellyfin\Server\cache\transcodes\5293f7404386e493fe39c2f628814a38-1.mp4" -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\cache\transcodes\5293f7404386e493fe39c2f628814a38%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\cache\transcodes\5293f7404386e493fe39c2f628814a38.m3u8"
    ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
      built with clang version 18.1.8
      configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --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-libharfbuzz --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-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59.  8.100 / 59.  8.100
      libavcodec    61.  3.100 / 61.  3.100
      libavformat    61.  1.100 / 61.  1.100
      libavdevice    61.  1.100 / 61.  1.100
      libavfilter    10.  1.100 / 10.  1.100
      libswscale      8.  1.100 /  8.  1.100
      libswresample  5.  1.100 /  5.  1.100
      libpostproc    58.  1.100 / 58.  1.100
    [AVHWDeviceContext @ 0000023c4b0b3f00] Using device 8086:5912 (Intel® HD Graphics 630).
    [AVHWDeviceContext @ 0000023c4b119840] Error creating a MFX session: -9.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fileGrinning-face:\Media\Movies\Ratchet & Clank (2016)\Ratchet & Clank (2016).mp4':
      Metadata:
        major_brand    : isom
        minor_version  : 512
        compatible_brands: isomiso2avc1mp41
        encoder        : Lavf57.23.100
      Duration: 01:34:07.36, start: 0.000000, bitrate: 2173 kb/s
      Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x800 [SAR 1:1 DAR 12:5], 2048 kb/s, 23.98 fps, 23.98 tbr, 13978 tbn (default)
          Metadata:
            handler_name    : VideoHandler
            vendor_id      : [0][0][0][0]
      Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 119 kb/s (default)
          Metadata:
            handler_name    : SoundHandler
            vendor_id      : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> av1 (av1_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [Parsed_vpp_qsv_2 @ 0000023c56581840] Error querying VPP params: unsupported (-3)
    [Parsed_vpp_qsv_2 @ 0000023c56581840] Failed to configure output pad on Parsed_vpp_qsv_2
    [vf#0:0 @ 0000023c561aaec0] Error reinitializing filters!
    [vf#0:0 @ 0000023c561aaec0] Task finished with error code: -40 (Function not implemented)
    [vf#0:0 @ 0000023c561aaec0] Terminating thread with return code -40 (Function not implemented)
    [vost#0:0/av1_qsv @ 0000023c4ccab640] Could not open encoder before EOF
    [vost#0:0/av1_qsv @ 0000023c4ccab640] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_qsv @ 0000023c4ccab640] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0000023c51ecc000] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
    Conversion failed!IsRemote":false,"ETag":"974c8952414fc521ca8b999d4fe0eb0c","RunTimeTicks":56473600000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":"avc1","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/13978","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":2048062,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":800,"Width":1920,"AverageFrameRate":23.975986,"RealFrameRate":23.975986,"ReferenceFrameRate":23.975986,"Profile":"High","Type":1,"AspectRatio":"2.40:1","Index":0,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"aac","CodecTag":"mp4a","Language":"und","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Rotation":null,"Comment":null,"TimeBase":"1/48000","CodecTimeBase":null,"Title":null,"VideoRange":0,"VideoRangeType":0,"VideoDoViTitle":null,"AudioSpatialFormat":0,"LocalizedUndefined":null,"LocalizedDefault":"Default","LocalizedForced":null,"LocalizedExternal":"External","LocalizedHearingImpaired":null,"DisplayTitle":"AAC - Stereo - Default","NalLengthSize":null,"IsInterlaced":false,"IsAVC":false,"ChannelLayout":"stereo","BitRate":119024,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"IsHearingImpaired":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"ReferenceFrameRate":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}],"MediaAttachments":[],"Formats":[],"Bitrate":2173996,"FallbackMaxStreamingBitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null,"HasSegments":false}
    ffmpeg -analyzeduration 200M -probesize 1G -f mov,mp4,m4a,3gp,3g2,mj2 -init_hw_device d3d11va=dx11:,vendor=0x8086 -init_hw_device qsv=qs@dx11 -filter_hw_device qs -hwaccel d3d11va -hwaccel_output_format d3d11 -noautorotate -threads 2 -i file:"D:\Media\Movies\Ratchet & Clank (2016)\Ratchet & Clank (2016).mp4" -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 1380976 -maxrate 1380976 -bufsize 2761952 -profile:v:0 main -level 53 -g:v:0 72 -keyint_min:v:0 72 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,hwmap=derive_device=qsv,vpp_qsv=w=1280:h=532:format=nv12" -codec:a:0 libfdk_aac -ac 2 -ab 119024 -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:\ProgramData\Jellyfin\Server\cache\transcodes\5293f7404386e493fe39c2f628814a38-1.mp4" -start_number 0 -hls_segment_filename "C:\ProgramData\Jellyfin\Server\cache\transcodes\5293f7404386e493fe39c2f628814a38%d.mp4" -hls_playlist_type vod -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\cache\transcodes\5293f7404386e493fe39c2f628814a38.m3u8"
    ffmpeg version 7.0.2-Jellyfin Copyright © 2000-2024 the FFmpeg developers
      built with clang version 18.1.8
      configuration: --cc=clang --pkg-config-flags=--static --extra-cflags=-I/clang64/ffbuild/include --extra-ldflags=-L/clang64/ffbuild/lib --prefix=/clang64/ffbuild/jellyfin-ffmpeg --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --enable-lto=thin --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-libharfbuzz --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-d3d12va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      59.  8.100 / 59.  8.100
      libavcodec    61.  3.100 / 61.  3.100
      libavformat    61.  1.100 / 61.  1.100
      libavdevice    61.  1.100 / 61.  1.100
      libavfilter    10.  1.100 / 10.  1.100
      libswscale      8.  1.100 /  8.  1.100
      libswresample  5.  1.100 /  5.  1.100
      libpostproc    58.  1.100 / 58.  1.100
    [AVHWDeviceContext @ 0000023c4b0b3f00] Using device 8086:5912 (Intel® HD Graphics 630).
    [AVHWDeviceContext @ 0000023c4b119840] Error creating a MFX session: -9.
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fileGrinning-face:\Media\Movies\Ratchet & Clank (2016)\Ratchet & Clank (2016).mp4':
      Metadata:
        major_brand    : isom
        minor_version  : 512
        compatible_brands: isomiso2avc1mp41
        encoder        : Lavf57.23.100
      Duration: 01:34:07.36, start: 0.000000, bitrate: 2173 kb/s
      Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x800 [SAR 1:1 DAR 12:5], 2048 kb/s, 23.98 fps, 23.98 tbr, 13978 tbn (default)
          Metadata:
            handler_name    : VideoHandler
            vendor_id      : [0][0][0][0]
      Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 119 kb/s (default)
          Metadata:
            handler_name    : SoundHandler
            vendor_id      : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> av1 (av1_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [Parsed_vpp_qsv_2 @ 0000023c56581840] Error querying VPP params: unsupported (-3)
    [Parsed_vpp_qsv_2 @ 0000023c56581840] Failed to configure output pad on Parsed_vpp_qsv_2
    [vf#0:0 @ 0000023c561aaec0] Error reinitializing filters!
    [vf#0:0 @ 0000023c561aaec0] Task finished with error code: -40 (Function not implemented)
    [vf#0:0 @ 0000023c561aaec0] Terminating thread with return code -40 (Function not implemented)
    [vost#0:0/av1_qsv @ 0000023c4ccab640] Could not open encoder before EOF
    [vost#0:0/av1_qsv @ 0000023c4ccab640] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_qsv @ 0000023c4ccab640] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0000023c51ecc000] Nothing was written into output file, because at least one of its streams received no packets.
    frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
    Conversion failed!

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-12-10, 03:30 PM
    Your iGPU is enabled.

    Code:
    [AVHWDeviceContext @ 0000023c4b0b3f00] Using device 8086:5912 (Intel® HD Graphics 630).

    I didn't notice this initially, but the same message is in your original post (I had skipped to the end of the ffmpeg log).

    Try different values in the QSV device field. Or properly disable your iGPU in your BIOS.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Bw00d21
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #7
    2024-12-10, 03:37 PM
    I missed that too. Thanks for pointing it out. Even with a 1 in there, it still goes to iGPU. I'll have to disable it in BIOS when I get home.

    I'll give that a shot and report back!
    Bw00d21
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #8
    2024-12-10, 04:00 PM
    (2024-12-10, 03:30 PM)TheDreadPirate Wrote: Your iGPU is enabled.

    Code:
    [AVHWDeviceContext @ 0000023c4b0b3f00] Using device 8086:5912 (Intel® HD Graphics 630).

    I didn't notice this initially, but the same message is in your original post (I had skipped to the end of the ffmpeg log).

    Try different values in the QSV device field.  Or properly disable your iGPU in your BIOS.

    It was even easier. I went to Device Manager and disabled the onboard gfx. That set the Arc card to GPU 0 in Task Manager. In JF re-enabled QSV, left device line blank and viola! It works!

    Thanks a bunch for your help!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode