Gstreamer camera open problems on Android 5.1.1

Nicolas Dufresne nicolas.dufresne at collabora.com
Sun Jul 19 10:16:04 PDT 2015


Le dimanche 19 juillet 2015 à 15:38 +0000, Luka Hranjec a écrit :
>  I/GStreamer﹕ GStreamer initialization complete
>  D/gstreamer﹕ Start: video-source Started!
>  D/camera﹕ Init camera()
>  D/camera﹕ ERROR: element: AV Pipeline: Cannot identify device 
> '/dev/video0'. quitting
>  D/camera﹕ FINISH: quitting
>  E/GLib+GLib﹕ g_main_loop_quit: assertion 'loop != NULL' failed
> 
> Cannot identify device? What does that mean?
> Also I noticed I am unable to change permissions for the camera 
> device, because it is in use by mm-qcamera-deamon, it don't know if 
> it's related to the problem.

It means nothing, just a random error message. What is most likely
happening is that "open" failed. And what is even more likely is
permission denied, or busy. On Android, you should use Android API.
Opening V4L2 device directly is not part of the public API. There is
pending patches (that requires some work) to do so in GStreamer.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150719/7e706beb/attachment.sig>


More information about the gstreamer-devel mailing list