Giter Site home page Giter Site logo

Comments (3)

bashonly avatar bashonly commented on July 18, 2024

Looks like a networking issue, maybe firewall-related?

Can you watch the same Youtube video in a browser on the same computer on the same IP address / same networking setup?

from yt-dlp.

hsabaghpour avatar hsabaghpour commented on July 18, 2024

Yes I can, I even could download the video and Audio, the error message says :
ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location

They are both already installed
╰─➤ which ffprobe
/opt/homebrew/bin/ffprobe
But still the code does not want to work, any comment? here is the code:

import os
os.environ['PATH'] += ':/opt/homebrew/bin/'

url="https://www.youtube.com/watch?v=ly8orBNiNQM"
save_dir="/Users/alexparsee/Desktop/YouTube/"

loader = GenericLoader(
YoutubeAudioLoader([url],save_dir),
OpenAIWhisperParser()
)

docs = loader.load()

and here the full run + error msg :

[youtube] Extracting URL: https://www.youtube.com/watch?v=ly8orBNiNQM
[youtube] ly8orBNiNQM: Downloading webpage
[youtube] ly8orBNiNQM: Downloading ios player API JSON
[youtube] ly8orBNiNQM: Downloading m3u8 information
[info] ly8orBNiNQM: Downloading 1 format(s): 140
[download] Destination: /Users/alexparsee/Desktop/YouTube//Architectural Design Process | Form, Orientation and Sunlight.m4a
[download] 100% of 9.17MiB in 00:00:01 at 7.52MiB/s
WARNING: ly8orBNiNQM: writing DASH m4a. Only some players support this container. Install ffmpeg to fix this automatically
ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location

from yt-dlp.

bashonly avatar bashonly commented on July 18, 2024

try adding 'ffmpeg_location': '/opt/homebrew/bin' to your ydl opts

from yt-dlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.