>>8366500You have two options:
1. Pick one end of the panning animation as your point of reference.
2. Pick a still object present in every frame of the panning animation as your point of reference.
In the Tomoko doggystyle stitch, I went with option 2. The bed sheets in that scene are a completely still object that I could use to align the stitched frames. In this video, I just used the end of the panning animation as the frame of reference. Unfortunately, this leads to some wonkiness. You can see the edge of the couch's back rest move around in a few frames because the panning is still happening. I didn't bother fixing this cause trying to align a gradient - especially one that's hard to see up close due to compression artifacts - was too much of a pain in the ass. Someone with a more skilled eye could probably do it, though. I should also probably make the Tomoko stitch a less compressed .mp4.
Anyway, to make a stitch, you first have to examine the panning scene frame-by-frame to see how the animation loops. If there's no loop or the animation takes the entire duration of the pan to finish, then unfortunately you're fucked. There's no potential for a stitch in a scene like that. If there IS a loop, then you need to find the frames where it completes near the start of the pan and near the end. Screenshot each of those frames and use Photoshop or GIMP to stitch them together using the techniques mentioned in option 1 and option 2 above.
NOTE: The final product will almost never have the entire scene in frame. Rarely does the entire animation loop play out in a way that you can capture from both ends of the pan. Usually when the first loop is finished, the camera will have panned a bit and cut off part of the scene.