Installing GStreamer on I.MX8QM

I am trying to figure out how to properly install gstreamer on imx8qm-mek (for a qt app to use).I am using the morty branch (beta2 release) for imx8qm. More precisely Linux L4.9.51 for i.MX 8QuadMax Beta2 and i.MX 8QXPlus Beta from Alpha / Beta BSPs for Microprocessors|NXP . And I am building an image with weston/wayland.I have the following in my image recipe:

Now, I noticed that in the master branch of meta-freescale, there are some new recipes under gstreamer folder, namely: gstreamer1.0-plugins-imx gstreamer1.0_1.12.imx. I am unable to integrate these because of the syntax changes in Yocto from morty to rocko. Are these packages important. Is it sufficient to have morty release for a complete gstreamer install?

it seems you haven't add vpu decoder in the bsp, one can try to install libav (software decoder).

The following steps show how to install gstreamer1.0-libav into a rootfs image.1. Add the following lines into the configuration file conf/local.conf.IMAGE_INSTALL_append = " gstreamer1.0-libav"LICENSE_FLAGS_WHITELIST = "commercial"2. Build gstreamer1.0-libav.$ bitbake gstreamer1.0-libav3. Build the rootfs image.$ bitbake$ <image_name>

Hi,I tried this today without nowing it is the software decoder.There is some improvement, yes. Now I can at least see the player work, however there is 80% of the time black screen. 20% of the time I see the flickering images of the movie.

Can I assume that is it because the software decoder isn't fully supported efficiently?Is it maybe because I have to include other decoders such as AAC+ etc from external repositories?

I think i.MX8QM does not fully support multimedia related things just yet.

The following is from release notes:

6.4 Known issues and limitations for multimediaIssues seen on GStreamer 1.x:• As the maximum buffer size of the playbin multiqueue is 2 MB, problems may be seen with some long audio or videointerleaved streams. You can enlarge this buffer size to support these special use cases.• AAC decoder: The ADIF format does not support seek mode nor FF/FB.• The accurate seek mode may have a longer time delay.• Because the stream container does not have an index table, seeking is not supported.• Fast rewind of audio does not support audio-only streams.• Pulseaudio is only available for the X11 backend.• Rewind may report an EOS when using libav for video decoding.••••••For the clips with long audio/video interleaved streams, it requires to enlarge the multiqueue maximum buffer size.AAC clips with ADIF format do not support seek/trick (FB/FF) mode.Accurate seek mode may take a longer time delay.For clips with no index table in containers (or video with only very few key frames), seeking is not supported.Audio-only clips do not support FB.For pulseaudio, it automatically starts with X11 backend. For others, users need to manually start the daemon.