Hi everyone,
I asked Santa for an answer but I doubt I'll receive anything from him, so here we are. I bitbaked with Yocto the "imx-image-multimedia" recipe and flashed on an sd card easily but I'm having issues with the srtp encoder included (or more, that should be included it it was working) with gstreamer bad plugins.
Here is a sample pipeline I'm using:
/usr/bin/gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1920,height=1080,framerate=30/1 ! vpuenc_h264 ! rtph264pay config-interval=10 pt=96 ! srtpenc key=aaaaaaaaaaaaaaaaaaaaaa rtp-cipher=aes-128-icm rtp-auth=hmac-sha1-80 rtcp-cipher=aes-128-icm rtcp-auth=hmac-sha1-80 ! udpsink host=10.0.99.149 port=62994
And here is what I get back:
WARNING: erroneous pipeline: no element "srtpenc"
Which is normal considering that the plugin srtpenc isn't properly installed, gst-inspect confirms it:
root@imx8mmevk:~# gst-inspect-1.0 | grep srtpenc
dtls: dtlssrtpenc: DTLS-SRTP Encoder
An analysis of the imx-image-multimedia.bb file shows that :
packagegroup-fsl-gstreamer1.0 \
packagegroup-fsl-gstreamer1.0-full \
are included by default, so why don't I have my plugin in my image ? (the packagegroup-fsl-gstreamer1.0-full includes all plugins: base, good, bad, ugly)
I then tried to add the in my local.conf file in the IMAGE_INSTALL_append section, no luck either.
BTW the default images provided by NXP have the same problem.