- An Video Stitching is an application created in python with tkinter gui and OpenCv library.
- In this application user can select any videos and can can stitch that videos according to row and column.
- The output file will be saved automatically to the project directory.
- For implementing this used moviepy library.
- python 3
- cv2 module
- tkinter module
- filedialog from tkinter
- messagebox
- from PIL import Image, ImageTk
- import cv2
- from moviepy.editor import *
- User just need to download the file, and run the video_stitching.py, on local system.
- After running a GUI window appears, where user can start the video Stitching by clicking on the START button.
- After that a new GUI window will open, in which user will have buttons like SELECT, STITCH IN ROWS and STITCH IN COLUMNS.
- User can select any multiple video file from the local system, using SELECT button.
- After user has selected videos, user will be able to see the path of the videos selected in the text area.
- After that when user clicks on the STITCH IN ROWS button, the selected videos will be stitched in row and automatically saved to the project directory with "row_switch.mp4" filename.
- Also when user clicks on the STITCH IN COLUMNS button, the selected videos will be stitched in column and automatically saved to the project directory with "col_switch.mp4" filename.
- This scripts helps us to easily stitch multiple videos in according to either row or column.
- Install tkinter, PIL, cv2, moviepy
- After that download the code file, and run video_stitching.py on local system.
- Then the script will start running and user can explore selecting any multiple video and start stitching it by rows and columns.