Gstreamer with libcamera for AWS webRTC

0

Hello all,

I am currently trying to set up webRTC streaming with my Raspberry Pi Zero 2 W. I am using a tutorial found here https://catalog.us-east-1.prod.workshops.aws/kinesis-video-streams/en-US/1-introduction , I am using a Raspberry Pi 4 Camera with IR-CUT night vision from amazon (https://www.amazon.com/Raspberry-Camera ... B0768Z87JF). I have set up the AWS CLI on the raspberry Pi properly and enter in the right credentials. I am only able to stream when I enable Legacy camera support, but the lighting is log=w and the camera does not use its full capabilities such as night vision. When I disable the legacy support and test out the camera with libcamera commands the camera uses its full capabilities such as night vision but when I try to stream, I get the error message:

"Error received from element source: Failed to allocate required memory. Debugging information: ../sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:live-kinesis-pipeline/GstV4l2Src:source: Buffer pool activation failed"

Is there any way to stream without enabling legacy camera support, or an alternative to legacy camera support that functions with libcamera instead of raspicamera? if not how can I do this?

질문됨 일 년 전310회 조회
1개 답변
0
수락된 답변

Hi, Looking at a few forums/articles online I could understand that "Failed to allocate required memory." is a device specific error. Unfortunately, I was unable to test this out on my end to help you with the right configuration for your setup.

Feel free to reach out to our dedicated KVS support as we might need more debug info from your device to troubleshoot this further. https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/troubleshooting.html#troubleshooting-general

AWS
지원 엔지니어
답변함 일 년 전
  • Hello thank you for your reply, after doing some research I realized it is a picamera issue with the new Bullseye version of raspbian, I switched back to Buster and everything is working fine.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠