@Fiona.Chen, I’m currently trying to modify the code from this link that I had posted earlier. Is there a way to encode them as h264/h265. If yes could you please let me know how to achieve the same. Please take a look at the link and let me know if you need any other info.
I would be pushing opencv matrix into appsrc. The older pipeline in the link that I shared above seemed to be working fine in terms of streaming but DS has issues with jpeg encoded stream because of rtspsrc I believe. Hence wanted to encode in a different format.
Thanks.