The following command runs successfully:
gst-launch-1.0 nvcamerasrc ! ‘video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1’ ! omxh265enc ! filesink location=test.mkv
also works well.
But when try to run the code:
it gets NULL
I guess it happens because of environment as my code runs within AWS kinesis SDK framework which probably sets specific environment.
Could you suggest where to dig?