Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QT and Gstreamer appsink

    Tools
    gstreamer1.0 qt 5.3.11
    2
    3
    733
    Loading More Posts
    • 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
      vicky_mac last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • V
          vicky_mac last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post