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

0

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

umer
已提問 8 個月前檢視次數 222 次
2 個答案
0

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

profile picture
已回答 8 個月前
0

yes I add the region.

umer
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南