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

2024-09-30 16:28:18 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试通过https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html视频流 我已经安装好了

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 !!!

但当你在跑步时收到警告:

$ 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"

这是表演

WARNING: erroneous pipeline: no element "kvssink"

我在用Ubuntu16.04 LTS,python3

谁来帮帮我,求你了!在


Tags: orthetoinawsyouhomeenvironment
1条回答
网友
1楼 · 发布于 2024-09-30 16:28:18

我也有同样的问题,因为我使用了min_install_script,而且我认为只有使用完整的安装脚本才能构建插件。在

试试这个:

cd到您的kinesis-video-native-build目录,然后执行下面的命令

(将下面命令中的目录更改为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

相关问题 更多 >