Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Video element and Gstreamer options
Qt 6.11 is out! See what's new in the release blog

QML Video element and Gstreamer options

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bricke
    wrote on last edited by
    #1

    Hi everyone, I'm trying to show a video on my qml code (qt5), I'm working on a ARM device.

    The problem is that if I create a Video tag (QtMultimedia 5.0) with a sample video I cannot see any video playback.
    The error I got is:
    @(helloworld:927): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

    omx_setup error while setting FilterTimestamp
    Allocating new output: 1280x720 (x 12)
    Error: "The autoaudiosink element is missing."@

    And that's true, I've no autoaudiosink on gstreamer, I'm using nvidia proprietary driver so I've got "nv_omx_videosink" and "nv_omx_audiosink".

    I can play the video with the following command:
    @gst-launch filesrc location=big_buck_bunny.mp4 ! qtdemux name=demux demux.video_00 ! decodebin ! nv_omx_videosink force-aspect-ratio=true demux.audio_00 ! nv_omx_aacdec ! alsasink@

    But how can I tell to the Video element to use another sink element other than the auto one?

    Thank you.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved