Oh man this effect is crazy and looks really good in a sports related video where your subject is running or moving positions with a single product in hand or in this case earphones.
This effect will track the motion of your object which is in high contrast with the background. Hence, you can mark the anchor for that object using the tracking method. There are multiple ways to stabilize the motion and use this effect in different scenarios.