This is a python script which can help you to convert an video into GIF.
- Clone/Download this repository
git clone clone_path
- Downlaod the required packages
pip install -r requirements.txt
- If you want to convert full video file into gif then run the following command shown below:
python app.py
4.If you want only particular slice of video to be converted into gif, then run the following command shown below:
python gifimi.py
-
If you are running the script "app.py", then just input the filepath of video in filepath.
-
If you are using the script "gifimi.py", then you need to specify the from and to seconds in which you want the video. for example: I want the the video 30.3 to 30.9 seconds to be converted into gif.
-
After entering the values click on "okay" option shown in the GUI, after you can choose what type of GIF you wan to convert.
A sample video is attached here you can use that for testing the scripts.
For refference the GUI screenshot is attached below:
![Screenshot (583)]
After typing the from and to seconds in the text box, press okay, then select what type of GUI you wan to convert. For reffernce a screenshot is being attached below:
After clicking on "Okay", You can list of options given below in the GUI:
for exapmple if you select Freezeing of Image, the gif get's saved you can check in the files: