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

tst_QMediaRecorderBackend: record_writesVideo_whenInputFrameGrowsOverTime test failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.11
    • Multimedia
    • None
    • Linux/Wayland

    Description

      t.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
      ********* Start testing of tst_QMediaRecorderBackend *********
      Config: Using QtTest library 6.10.0, Qt 6.10.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by Ubuntu Clang 20.1.2 (0ubuntu1)), ubuntu 25.04
      PASS   : tst_QMediaRecorderBackend::initTestCase()
      QINFO  : tst_QMediaRecorderBackend::record_writesVideo_whenInputFrameGrowsOverTime() qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.1-1ubuntu1.1 GPL version 2 or later
      QINFO  : tst_QMediaRecorderBackend::record_writesVideo_whenInputFrameGrowsOverTime() qt.multimedia.ffmpeg.encoder: Recording new media with muxer MP4 (MPEG-4 Part 14) to "/tmp/tst_qmediarecorderbackend.yuhTlE" with format: QMediaFormat::MPEG4, QMediaFormat::AudioCodec::AAC, QMediaFormat::VideoCodec::H265
      QWARN  : tst_QMediaRecorderBackend::record_writesVideo_whenInputFrameGrowsOverTime() Invalid frameRate 0 ; Using the default instead
      [hevc_vaapi @ 0x727253131880] No usable encoding entrypoint found for profile VAProfileHEVCMain444_12 (28).
      QWARN  : tst_QMediaRecorderBackend::record_writesVideo_whenInputFrameGrowsOverTime() qt.multimedia.ffmpeg.videoencoder: Couldn't open video encoder "hevc_vaapi" ; result: "Function not implemented"
      FAIL!  : tst_QMediaRecorderBackend::record_writesVideo_whenInputFrameGrowsOverTime() 'f.m_videoInput.sendVideoFrame(f.m_videoGenerator.createFrame())' returned FALSE. ()
         Loc: [/home/tim/dev/qt6-dev/qtmultimedia/tests/auto/integration/qmediarecorderbackend/tst_qmediarecorderbackend.cpp(288)]
      PASS   : tst_QMediaRecorderBackend::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 13266ms
      ********* Finished testing of tst_QMediaRecorderBackend *********
      

      initial analysis:
      the test assumes that after `readyToSendVideoFrame()` is emitted, one can send data via `sendVideoFrame()` however this does not hold, as `QMediaFrameInputPrivate::m_canSendMediaFrame` can be updated via an asynchronous signal

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes