Important: Please read the Qt Code of Conduct -

QT and Gstreamer appsink

  • 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.
    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.

  • Lifetime Qt Champion


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

    Hope it helps

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

Log in to reply