younes21000 commited on
Commit
24ac137
1 Parent(s): 41e9833

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -41
README.md CHANGED
@@ -10,49 +10,45 @@ pinned: false
10
  license: apache-2.0
11
  ---
12
 
13
- # Video Subtitle Generator with Translation
14
-
15
- This application allows you to generate subtitles from video files or YouTube links, translate them into multiple languages, and export them in various formats.
16
-
17
- ## Features
18
-
19
- - Video transcription using OpenAI's Whisper
20
- - Support for multiple languages
21
- - Translation capabilities using M2M100
22
- - Multiple output formats:
23
- - SRT subtitles
24
- - Hardsubbed videos
25
- - Word documents
26
- - PDF files
27
- - PowerPoint presentations
28
- - YouTube video support
29
-
30
- ## Usage
31
-
32
- 1. Upload a video file or provide a YouTube URL
33
- 2. Select the original video language
34
- 3. Choose your desired translation language
35
- 4. Pick an output format
36
- 5. Click "Submit" and wait for processing
37
-
38
- ## Supported Languages
39
-
40
- - English (en)
41
- - Persian/Farsi (fa)
42
- - Spanish (es)
43
- - German (de)
44
- - French (fr)
45
- - Italian (it)
46
- - Portuguese (pt)
47
- - Arabic (ar)
48
- - Chinese (zh)
49
- - Hindi (hi)
50
- - Japanese (ja)
51
- - Korean (ko)
52
- - Russian (ru)
53
 
54
  ## Notes
55
 
56
  - Maximum video size: 1GB
57
  - Processing time depends on video length and selected options
58
- - Internet connection required for YouTube videos and translations
 
10
  license: apache-2.0
11
  ---
12
 
13
+ Video Subtitle Generator with Translation & Multi-Format Output
14
+
15
+ This project provides a tool to generate subtitles from video files using OpenAI's Whisper model
16
+ for transcription. It also supports translation into multiple languages using the M2M100 translation
17
+ model from Hugging Face. The subtitles can be exported in various formats, including SRT files, hardsubbed video,
18
+ Word documents, PDF files, or PowerPoint slides.
19
+
20
+ Features:
21
+
22
+ Automatic Transcription: Transcribe audio from video files into text using
23
+ Whisper models (Tiny, Base, Small, Medium, Large).
24
+
25
+ Multi-Language Translation: Translate the generated subtitles into different languages such as Persian, Spanish,
26
+ French, German, Italian and Portuguese using M2M100.
27
+
28
+ Multi-Format Export: Export subtitles in the following formats:
29
+ SRT (Subtitle file format)
30
+ Video with embedded subtitles (hardsub)
31
+ Word document (.docx)
32
+ PDF file
33
+ PowerPoint presentation (.pptx)
34
+
35
+ Right-to-Left Language Support: Proper handling of RTL languages like
36
+ Persian and Arabic in both Word and PDF formats.
37
+
38
+ Usage
39
+ You can use this tool through a Gradio interface to upload a video,
40
+ select the language of the video, choose the target translation language,
41
+ and export the subtitles in your desired format.
42
+
43
+ Supported Whisper Models
44
+ Tiny (Fast, Less Accurate)
45
+ Base (Medium Speed, Medium Accuracy)
46
+ Small (Good Speed, Good Accuracy)
47
+ Medium (Slow, High Accuracy)
48
+ Large (Very Slow, Highest Accuracy)
 
 
 
 
49
 
50
  ## Notes
51
 
52
  - Maximum video size: 1GB
53
  - Processing time depends on video length and selected options
54
+ - Internet connection required for translations