ubuntu18.04不能利用apt安装libgstreamer0.10-dev;
ubuntu下使用的v4l2(make通过,运行历程出现如下错误:
No video config string supplied, using defaults.
ioctl failed
),artoolkit使用的啥v4l1,所以不能直接使用videolinux,需要使用gstreamer。
ubuntu16.04按照教程参考
进行运行是,报错:
(videoTest:14443): GStreamer-CRITICAL **: gst_pad_get_negotiated_caps: assertion 'GST_IS_PAD (pad)' failed
libARvideo: GStreamer pipeline is PAUSED!
libARvideo: GStreamer pipeline is PLAYING!
libARvideo: GStreamer pipeline is PAUSED!
Image size (x,y) = (1768710505,1769234810)
Camera parameter load error !!
查看端口:
jiteng@jiteng-GT80S-6QF:~/app/ARToolKit/bin$ ls /dev/video*
/dev/video0 /dev/video1
jiteng@jiteng-GT80S-6QF:~/app/ARToolKit/bin$ ./videoTest
Using config string from environment [v4l2src device=/dev/video1 use-fixed-fps=false ! ffmpegcolorspace ! capsfilter caps=video/x-raw-rgb,bpp=24 ! identity name=artoolkit ! Fakesink].
还没找到问题所在!!!