|
265压缩用windows下的vlc播放 图像似乎错位,绿色,264正常,用暴风正常用linux下的vlc播放 图像正常;似乎跟stride有关系;我设置的是
ret = mpp_enc_cfg_set_s32(cfg, "prep:width", w);
ret = mpp_enc_cfg_set_s32(cfg, "prep:height", h);
ret = mpp_enc_cfg_set_s32(cfg, "prep:hor_stride", (MPP_ALIGN(w, 16)) );
ret = mpp_enc_cfg_set_s32(cfg, "prep:ver_stride", (MPP_ALIGN(h, 16)));
|
|