Side to side movement on video

I recently flew a waypoint mission recording video using a Matrice 4E. I usally use it for mapping but needed video for a project. Everything worked great, but the drone was moving side to side a few times especially in wind. So the video moves left and right in places. I don’t see this just flying manually. Was wondering if Litchi was making it try too hard to stay on point to the next waypoint or something. Anyone experienced this?

Meaning it yaws right and left, or the drone travels right and left?

Yaws left and right.

Which engine did you use? Onboard or Litchi? You will probably get better results with the Onboard flight engine.
How much wind are we talking about?
If you can share the flight plan ([GUIDE] How to Share a Flight or Folder) and/or resulting video that would help