I downloaded the r32v6.1 L4T sources and extracted gst-nvv4l2 source code.
I compiled the source code on NX.
But I found that generated libgstnvvideo4linux2.so file is larger than expected (compared with the one under /usr/lib/aarch64-linux-gnu/gstreamer-1.0/).
So where can I download the source code that matches the libs installed on NX?
If not possible, is there any side effect if I only replace libgstnvvideo4linux2.so?
It should work if you have downloaded correct version. Please make sure both system and source code are r32.6.1. Please backup original libgstnvvideo4linux2.so before replacement.
And clean gstreamer cache for each replacement:
$ rm .cache/gstreamer-1.0/registry.aarch64.bin
Both system and source code are r32.6.1.
It seems my generated lib has more symbols than official one.
I didn’t change anything on the Makefile.
So is it because Nvidia applied different compilation options like -fvisibility=hidden?