简体   繁体   中英

WARNING: erroneous pipeline: no element "kvssink"

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!

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM