Toybrick

TB-RV1126D开发板抓取typec输入的图像

发表于 2021-7-29 10:14:16    查看: 2850|回复: 1 | [复制链接]    打印 | 显示全部楼层
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

注册会员

积分
99
发表于 2022-2-18 10:34:27 | 显示全部楼层
我用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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表