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
gefragt vor 8 Monaten223 Aufrufe
2 Antworten
0

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

profile picture
beantwortet vor 8 Monaten
0

yes I add the region.

umer
beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen