v4l2h264enc: fails with v4l2bufferpool ... error with STREAMON 3 (No such process)
Hi all, I would kindly ask you for a help with my issue. I have got problem with H264 v4l2 encoder on Raspberry Pi 4B.
- System >
Linux raspberrypi 5.10.16-v8+ #1402 SMP PREEMPT Tue Feb 16 14:16:34 GMT 2021 aarch64 GNU/Linux
- Builded for arm64 >
GStreamer 1.19.0 (GIT)
- video0 > Raspberry Pi Camera module - V4L2 device
- Pipeline >
gst-launch-1.0 -v v4l2src device=/dev/video0 ! capsfilter caps="video/x-raw, width=640,height=480,framerate=30/1" ! queue ! videoconvert ! videorate ! v4l2h264enc ! filesink location = test_video.h264
When I was using omxh264enc, pipeline was working. Now I need to switch for 64bit os and v4l2h264enc.
I was looking for the solution, but found only issues without clear respond.
v4l2h264dec v4l2jpegdec.
The problem seems to be during memory allocation for encoder. Also there is following warning, but I'm not sure if it is relevant:
WARN v4l2 gstv4l2object.c:4413:gst_v4l2_object_probe_caps:<v4l2h264enc0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Invalid argument
Please, can you take a look on attached log files?
Thank you very much
Best regards,
Mucka