您尚未登录。

楼主 #1 2018-10-19 10:57:51

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,247
积分: 9197

测试了几个 github 上面的 全志编码器程序, 都不能正常运行.

.





离线

楼主 #2 2018-10-19 11:01:07

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,247
积分: 9197

Re: 测试了几个 github 上面的 全志编码器程序, 都不能正常运行.

项目地址: https://github.com/patrickhwood/h264encoder


编译指令:

make CC=/opt/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi-gcc CPP=/opt/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi-g++

运行错误:

/mnt/extsd # ./simpleencoder.static test2.nv12 -s 640x480 -o 1.264
rawvideo: test2.nv12
width: 640, height: 480
output: 1.264
nframes: 0
open H264Enc failed
failed to initialize encoder
Segmentation fault





离线

楼主 #3 2018-10-19 11:02:44

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,247
积分: 9197

Re: 测试了几个 github 上面的 全志编码器程序, 都不能正常运行.

项目地址: https://github.com/jemk/cedrus

编译指令:

make CC=/opt/zeta/out/sun8iw8p1-linaro-5.3/linux/common/buildroot/host/usr/bin/arm-linux-gnueabi-gcc

运行错误:

/mnt/extsd # ./h264enc test2.nv12 320 240 1.264
[VDPAU SUNXI] VE version 0x0000 opened.
h264enc: can't allocate VE memory
could not create encoder





离线

楼主 #5 2018-10-19 17:21:27

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,247
积分: 9197

Re: 测试了几个 github 上面的 全志编码器程序, 都不能正常运行.

真的是很烦 说:

用的什么芯片?  这个呢
https://github.com/stulluk/FFmpeg-Cedrus

我用的是海豚派的板子,用海豚派的程序能正常编解码,上面两个都不行。

这个ffmpeg 不知道如何编译, configure 就出错,有什么好办法吗?





离线

楼主 #6 2018-10-19 17:23:47

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,247
积分: 9197

Re: 测试了几个 github 上面的 全志编码器程序, 都不能正常运行.

https://github.com/allwinner-zh/media-codec/

这个看起来好像全志官方放出来的代码,
有点挑编译器,
还有好多坑,
没有编译完。





离线

楼主 #8 2018-10-22 15:59:22

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,247
积分: 9197

Re: 测试了几个 github 上面的 全志编码器程序, 都不能正常运行.

真的是很烦 说:
晕哥 说:

https://github.com/allwinner-zh/media-codec/

这个看起来好像全志官方放出来的代码,
有点挑编译器,
还有好多坑,
没有编译完。

这个坑有进展没?

没有, 不知道如何编译。

今天有个大神给我推荐了一个更好的:

https://github.com/king0769/Zeta_Linux_Samples





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn