langshake
发表于 2014-3-28 15:44:26
root@ktd-server:~/work/h264_0# make
arm-none-linux-gnueabi-g++ -static -I ./render -I ./decode -I ./include -I ./capture -D__OS_LINUX -o test render/render.c decode/decode_api.c capture/capture.c -L./linux_lib/libcedarv_osal.a ./linux_lib/libcedarxalloc.a ./linux_lib/libh264enc.a ./linux_lib/libcedarv.a
render/render.c: In function 'void render_exit()':
render/render.c:539: error: 'close' was not declared in this scope
render/render.c: In function 'int render_render(void*, int)':
render/render.c:571: error: invalid conversion from 'u8*' to '__u32'
render/render.c:572: error: invalid conversion from 'u8*' to '__u32'
decode/decode_api.c: In function 'int decode_update_data_from_enc(cedarv_decoder_t*, __vbv_data_ctrl_info_t*, int)':
decode/decode_api.c:127: error: 'memset' was not declared in this scope
decode/decode_api.c:142: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:143: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:172: error: 'memset' was not declared in this scope
decode/decode_api.c:182: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:183: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:188: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:189: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:225: error: 'usleep' was not declared in this scope
decode/decode_api.c:231: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:232: error: 'cedarx_cache_op' was not declared in this scope
decode/decode_api.c:236: error: 'mem_cpy' was not declared in this scope
decode/decode_api.c:238: error: 'cedarx_cache_op' was not declared in this scope
capture/capture.c: In function 'int InitCapture()':
capture/capture.c:522: error: invalid conversion from 'void*' to 'buffer*'
make: *** Error 1
错误中的函数' cedarx_cache_op,mem_cpy 在哪?
cb12345
发表于 2014-3-29 08:45:49
langshake 发表于 2014-3-28 15:44 static/image/common/back.gif
root@ktd-server:~/work/h264_0# make
arm-none-linux-gnueabi-g++ -static -I ./render -I ./decode -I ./ ...
这两个函数都是在库文件中,编译出错应该是你的库文件没有链接好
langshake
发表于 2014-3-31 15:20:19
noudle614 发表于 2014-3-28 08:50 static/image/common/back.gif
gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70)
这个可以用,目前正在捣鼓中.... ...
哥们,能付把你的4.6.1版本编译器提供下,我找不到啊,这几天了,还是编译器版本问题啊,Q:376226323,跪谢!
noudle614
发表于 2014-3-31 15:52:28
这个例子中,V4L2在设置参数中,设置帧的宽和高貌似是自动获取的(在set_para函数中),而我这获取的是176*144,画面好小啊,我尝试过将那两个改为640*480(我的摄像头支持这么大的),但是修改之后画面是一跳一跳的,一点不连续,176*144的还能流畅显示,不知道这是什么原因啊? format.fmt.pix.width = width;format.fmt.pix.height =height;我记得V4L2这个参数是可以自己设定的啊
noudle614
发表于 2014-4-11 10:00:27
终于实现摄像头采集->h264硬编->h264硬解->实时LCD显示了,感谢共享该库!
qiaoge
发表于 2014-4-14 11:10:31
noudle614 发表于 2014-4-11 10:00 static/image/common/back.gif
终于实现摄像头采集->h264硬编->h264硬解->实时LCD显示了,感谢共享该库!
什么平台硬解:D
carpediem
发表于 2014-4-14 15:41:18
noudle614 发表于 2014-4-11 10:00 static/image/common/back.gif
终于实现摄像头采集->h264硬编->h264硬解->实时LCD显示了,感谢共享该库!
什么平台?A10还是A20
noudle614
发表于 2014-4-15 08:52:46
carpediem 发表于 2014-4-14 15:41 static/image/common/back.gif
什么平台?A10还是A20
CubieBoard A10
sunbeyond
发表于 2014-4-24 17:08:24
wangchenxicool 发表于 2014-2-27 10:51 static/image/common/back.gif
楼主你好! client我编译OK了,但执行的时候打开摄像头有问题:
StartStreaming: Unable to start captur ...
请问你之怎样解决这问题的啊?
sunbeyond
发表于 2014-4-24 17:13:38
noudle614 发表于 2014-3-18 15:23 static/image/common/back.gif
将摄像头抓的数据保存为yuv文件,放在YUV viewer中播放是很流畅的。改了下楼主的这个文件,去掉了显示那部 ...
请问怎么将 将摄像头抓的数据保存为yuv文件??
页:
1
2
3
4
5
6
7
[8]
9
10
11