YouTube video reading through Q&A

I have gone through the course " LangChain Chat with Your Data".

It’s really good but scripts are not working as said for YouTube video search in LLM.

from langchain.llms import OpenAI
from langchain.embeddings import OpenAIEmbeddings
from langchain_openai import OpenAIEmbeddings
from langchain.document_loaders.generic import GenericLoader
from langchain.document_loaders.parsers import OpenAIWhisperParser
from langchain.document_loaders.blob_loaders.youtube_audio import YoutubeAudioLoader
url=“https://www.youtube.com/watch?v=Xo3KBoEMDEo&list=PLG2_S6yzON5f4T3kSAkkeMlTBMTAtsLrz
save_dir=“”/Users/name/Documents/Lekha/docs/youtube"
loader = GenericLoader(
YoutubeAudioLoader([url],save_dir),
OpenAIWhisperParser()
)
docs = loader.load()

I am trying from MacBook. Getting following error.

DownloadError: ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location

Someone please respond

The error message indicates you don’t have all of the necessary tools installed.

You’ll probably get more support if you post in the forum for that course.

Is there any other way to do this testing without installing ffprobe and ffmpeg. If so; could you please provide your input

I do not know.