PDA

View Full Version : Using qt-gstreamer for frames capture



vsw
9th May 2015, 14:13
Hi,

I am using qt-gstreamer recorder example: http://gstreamer.freedesktop.org/data/doc/gstreamer/head/qt-gstreamer/html/examples_2recorder_2main_8cpp-example.html

Gentoo 3.18.11, qt-creator 2.8, qt4.8.
Camera v4l2 and microphone alsa.

Example works fine.
But i want record QImage frames as video source instead v4l2 camera.
How i can push image.data to gst pipe?
---- m_pipeline->add(audioSrcBin, videoSrcBin, mux, sink);

Best regards Viktor.

vsw
11th May 2015, 02:34
RESOLVED! AppSrc gstreamer class for buffer push is here: https://github.com/detrout/qt-gstreamer/…/src/QGst/Utils