[Penlin] adjust Video_Encode read weight and compute average PSNR in the end