Languages

Menu
Sites
Language
Unable to launch USB Camera in Tizen 2.0 alfa

Hi,

I am tring to launch USB Camera from tizen UI.

It shows "UNABLE TO LAUNCH CAMERA"

Now if I give /opt/apps/org.tizen.caera-app/bin/camera

it shows "UNAMBLE TO PRIVIEW "

Note : I am using CISCO VT Camera on OMAP Panda Plateform and Linaro kernel 3.4.0

What to do next, Is there any bug related to this app in tizen 2.0 alfa ?

------------------------------------------------------------------------

Camera Log;

CRI<1517>:evas_main
evas_clip.c:181 evas_object_clip_set() Setting clip 0x1ce078 on
itself

appcore:
sf_connect failed: -1

ERR<1815>:evas-gl_x11
evas_x_main.c:163 eng_window_new() eglGetDisplay() fail. code=0

ERR<1815>:ecore_evas
ecore_evas_x.c:254 _ecore_evas_x_gl_window_new()
evas_engine_info_set() for engine 'opengl_x11' failed.

ERR<1815>:ecore_evas
ecore_evas_x.c:3566 ecore_evas_gl_x11_options_new()
evas_engine_info_set() init engine 'opengl_x11' failed.

CRI<1815>:elementary
elm_win.c:1998 elm_win_add() OpenGL engine creation failed. Trying
default.

dpy is not
null .. set no effect to display = 33554436

CRI<1517>:evas_main
evas_clip.c:181 evas_object_clip_set() Setting clip 0x1cef40 on
itself

 

=========================================================================================

[WM]
Active window is changed. OLD(win:0x1000004,pid:1661) -->
NEW(win:0x2000004,pid:1815,name:camera)

=========================================================================================

 

[
103.025817] omapdss DISPC error: SYNC_LOST on channel tv, restarting
the output with video overlays disabled

CRI<1815>:evas_main
evas_clip.c:181 evas_object_clip_set() Setting clip 0xc8050 on itself

CRI<1815>:evas_main
evas_clip.c:181 evas_object_clip_set() Setting clip 0xc8b10 on itself

CRI<1815>:evas_main
evas_clip.c:181 evas_object_clip_set() Setting clip 0xc9880 on itself

.

.

.

.

ERR<1815>:evas_main
evas_object_smart.c:747 evas_object_smart_need_recalculate_set()
Object 0xc7ef8 is not stable during

------------------------------------------------------------------------

Please help.

Thanks in advance :)

Sabs

 

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

10 Replies
Pushpa G
Try in 2.2.0b : https://www.tizen.org/blogs/tsg/2013/tizen-2.2-beta-sdk-release
saurabh dubey
Thanks Pushpa, As I was digging logs and code I found that a file "cam.c" throwing error : "UNABLE TO LAUNCH CAMERA". They have defined a library " #define CAM_EXT_LIB_PATH "/usr/lib/libcamera-external-engine.so " at line 506 But this lib is not there. So is there any problem with this library ? I 'll try with 2.2 also.
Pushpa G
AFAIK, Official latest TIZEN reference target does not have /usr/lib/libcamera-external-engine.so. However, can you share your app here for better analysis
saurabh dubey
Okey, I am not using any external app, I am trying to launch camera from the given App in tizen binary. My USB camera is working fine up to Framework (Gstreamer). But from UI its not launching .. I don't know Why.
Tizenivi dev
https://developer.tizen.org/forums/general-support/usb-camera-not-lauching-camera-app Did you succeed ?
saurabh dubey
No not yet... Now trying with tizen2.2b .. Lets see .. I 'll post if any thing happens :)
Jinhyung Jo
https://wiki.tizen.org/wiki/Porting_Guide#Camcorder Have you read that web page? If you didn't, It is strongly recommended that you read the web page.
saurabh dubey
Now I am trying with Tizen2.1 mobile profile , I flashed it on device, Now when I click on Camera icon it shows "Low baterry" Any Idea why this issue is comming ? Thanks Sabs
Pushpa G
Better charge your phone for sometime and then try
saurabh dubey
In Tizen2.1 mobile profile. When I launch camera again its showing "UNABLE TO LAUNCH CAMERA". In cam.c it is lokking for "libcamera-external-engine.so" dynomic liberary. code -------------------------------------------------------------- #define CAM_EXT_LIB_PATH "/usr/lib/libcamera-external-engine.so" handle = dlopen(CAM_EXT_LIB_PATH, RTLD_LAZY); if ( !handle ) { char *msg = NULL; msg = strdup(dlerror()); DEBUG_TRACE("error: %s", msg); return FALSE; } -------------------------------------------------------------- But this liberary is not there in 2.1 too. Where can I get this liberay ? Thanks