Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'ffmpeg' #22

Open
BumbleCast opened this issue Aug 26, 2022 · 1 comment
Open

No such file or directory: 'ffmpeg' #22

BumbleCast opened this issue Aug 26, 2022 · 1 comment

Comments

@BumbleCast
Copy link

BumbleCast commented Aug 26, 2022

Never mind my old post.
I installed spodcast via pip install on a linux machine. everything works well, however the transcoding (to mp3) gives errors:

Traceback (most recent call last):
File "/usr/bin/spodcast", line 33, in
sys.exit(load_entry_point('spodcast==0.5.2', 'console_scripts', 'spodcast')())
File "/usr/lib64/python3.9/site-packages/spodcast/main.py", line 42, in main
args.func(args)
File "/usr/lib64/python3.9/site-packages/spodcast/app.py", line 30, in client
download_episode(episode_id)
File "/usr/lib64/python3.9/site-packages/spodcast/podcast.py", line 172, in download_episode
path, size, mimetype = download_stream(stream, filepath)
File "/usr/lib64/python3.9/site-packages/spodcast/podcast.py", line 144, in download_stream
ffmpeg.run(transcoder, quiet=True)
File "/usr/lib64/python3.9/site-packages/ffmpeg/_run.py", line 313, in run
process = run_async(
File "/usr/lib64/python3.9/site-packages/ffmpeg/_run.py", line 284, in run_async
return subprocess.Popen(
File "/usr/lib64/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

@BumbleCast BumbleCast changed the title Podcasts with Special characters No such file or directory: 'ffmpeg' Aug 26, 2022
@heywoodlh
Copy link
Contributor

I understand this is a little late but do you have the ffmpeg package installed on your machine? I.E. sudo apt-get install -y ffmpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants