• 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 Error transcoding

     
    • 0 Vote(s) - 0 Average

    Error transcoding

    Error transcoding
    barukh27
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Nov
    Reputation: 0
    #1
    6 hours ago
    Hi there!

    I'm struggling with the transcoding config.

    I use a N150 mini pc as server.

    Under the transcoding section I have:

       

       

    But whenever I try to play a video via chrome I get a fatal error.

    My ffmpeg logs reads as follows:

    Code:
    ffmpeg version 7.1.2-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers
      built with gcc 14 (Debian 14.2.0-19)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --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      59. 39.100 / 59. 39.100
      libavcodec    61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample  5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.100
    Input #0, matroska,webm, from 'file:/ :anger-symbol: ':
      Metadata:
        title          : :anger-symbol: (2004)
        creation_time  : 2025-06-29T12:54:53.000000Z
        ENCODER        : Lavf61.7.100
      Duration: 01:39:04.70, start: -0.021000, bitrate: 3473 kb/s
      Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
          Metadata:
            DURATION        : 01:39:04.147000000
      Stream #0:1(spa): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
          Metadata:
            title          : Castellano
            DURATION        : 01:39:04.400000000
      Stream #0:2(cat): Audio: aac (LC), 48000 Hz, stereo, fltp
          Metadata:
            title          : Catalán
            DURATION        : 01:39:04.701000000
      Stream #0:3(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
          Metadata:
            title          : Inglés
            DURATION        : 01:39:04.106000000
      Stream #0:4(spa): Subtitle: ass (ssa)
          Metadata:
            title          : Forzados
            DURATION        : 00:00:00.000000000
      Stream #0:5(spa): Subtitle: ass (ssa)
          Metadata:
            title          : Castellano
            DURATION        : 01:33:56.633000000
      Stream #0:6(spa): Subtitle: ass (ssa)
          Metadata:
            title          : Castellano
            DURATION        : 01:33:56.633000000
      Stream #0:7(cat): Subtitle: ass (ssa)
          Metadata:
            title          : Catalán
            DURATION        : 01:33:56.633000000
      Stream #0:8(eng): Subtitle: ass (ssa)
          Metadata:
            title          : Inglés
            DURATION        : 01:38:38.646000000
    Stream mapping:
      Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_vaapi))
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [av1_vaapi @ 0x77e9998fa980] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
    [vost#0:0/av1_vaapi @ 0x77e9998d6800] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [vf#0:0 @ 0x77e9998ec440] Error sending frames to consumers: Function not implemented
    [vf#0:0 @ 0x77e9998ec440] Task finished with error code: -38 (Function not implemented)
    [vf#0:0 @ 0x77e9998ec440] Terminating thread with return code -38 (Function not implemented)
    [vost#0:0/av1_vaapi @ 0x77e9998d6800] Could not open encoder before EOF
    [vost#0:0/av1_vaapi @ 0x77e9998d6800] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_vaapi @ 0x77e9998d6800] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x77e9998ec680] 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!

    Any hint would be appreciated. Thanks in advance.
    ArneR
    Offline

    Junior Member

    Posts: 31
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    Country:Norway
    #2
    5 hours ago
    First, Select Intel Quicksync and enable AV1 decoding.
    Second, AV1 encoding, according to this thread N150 doesn't support encoding to AV1:

    https://forum.jellyfin.org/t-hardware-ac...-processor

    (2025-07-26, 06:03 PM)theguymadmax Wrote:
    (2025-07-26, 05:35 PM)Unstirred6783 Wrote: Stream mapping:
      Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    Your processor does not support Encoding in AV1, turn that off.

    Then enable
    Hardware Encoding Options:
    Enable Intel Low-Power H.264 hardware encoder
    Enable Intel Low-Power HEVC hardware encoder
    Enable VPP tonemapping and Enable tone mapping.

    You should be good to go now.
    barukh27
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2025 Nov
    Reputation: 0
    #3
    3 hours ago
    Thank for your help. 

    I followed your suggestions. But I still get the same error.

       

       

    Code:
    ffmpeg version 7.1.2-Jellyfin Copyright (c) 2000-2025 the FFmpeg developers
      built with gcc 14 (Debian 14.2.0-19)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --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      59. 39.100 / 59. 39.100
      libavcodec    61. 19.101 / 61. 19.101
      libavformat    61.  7.100 / 61.  7.100
      libavdevice    61.  3.100 / 61.  3.100
      libavfilter    10.  4.100 / 10.  4.100
      libswscale      8.  3.100 /  8.  3.100
      libswresample  5.  3.100 /  5.  3.100
      libpostproc    58.  3.100 / 58.  3.100
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
    libva info: Found init function __vaDriverInit_1_22
    libva info: va_openDriver() returns 0
    Input #0, matroska,webm, from 'file:/mnt/ :speak-no-evil-monkey: ':
      Metadata:
        title          : :speak-no-evil-monkey: (2004)
        creation_time  : 2025-06-29T12:54:53.000000Z
        ENCODER        : Lavf61.7.100
      Duration: 01:39:04.70, start: -0.021000, bitrate: 3473 kb/s
      Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
          Metadata:
            DURATION        : 01:39:04.147000000
      Stream #0:1(spa): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
          Metadata:
            title          : Castellano
            DURATION        : 01:39:04.400000000
      Stream #0:2(cat): Audio: aac (LC), 48000 Hz, stereo, fltp
          Metadata:
            title          : Catalán
            DURATION        : 01:39:04.701000000
      Stream #0:3(eng): Audio: aac (LC), 48000 Hz, stereo, fltp
          Metadata:
            title          : Inglés
            DURATION        : 01:39:04.106000000
      Stream #0:4(spa): Subtitle: ass (ssa)
          Metadata:
            title          : Forzados
            DURATION        : 00:00:00.000000000
      Stream #0:5(spa): Subtitle: ass (ssa)
          Metadata:
            title          : Castellano
            DURATION        : 01:33:56.633000000
      Stream #0:6(spa): Subtitle: ass (ssa)
          Metadata:
            title          : Castellano
            DURATION        : 01:33:56.633000000
      Stream #0:7(cat): Subtitle: ass (ssa)
          Metadata:
            title          : Catalán
            DURATION        : 01:33:56.633000000
      Stream #0:8(eng): Subtitle: ass (ssa)
          Metadata:
            title          : Inglés
            DURATION        : 01:38:38.646000000
    Stream mapping:
      Stream #0:0 -> #0:0 (hevc (native) -> av1 (av1_qsv))
      Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [av1_qsv @ 0x76d9cf7f2d00] Current profile is unsupported
    [av1_qsv @ 0x76d9cf7f2d00] Selected ratecontrol mode is unsupported
    [av1_qsv @ 0x76d9cf7f2d00] Current frame rate is unsupported
    [av1_qsv @ 0x76d9cf7f2d00] Current picture structure is unsupported
    [av1_qsv @ 0x76d9cf7f2d00] Current resolution is unsupported
    [av1_qsv @ 0x76d9cf7f2d00] Current pixel format is unsupported
    [av1_qsv @ 0x76d9cf7f2d00] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
    [vost#0:0/av1_qsv @ 0x76d9ceda9b00] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
    [vf#0:0 @ 0x76d9d58ed280] Error sending frames to consumers: Function not implemented
    [vf#0:0 @ 0x76d9d58ed280] Task finished with error code: -38 (Function not implemented)
    [vf#0:0 @ 0x76d9d58ed280] Terminating thread with return code -38 (Function not implemented)
    [vost#0:0/av1_qsv @ 0x76d9ceda9b00] Could not open encoder before EOF
    [vost#0:0/av1_qsv @ 0x76d9ceda9b00] Task finished with error code: -22 (Invalid argument)
    [vost#0:0/av1_qsv @ 0x76d9ceda9b00] Terminating thread with return code -22 (Invalid argument)
    [out#0/hls @ 0x76d9d58ecb00] 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!

    I forgot to mentioned I run jellyfin via docker.

    Code:
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        devices:
          - /dev/dri:/dev/dri # Pass the GPU device
        group_add:
          - video # Add user to video group
    .....

    And I try to play the video in a Chromebook with Chrome.

    Tanks!
    ArneR
    Offline

    Junior Member

    Posts: 31
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    Country:Norway
    #4
    3 hours ago
    No, you're still enconding to AV1, disable that. "Permitir la codificación en formato AV1"
    « 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