Giter Club home page Giter Club logo

Comments (25)

MushMal avatar MushMal commented on July 24, 2024

I am wondering whether you executed ./install-script from within the kinesis-video-native-build directory?

from amazon-kinesis-video-streams-producer-sdk-cpp.

gcoop avatar gcoop commented on July 24, 2024

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.

enusbaum avatar enusbaum commented on July 24, 2024

I'm having this issues on my rpi while following the tutorial at

https://s3-us-west-2.amazonaws.com/kinesis-video-streaming/kinesis-video-raspberry-pi-getting-started.pdf

from amazon-kinesis-video-streams-producer-sdk-cpp.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

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.

zzzhacker avatar zzzhacker commented on July 24, 2024

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.

MushMal avatar MushMal commented on July 24, 2024

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.

triggerx avatar triggerx commented on July 24, 2024

Guide is still not updated... what's the deal?

from amazon-kinesis-video-streams-producer-sdk-cpp.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

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

MushMal avatar MushMal commented on July 24, 2024

@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.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

Screenshot (240)
I already did that.[can see in Screenshot]

from amazon-kinesis-video-streams-producer-sdk-cpp.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

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.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

Should I replace that code with the code which is there in those links?

from amazon-kinesis-video-streams-producer-sdk-cpp.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

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.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

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.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

I changed the path and it works. thank you for the support @zhiyua-git
Screenshot (242)
Screenshot (243)

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.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

@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.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

@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.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

@hussamsayeed Can you provide the log for the failure? Thanks.

from amazon-kinesis-video-streams-producer-sdk-cpp.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

@zhiyua-git Yeah.. attached the log for the failure.
Screenshot (245)

from amazon-kinesis-video-streams-producer-sdk-cpp.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

@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.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

@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.

zhiyua-git avatar zhiyua-git commented on July 24, 2024

@hussamsayeed, Can you provide log with export GST_DEBUG=4? Thanks.

from amazon-kinesis-video-streams-producer-sdk-cpp.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

@zhiyua-git [attached
Screenshot (275)
Screenshot (276)

]

from amazon-kinesis-video-streams-producer-sdk-cpp.

chehefen avatar chehefen commented on July 24, 2024

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.

hussamsayeed avatar hussamsayeed commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.