- OpenCV
- python
- ffmpeg-python
- cv2
- Download this source.
- Download your video.
- Run script to generate json file for animation.
please refer next sectiongenerate json file
- Place generated json file which name is 'data.json' under 'UISwitchAnimator/UISwitchAnimato/'.
python generate-json.py <downloaded video path> <width pixel> <height pixel>
sample
python generate-json.py video.mp4 48 36
launch app and double tap view.