This is a legacy site. Please use the latest v0.2 and v0.3 API references instead.
langchain_experimental.video_captioning.models
CaptionModel
CaptionModel.__init__()
CaptionModel.add_subtitle_text()
CaptionModel.from_audio_model()
CaptionModel.from_srt()
CaptionModel.from_video_model()
CaptionModel.to_srt_entry()
Attributes
closed_caption
end_time
start_time
Methods
__init__(start_time, end_time, closed_caption)
__init__
add_subtitle_text(subtitle_text)
add_subtitle_text
from_audio_model(audio_model)
from_audio_model
from_srt(start_time, end_time, *args)
from_srt
from_video_model(video_model)
from_video_model
to_srt_entry(index)
to_srt_entry
start_time (int) –
end_time (int) –
closed_caption (str) –
None
subtitle_text (str) –
audio_model (AudioModel) –
start_time (str) –
end_time (str) –
args (Any) –
BaseModel
video_model (VideoModel) –
index (int) –
str