gst_video and v4l2_codec #3382
Replies: 4 comments
-
Not for v3.22.0. Who can help here? |
Beta Was this translation helpful? Give feedback.
-
Here is a very experimental gst_video module branch: https://github.com/baresip/baresip/tree/gst_video |
Beta Was this translation helpful? Give feedback.
-
I will look. Thanks.
https://www.raspberrypi.com/products/compute-module-4/?variant=raspberry-pi-cm4001000 Or you know other small boards that can do this? |
Beta Was this translation helpful? Give feedback.
-
Sorry, i will continue question about v4l2_codec .
And ffmpeg lists.
So - can i use 'H264' (H.264, compressed) with 1280x720 (30.000 fps) ? or other ? |
Beta Was this translation helpful? Give feedback.
-
Hello.
I have raspberry compute module 4 with connected camera.
Debian GNU/Linux 12 (bookworm) with
Linux raspberrypi 6.12.20+rpt-rpi-v8 1 SMP PREEMPT Debian 1:6.12.20-1 rpt1 bpo12+1 (2025-03-19) aarch64 GNU/Linux.
On this version legacy camera stack is disabled. So baresip cant use /dev/video0 device.
_libcamera is a new software library aimed at supporting complex camera systems directly from the Linux operating system. In the case of the Raspberry Pi it enables us to drive the camera system directly from open source code running on ARM processors.
libcamera presents a C++ API to applications and works at the level of configuring the camera and then allowing an application to request image frames. These image buffers reside in system memory and can be passed directly to still image encoders (such as JPEG) or to video encoders (such as h.264), though such ancillary functions as encoding images or displaying them are strictly beyond the purview of libcamera itself._
I trying to use this camera different ways.
FIrst, I can use with emulator legacy stack running command:
libcamerify baresip
With thit config i get 18-25 fps at 640x480. Rasp cpu is not loaded. I need more resolution and 30 fps.
Baresip config
Accounts config
<sip:[email protected]:5060>;auth_pass=password;answermode=auto;sip_autoanswer=yes
Looking old issuues and forum i see that baresip can get video from gstreamer or using v4l2_codec (#283)
But in current baresip verison i can see this modules.
Is this modules was deleted?
I cant understand why at this resolution 25 fps dont stable and no 30 fps.
Also at bigger resolution i need also 30 fps.
I am trying making like this (chatgpt help) libcamera-vid with h264 to stdin/stdout or v4l2loopback like
also with ffmpeg (chatgpt help)
libcamera-vid → named pipe → baresip with FFmpeg
and gst
Any ideas?
Thank you)
Beta Was this translation helpful? Give feedback.
All reactions