• 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 h264 transcodes to hevc error [SOLVED]

     
    • 0 Vote(s) - 0 Average

    h264 transcodes to hevc error [SOLVED]

    [hevc_qsv @ 0x5d3e8c9aab00] some encoding parameters are not supported by the QSV runtime
    sisu
    Offline

    Junior Member

    Posts: 16
    Threads: 9
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #1
    2024-10-13, 05:32 AM (This post was last modified: 2024-10-13, 04:16 PM by sisu. Edited 3 times in total.)
    Hi all,

    I am running a Jellyfin server and streaming h264 content. I'm using android phones and tablets and it used to work before. However, recently it just fails to stream and the log yields the error below and stops.

    I tried to test this with using my desktop web browser, but everything is fine because it just does a h264->h264 conversion (Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))).

    It seems like if the device supports hevc it will try to transcode, but it fails and I don't know why? I'm using a i5 gen9 intel processor and selected QSV as HWA on the server.

    Any help is appreciated.

    Some extra info:
    - I did do the extra steps for low-power: https://jellyfin.org/docs/general/admini...e-on-linux

    UPDATE: Just found out that this has to do with Low Power (LP) HEVC encoding for my i5 9600K. Once I disable that everything works correctly. This is strange as I have done all the necessary steps for low-power mode. Any insight is appreciated.



    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_qsv))
      Stream #0:1 -> #0:1 (dts (dca) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    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
    [hevc_qsv @ 0x5d3e8c9aab00] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
    [vost#0:0/hevc_qsv @ 0x5d3e8c9b65c0] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [libfdk_aac @ 0x5d3e8c9b56c0] 2 frames left in the queue on closing
    Conversion failed!
    gnattu
    Offline

    Team Member

    Posts: 339
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #2
    2024-10-13, 09:00 AM
    > UPDATE: Just found out that this has to do with Low Power (LP) HEVC encoding for my i5 9600K. Once I disable that everything works correctly. This is strange as I have done all the necessary steps for low-power mode. Any insight is appreciated.

    Your CPU only supports LP encoding for H264 but not for HEVC. The support for that is only added after Icelake.
    sisu
    Offline

    Junior Member

    Posts: 16
    Threads: 9
    Joined: 2023 Jul
    Reputation: 0
    Country:United States
    #3
    2024-10-13, 04:15 PM
    (2024-10-13, 09:00 AM)gnattu Wrote: > UPDATE: Just found out that this has to do with Low Power (LP) HEVC encoding for my i5 9600K. Once I disable that everything works correctly. This is strange as I have done all the necessary steps for low-power mode. Any insight is appreciated.

    Your CPU only supports LP encoding for H264 but not for HEVC. The support for that is only added after Icelake.

    Ah! For some reason, I thought it supports HEVC as well. Thanks for clearing that up!
    « 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