Is it supported on apalis i.mx8?
If you meant, the VPU, yes it is enabled. You have not mentioned the BSP you are using, but nevertheless this is not a problem. And we recommend using latest BSP
What would be the correct pipeline?
What solved a similar issue for me in the past is to use “sync= false”. What this does is ignore the timestamps and display the incoming frame as such. When this doesn’t solve your issue and the video output is still slow/lagging, there would not be any frame loss, so it allows for us to better understand the issue by observing this pipeline.
Another thing to try is to use rtpbin as bin usually does a lot of smart buffering. One more thing to also try and see is to increase the buffer latency by setting latency=1000, for example. Another useful command I love to use is the autovideosink that decides automatically which video sink to use.
We are using the latest Yocto stable version, that is gatesgarth at this day.
Following the guide from NXP, the vpuenc_xxx gstreamer plugins seems to be the one I’m looking for! Unfortunately, it is not compatible for i.mx8 and cannot compile it in our image:
Moreover, it is not listed gst-inspect-1.0 on your multimedia image. That is why I was wondering if this is supported on i.mx8 platforms or am I missing something?!
Sorry @saijanani.tx , I have been doing other stuff and since I’m a gst newb, it took me a lot of time to figure many things out. Anyway, here are my findings.
First I could send a jpeg encoded stream with (v4l2jpegenc):
Unfortunately, I know not of a camera that would support nv12 out-of-the-box.
Yes, videoconvert does not use HW acceleration hence the reason you might see an issue. But to improve the performance of the pipeline, here a thread I found, that could help:
Sorry again @saijanani.tx but now I’m evaluating a Verdin i.mx8mp SoC and don’t see any VPU video device (/dev/video{11,12}), is this already supported on that platform or am I missing something?