New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gst_element_factory_make ("nvcamerasrc", NULL); returns NULL #85
Comments
Seems like you have gst-launch-1.0 already in the system and cache has been updated during your nvidia plugin install . Kinesis Video Streams Producer SDK downloads and installs the required dependencies including GStreamer plugins within the subfolder If you could locate the You can also set the environment variable GST_PLUGIN_PATH to include both kinesis video stream dynamic libraries and nvidia plugin libraries path. Let us know if this resolves your issue. |
Yes, gst-launch-1.0 was already installed. #1 I copied libgstnvcamera.so which is located in usr/lib/aarch64-linux-gnu/gstreamer-1.0 to <...>/kinesis-video-native-build/downloads/local/lib no help #2 I did (where tegra contains nvidia libs) #3 I did where tegra contains nvidia libs and it worked! Thank you! |
Closing this issue as it has been resolved. |
BTW here all the issues I stumbled over while deploying Kinesis SDK to TX2 camera system. Hope it will be helpful for somebody else. Installation and running amazon-kinesis-video-streams-producer-sdk-cpp1.4.1 ISSUES: INSTALLATION ISSUES: '__NR_eventfd' undeclared remedy: in install-script to command ./config add no-afalgeng flag:
checking build system type... ./config.guess: unable to guess system type remedy: in install-script after command
add
in order to overwrite the obsolete scripts curl: (77) error setting certificate verify locations: remedy: sudo mkdir -p /etc/ssl RUNNING APPLICATION ISSUES: error while loading shared libraries: liblog4cplus-1.2.so.5: cannot open shared object file: No such file or directory remedy:
gst_element_factory_make ("nvcamerasrc", NULL); returns NULL remedy:
|
@sergeystoyan Thanks a lot for reporting these issues! BTW, you could send a PR :) |
This post was extremely helpful when I was setting up my Jetson Xavier. Thanks a lot @sergeystoyan |
Folks, this is all fantastic info. We strongly encourage sending pull requests with changes that can get merged into master branch. This information can go into a section in Readme for example |
Hi,
I'm developing a kinesis video producer for nvidia TX2 camera. They use their driver nvcamerasrc instead of v4l2src. This driver was tested with gst-launch-1.0 e.g.
gst-launch-1.0 nvcamerasrc fpsRange="60 60" intent=3 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! omxh264enc control-rate=2 bitrate=6000000 ! h264parse ! flvmux streamable=true ! queue ! filesink location=test2.mkv
It works well.
So I installed amazon-kinesis-video-streams-producer-sdk-cpp package and in kinesis_video_gstreamer_sample_app.cpp in gst_element_factory_make replaced "v4l2src" with "nvcamerasrc". But it cannot create it and returns NULL.
What is the app missing about nvcamerasrc? Can you give an idea why gst-launch-1.0 can see nvcamerasrc but the sample app cannot?
Thank you!
The text was updated successfully, but these errors were encountered: