Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT and Gstreamer appsink
Forum Update on Monday, May 27th 2025

QT and Gstreamer appsink

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
gstreamer1.0qt 5.3.11
3 Posts 2 Posters 1.4k Views
  • 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.
  • V Offline
    V Offline
    vicky_mac
    wrote on 27 Jan 2020, 13:23 last edited by
    #1

    I am trying to decode video using gstreamer and get the data using appsink and display in Qlabel.
    gst-launch-1.0 filesrc location=/asd.mp4 ! qtdemux ! h264parse ! omxh264dec ! appsink
    i am able to Decode and display as well but i am more data.
    like if my video size is 640x480 i am getting 460800 bytes in buffer.
    gst_buffer_map(buffer,&databuffer,GST_MAP_READ);
    printing the databuffer.size should be 307200 .
    and in label same image displayed multiple times.
    There may be something wrong in my understating please let me know what is going wrong here.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Jan 2020, 20:02 last edited by
      #2

      Hi,

      You might be interested in the custom GStreamer pipeline for QMediaPlayer::setMedia.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vicky_mac
        wrote on 28 Jan 2020, 04:16 last edited by
        #3

        I have older version of QT5.11.3 and cannot update.
        So want solution for this version.

        1 Reply Last reply
        0

        1/3

        27 Jan 2020, 13:23

        • Login

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