.. and your phone already does this: https://www.google.com/amp/s/www.macworld.com/article/344463...
Also, im sure I saw a very nice video on this, with a car driving through the landscape, using previous frames as well. Can't find the link though :-\