I have blaze development platform. It is running Ubuntu (Maverick). I installed all packages from TI PPA.
I am trying to capture video from cameras, using gstreamer but am having no luck.
I only see /dev/video1, /dev/video2, and /dev/video3.
One of the simplest pipeline I tried was gst-launch omx_camera ! v4l2sink which produced follwing errors :
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: failed check: status >= 0
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: - returning error: RPC_OMX_RCM_ClientFail
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: Error code: 0x70009
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: - RCM ClientCreate failed. Cannot Establish the connection
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: failed check: eRPCError == RPC_OMX_ErrorNone
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: - returning error: eRPCError
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: Error code: 0x70009
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: - Client create failed
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: failed check: eRPCError == RPC_OMX_ErrorNone
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: - returning error: OMX_ErrorUndefined
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: Error code: 0x80001001
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: - Error initializing RPC
video/omx_proxy_component/src/omx_proxy_camera.c:173 OMX_ComponentInit() ERROR: ror in Initializing Proxy
Caught SIGSEGV accessing address (nil)
#0 0x2abd2fc6 in ?? ()
#1 0x2abd1c7e in ?? ()
Spinning. Please run 'gdb gst-launch 13312' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
^CCaught interrupt --
then I tried
gst-launch v4l2src always-copy=false --gst-debug-level=2 ! video/x-raw-yuv,width=160,height=120,framerate=30000/1001 ! fakesink -v produces following errors
Setting pipeline to PAUSED ...
0:00:00.151733398 13323 0x1f2050 WARN v4l2 v4l2_calls.c:491:gst_v4l2_open:<v4l2src0> error: Cannot identify device '/dev/video0'.
0:00:00.151855468 13323 0x1f2050 WARN v4l2 v4l2_calls.c:491:gst_v4l2_open:<v4l2src0> error: system error: No such file or directory
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video0'.
Additional debug info:
v4l2_calls.c(491): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...
v4l-info /dev/video3 display following :
### v4l2 device info [/dev/video3] ###
general info
VIDIOC_QUERYCAP
driver : "omap_wb"
card : "omap_wb"
bus_info : ""
version : 0.0.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
standards
inputs
video capture
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 160
fmt.pix.height : 120
fmt.pix.pixelformat : 0x34424752 [RGB4]
fmt.pix.field : ANY
fmt.pix.bytesperline : 320
fmt.pix.sizeimage : 38400
fmt.pix.colorspace : JPEG
fmt.pix.priv : 0
controls
### video4linux device info [/dev/video3] ###
general info
VIDIOCGCAP
name : "omap_wb"
type : 0x1 [CAPTURE]
channels : 0
audios : 0
maxwidth : 0
maxheight : 0
minwidth : 48
minheight : 32
channels
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
ioctl VIDIOCGAUDIO: Invalid argument
picture
VIDIOCGPICT
brightness : 0
hue : 0
colour : 0
contrast : 0
whiteness : 0
depth : 16
palette : unknown
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 0
height : 0
chromakey : 0
flags : 0
/dev/video1 and /dev/video2 seems like output video devices.
Has anyone able to capture video on Blaze platform with Ubuntu?
I have tried several different piplines, but not having any luck.
If I use omx_camera as vedio source, it always fives following errors :
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: failed check: status >= 0
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: - returning error: RPC_OMX_RCM_ClientFail
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: Error code: 0x70009
system/domx/omx_rpc/src/omx_rpc.c:730 _RPC_ClientCreate() ERROR: - RCM ClientCreate failed. Cannot Establish the connection
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: failed check: eRPCError == RPC_OMX_ErrorNone
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: - returning error: eRPCError
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: Error code: 0x70009
system/domx/omx_rpc/src/omx_rpc.c:192 RPC_InstanceInit() ERROR: - Client create failed
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: failed check: eRPCError == RPC_OMX_ErrorNone
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: - returning error: OMX_ErrorUndefined
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: Error code: 0x80001001
system/domx/omx_proxy_common/src/omx_proxy_common.c:1841 OMX_ProxyCommonInit() ERROR: - Error initializing RPC
video/omx_proxy_component/src/omx_proxy_camera.c:173 OMX_ComponentInit() ERROR: ror in Initializing Proxy
Caught SIGSEGV accessing address (nil)
#0 0x2abcafc6 in ?? ()
#1 0x2abc9c7e in ?? ()
Thank you
Marc