我正在使用UVC相机测试飞思卡尔Yocto上的Qt Camera示例程序。
Enviroment:
Qt 5.3
Yocto Poky 1.6.2
运行时出现类似错误,没有视频输出
ERROR: v4l2 capture: slave not found!
(gst-plugin-scanner:1523): GLib-GObject-WARNING **: cannot register existing type 'GstVorbisDec'
(gst-plugin-scanner:1523): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:1523): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' fERROR: v4l2 capture: slave not found!
ailed
在Yocto系统中发现了两个版本的GStreamer:
gst-launch imxv4l2src ! imxv4l2sink //don't work
gst-launch-1.0 imxv4l2src ! imxv4l2sink //got camera video output
那么如何使用GStreamer1.0指定Qt