Hi Karim,
Could you please try
https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/
and https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=9116 ?
Thanks
Haihao
Hi
Thank you for your help
I tried your code but it doesn’t leak memory
My code leaks memory only when these 2 lines are used
err =
av_hwdevice_ctx_create_derived(&encoderContext->hw_device_ctx,
AV_HWDEVICE_TYPE_QSV, hardwareDeviceContext, 0);
err =
av_hwframe_ctx_create_derived(&encoderContext->hw_frames_ctx, AV_PIX_FMT_QSV,
encoderContext->hw_device_ctx, hardwareFrameContext, 0);
Best regards
_______________________________________________
Libav-user mailing list
[email protected]<mailto:[email protected]>
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected]<mailto:[email protected]> with
subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".