1. VERSION
root@nvidia-desktop:/work/0519# cat /etc/nv_tegra_release
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021
2. CAN stream,but picure is abnormal
gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! “video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080” ! nvvidconv ! “video/x-raw(memory:NVMM),format=(string)NV12” ! nvoverlaysink sync=false
3.Pixel Format:“RG10”
root@nvidia-desktop:/work/0519# v4l2-ctl --device=/dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘RG10’
Name : 10-bit Bayer RGRG/GBGB
Size: Discrete 1280x800
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x400
Interval: Discrete 0.017s (60.000 fps)
4.devicetree
cam_i2cmux {
i2c_0:i2c@0 {
ov9281_cam0: rbpcv2_ov9281_a@60 {
compatible = “nvidia,ov9281”;
reg = <0x60>;
clocks = <&bpmp_clks TEGRA194_CLK_EXTPERIPH1>;
clock-names = “extperiph1”;
mclk = “extperiph1”;
devnode = "video0";
/* Physical dimensions of sensor */
physical_w = "3.680";
physical_h = "2.760";
sensor_model = "ov9281";
use_sensor_mode_id = "true";
fsync = "none";/*none/slave/master/slave-trigger*/
mode0 {
mclk_khz = "24000";
num_lanes = "2";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "no";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "1280";
active_h = "800";
pixel_t = "bayer_rggb10";
readout_orientation = "90";
line_length = "0";
inherent_gain = "1";
mclk_multiplier = "9.33";
pix_clk_hz = "800000000";
gain_factor = "1000";
framerate_factor = "1000";
exposure_factor = "1000000";
min_gain_val = "1"; /* 1.00x */
max_gain_val = "48000"; /* 10.66x */
step_gain_val = "100";
default_gain = "0"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "1"; /* 2.0 fps */
max_framerate = "60000"; /* 60.0 fps */
step_framerate = "100";
default_framerate = "60000"; /* 60.0 fps */
min_exp_time = "1"; /* us */
max_exp_time = "16777215"; /* us */
step_exp_time = "1";
default_exp_time = "10896"; /* us */
embedded_metadata_height = "0";
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
rbpcv2_ov9281_out0: endpoint {
port-index = <0>;
bus-width = <2>;
remote-endpoint = <&rbpcv2_ov9281_csi_in0>;
};
};
};
};
};
tcp: tegra-camera-platform {
compatible = "nvidia, tegra-camera-platform";
num_csi_lanes = <2>;
max_lane_speed = <1500000>;
min_bits_per_pixel = <10>;
vi_peak_byte_per_pixel = <2>;
vi_bw_margin_pct = <25>;
max_pixel_rate = <240000>;
isp_peak_byte_per_pixel = <5>;
isp_bw_margin_pct = <25>;
......
}
5. the picture below is abnormal
My Questions is:
a. Why is the color abnormal and how to modify and test
b.Play with the nvarguscamerasrc plugin, showing no camera.Why is this?
gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! ‘video/x-raw(memory:NVMM),width=1280, height=800, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e
Setting pipeline to PAUSED …
Using winsys: x11
Pipeline is live and does not need PREROLL …
Got context from element ‘eglglessink0’: gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Setting pipeline to PLAYING …
New clock: GstSystemClock
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
Got EOS from element “pipeline0”.
Execution ended after 0:00:00.320788485
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
Looking forward to your reply ,thank you !


