Search found 4 matches

by lyphotoes
2025-01-23 7:49
Forum: Luckfox Pico-RV1103/RV1106
Topic: libwebsockets异常断连(LWS_CALLBACK_CLIENT_CLOSED)
Replies: 2
Views: 2084

Re: libwebsockets异常断连(LWS_CALLBACK_CLIENT_CLOSED)

我也在luckfox pico ultra w上交叉编译了libwebsockets,应用场景是作为服务端,对于客户端没有测试,附件中将我使用的库发给你,你可以直接替换试试,希望对你有帮助。
by lyphotoes
2025-01-17 7:48
Forum: Luckfox Pico-RV1103/RV1106
Topic: luckfox pico ultra w 自己编译的使用ffmpeg的应用程序在librockit.so.0库中段错误
Replies: 2
Views: 1447

Re: luckfox pico ultra w 自己编译的使用ffmpeg的应用程序在librockit.so.0库中段错误

结贴!问题已找到!
memcpy(stChnAttr.stIspOpt.aEntityName, aEntityName, MAX_VI_ENTITY_NAME_LEN);
上面代码有问题,宏 MAX_VI_ENTITY_NAME_LEN超出了stChnAttr.stIspOpt.aEntityName数组范围,将代码改为:
memcpy(stChnAttr.stIspOpt.aEntityName, DEV_NAME, strlen(DEV_NAME));
其实这段代码是从rockit 官方 Demo encode_test抄的,居然会因为这句影响整个rockit内部报随机性错误 ...
by lyphotoes
2025-01-17 7:28
Forum: Luckfox Pico-RV1103/RV1106
Topic: [howto] Installing alpine linux and using camera on non-buildroot env
Replies: 2
Views: 1479

Re: [howto] Installing alpine linux and using camera on non-buildroot env


buildroot wasn't too convenient, lot of packages weren't working

ubuntu used too much ram so i couln't reserve enough ram for camera

so i decided to use alpine linux for my project

https://github.com/djdisodo/luckfox-pico-alpine

here's the release and i explained how can camera be used on ...
by lyphotoes
2025-01-07 8:33
Forum: Luckfox Pico-RV1103/RV1106
Topic: luckfox pico ultra w 自己编译的使用ffmpeg的应用程序在librockit.so.0库中段错误
Replies: 2
Views: 1447

luckfox pico ultra w 自己编译的使用ffmpeg的应用程序在librockit.so.0库中段错误

大家好,我打算在购买的luckfox pico ultra w 板子上使用rkmpi api 和ffmpeg api写一个简单的录制摄像头画面保存为mp4的测试程序。程序编译好后放到板上运行总是报段错误,使用gdb调试发现错误的地方在librockit.so.0这个库中,测试发现仅仅简单调用 ffmpeg api AVCodec *codec = avcodec_find_encoder(AV_CODEC_ID_H264); 就会报错,如下是会报错误的main函数实现:

int main(int argc, char **argv)
{

RK_S32 ret;
RK_S32 viId ...