- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在通过 https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html 尝试 Kinesis 视频流我已经安装好了
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"
我正在使用 Ubuntu 16.04 LTS,python3
请有人帮助我!
最佳答案
我遇到了同样的问题,这是因为我使用了 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
关于python - 警告 : erroneous pipeline: no element "kvssink",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55287934/
我正在通过 https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html 尝试 Kinesis 视频流我已经安
我是一名优秀的程序员,十分优秀!