Toybrick

标题: TB-RV1126D开发板抓取typec输入的图像 [打印本页]

作者: 我是流氓我怕谁    时间: 2021-7-29 10:14
标题: TB-RV1126D开发板抓取typec输入的图像
1 TB-RV1126D开发板的DP IN口(网口旁边的typec)接手机或者笔记本的typec口(确认手机或者笔记本的typec是全功能的typec)。
2 sudo v4l2-ctl -d /dev/video0  --set-fmt-video=width=3840,height=3840,pixelformat=NV12  --stream-mmap=3 --stream-to=/tmp/NV12.out --stream-count=1

作者: qiqi    时间: 2022-2-18 10:34
我用typec接口接电脑,跑这个命令,出来以下的结果是代表成功了还是有问题的啊?
toybrick@debian10:~/camera$  sudo v4l2-ctl -d /dev/video0  --set-fmt-video=width=3840,height=3840,pixelformat=NV12  --stream-mmap=3 --stream-to=/tmp/NV12.out --stream-count=1
[  291.204314] enter lt7911d_g_mbus_config
[  291.204358] lt7911d_g_mbus_config flags = 648
[  291.204371] enter lt7911d_g_mbus_config
[  291.204378] lt7911d_g_mbus_config flags = 648
[  291.204401] lt7911d_s_power
[  291.204709] enter lt7911d_get_fmt fmt->which=1, fmt->width=640 height=480
[  291.206236] enter lt7911d_g_mbus_config
[  291.206259] lt7911d_g_mbus_config flags = 648
[  291.206270] enter lt7911d_g_mbus_config
[  291.206277] lt7911d_g_mbus_config flags = 648
[  291.206290] enter lt7911d_get_fmt fmt->which=1, fmt->width=640 height=480
[  291.206469] rkcif_mipi_lvds: Allocate dummy buffer, size: 0x0004b000
[  291.206525] enter lt7911d_get_fmt fmt->which=1, fmt->width=640 height=480
[  291.206535] enter lt7911d_get_fmt fmt->which=1, fmt->width=640 height=480
[  291.206560] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream on, src_sd: 9643572b, sd_name:rockchip-mipi-dphy-rx
[  291.206570] rockchip-mipi-csi2 ffb10000.mipi-csi2: stream ON
[  291.206591] enter lt7911d_g_mbus_config
[  291.206597] lt7911d_g_mbus_config flags = 648
[  291.206609] rockchip-mipi-dphy-rx ff4b8000.csi-dphy: stream on:1
[  291.206620] rockchip-mipi-dphy-rx: data_rate_mbps 1240
[  291.206631] enter lt7911d_g_mbus_config
[  291.206637] lt7911d_g_mbus_config flags = 648
[  291.207269] rockchip-mipi-dphy-rx ff4b8000.csi-dphy: stream on:1




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3