Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 981
huynv Avatar asked Mar 21 '19 19:03

huynv


1 Answers

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
like image 180
Stretch Avatar answered Sep 20 '22 21:09

Stretch