In my application, I am using VPP for color conversion (UYVY to NV12)and for scaling during H264 encoding.
If I encode H264 or Mpeg in HD mode (1920*1080), file is recorded properly. (Output image is proper)
But when I encode in SD mode (720*576), output file image is totally distorted,
If my input buffer size is 1920*1080 size and I encode in 720*576 size then also output file is recorded properly.
But when my input buffer is 720*576 size and I encode in 720*576 or 1920*1080 size then also output file is totally distorted.
If I do color conversion from UYVY to YV12 and scaling using third party application then its works fine.
Please find my system configuration and log generated during HD mode recording and SD mode recording. Also image of SD mode recorded file.