Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding optional standalone Vosk transcription tool #6

Open
cr08 opened this issue Nov 15, 2022 · 1 comment
Open

Adding optional standalone Vosk transcription tool #6

cr08 opened this issue Nov 15, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request low priority Low priority bug fix/feature

Comments

@cr08
Copy link
Owner

cr08 commented Nov 15, 2022

Reverting an old deletion and bringing back the 0_main_vtt_generation.py file. Intent here is to keep an optional standalone tool to transcript audio to SRT from random video files not necessarily downloaded by the main tools here.

At the time of this writing, the old file has been added in but is unchanged so is unlikely to work at this point in time. More work to come on that front...

@cr08 cr08 added enhancement New feature or request low priority Low priority bug fix/feature labels Nov 15, 2022
@cr08 cr08 self-assigned this Nov 15, 2022
@cr08
Copy link
Owner Author

cr08 commented Dec 4, 2022

Current plans for this:

Script is manually run. We will look at any supplied command line argument and allow multiples. Either a single file or a directory can be supplied and they can be mixed and matched. ie:

python3 opt_transcode_srt.py ~/Videos/recording1.mp4 ~/Videos/recording_dir/ /home/user/test.mp4

We will iterate through these in the order received, directories will be walked to locate videos by common file extensions (mkv, mp4, avi, mov, flv. We'll probably follow OBS' cue and watch for the file extensions it is able to export).

Once all files are found in the user provided locations, we'll iterate through each one with the transcription code as we'd expect.

Much like the primary scripts in this repo, if we locate an SRT of the same filename as the video in the same directory, we'll skip transcribing that video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Low priority bug fix/feature
Projects
None yet
Development

No branches or pull requests

1 participant