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

QVideoFrame(QVideoFrameFormat) constructor fails with ffmpeg on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 6.4.0 FF
    • Multimedia
    • None
    • tested on debian 11 and 12 with gnome and lxde
    • Linux/X11
    • Multimedia wk 29-30, Multimedia wk 31-32

      Using the constructor QVideoFrame::QVideoFrame(const QVideoFrameFormat &format) creates a wrong frame. This happens only with the ffmpeg backend. It does not happen with the gstreamer backend. It seems, that the constructor creates a gstreamer frame, even the ffmpeg backend is used.

      Output of attached test case:

      FFMEG:

      Format: Format_YUV420P
      Copy constructor   : mappedBytes: 69120
      Format constructor : mappedBytes: 57600

      GSTREAMER:

      Format: Format_YUV420P
      Copy constructor   : mappedBytes: 57600
      Format constructor : mappedBytes: 57600

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

            timblechmann tim blechmann
            felsi Michael Felsberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes