简体   繁体   English

警告:错误的管道:没有元素“kvssink”

[英]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我正在通过https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html尝试 Kinesis Video Stream 我已经安装了它

Success in building the Kinesis Video Streams Producer SDK !!!成功构建 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 !!!现在您可以通过运行 source set_kvs_sdk_env.sh 在运行示例应用程序之前设置环境变量此外,您可能希望添加以下环境变量以将其永久设置在 /home/huynv/.bashrc 或 /home/huynv/.bash_profile 或/home/huynv/.zshrc 成功构建 kinesis-video-gstreamer-plugin !!!

but when get that warning when run:但是当运行时收到警告时:

$ gst-launch-1.0 v4l2src do-timestamp=TRUE device=/dev/video0 ! $ gst-launch-1.0 v4l2src do-timestamp=TRUE device=/dev/video0 ! h264parse ! h264解析! video/x-h264,stream-format=avc,alignment=au !视频/x-h264,流格式=avc,对齐=au! kvssink stream-name="MyKinesisVideoStream" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion" kvssink 流名称="MyKinesisVideoStream" storage-size=512 access-key="YourAccessKey" secret-key="YourSecretKey" aws-region="YourAWSRegion"

it's show这是表演

WARNING: erroneous pipeline: no element "kvssink"警告:错误的管道:没有元素“kvssink”

I'm using Ubuntu 16.04 LTS, python3我正在使用 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.我遇到了同样的问题,这是因为我使用了min_install_script ,我认为只有使用完整安装脚本才能构建插件。

Try this:尝试这个:

cd to your kinesis-video-native-build directory and execute the commands below cd 到您的kinesis-video-native-build目录并执行以下命令

(change the directory in the commands below to your directory for the sdk): (将以下命令中的目录更改为 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 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并且还复制了所有的 .so 文件

libcproducer.so libgstkvssink.so libproducer.so to the kinesis-video-native-build/downloads/local/lib folder libcproducer.so libgstkvssink.so libproducer.so 到 kinesis-video-native-build/downloads/local/lib 文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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