add vaapi and vdpau