File size: 1,561 Bytes
37be4f7
 
 
 
 
 
 
 
2922284
37be4f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
license: apache-2.0
title: Auto-caption
sdk: gradio
emoji: 💻
colorFrom: indigo
colorTo: purple
short_description: Turns any video into a shorts auto-caption
sdk_version: 5.29.0
---
#     auto-subtitle-generator
A program that generates subtitles in the format of instagram and facebook reels, youtube shorts and tiktok videos.
*** 
### Installation and usage:
1. If using git to download repo type: `git clone https://github.com/zubu007/auto-subtitle-generator.git` 
2. Check if you have [ffmpeg](https://ffmpeg.org) installed on your system
   * Open a terminal and type `ffmpeg -version`. If you get an error, you need to install ffmpeg.

3. Install [ffmpeg](https://ffmpeg.org)
   * On Windows
     * Install [Chocolately](https://chocolatey.org/install) and type `choco install ffmpeg` 
   * On Linux
     * `sudo apt install ffmpeg`
   * On Mac
     * `brew install ffmpeg`
       
4. Install the necessary python packages in your environment using `pip install -r requirements.txt`

5. Run the python script
   * Windows:  `python GUI.py`
   * Linux/Mac:  `python3 GUI.py`


*** 

### TODO
- [ ] Control number of words shown together with a variable
- [ ] Add support for multiple languages
- [ ] Add support for multiple video formats
- [ ] Add support for multiple video resolutions
- [ ] Add comments to the code
- [ ] Update this read.me to make professional
- [ ] Add option to select font color
- [ ] Font size option

### Done
- [x] Create a GUI for the program
- [x] Design UI for the program
- [x] Create variables for text size and font.