langchain_experimental.video_captioning.services.audio_service.AudioProcessor

class langchain_experimental.video_captioning.services.audio_service.AudioProcessor(api_key: str, output_audio_path: str = 'output_audio.mp3')[source]

方法

__init__(api_key[, output_audio_path])

process(video_file_path[, run_manager])

参数
  • api_key (str) –

  • output_audio_path (str) –

__init__(api_key: str, output_audio_path: str = 'output_audio.mp3')[source]
参数
  • api_key (str) –

  • output_audio_path (str) –

process(video_file_path: str, run_manager: Optional[CallbackManagerForChainRun] = None) list[source]
参数
返回类型

list