HI! I am trying to stream video from USB camera with raspberry pi4


HI! I am trying to stream video from USB camera with raspberry pi4 to aws kenesis video streaming but stuck at the command at sending stream. This is the command i am using by putting credentials.

gst-launch-1.0 -v v4l2src do-timestamp=TRUE device=/dev/video0 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! omxh264enc periodicty-idr=45 inline-header=FALSE ! h264parse ! video/x-h264,stream-format=avc,alignment=au ! kvssink stream-name=YourStreamName access-key="YourAccessKey" secret-key="YourSecretKey"

and this is the error

Setting pipeline to PAUSED ... log4cplus:ERROR Unable to open file: ./log/kvs.log [INFO ] [07-09-2023 10:54:54:040.415 GMT] Logger config being used: ../kvs_log_configuration [INFO ] [07-09-2023 10:54:54:040.650 GMT] User agent string: AWS-SDK-KVS-CPP-CLIENT/3.4.1 [INFO ] [07-09-2023 10:54:54:044.099 GMT] createKinesisVideoClient(): Creating Kinesis Video Client [INFO ] [07-09-2023 10:54:54:044.436 GMT] heapInitialize(): Initializing native heap with limit size 134217728, spill ratio 0% and flags 0x00000001

Please help..!

asked 9 months ago234 views
2 Answers

How about add the region option at the end of your command?!

profile picture
answered 9 months ago

yes I add the region.

answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions