diff --git a/README.md b/README.md
index dc8bf14..5178a7e 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,7 @@
- [About the Project](#about-the-project)
- [Supported Languages](#supported-languages)
+ - [Supported File Types](#supported-file-types)
- [Project Structure](#project-structure)
- [Built With](#built-with)
- [Getting Started](#getting-started)
@@ -90,6 +91,8 @@
- [Usage](#usage)
- [Transcribe From](#transcribe-from)
- [Save Transcription](#save-transcription)
+ - [Autosave](#autosave)
+ - [Overwrite Existing Files](#overwrite-existing-files)
- [Transcribe Using](#transcribe-using)
- [WhisperX Options](#whisperx-options)
- [Transcription Translation](#transcription-translation)
@@ -238,6 +241,49 @@ You can also choose the theme you like best. It can be dark, light, or the one c
- Yoruba
+### Supported File Types
+
+
+ Audio file formats
+
+ - `.mp3`
+ - `.mpeg`
+ - `.wav`
+ - `.wma`
+ - `.aac`
+ - `.flac`
+ - `.ogg`
+ - `.oga`
+ - `.opus`
+
+
+
+ Video file formats
+
+ - `.mp4`
+ - `.m4a`
+ - `.m4v`
+ - `.f4v`
+ - `.f4a`
+ - `.m4b`
+ - `.m4r`
+ - `.f4b`
+ - `.mov`
+ - `.avi`
+ - `.webm`
+ - `.flv`
+ - `.mkv`
+ - `.3gp`
+ - `.3gp2`
+ - `.3g2`
+ - `.3gpp`
+ - `.3gpp2`
+ - `.ogv`
+ - `.ogx`
+ - `.wmv`
+ - `.asf`
+
+
### Project Structure
@@ -399,7 +445,6 @@ You can also choose the theme you like best. It can be dark, light, or the one c
source venv/Scripts/activate
```
5. Run `cat requirements.txt | xargs -n 1 pip install` to install the dependencies.
- > [!WARNING]
>For some reason, `pip install -r requirements.txt` throws the error "Could not find a version that satisfies the requirement [PACKAGE_NAME]==[PACKAGE_VERSION] (from version: none)"
6. Run `python src/app.py` to start the program.
@@ -433,7 +478,7 @@ Once you open the **Audiotext** executable file (explained in the [getting start
### Transcribe From
-You can transcribe from three audio sources:
+You can transcribe from four sources:
- **File** (see image above): Click on the file explorer icon to select the file you want to transcribe. You can also manually enter the path to the file into the input field. You can transcribe audio from both audio and video files. Note that the file explorer has the `All supported files` option selected by default. To select only audio files or video files, click the combo box in the lower right corner of the file explorer to change the file type, as marked in red in the following image:
@@ -441,46 +486,58 @@ You can transcribe from three audio sources:
![Supported files](docs/supported-files.png)
-
- Supported audio file formats
-
- - `.mp3`
- - `.mpeg`
- - `.wav`
- - `.wma`
- - `.aac`
- - `.flac`
- - `.ogg`
- - `.oga`
- - `.opus`
-
-
-
- Supported video file formats
-
- - `.mp4`
- - `.m4a`
- - `.m4v`
- - `.f4v`
- - `.f4a`
- - `.m4b`
- - `.m4r`
- - `.f4b`
- - `.mov`
- - `.avi`
- - `.webm`
- - `.flv`
- - `.mkv`
- - `.3gp`
- - `.3gp2`
- - `.3g2`
- - `.3gpp`
- - `.3gpp2`
- - `.ogv`
- - `.ogx`
- - `.wmv`
- - `.asf`
-
+- **Directory**: Click on the file explorer icon to select the directory with the files you want to transcribe. You can also manually enter the path to the directory into the input field. All supported video and audio files from the root of the directory and its subdirectories will be transcribed. Note that the `Autosave` option is checked and cannot be unchecked because each file's transcription will automatically be saved in the same path as the source file.
+
+
+
+For example, let's use this directory as a reference:
+
+```
+└───files-to-transcribe
+ │ paranoid-android.mp3
+ │ the-past-recedes.flac
+ │
+ └───movies
+ seul-contre-tous.mp4
+ mulholland-dr.avi
+```
+
+After transcribing the `files-to-transcribe` directory with subtitles, the folder structure will look like this:
+
+```
+└───files-to-transcribe
+ │ paranoid-android.mp3
+ │ paranoid-android.srt
+ │ paranoid-android.txt
+ │ paranoid-android.vtt
+ │ the-past-recedes.flac
+ │ the-past-recedes.srt
+ │ the-past-recedes.txt
+ │ the-past-recedes.vtt
+ │
+ └───movies
+ seul-contre-tous-1998.mp4
+ seul-contre-tous-1998.srt
+ seul-contre-tous-1998.txt
+ seul-contre-tous-1998.vtt
+ mulholland-dr-2001.avi
+ mulholland-dr-2001.srt
+ mulholland-dr-2001.txt
+ mulholland-dr-2001.vtt
+```
- **Microphone**: To start recording, simply click the `Start recording` button to begin the process. The text of the button will change to `Stop recording` and its color will change to red. Click it to stop recording and generate the transcription.
@@ -491,8 +548,6 @@ You can transcribe from three audio sources:
https://github.com/HenestrosaDev/audiotext/assets/60482743/bd0323d7-ff54-4363-8b73-a2d56e7f783b
- >Video from v2.1.0
-
- **YouTube video**: Enter the video URL in the upper input field. When finished, click on the `Generate transcription` button.