Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8035

Camera board • Re: GScrop Question

$
0
0
There's not 60fps limit or cap placed on the sensor, and it seems to work for me at (at least) 200 fps with the latest software. Note I don't use the gscrop tool, but use media-ctl directly:

Code:

pi@pi5:~ $ for i in {0..5}; do media-ctl -d /dev/media$i --set-v4l2 "'imx296 10-001a':0 [fmt:SBGGR10_1X10/720x240 crop:(0,0)/720x240]" -v; [ $? -eq 0 ] && break; doneOpening media device /dev/media0Enumerating entitieslooking up device: 81:36looking up device: 81:37looking up device: 81:38looking up device: 81:28looking up device: 81:29looking up device: 81:30looking up device: 81:31looking up device: 81:32looking up device: 81:33looking up device: 81:34looking up device: 81:35Found 11 entitiesEnumerating pads and linksSetting up selection target 0 rectangle (0,0)/720x240 on pad imx296 10-001a/0Selection rectangle set: (0,0)/720x240Setting up format SBGGR10_1X10 720x240 on pad imx296 10-001a/0Format set: SBGGR10_1X10 720x240Setting up format SBGGR10_1X10 720x240 on pad csi2/0Format set: SBGGR10_1X10 720x240pi@pi5:~ $ rpicam-hello --list-camerasAvailable cameras-----------------0 : imx296 [1456x1088 10-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/imx296@1a)    Modes: 'SRGGB10_CSI2P' : 1456x1088 [250.00 fps - (0, 0)/720x240 crop]1 : imx477 [4056x3040 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx477@1a)    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]pi@pi5:~ $ rpicam-vid -t 5s -o test.mkv -n --framerate 200 --camera 0 --mode 720:240:10:P --no-raw[0:01:25.910706133] [2101]  INFO Camera camera_manager.cpp:327 libcamera v0.4.0[0:01:25.923251891] [2102]  INFO RPI pisp.cpp:720 libpisp version 000000000000-invalid 25-02-2025 (15:47:33)[0:01:25.988054980] [2102]  INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx296@1a to CFE device /dev/media0 and ISP device /dev/media3 using PiSP variant BCM2712_C0[0:01:25.988272017] [2102]  INFO RPI pisp.cpp:720 libpisp version 000000000000-invalid 25-02-2025 (15:47:33)[0:01:26.031497836] [2102]  INFO RPI pisp.cpp:1179 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx477@1a to CFE device /dev/media2 and ISP device /dev/media4 using PiSP variant BCM2712_C0[0:01:26.034932563] [2101]  INFO Camera camera.cpp:1202 configuring streams: (0) 640x480-YUV420[0:01:26.035173378] [2102]  INFO RPI pisp.cpp:1484 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx296@1a - Selected sensor format: 720x240-SBGGR10_1X10 - Selected CFE format: 720x240-PC1B[libx264 @ 0x55973adb80] using cpu capabilities: ARMv8 NEON[libx264 @ 0x55973adb80] profile High, level 4.0, 4:2:0, 8-bit[libx264 @ 0x55973adb80] 264 - core 164 r3095 baee400 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=0 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 slices=1 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=1 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=0 weightp=0 keyint=200 keyint_min=20 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00Output #0, matroska, to 'test.mkv':  Stream #0:0: Video: h264, yuv420p(tv, smpte170m/smpte170m/bt709), 640x480, q=2-31, 200 fps, 200 tbr, 1000k tbnHalting: reached timeout of 5000 milliseconds.[libx264 @ 0x55973adb80] frame I:5     Avg QP:14.39  size:  3657[libx264 @ 0x55973adb80] frame P:512   Avg QP:17.14  size:  1142[libx264 @ 0x55973adb80] frame B:474   Avg QP:19.37  size:   424[libx264 @ 0x55973adb80] consecutive B-frames:  4.3% 95.7%[libx264 @ 0x55973adb80] mb I  I16..4: 76.5% 22.7%  0.8%[libx264 @ 0x55973adb80] mb P  I16..4: 24.8%  8.5%  0.0%  P16..4: 14.7%  0.0%  0.0%  0.0%  0.0%    skip:51.9%[libx264 @ 0x55973adb80] mb B  I16..4:  3.5%  0.5%  0.0%  B16..8:  6.2%  0.0%  0.0%  direct:12.1%  skip:77.7%  L0:49.8% L1:49.2% BI: 1.0%[libx264 @ 0x55973adb80] 8x8 transform intra:24.2% inter:9.1%[libx264 @ 0x55973adb80] coded y,uvDC,uvAC intra: 9.1% 18.1% 0.9% inter: 0.9% 14.8% 0.0%[libx264 @ 0x55973adb80] i16 v,h,dc,p: 70% 21%  8%  1%[libx264 @ 0x55973adb80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 20% 53%  1%  7%  3%  5%  1%  4%[libx264 @ 0x55973adb80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 52%  1%  2%  1%  1%  1%  1%[libx264 @ 0x55973adb80] i8c dc,h,v,p: 79% 12%  7%  1%[libx264 @ 0x55973adb80] kb/s:1299.88pi@pi5:~ $ rpicam-apps/utils/timestamp.py test.mkvTotal: 991 frames (990 samples)Average: 4.993 ms / 200.283 fpsMinimum: 4.000 ms at frame 68Maximum: 5.000 ms at frame 818Outliers: 0 (100%) 7 (10.0%) 7 (1.0%) 990 (0.1%)

Statistics: Posted by naushir — Fri Mar 07, 2025 11:03 am



Viewing all articles
Browse latest Browse all 8035

Trending Articles