P1 is the fixed template video. P2 is the single image uploaded by the user.
Reproduce P1 shot by shot and frame by frame. Replace only the main subject in P1 with the subject from P2. Strictly preserve P1's original camera movement, timing, actions, poses, composition, background, environment, objects, lighting, transitions, audio, and aspect ratio.
Do not create a new scene. Do not change or remove the background. Do not add hands, people, props, text, logos, or any other element. Only adapt the replacement subject's identity, appearance, texture, and clothing to match P2. Maintain the original position, scale, perspective, motion, timing, realistic anatomy, and frame-to-frame consistency. Preserve the original template video's audio, music, sound effects, timing, and synchronization exactly.