Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135982

[ffmpeg] encoder problems with nvidia on ubuntu 25.04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.10
    • Multimedia
    • Linux/Wayland

    Description

      hardware encoding via nvidia seems to fail on ubuntu 25.04:

      "FFmpeg log: NVDEC capabilities:"
      "FFmpeg log: format supported: yes, max_mb_count: 65536"
      "FFmpeg log: min_width: 48, max_width: 4096"
      "FFmpeg log: min_height: 16, max_height: 4096"
      "FFmpeg log: decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed"
      "FFmpeg log:  -> CUDA_ERROR_INVALID_VALUE: invalid argument"
      "FFmpeg log: "
      "FFmpeg log: Using more than 32 (39) decode surfaces might cause nvdec to fail."
      "FFmpeg log: Try lowering the amount of threads. Using 16 right now."
      "FFmpeg log: Failed setup for format cuda: hwaccel initialisation returned error."
      "FFmpeg log: Format cuda not usable, retrying get_format() without it."
      qt.multimedia.ffmpeg.hwaccel: Selected format with no conversion 0
      

      (building against ffmpeg-7.1.1, as provided by ubuntu)

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-135982
          # Subject Branch Project Status CR V

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change