AnsweredAssumed Answered

could not play video via Qmediaplayer

Question asked by tsung li wang on Oct 23, 2018
Latest reply on Oct 25, 2018 by igorpadykov

Hi Community,

 

I'm working on i.MX6 Quad sabre-SD and use yocto project that NXP released to build weston wayland as my OS system.

Below is my local.conf

MACHINE ??= 'imx6qsabresd'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

 

Here is the problem.

I get a QT application to run.

I use below command to run it.

./play -platform eglfs

 

But while I play my video for approximately 3 seconds, it will stuck.

The attachment is my log when I run my application.

Question   

why is this happening?

How can I solve this problem?

 

Additional question, what is difference between "-platform eglfs" and "-platform wayland"?

Two of this way will appears different result.

 

For -platform eglfs:

Like what I asked above, it stuck.

For -platform wayland:

Testing on the same application, it can play video well but if I move windows it l afterimage.

 

Question

Why it will generate different result?

What is difference between "-platform eglfs" and "-platform wayland"?

How to fix it?

 

 

Thanks in Advanced!

Outcomes