trial

Results 20 comments of trial

Here is the translation of the text: > z这个应该是编码器码流里面携带的帧率 Hello coders, the encoding board uses RK3588's MPP hardware encoder, and the fps related parameters are as follows: ![image](https://github.com/ZLMediaKit/ZLMediaKit/assets/114904417/3b515617-bc15-43a7-80ca-b21b445dbb7f) From the...

Here is the translation: Another experiment is conducted: The input video is 25 FPS, dropping (n-1) frames for every n frames, and only carrying out AI visual processing on the...

**PLACEHOLDER_1_quote** (1) I'll go study it, thanks for the reply. (2) The DTS interval values are normal. I've also tried starting from 0, adding 1000 each time, and the phenomenon...

I noticed that your time intervals are normal, but what about the timestamp in your screenshot, is it abnormal?" This is exactly the issue I'm asking about. >“时间间隔正常,那你的截图中时间戳异常是咋回事” 这就是我提这个issue要问的问题呀 `TRANS_BY_GITHUB_AI_ASSISTANT`

使用RK3588,在模型输入图像letterbox缩放过程中,有imfill操作。 根据Q&A文档提到,imfill只能在RGA2核心上工作。 现在的问题是: (1)如果不alloc dma32 uncache heap, imfill时会有一大堆报错信息,但是**还是能够正常填充灰色**。此时rknn_inputs_set耗时极低。 (2)如果使用alloc dma32 uncache heap,imfill没有报错,也能够正常填充灰色。此时rknn_inputs_set耗时达到15~20ms。

> 使用RK3588,在模型输入图像letterbox缩放过程中,有imfill操作。 根据Q&A文档提到,imfill只能在RGA2核心上工作。 现在的问题是: (1)如果不alloc dma32 uncache heap, imfill时会有一大堆报错信息,但是**还是能够正常填充灰色**。此时rknn_inputs_set耗时极低。 (2)如果使用alloc dma32 uncache heap,imfill没有报错,也能够正常填充灰色。此时rknn_inputs_set耗时达到15~20ms。 “还是能够正常填充灰色”有误,是imfill失败后执行了memset(dst,color,get_iamge_size(dst_img))。 那一个解决方式就是,不使用dma,不使用imfill,直接通过memset填充灰色。

> 这应该是关键帧比较大 大量的memcpy导致的。 zlm在创建mk_frame时,也可以不拷贝的: > > ```c > /** > * 创建frame对象,并返回其引用 > * @param codec_id 编解码类型,请参考MKCodecXXX定义 > * @param dts 解码时间戳,单位毫秒 > * @param pts 显示时间戳,单位毫秒 > * @param...

上面的信息都是在对输出推流没有任何消费的前提下的。 使用VLC读取输出推流,发现了新的现象。 汇总如下: 横轴为时间,纵轴为每帧的耗时(ms)。 H.264输出格式,未设置回调。输出推流被消费前,出现的规则尖峰的间隔即为上面提到的60帧: ![H264不设置回调](https://github.com/ZLMediaKit/ZLMediaKit/assets/114904417/6f1e5e94-2610-4580-ab7d-c365eb3b5e0c) H.265输出格式,未设置回调。输出推流被消费前,出现的规则尖峰的间隔即为上面提到的60帧: ![H265不设置回调](https://github.com/ZLMediaKit/ZLMediaKit/assets/114904417/82fec442-dccb-4fe9-8bc4-7f6718f26664) H.264输出格式,设置了回调: ![H264设置回调](https://github.com/ZLMediaKit/ZLMediaKit/assets/114904417/daa95f52-1e76-4db4-b393-15d0c009b2ce) H.265输出格式,设置了回调。输出推流被消费前,出现的规则尖峰的间隔为60帧: ![H265设置回调](https://github.com/ZLMediaKit/ZLMediaKit/assets/114904417/9daf9d7f-b395-4e73-a675-d2ebcbf94bff) 花屏现象:”已解码格式“会在如图和空白之间快速跳变 ![花屏](https://github.com/ZLMediaKit/ZLMediaKit/assets/114904417/4beb2c7b-f4cc-4365-a641-b766434e310b)

> 在回调中free(ptr)啊 抱歉前段时间出国了没看。 mk_frame_create()之后取消free(enc_data),在回调中free(ptr),耗时尖峰现象有所缓解。

> 你可以先注释掉mk_media_input的调用 看看还有没有问题。 我不觉得一定是zlm的问题,你也可以pref top看下。 > > 另外你可以适当关闭一些转协议试试,你为什么要开这么多协议: > > ```ini > enable_hls=1 > > #是否开启转换为hls(fmp4) > > enable_hls_fmp4=1 > > #是否开启MP4录制 > > enable_mp4=1 > > #是否开启转换为rtsp/webrtc > >...