<div dir="ltr">My configuration: <br>
Raspberry Pi 3 Model B+<br>
camera: v2.1 (sony imx 219)<br>
Hi all <br>
I am facing below issue when i try to capture the video to a fille using gstreamer<br>
1. when i try to capture video using libcamerasrc , am getting error 
like "stream is not part of Stream is not part of 
/base/soc/i2c0mux/i2c@1/imx219@10 active configuration and finally 
crash" Where as  using "v4l2src"  the video is getting captured 
properly.<br>
Also the crash is only at 1280*720 or i can say HD mode, but in SD mode 
still the error is there but no crash and able to capture the video.<br>
2. The catpured video is coming as zoomed version compare to v4l2src.<br>
am using latest libcamera release 
50ec902aa8b6b345b20529e338c2f09d72b99184 (ipa: raspberrypi: Add digital 
gain to libcamera metadata)<br>
commond used to capture is :<br>
(FOR LIBCAMERASRC) :gst-launch-1.0 libcamerasrc ! 
video/x-raw,width=1080,height=720,framerate=30/1 ! omxh264enc ! filesink
 location=libcamerasrc.h264<br>
(FOR V4l2SRC):gst-launch-1.0 v4l2src ! 
video/x-raw,width=1080,height=720,framerate=30/1 ! omxh264enc ! filesink
 location=v4l2.h264<br>
<br>
[0:25:19.139887180] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 3280x2464 fmt RG10 Score: 2992.49 (best 2992.49)<br>
[0:25:19.140155566] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 1920x1080 fmt RG10 Score: 1904.17 (best 1904.17)<br>
[0:25:19.140298638] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 1640x1232 fmt RG10 Score: 2274.49 (best 1904.17)<br>
[0:25:19.140432597] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 640x480 fmt RG10 Score: 3360 (best 1904.17)<br>
[0:25:19.140565618] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 3280x2464 fmt pRAA Score: 2492.49 (best 1904.17)<br>
[0:25:19.140756659] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 1920x1080 fmt pRAA Score: 1404.17 (best 1404.17)<br>
[0:25:19.140901191] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 1640x1232 fmt pRAA Score: 1774.49 (best 1404.17)<br>
[0:25:19.141034888] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 640x480 fmt pRAA Score: 2860 (best 1404.17)<br>
[0:25:19.141187701] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 3280x2464 fmt RGGB Score: 3992.49 (best 1404.17)<br>
[0:25:19.141322961] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 1920x1080 fmt RGGB Score: 2904.17 (best 1404.17)<br>
[0:25:19.141449576] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 1640x1232 fmt RGGB Score: 3274.49 (best 1404.17)<br>
[0:25:19.141574732] [24701]  INFO RPI raspberrypi.cpp:117 Mode: 640x480 fmt RGGB Score: 4360 (best 1404.17)<br>
[0:25:19.141746503] [24701]  INFO RPI raspberrypi.cpp:588 Sensor: 
/base/soc/i2c0mux/i2c@1/imx219@10 - Selected mode: 1920x1080-pRAA<br>
[0:25:19.231416347] [24701]  INFO RPI_S_W staggered_ctrl.cpp:36 Init ctrl 0x00980911 with delay 2<br>
[0:25:19.231605670] [24701]  INFO RPI_S_W staggered_ctrl.cpp:36 Init ctrl 0x009e0903 with delay 1<br>
[0:25:19.232332493] [24710] ERROR Allocator framebuffer_allocator.cpp:97
 Stream is not part of /base/soc/i2c0mux/i2c@1/imx219@10 active 
configuration<br>
[0:25:19.246436607] [24710] ERROR Allocator framebuffer_allocator.cpp:97
 Stream is not part of /base/soc/i2c0mux/i2c@1/imx219@10 active 
configuration<br>
[0:25:19.306956451] [24701]  INFO RPISTREAM rpi_stream.cpp:120 No buffers available for ISP Output0<br>
[0:25:19.307128638] [24701]  INFO RPISTREAM rpi_stream.cpp:120 No buffers available for ISP Output0<br>
[0:25:19.448023378] [24701]  INFO RPI raspberrypi.cpp:1575 Dropping frame at the request of the IPA (5 left)<br>
[0:25:19.487155461] [24701]  INFO RPI raspberrypi.cpp:1575 Dropping frame at the request of the IPA (4 left)<br>
[0:25:19.513203326] [24701]  INFO RPI raspberrypi.cpp:1575 Dropping frame at the request of the IPA (3 left)<br>
[0:25:19.548415357] [24701]  INFO RPI raspberrypi.cpp:1575 Dropping frame at the request of the IPA (2 left)<br>
[0:25:19.580987232] [24701]  INFO RPI raspberrypi.cpp:1575 Dropping frame at the request of the IPA (1 left)<br>
[0:25:19.614044055] [24701]  INFO RPI raspberrypi.cpp:1575 Dropping frame at the request of the IPA (0 left)<br>
free(): double free detected in tcache 2<br>
<br>
Can someone help me to understand what is wrong here?</div>