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

VTT Output support added #89

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

VTT Output support added #89

wants to merge 20 commits into from

Conversation

zaltinsoy
Copy link

Added an option to create subtitle files in the .VTT format.

Copy link

what-the-diff bot commented Jun 25, 2024

PR Summary

  • Implementation of a new command line flag for adjusting subtitle format
    A new command line flag --subtitle_format, has been introduced. This will help users specify the subtitle file format type they prefer, whether it be srt or vtt.

  • Modification of the 'get_subtitles' and 'write_srt' functions in 'cli.py'
    The functionality of these two functions has been updated to support multiple subtitle formats. The format handled by these functions will now depend on the subtitle_format argument provided by the user.

  • Modification of 'format_timestamp' and 'write_srt' functions in 'utils.py'
    Similarly, these functions have also been updated to facilitate different subtitle formats according to the subtitle_format argument.

URLs changed
New name and description added
Squashed commit of the following:

commit fe4f542
Author: Darren Jeacocke <dazonic@me.com>
Date:   Wed Mar 29 22:14:13 2023 +1000

    Remove unused str2bool function

commit 4ee986e
Author: Darren Jeacocke <dazonic@me.com>
Date:   Wed Mar 29 21:56:13 2023 +1000

    Make boolean flags store_true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants