Reputation: 81
I'm trying Kinesis Video Stream via https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html I have already installled it
Success in building the Kinesis Video Streams Producer SDK !!! Now you can set the environment variables before running the sample applications by running source set_kvs_sdk_env.sh Also, you may want to add the following environment variables to set it permanently in /home/huynv/.bashrc or /home/huynv/.bash_profile or /home/huynv/.zshrc Success in building kinesis-video-gstreamer-plugin !!!
but when get that warning when run:
$ gst-launch-1.0 v4l2src do-timestamp=TRUE device=/dev/video0 ! h264parse ! video/x-h264,stream-format=avc,alignment=au ! kvssink stream-name="MyKinesisVideoStream" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion"
it's show
WARNING: erroneous pipeline: no element "kvssink"
I'm using Ubuntu 16.04 LTS, python3
Somebody help me, please!
Upvotes: 8
Views: 4370
Reputation: 37
I did the above steps for raspberry pi ie. export LD_LIBRARY_PATH=/kinesis-video-native-build/downloads/local/lib:$LD_LIBRARY_PATH export GST_PLUGIN_PATH=/kinesis-video-native-build/downloads/local/lib:$GST_PLUGIN_PATH
and also copied all the .so files from the
libcproducer.so libgstkvssink.so libproducer.so to the kinesis-video-native-build/downloads/local/lib folder
Upvotes: -1
Reputation: 3759
I had this same issue, it was because I used the min_install_script
, and I think the plugin only gets built if you use the full install script.
Try this:
cd to your kinesis-video-native-build
directory and execute the commands below
(change the directory in the commands below to your directory for the sdk):
export LD_LIBRARY_PATH=/opt/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/downloads/local/lib:$LD_LIBRARY_PATH
export GST_PLUGIN_PATH=/opt/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build/downloads/local/lib:$GST_PLUGIN_PATH
sudo ./gstreamer-plugin-install-script
Upvotes: 1