Toggle Menu
Prev Up Next

# `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')

  Methods

  `__init__`(api_key[, output_audio_path]) |
  `process`(video_file_path[, run_manager]) |

  Parameters

    - api_key (str) –

    - output_audio_path (str) –

  __init__(api_key: str, output_audio_path: str = 'output_audio.mp3')
    Parameters

      - api_key (str) –

      - output_audio_path (str) –

  process(video_file_path: str, run_manager: Optional[CallbackManagerForChainRun] = None) → list
    Parameters

      - video_file_path (str) –

      - run_manager (Optional[CallbackManagerForChainRun]) –

    Return type

      list