Engineer-Jsp

Results 7 issues of Engineer-Jsp

我发现有时候调用libenc_closeSoftEncoder时,会出现ANR,跟踪代码后,发现代码会在while里面卡死,但是源码里面加了打印又没用,因为使用的是libx264.a的静态库,请问这个.a可以自己生成嘛,我想自己加打印,看程序卡在哪一步 static void libenc_closeSoftEncoder(JNIEnv *env, jobject thiz) { int nnal; x264_nal_t *nal; x264_picture_t pic_out; LIBENC_LOGD("libenc_closeSoftEncoder ------ 0"); if (x264_ctx.encoder != NULL) { LIBENC_LOGD("libenc_closeSoftEncoder ------ 1"); while (x264_encoder_delayed_frames(x264_ctx.encoder)) { LIBENC_LOGD("libenc_closeSoftEncoder **************...

question

首先感谢作者的无私奉献! 在使用yasea开源项目的时候,我希望将SDK拓展成移动端当今主流的几种格式,如YV21、NV21、RGB等等...... 通过对源码的理解,我发现ConvertToI420函数内部是在convert_to_i420.cc下,调用CanonicalFourCC函数,该函数返回video_common.h头文件中其对应的格式。 于是乎我对libenc.cc文件进行了如下函数的拓展和定义: ```c static jint libenc_SoftEncode(JNIEnv *env, jobject thiz, jbyteArray frame, jint src_width, jint src_height, jboolean need_flip, jint rotate_degree, jlong pts, jint format) { // default use FOURCC_YV12...

编译环境:Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-142-generic x86_64) NDK版本:android-ndk-r10e-linux-x86_64 得到如下错误提示: `ubuntu@VM-20-9-ubuntu:/mnt/ijkplayer/android/contrib$ ./compile-openssl.sh all ==================== [*] check archs ==================== FF_ALL_ARCHS = armv5 armv7a arm64 x86 x86_64 FF_ACT_ARCHS = armv5 armv7a arm64 x86 x86_64...

这两个权限都已经添加了呀 _Originally posted by @chuncainiao in https://github.com/kongqw/AndroidSerialPort/issues/31#issuecomment-695876948_

/** * 重写次方法用于处理tcp的断包、半包、粘包问题 */ @Override protected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception { // 缓冲区中剩余的字节 < 1 时 if (in.remaining() < 1) { // 不处理 return false;...

if (message instanceof IoBuffer) return false; else if (message instanceof byte[]) // 判断服务端响应消息是否是心跳反馈包 return isKeepAliveResponse((byte[]) message);

### hello! I discovered a problem while developing mapbox navigation. First, I will share my compilation configuration. • Flutter version 3.24.0 on channel stable at D:\Flutter\flutter_3.24.0 • Upstream repository https://github.com/flutter/flutter.git...