Part Number: AM3354
Tool/software: Linux
hi
I'm evaluating the camera function on AM3354 platform.
we are using SDK 03.02.00.05. which is based on Qt5.6.2
we also have a logitech USB camera.
When the camera is plugged in.I can see the log for UVC camera:
new high-speed USB device number 3 using musb-hdrc
uvcvideo: Found UVC 1.00 device <unnamed> (046d:081b)
input: UVC Camera (046d:081b) as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1:1.0/input/input0
And i used the motion-project from github to test the camera.And it working ok.Prooving the camera driver is ok.
Now.When i try to run the official Qt5 camera demo.It doesn't work.like this:
export QTDIR=/usr/lib
export LD_LIBRARY_PATH=$QTDIR/
export QT_QPA_PLATFORM=eglfs:/dev/fb0
export QT_QPA_FONTDIR=$QTDIR/fonts
export QT_PLUGIN_PATH=$QTDIR/qt5/plugins
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="linuxinput:/dev/input/event1"
/usr/share/qt5/examples/multimediawidgets/camera/camera
No error log is found when running the camera demo.
and the screen look like this:
And i also tried to run another demo:
/usr/share/qt5/examples/multimedia/declarative-camera/declarative-camera
and the screen look like this:
the declarative-camera did report some error like:
qrc:///VideoCaptureControls.qml:110: Error: Cannot assign [undefined] to QString
qrc:///CameraListButton.qml:65:5: QML CameraListPopup: Binding loop detected for property "currentValue"
qrc:///PhotoCaptureControls.qml:135: Error: Cannot assign [undefined] to QString
qrc:///CameraListButton.qml:65:5: QML CameraListPopup: Binding loop detected for property "currentValue"
Unable to get the parameter value: the parameter is not supported.
But i don't know if it's related or not.
but both application looks like the same kind of problem.
there is no preview for the camera.
======================latest update from my own previous thread in e2e========================================
According to the suggestion of Margarita Gashova

gst-plugins-bad-0.10.23.tar
gst-plugins-base-0.10.36.tar
gst-plugins-good-0.10.31.tar
gstreamer-0.10.36.tar
but still no preview .
then i tried to remove the original gstreamer-1.0 packages:
opkg remove --force-depends gstreamer1.0*
and when i start :
/usr/share/qt5/examples/multimediawidgets/camera/camera
it reports:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
i think the Qt5 did not even intend to look for gstreamer-0.10?
it still looks for gstreamer-1.0 kind of stuff?
so i suspect that.either there's some kind of configuration to make Qt5 look for gstreamer-1.0 by default?
or this kind of setting is fixed when compiling Qt5 libraries?
and i found recipe like this:
sources/meta-openembedded/meta-multimedia/recipes-multimedia/gstreamer-0.10
meaning probably i need to re-build the entire sdk using arago in order to build Qt5 and gstreamer-0.10 all together? Rather than just build gstreamer-0.10 itself?
if so.how do i do it?
thanks


