hello, i have following problem since days and i dont understand what i am doing wrong that libav get stuck and doesnt respond.
trying to convert RGB32 to NV21 with swscale [h264_v4l2m2m @ 0xaff08a30] v4l2_bufref_to_buf [h264_v4l2m2m @ 0xaff08a30] frame ptr = (nil) [h264_v4l2m2m @ 0xaff08a30] &frame->buf[0] = (nil) [h264_v4l2m2m @ 0xaff08a30] v4l2_bufref_to_buf [h264_v4l2m2m @ 0xaff08a30] frame ptr = 0x1 [h264_v4l2m2m @ 0xaff08a30] &frame->buf[1] = 0x1 ==============>>>>>> guac_video_prepare_frame dst width = 1344, height = 721, stride = 5376, dst->width = 1344, dst->height = 721 ==============>>>>>> guac_video_convert_frame frame->data[0] = 9ff10020, frame->data[1] = 0, frame->linesize[0] = 5376, frame->linesize[1] = 0 ==============>>>>>> guac_video_prepare_frame dst->data[0] = ab928020, dst->data[1] = aba14960, dst->data[2] = 0 ==============>>>>>> guac_video_prepare_frame src->linezie[0] = 1500, src->linesize[1] = 0, src->linesize[2] = 0 ==============>>>>>> guac_video_prepare_frame dst->linezie[0] = 540, dst->linesize[1] = 540, dst->linesize[2] = 0 struct SwsContext* sws = sws_getContext(width, height, AV_PIX_FMT_RGB32, dst->width, dst->height, AV_PIX_FMT_NV21, SWS_BICUBIC, NULL, NULL, NULL); sws_scale(sws, (const uint8_t* const*) src->data, src->linesize, 0, height, dst->data, dst->linesize); _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
