Support
Quality
Security
License
Reuse
kandi has reviewed youtube-dl and discovered the below as its top functions. This is intended to give you an instant insight into youtube-dl implemented functionality, and help decide if they suit your requirements.
Get all kandi verified functions for this library.
Get all kandi verified functions for this library.
Command-line program to download videos from YouTube.com and other video sites
See all related Code Snippets
QUESTION
python modules ffmpeg and ffprobe are installed but youtube-dl not able to find
Asked 2022-Mar-31 at 23:30I'm using python 3.8 on MacOS Big Sur
I installed python module package for youtube-dl with
pip3 install -upgrade youtube-dl
I wanted to do post processing on the content downloaded so I installed python packages ffprobe and ffmpeg.
pip3 install ffprobe
Collecting ffprobe
Downloading https://files.pythonhosted.org/packages/95/9c/adf90d21108d41f611aa921defd2f2e56d3f92724e4b5aa41fae7a9972aa/ffprobe-0.5.zip
Installing collected packages: ffprobe
Running setup.py install for ffprobe ... done
Successfully installed ffprobe-0.5
pip3 install ffmpeg
Collecting ffmpeg
Downloading https://files.pythonhosted.org/packages/f0/cc/3b7408b8ecf7c1d20ad480c3eaed7619857bf1054b690226e906fdf14258/ffmpeg-1.4.tar.gz
Installing collected packages: ffmpeg
Running setup.py install for ffmpeg ... done
Successfully installed ffmpeg-1.4
pip3 list
Package Version
---------- ----------
ffmpeg 1.4
ffprobe 0.5
youtube-dl 2021.12.17
Still it is complaining can't find ffprobe and ffmpeg:
youtube_dl.utils.DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.
I see both packages in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/
Trying to figure out what am I doing wrong. Many other answers to similar questions on SFO are suggesting installing these packages in the OS using brew etc. but in my case "I want to do everything through python". So shouldn't just installing python modules be enough?
ANSWER
Answered 2021-Dec-31 at 04:07Check the Path
environment variable. It should contain an entry for the folder that ffprobe
and ffmpeg
are in.
EDIT: My bad, check this Reddit thread. https://www.reddit.com/r/learnpython/comments/gqhj14/comment/frsq2u3/?utm_source=share&utm_medium=web2x&context=3
It seems you might have to install the command-line tool.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
No vulnerabilities reported
Save this library and start creating your kit
See Similar Libraries in
Save this library and start creating your kit
Open Weaver – Develop Applications Faster with Open Source