UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Highlighted
Xilinx Employee
Xilinx Employee
91 次查看

ZCU106单板的HDMI输入状态检测

ZCU106单板有HDMI输入和输出端口。运行相关应用前,可以使用命令xmedia-ctl -d /dev/media3 -p检测HDMI输入状态检测。
输出中,"dv.detect:"表示检测到了HDMI输入,后面还有相关分辨率信息。
如果没有检测到HDMI输入,则会打印[dv.query:no-link]。

 

 

root@zcu106_vcu_trd:/media/card# xmedia-ctl -d /dev/media3 -p
Media controller API version 4.14.0

Media device information
------------------------
driver xilinx-video
model Xilinx Video Composite Device
serial
bus info
hw revision 0x0
driver version 4.14.0

Device topology
- entity 1: vcap_hdmi_1 output 0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "a0080000.scaler":1 [ENABLED]

- entity 5: a0080000.scaler (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev3
pad0: Sink
[fmt:RBG888_1X24/3840x2160 field:none]
<- "a0000000.hdmi_rx_ss":0 [ENABLED]
pad1: Source
[fmt:VYYUYY8_1X24/3840x2160 field:none]
-> "vcap_hdmi_1 output 0":0 [ENABLED]

- entity 8: a0000000.hdmi_rx_ss (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev4
pad0: Source
[fmt:RBG888_1X24/3840x2160 field:none colorspace:srgb]
[dv.caps:BT.656/1120 min:0x0@25000000 max:4096x2160@297000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 3840x2160p60 (4400x2250) stds:CEA-861 flags:CE-video]
-> "a0080000.scaler":0 [ENABLED]

1 条回复
Community Manager
Community Manager
64 次查看

回复: ZCU106单板的HDMI输入状态检测

谢谢Hank的分享

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励