Change to FFMpeg codes