Qt5 Cinematic Experience Demo on i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Qt5 Cinematic Experience Demo on i.MX6

14,579 Views
FranciscoCarril
Contributor V

This demo uses the latest features of Qt5, and it runs with very good performance in i.MX6 Q,  please take a look!

In order to install this demo first  you should already have installed QT5,  please follow the instructions from here:

Building QT for i.MX6

Then make the qmake that you just created available in your PATH variable.

$ export PATH=$PATH:/usr/local/Trolltech/Qt5-imx6-1/bin

This is the example for my personal installation, please modify the Qt5 path accordingly to yours.

If you are using an NFS with your board then you can do everything inside the rootfs folder of your convenience.  Download the code from the web site and untar it:

$ cd /home/b35153/ltib110/ltib/rootfs/root

$ wget http://quitcoding.com/download/Qt5_CinematicExperience_rpi_1.0.tgz

$ tar -xzvf Qt5_CinematicExperience_rpi_1.0.tgz

This will create a folder called Qt5_CinematicExperience_rpi_1.0,  go inside of it  and run qmake && make.

$ cd Qt5_CinematicExperience_rpi_1.0

$ qmake && make

Then you are ready to run the demo.

If you are in linux only

$ ./Qt5_CinematicExperience

If you are in X11

$ ./Qt5_CinematicExperience -platform qt-xcb

if you are in Wayland

$ ./$ ./Qt5_CinematicExperience -platform wayland-egl

Labels (1)
Tags (3)
9 Replies

2,721 Views
YixingKong
Senior Contributor IV

Francisco

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.

Thanks,

0 Kudos

2,721 Views
mralmond
Contributor II

Did someone manage to have accelerated video with imx6, qt5 and qml video element?

I've tried bu enabling qtmultimedia and gstreamer support but it seems that the video element in qml still uses not HW accelerated plugins of gstreamer!

In facts the qmlvideo demo shows very poor performances and high cpu load...if you use gplay from command line the video output is perfect.

0 Kudos

2,721 Views
LeonardoSandova
Specialist I

Hi, I think your post deserves a new thread. BTW, did you build all this with Yocto? If yes, post the question into the meta-freescale list.

Leo

0 Kudos

2,721 Views
cn_mmv
Contributor I

Hi,

i tested with imx6q and full hd (1920x1080@60) Hdmi output.

the performance was very poor (40 fps)

i saw in the our video you have about 75-95 fps with ??? resolution.

L3.0.35_4.0.0

Qt5_CinematicExperience_rpi_1.0

0 Kudos

2,721 Views
FranciscoCarril
Contributor V

This is a 1024x768 lvds.

40 fps  should still be  a good fps.  Everything above 24 fps should look decent.

Does it looks bad?

0 Kudos

2,721 Views
fabio_estevam
NXP Employee
NXP Employee

Looks nice! It would be great if you can detail the steps for building it.

0 Kudos

2,721 Views
FranciscoCarril
Contributor V

Sure! Tomorrow I'll post the steps.

Sent from my iPhone

0 Kudos

2,721 Views
qtnext
Contributor I

It's very good :smileyhappy:  Do you think that it's now possible to have a video playing in qml with full hardware acceleration (direct access from opengl texture without copy to allow full HD playback) I mean to have access to an opengl texture containing movie, not an overlay.

0 Kudos

2,721 Views
FranciscoCarril
Contributor V

I haven't tried that, but when you configure the installation of Qt  you should see this in the configure summary:

GStreamer support ...... yes

This means videos will be played with Gstreamer, and if used with the correct plugin Gstreamer can be hardware accelerated.

0 Kudos