项目地址: 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
离线
项目地址: 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
离线
离线
晕哥 说:https://github.com/allwinner-zh/media-codec/
这个看起来好像全志官方放出来的代码,
有点挑编译器,
还有好多坑,
没有编译完。这个坑有进展没?
没有, 不知道如何编译。
今天有个大神给我推荐了一个更好的:
离线