Due to the fact that freebsd pkg repos (binary) do not come with support for lame mp3, and I don't want to complicate things by having a dual dependency tree, I'm attempting a workaround by installing ffmpeg with pip.
Install: I've installed ffmpeg
and youtube-dl
using pip install youtube-dl ffmpeg --user
Finding the paths: find . -name ff\*´
returns that ffmpeg
and ffprobe
packages are installed in my ./.local/lib/python3.6/site-packages
directory and there are two other noteworthy files: .../python3.6/site-packages/postprocessor/ffmpeg.py
and .../python3.6/site-packages/postprocessor/__pycache__/ffmpeg.cpython36.pyc
.
my youtube-dl is in ´~/.local/bin/´ and runs without any problems if i type out it's entire path, but my ffmpeg is not found. I read that editing my paths would solve this issue.
Edit Paths with sudo vim /etc/login.conf/
go to the section that says default:\ ...path=
and add my youtube-dl
path /usr/home/.local/bin/
as well as my ffmpeg path /usr/home/.local/lib/site-packages/
When I run youtube-dl ffmpeg is not found. When I try to execute youtube-dl without it's fullpathname it returns command not found.
What am I doing wrong?
~/.bashrc
and setPATH
there.env
first. I see now that what I set inlogin.conf
does not correspond with the output of this command. My guess is that this is probably because my original installation was with CSH. I understand there is a simple commandset
that i can use to easily reset this. However I would like to know where my shell is pulling this from. All of the commands that I know of only show the value of $PATH, and not where it is located.