I want to use h264_videotoolbox codec to encode my video in FFMPEG lib.I input image format is AV_PIX_FMT_YUV420P, but output video frame like follow.
I tried libx264 and all work correctly.
Do you guys know what happen?Why encoded frame like that?
My test code:
https://github.com/BeiKeJieDeLiuLangMao/videotoolbox
Resolution
Data should align to 32.