config

Overview

Classes

singletons

A class to hold singletons

Function

get_app_analytics_endpoint()

-

get_cleanup_tempfiles()

Whether to cleanup temporary files or not. By default we set it to False

get_cloud_bucket_url()

The cloud storage bucket where final videos are stored

get_default_background_music()

-

get_elevenLabs_url()

-

get_initial_audio_file_name()

The file name of the user provided or llm generated audio file

get_nb_retries_http_calls()

-

get_nb_subs_per_video()

The number of subtitles to generate per video

get_nb_words_per_subtitle()

-

get_prompt_mp3_file_name()

The name of the mp3 file either converted from user or

get_seconds_per_word()

-

get_sub_audio_for_subtitle_prefix()

The prefix for the file name of the audio file that will be used for the subtitles video

get_subtitles_default_file_name()

The default name used to save the subtitles file in the working directory

get_subtitles_min_duration()

-

get_telemetry_endpoint()

-

get_videho_email_contact()

-

get_video_length_per_subtitle()

The length of the video generated for each subtitle is currently directly

get_video_list_file_name()

The file name of the list of videos files to mix with ffmpeg

use_app_analytics()

-

use_telemetry()

-

Attributes

dir_path

-

env_file

-

Classes

class config.singletons

A class to hold singletons

Overview

Methods

get_process_executor()

static The process executor to use for parallel processing

Members

static get_process_executor()

The process executor to use for parallel processing

Functions

config.get_app_analytics_endpoint() str
config.get_cleanup_tempfiles() bool

Whether to cleanup temporary files or not. By default we set it to False as we prefer to keep the files for debugging purposes or to train future models, or even reuse the produced sub videos

config.get_cloud_bucket_url()

The cloud storage bucket where final videos are stored

config.get_default_background_music() str
config.get_elevenLabs_url() str
config.get_initial_audio_file_name()

The file name of the user provided or llm generated audio file

config.get_nb_retries_http_calls() int
config.get_nb_subs_per_video() int

The number of subtitles to generate per video

config.get_nb_words_per_subtitle() int
config.get_prompt_mp3_file_name() str

The name of the mp3 file either converted from user or generated using an llm and that we use to extract subtitles from the video

config.get_seconds_per_word() float
config.get_sub_audio_for_subtitle_prefix()

The prefix for the file name of the audio file that will be used for the subtitles video

config.get_subtitles_default_file_name() str

The default name used to save the subtitles file in the working directory It is typically build from smaller subtitles generated for subvideos

config.get_subtitles_min_duration() int
config.get_telemetry_endpoint() str
config.get_videho_email_contact() str
config.get_video_length_per_subtitle() int

The length of the video generated for each subtitle is currently directly linked to the maximum anmount of time allowed by videcrafter

config.get_video_list_file_name()

The file name of the list of videos files to mix with ffmpeg

config.use_app_analytics() bool
config.use_telemetry() bool

Attributes

config.dir_path
config.env_file