We introduce how to play a movie on the paper as the presented video demo in this tutorial.
- An image or marker for dense tracking. We provide The Starry Night as an example.
- Print the image onto a paper and record a video for it.
- Select a movie clip.
We can extract frames from the video and movie via ffmpeg:
ffmpeg -i video.mp4 -r 30/1 video/%06d.png
We provide a processed data package here.
Run the script with proper parameters:
python demo.py
Merge generated images into a video.
ffmpeg -r 30/1 -i data/output/%06d.png -c:v libx264 -vf fps=30 -pix_fmt yuv420p demo.mp4