could not play video via Qmediaplayer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

could not play video via Qmediaplayer

6,661件の閲覧回数
wangtsungli
Contributor IV

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!

0 件の賞賛
返信
3 返答(返信)

4,927件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi tsung

for playing video with QT one can check sect.8.4 Qt 5 attached Linux Guide.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

4,927件の閲覧回数
wangtsungli
Contributor IV

igorpadykov 留言:

Hi tsung

 

for playing video with QT one can check sect.8.4 Qt 5 attached Linux Guide.

 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

According to pdf that you enclosed, Yocto Project 2.0 that released by NXP do not support eglfs.

Did understand it wrong?

If it did not support eglfs which version of yocto Project that NXP released will support eglfs?

Could you give me some advice?

 Thanks in Advanced!

0 件の賞賛
返信

4,927件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi tsung

one can check

How to enable EGLFS? 

Best regards
igor

0 件の賞賛
返信