MUZLATAN / ffmpeg_rtsp_mpp

ffmpeg 拉取rtsp h264流, 使用mpp解码, 目前在firefly 板子上跑通了
193 stars 54 forks source link

输出的YUV文件size为0? #4

Closed siyl closed 3 years ago

siyl commented 3 years ago

修改main.cpp如下: char filepath[] = "rtsp://admin:23@xxx.xxx.xxx.xxx:554/h264/ch39/sub/av_stream";// 自己的rtsp 地址 ... // paramter for resource malloc RK_U32 width = 1280; RK_U32 height = 720; MppCodingType type = MPP_VIDEO_CodingAVC; ...

//// 初始化 MPP_RET ret = MPP_OK; size_t file_size = 8*1024;

siyl commented 3 years ago

已解决

gitccl commented 3 years ago

请问你是怎么解决的呀