3487
- 收藏
- 点赞
- 分享
- 举报
sample_venc录制的视频是绿色的为什么呢?
我用的模组是ov9712,不管白天还是晚上录制都是绿色的。硬件没有问题,我用过别人的系统程序测试过是正常图像的。
使用Hi3518E_SDK_V1.0.4.0/mpp/sample/sample_venc里的例子,录制的视频是绿色的为什么呢?
我修改Hi3518E_SDK_V1.0.4.0/mpp/component/isp/sensor/ov9712_sensor_ctl.c里的void sensor_linear_720p25_init()函数,把0x12,的值改成0x02,重新编译后,录制的视频没有显示彩条呀,说明没有配置镜头呀,怎么配置呢?
这个是安装驱动时的打印信息
/a # /lib/modules/ko/load3518e -a -sensor ov9712 -osmem 32 -total 64
MEM_START=0x82000000 HVRMEM=32M MEM_LEN=32M
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3518e_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3518EV200...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3518EV200...OK!
ISP Mod init!
load viu.ko for Hi3518EV200...OK!
load vpss.ko ....OK!
load rc.ko for Hi3518EV200...OK!
load venc.ko for Hi3518EV200...OK!
load chnl.ko for Hi3518EV200...OK!
load h264e.ko for Hi3518EV200...OK!
load jpege.ko for Hi3518EV200...OK!
load ive.ko for Hi3518EV200...OK!
==== Your input Sensor type is ov9712 ====
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0040: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0044: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f007c: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0080: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0084: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0088: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f008c: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0090: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0094: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2003002c: 0x000C4003 --> 0x000C4001
[END]
acodec inited!
insert audio
mipi_init
init phy power successful!
load hi_mipi driver successful!
==== Your input Sensor type is ov9712 ====
这个是调用是打印的信息:
/a # ./sample_venc 0
s32ChnNum = 3
=============SAMPLE_COMM_VI_SetMipiAttr enWDRMode: 0
linear mode
hi_i2c_wait_txfifo_notfull->241:
abort! last int_raw_status: 0x550!
hi_i2c_abortprocess->87:
tx_abrt_src is 1.
=========================================================
===ominivision ov9712 sensor 720P30fps(Parallel port) init success!=====
=========================================================
c) cbr.
v) vbr.
a) Avbr.
f) fixQp
please input choose rc mode!
v
please press twice ENTER to exit this sample
program exit normally!
/a #
使用Hi3518E_SDK_V1.0.4.0/mpp/sample/sample_venc里的例子,录制的视频是绿色的为什么呢?
我修改Hi3518E_SDK_V1.0.4.0/mpp/component/isp/sensor/ov9712_sensor_ctl.c里的void sensor_linear_720p25_init()函数,把0x12,的值改成0x02,重新编译后,录制的视频没有显示彩条呀,说明没有配置镜头呀,怎么配置呢?
这个是安装驱动时的打印信息
/a # /lib/modules/ko/load3518e -a -sensor ov9712 -osmem 32 -total 64
MEM_START=0x82000000 HVRMEM=32M MEM_LEN=32M
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3518e_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3518EV200...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3518EV200...OK!
ISP Mod init!
load viu.ko for Hi3518EV200...OK!
load vpss.ko ....OK!
load rc.ko for Hi3518EV200...OK!
load venc.ko for Hi3518EV200...OK!
load chnl.ko for Hi3518EV200...OK!
load h264e.ko for Hi3518EV200...OK!
load jpege.ko for Hi3518EV200...OK!
load ive.ko for Hi3518EV200...OK!
==== Your input Sensor type is ov9712 ====
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0040: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0044: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f007c: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0080: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0084: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0088: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f008c: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0090: 0x00000000 --> 0x00000002
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0094: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2003002c: 0x000C4003 --> 0x000C4001
[END]
acodec inited!
insert audio
mipi_init
init phy power successful!
load hi_mipi driver successful!
==== Your input Sensor type is ov9712 ====
这个是调用是打印的信息:
/a # ./sample_venc 0
s32ChnNum = 3
=============SAMPLE_COMM_VI_SetMipiAttr enWDRMode: 0
linear mode
hi_i2c_wait_txfifo_notfull->241:
abort! last int_raw_status: 0x550!
hi_i2c_abortprocess->87:
tx_abrt_src is 1.
=========================================================
===ominivision ov9712 sensor 720P30fps(Parallel port) init success!=====
=========================================================
c) cbr.
v) vbr.
a) Avbr.
f) fixQp
please input choose rc mode!
v
please press twice ENTER to exit this sample
program exit normally!
/a #
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2017-08-12 19:03:33
-
2015-09-28 14:05:03
-
2017-11-24 09:50:32
-
2017-06-08 15:30:45
-
2016-05-17 16:38:43
-
2017-11-02 11:52:30
-
2017-06-19 20:18:14
-
2017-05-11 13:28:58
-
2020-06-18 19:13:20
-
2019-08-09 09:56:45
-
2016-01-07 16:44:39
-
2018-05-21 15:51:48
-
2019-11-21 16:21:47
-
2014-10-28 17:05:54
-
2017-04-21 11:23:16
-
2019-01-03 20:19:09
-
2015-01-29 09:33:05
-
2014-11-26 10:21:15
-
2017-06-27 14:51:50
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认