I got a step closer: the plugins for gstreamer 0.10 (camerabin2, …) were missing from the yocto build. Now I rebuilt an image with those plugins and now Qt can build a full gstreamer pipeline. It uses the autovideosrc and this uses v4l2src which is not correct.
Here is the Output:
QML debugging is enabled. Only use this in a safe environment.
0:00:00.100359333 00;01;37;41m GST_ELEMENT_FACTORY creating element "camerabin2" named "camerabin2"
0:00:00.101360333 00;01;37;41m GST_ELEMENT_FACTORY creating element "viewfinderbin" named "vf-bin"
0:00:00.106285999 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter" named "videobin-capsfilter"
0:00:00.107177332 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter" named "imagebin-capsfilter"
0:00:00.107428332 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter" named "viewfinderbin-capsfilter"
0:00:00.107960666 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter" named "audio-capsfilter"
0:00:00.111536999 00;01;37;41m GST_ELEMENT_FACTORY creating element "volume" named "audio-volume"
0:00:00.216327666 00;01;37;41m GST_ELEMENT_FACTORY no such element factory "subdevsrc"!
0:00:00.216451332 00;01;37;41m GST_ELEMENT_FACTORY creating element "wrappercamerabinsrc" named "camera_source"
0:00:00.217412999 00;01;37;41m GST_ELEMENT_FACTORY creating element "pipeline" named "preview-pipeline"
0:00:00.219247666 00;01;37;41m GST_ELEMENT_FACTORY creating element "appsrc" named "preview-appsrc"
0:00:00.220626666 00;01;37;41m GST_ELEMENT_FACTORY creating element "appsink" named "preview-appsink"
0:00:00.223330999 00;01;37;41m GST_ELEMENT_FACTORY creating element "ffmpegcolorspace" named "preview-csp"
0:00:00.229618333 00;01;37;41m GST_ELEMENT_FACTORY creating element "videoscale" named "preview-vscale"
0:00:00.237731666 00;01;37;41m GST_ELEMENT_FACTORY creating element "encodebin" named "video-encodebin"
0:00:00.241304666 00;01;37;41m GST_ELEMENT_FACTORY creating element "filesink" named "videobin-filesink"
0:00:00.242116333 00;01;37;41m GST_ELEMENT_FACTORY creating element "encodebin" named "image-encodebin"
0:00:00.247277666 00;01;37;41m GST_ELEMENT_FACTORY creating element "multifilesink" named "imagebin-filesink"
0:00:00.247831666 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue" named "viewfinderbin-queue"
0:00:00.254614333 00;01;37;41m GST_ELEMENT_FACTORY creating element "oggmux" named "muxer"
0:00:00.259720000 00;01;37;41m GST_ELEMENT_FACTORY creating element "theoraenc"
0:00:00.279953666 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue"
0:00:00.280539000 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter"
0:00:00.282204999 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue"
0:00:00.283420333 00;01;37;41m GST_ELEMENT_FACTORY creating element "ffmpegcolorspace"
0:00:00.283727333 00;01;37;41m GST_ELEMENT_FACTORY creating element "videoscale"
0:00:00.284063999 00;01;37;41m GST_ELEMENT_FACTORY creating element "ffmpegcolorspace"
0:00:00.286209666 00;01;37;41m GST_ELEMENT_FACTORY creating element "videorate"
0:00:00.292783333 00;01;37;41m GST_ELEMENT_FACTORY creating element "vorbisenc"
0:00:00.294217333 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue"
0:00:00.294771666 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter"
0:00:00.295700999 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue"
0:00:00.298252332 00;01;37;41m GST_ELEMENT_FACTORY creating element "audiorate"
0:00:00.301270666 00;01;37;41m GST_ELEMENT_FACTORY creating element "audioconvert"
0:00:00.302380333 00;01;37;41m GST_ELEMENT_FACTORY creating element "audioconvert"
0:00:00.304142333 00;01;37;41m GST_ELEMENT_FACTORY creating element "audioresample"
0:00:00.475381666 00;01;37;41m GST_ELEMENT_FACTORY creating element "jifmux" named "muxer"
0:00:00.482562333 00;01;37;41m GST_ELEMENT_FACTORY creating element "vpuenc"
0:00:00.488153999 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue"
0:00:00.488767332 00;01;37;41m GST_ELEMENT_FACTORY creating element "capsfilter"
0:00:00.489695000 00;01;37;41m GST_ELEMENT_FACTORY creating element "queue"
0:00:00.490935333 00;01;37;41m GST_ELEMENT_FACTORY creating element "ffmpegcolorspace"
0:00:00.491209666 00;01;37;41m GST_ELEMENT_FACTORY creating element "videoscale"
0:00:00.491508999 00;01;37;41m GST_ELEMENT_FACTORY creating element "ffmpegcolorspace"
0:00:00.619578000 00;01;37;41m GST_ELEMENT_FACTORY creating element "autoaudiosrc" named "audiosrc"
0:00:00.620081666 00;01;37;41m GST_ELEMENT_FACTORY creating element "fakesrc" named "tempsrc"
0:00:00.668404666 00;01;37;41m GST_ELEMENT_FACTORY creating element "ffmpegcolorspace" named "vfbin-csp"
0:00:00.668781332 00;01;37;41m GST_ELEMENT_FACTORY creating element "videoscale" named "vfbin->videoscale"
0:00:00.714416666 00;01;37;41m GST_ELEMENT_FACTORY creating element "autovideosrc" named "camerasrc-real-src"
0:00:00.714892666 00;01;37;41m GST_ELEMENT_FACTORY creating element "fakesrc" named "tempsrc"
0:00:00.721337666 00;01;37;41m GST_ELEMENT_FACTORY creating element "v4l2src" named "camerasrc-real-src-actual-src-v4l"
0:00:00.723816666 00;01;37;41m GST_ELEMENT_FACTORY creating element "v4l2src" named "camerasrc-real-src"
Now I have to search if it is possible to deactivate v4l2src or tell autovideosrc to take mfw_v4lsrc.
But I’m on training this week, I can only look into it next week.
Cheers