明远智睿技术论坛

 找回密码
 立即注册
搜索
查看: 3038|回复: 2
打印 上一主题 下一主题

mxc_v4l2_output.c 中/dev/video17是什么设备

[复制链接]

43

主题

86

帖子

421

积分

中级会员

Rank: 3Rank: 3

积分
421
跳转到指定楼层
楼主
发表于 2017-2-21 11:30:37 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
mxc_v4l2_output.c    中/dev/video17是什么设备
可以输出到USB设备上吗 ,直接通USB线和电脑连接
回复

使用道具 举报

10

主题

45

帖子

574

积分

高级会员

Rank: 4

积分
574
沙发
发表于 2017-2-21 13:32:28 | 只看该作者
输出显示吧 类似与fb1
回复 支持 反对

使用道具 举报

36

主题

745

帖子

2872

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2872
板凳
发表于 2017-2-23 09:51:25 | 只看该作者
JDLYyear 发表于 2017-2-21 13:32
输出显示吧 类似与fb1

Check that /dev/video0 exists. If it does not exist, load the camera driver with the command:

modprobe mxc_v4l2_capture

modprobe CAMERA_MODULE (CAMERA_MODULE should be replaced by the camera module on the related platform, e.g. ov3640_camera should be used here on MX51)

Check again for /dev/video0. If it is not there, the camera driver has not loaded successfully and the test has failed.

Type the following command line in a writable directory. The 50 frames of video from the camera will be captured in the file "test.yuv" at a resolution of 352x288 with no rotation and a frame rate of 30 fps. The format will be YUV420.

mxc_v4l2_capture.out -iw 352 -ih 288 -ow 352 -oh 288 -r 0 -c 50 -fr 30 test.yuv

| Expected Result |
There should be no errors or warnings. The file "test.yuv" will be created with a size of 7603200.

To display the video at the resolution of 176x144, use the command line below (a different resolution may be used depending on display size):

mxc_v4l2_output.out -iw 352 -ih 288 -ow 176 -oh 144 -r 0 -fr 30 test.yuv

Verify captured file contents match viewfinder and that the image is clear and the colors correct.


mxc_v4l2_output.out直接播放yuv的文件(默认是LVDS,除非你用是其他的屏,需要修改环境变量)
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|明远智睿  

GMT+8, 2024-11-23 18:36 , Processed in 0.075176 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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