how to make gstreamer ximagesrc

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

how to make gstreamer ximagesrc

2,645 Views
kangmw086
Contributor III

i used imx6q sabreauto. 

root@imx6qsabreauto# gst-inspect-1.0 ximagesrc

No such element or plugin 'ximagesrc'

I yocto build

conf/local.conf

IMAGE_INSTALL_append = " gstreamer1.0 "
IMAGE_INSTALL_append = " gstreamer1.0-plugins-base "
IMAGE_INSTALL_append = " gstreamer1.0-plugins-bad "
IMAGE_INSTALL_append = " gstreamer1.0-plugins-good "
IMAGE_INSTALL_append = " qtbase "
IMAGE_INSTALL_append = " qtdeclarative "
IMAGE_INSTALL_append = " imx-gpu-viv "
IMAGE_INSTALL_append = " libffi "

IMAGE_INSTALL_append = " gstreamer1.0-plugins-imx "
IMAGE_INSTALL_append = " gstreamer1.0-libav"
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer alsa openal"
PACKAGECONFIG_remove_pn-qtmultimedia = " pulseaudio"
PACKAGECONFIG_append_pn-gstreamer1.0-plugins-ugly = "a52dec lame mad mpeg2dec x264"
LICENSE_FLAGS_WHITELIST = "commercial"

bitbake fsl-image-qt5-validation-imx

Is there missing syntax?

Or was "bitbake" wrong?

regards.

Labels (3)
0 Kudos
5 Replies

1,945 Views
raisanikolaeva_
Contributor I

I was thinking whether it's possible to harness the hardware codec for this purpose, so after playing around with GStreamer liteblue

0 Kudos

1,945 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello K Ms,

The conf file looks okay. Did bitbake finish without any errors?

The ximagesrc should be available along the gstreamer packages. Have you tried using it to see if it generates an error? You could test taking a screenshot with the command:

gst-launch-1.0 ximagesrc num-buffers=1 ! pngenc ! filesink location=./file.png

If it shows an error. Could you provide details on it?

Regards,

0 Kudos

1,945 Views
kangmw086
Contributor III

Thank you for answer.


root@imx6qsabreauto:~# gst-launch-1.0 ximagesrc num-buffers=1 ! pngenc ! filesink location=./file.png
WARNING: erroneous pipeline: no element "ximagesrc"

I can not find imagesrc.
bitbake was successfully build.
I can not find the libgstximgesrc file in the file system.
bitbake Wrong way?

regards

0 Kudos

1,945 Views
kangmw086
Contributor III

Thank you for answer.


root@imx6qsabreauto:~# gst-launch-1.0 ximagesrc num-buffers=1 ! pngenc ! filesink location=./file.png
WARNING: erroneous pipeline: no element "ximagesrc"

I can not find imagesrc.
bitbake was successfully build.
I can not find the libgstximgesrc file in the file system.
bitbake Wrong way?

regards

0 Kudos

1,945 Views
kangmw086
Contributor III
Thank you for answer.

root@imx6qsabreauto:~# gst-launch-1.0 ximagesrc num-buffers=1 ! pngenc ! filesink location=./file.png
WARNING: erroneous pipeline: no element "ximagesrc"

I can not find imagesrc.
bitbake was successfully build.
I can not find the libgstximgesrc file in the file system.
bitbake Wrong way?

regards
0 Kudos