QT and Gstreamer appsink
Unsolved
Qt Creator and other tools
-
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. -
Hi,
You might be interested in the custom GStreamer pipeline for QMediaPlayer::setMedia.
Hope it helps