sunbeyond 发表于 2014-4-25 10:35:15

ashwing 发表于 2013-9-27 18:28 static/image/common/back.gif
是的 main 里 少了个cedar初始化

请问如何初始化?

noudle614 发表于 2014-4-26 14:11:35

sunbeyond 发表于 2014-4-24 17:13 static/image/common/back.gif
请问怎么将 将摄像头抓的数据保存为yuv文件??

直接在保存一帧的那个函数里以写文件的方式保存啊

jujusoft 发表于 2014-4-29 18:23:20

wangchenxicool 发表于 2014-2-27 10:51 static/image/common/back.gif
楼主你好! client我编译OK了,但执行的时候打开摄像头有问题:
StartStreaming: Unable to start captur ...

我也遇到这个问题,不过我是CB1,求楼主解答~

wayrain 发表于 2014-9-30 22:28:04

好高级哟~~ 有空搞搞~~

matmat 发表于 2015-4-7 14:41:13

好文章,谢谢:lol

forever235 发表于 2015-5-29 23:16:44

你好,请问这个可以用于cubieboard2吗

cb12345 发表于 2015-6-5 17:15:33

forever235 发表于 2015-5-29 23:16 static/image/common/back.gif
你好,请问这个可以用于cubieboard2吗

这个可以在A10/A20上使用,但是A20上会有一些小小的问题,不过不影响使用

blessed 发表于 2015-6-5 17:23:54

forever235 发表于 2015-5-29 23:16 static/image/common/back.gif
你好,请问这个可以用于cubieboard2吗

A10/A20d都可以使用

jinhe1314 发表于 2015-6-6 22:35:11

:'(:) mark

Linux- 发表于 2015-7-7 15:18:55

main 函数增加初始化
g_pCedarV = CedarvEncInit(mVideoWidth,mVideoHeight,1024*1024,GetFrmBufCB);
InitCapture();

摄像头ov7670,采用ashwing的   queryvideo () 查询可知摄像头是支持nv12的。


root@cubieboard2:~# ./client
cedarx_hardware_init success!
cedarv open ok
<E/osal_linux: (329) flush cache fail, range error!
H264encoderinit OK!
3> clk_enable: invalid handle
clk_enable: invalid handle
<6>sensor initial success when csi open!
<6>buffer_setup, buffer count=4, size=460800
<3>disp: process 822 (client) has skipped the version handshake.
disp: process 822 (client) has skipped the version handshake.
<4> layer allocated: 0,102
request layer 0 success =102<4> layer allocated: 0,103

request layer 1 success =103
de---w:635,h:355
V4L2Camera::v4l2StartStreaming OK
thread_dec start!
VIDIOC_QBUF failed, id: 0
Exit encode thread
Exit encode thread========================
Exit decode thread
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
<6>No active queue to serve
...........................
页: 1 2 3 4 5 6 7 8 [9] 10 11
查看完整版本: H264高清硬编解教程《附相应的库》