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

Video playback issue on STM32MP2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15
    • Multimedia
    • None
    • STM32MP257F-EV1
      X-LINUX-QT V1.0.0
    • Linux/Yocto

    Description

      I'm reaching out regarding an issue I encountered while trying to play an MP4 video (x-h264 encoded) on the STM32MP2 board using QML. I used the qmlvideo example from Qt (reference: Qt Multimedia Video QMLVideo Example). While it works fine on my PC, the following errors appear when I run it on the MP2 (also attached file log.txt):

       

      13:44:26: Starting /usr/share/examples/multimedia/video/qmlvideo/qmlvideo on STM32MP2... QML debugging is enabled. Only use this in a safe environment. QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000 qrc:/qml/qmlvideo/main.qml:230:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/qmlvideo/main.qml:75:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/performancemonitor/PerformanceItem.qml:81:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/performancemonitor/PerformanceItem.qml:81:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/qmlvideo/Content.qml:85:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/qmlvideo/Content.qml:75:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }

      (qmlvideo:14575): GLib-GObject-WARNING **: 13:46:57.063: /usr/src/debug/glib-2.0/1_2.74.6-r0/gobject/gsignal.c:2620: signal 'video-changed' is invalid for instance '0xb7320b0' of type 'GstPlayBin3'

      (qmlvideo:14575): GLib-GObject-WARNING **: 13:46:57.065: /usr/src/debug/glib-2.0/1_2.74.6-r0/gobject/gsignal.c:2620: signal 'audio-changed' is invalid for instance '0xb7320b0' of type 'GstPlayBin3'

      (qmlvideo:14575): GLib-GObject-WARNING **: 13:46:57.065: /usr/src/debug/glib-2.0/1_2.74.6-r0/gobject/gsignal.c:2620: signal 'text-changed' is invalid for instance '0xb7320b0' of type 'GstPlayBin3' qrc:/qml/qmlvideo/Content.qml:75:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/qmlvideo/Content.qml:85:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/qml/qmlvideo/main.qml:230:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qml: [qmlvideo] VideoItem.onError error 1 errorString Internal data stream error. qml: [qmlvideo] Content.onFatalError Error: "Internal data stream error." ** ERROR:/usr/src/debug/gstreamer1.0-plugins-base/1.22.6-r0/gst/playback/gstplaybin3.c:2608:reconfigure_output: assertion failed: (combine->sinkpad == NULL) Bail out! ERROR:/usr/src/debug/gstreamer1.0-plugins-base/1.22.6-r0/gst/playback/gstplaybin3.c:2608:reconfigure_output: assertion failed: (combine->sinkpad == NULL) 13:47:10: /usr/share/examples/multimedia/video/qmlvideo/qmlvideo on STM32MP2 exited with code 255

      I also tested playing the video directly on the board with gst-play-1.0, and it worked without issues, confirming that the board has the necessary codec.

      Thank you for your time and support!

      Attachments

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

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            kanti Kanti Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes