Squaring a rectangular video

Test 1 (technique 1)

Test 2 (technique 2)

Test 3 (technique 3)

Reference Video