AnsweredAssumed Answered

imx6solo qt5.3.2 multimedia can't play video?

Question asked by jery0711 jery on Sep 19, 2016
Latest reply on Sep 22, 2016 by jery0711 jery

Hi,dear

i am a newer to develop imx6solo  with yocto.use MCIMX6S5DVM10AB

i download linux fsl L3.14.28_1.0.0_iMX6SL_BUNDLE (REV L3.14.28_1.0.0),and build images with qt5 which version is qt5.3.2.

 i build image with fb to run qt5,my custom qt5 app run with -platform eglfs  work ok,but can't play video,like qmlvideo ,videowidgets. all qt5 multimedia/multimediawidget examples can't play video.

i add PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"  to my local.conf,and add

 PACKAGECONFIG[gstreamer] = ",,gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"

 EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'gstreamer', 'GST_VERSION=1.0', '', d)}"

to source/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb.

i also try PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010"

but all fsl-imags-qt5 images play video with qt multimedia examples failure. 

 

l'm use 

root@imx6solosabresd:~# gst-launch-1.0 playbin uri=file:/home/root/test1.mp4

can play my video,but use qt5 example qmlvideo or my custom qml app qmlplayer can't play ,report:

 

No m_videoSink available!

 

thanks

Outcomes