Comments (25)
I am wondering whether you executed ./install-script from within the kinesis-video-native-build directory?
from amazon-kinesis-video-streams-producer-sdk-cpp.
No I executed it from the repo root. That's probably why it couldn't locate CMakeLists.txt
.
from amazon-kinesis-video-streams-producer-sdk-cpp.
I'm having this issues on my rpi while following the tutorial at
from amazon-kinesis-video-streams-producer-sdk-cpp.
Hi enusbaum,
Please change directory to kinesis-video-native-build and run install-script from there.
cd kinesis-video-native-build; ./install-script
We will also fix that on installation guide soon.
Thanks,
-ZH
from amazon-kinesis-video-streams-producer-sdk-cpp.
Yeah correct that in guide please maybe many facing the same issue like this following guide like me.
from amazon-kinesis-video-streams-producer-sdk-cpp.
Apologies again. Please feel free to reach out for any question no matter how small or obvious those are.
from amazon-kinesis-video-streams-producer-sdk-cpp.
Guide is still not updated... what's the deal?
from amazon-kinesis-video-streams-producer-sdk-cpp.
$ cd kinesis-video-native-build; ./min-install-script
bash: cd: kinesis-video-native-build: No such file or directory
./min-install-script: line 15: /home/Hussam: No such file or directory
this is the error raising while Building the Kinesis Video Streams Producer SDK using min-install-script.. Anyone please help me out!
from amazon-kinesis-video-streams-producer-sdk-cpp.
@hussamsayeed you need to navigate to the SDK directory in the terminal and then navigate down to the native build directory by calling cd kinesis-video-native-build
from amazon-kinesis-video-streams-producer-sdk-cpp.
I already did that.[can see in Screenshot]
from amazon-kinesis-video-streams-producer-sdk-cpp.
Your user name contains space. The script was not able to handle the path, can you replace $KINESIS_VIDEO_ROOT with "$KINESIS_VIDEO_ROOT" in these two places and retry?
https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/kinesis-video-native-build/min-install-script#L15
https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/kinesis-video-native-build/min-install-script#L206
from amazon-kinesis-video-streams-producer-sdk-cpp.
Should I replace that code with the code which is there in those links?
from amazon-kinesis-video-streams-producer-sdk-cpp.
Hussam Sayeed@DESKTOP-6TJVREH MINGW64 ~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build
$ ./min-install-script
Setting up for KVS Producer SDK installation
Current working path cannot have space in it !
@zhiyua-git after replacing $KINESIS_VIDEO_ROOT with "$KINESIS_VIDEO_ROOT" this error is raised
from amazon-kinesis-video-streams-producer-sdk-cpp.
Hi @hussamsayeed ,
Seems mingw doesn't support space in the path. Can you either try to install your mingw into directory which contains no space in the path or use the short (8.3) name as mentioned here?
You can do export KINESIS_VIDEO_ROOT="/Your/Updated/Path" and rerun the min-install-script.
from amazon-kinesis-video-streams-producer-sdk-cpp.
I changed the path and it works. thank you for the support @zhiyua-git
but the problem is segmentation failed[attached].
I followed the this documentation [https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-windows-msys2.md]
Can anyone please help me out!
from amazon-kinesis-video-streams-producer-sdk-cpp.
@hussamsayeed , you need to put in your actual AccessKey/SecretKey in
export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY
to run it.
Also make sure you have configured proper Kinesis Video Streams permission for the role of AccessKey/SecretKey you are going to use. It can be as simple as adding AmazonKinesisVideoStreamsFullAccess policy to your role. https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-iam.html
from amazon-kinesis-video-streams-producer-sdk-cpp.
@zhiyua-git thank you so much for the suppport!
yeah i gave the actual access keys and also configured the permisiions.. still the same error!!!!!
from amazon-kinesis-video-streams-producer-sdk-cpp.
@hussamsayeed Can you provide the log for the failure? Thanks.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@zhiyua-git Yeah.. attached the log for the failure.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@hussamsayeed , what command did you run? Sample app or gstreamer plugin kvs-sink? Can you provide log with export GST_DEBUG=4? Thanks.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@zhiyua-git I'm following this document [https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-windows-msys2.md]
So when running the sample app im getting the error.[gst-launch-1.0 ksvideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! x264enc bframes=0 key-int-max=45 bitrate=512 tune=zerolatency ! video/x-h264,profile=baseline,stream-format=avc,alignment=au ! kvssink stream-name=stream-name access-key=YOUR_ACCESS_KEY secret-key=YOUR_SECRET_ACCESS_KEY_ID
] even after i've changed with my aws keys.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@hussamsayeed, Can you provide log with export GST_DEBUG=4? Thanks.
from amazon-kinesis-video-streams-producer-sdk-cpp.
@zhiyua-git [attached
]
from amazon-kinesis-video-streams-producer-sdk-cpp.
can you copy libcproducer.dll and libproducer.dll to C:\msys64\mingw64\bin and copy libgstkvssink.dll to C:\msys64\mingw64\lib\gstreamer-1.0 and make sure you are not exporting GST_PLUGIN_PATH. Then try your pipeline again.
from amazon-kinesis-video-streams-producer-sdk-cpp.
Thank you so much @zhiyua-git @chehefen for the support. I got the output in the kinesis streams!!
from amazon-kinesis-video-streams-producer-sdk-cpp.
Related Issues (20)
- [QUESTION] Gstreamer event/message for streaming/connection releated issues in KVS SDK HOT 2
- [QUESTION] kvs_gstreamer_sample hanging after "pad link successful" HOT 1
- compilation error on Ubuntu HOT 1
- [QUESTION] Struggling with KVS streams on iOS HOT 6
- Not able to access media on Media Playback on Kinesis Video Streamer
- [QUESTION] Raspberry Pi からの映像送信でエラーが発生
- I am getting this error while running: cmake -DBUILD_GSTREAMER_PLUGIN=TRUE .. HOT 4
- [BUG] Streaming h.265 video from RTSP HOT 5
- [BUG] HOT 1
- [BUG] Gst plugin kvssink is built as static library
- [FEATURE] Make log level in kvssink configurable. HOT 1
- [BUG] `kvssink` occasionally generates non-monotonic PTS HOT 1
- How to resolve a "MAX_FRAGMENT_DURATION_REACHED" error when trying to stream RTSP camera feed into KVS HOT 3
- Failed to allocate memory HOT 3
- [BUG] HOT 1
- Stream video to your Kinesis video stream and view the live stream HOT 5
- [BUG] KVS Fails to build due to Threadpool.c.o issue HOT 4
- kvs_gstreamer_sample fails to run on Raspberry Pi bookworm
- [QUESTION] Streaming MP4 file data to Kinesis Video Streams results in Transferred a partial file error with CURL HOT 1
- [BUG] "Make" resulting in "incompatible pointer to integer conversion" Errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-video-streams-producer-sdk-cpp.