FFMPEG not downloaded
See original GitHub issueUntil two days ago, imageio was downloading ffmpeg correctly. It is not doing so anymore.
ERR Traceback (most recent call last):
ERR File "restapi.py", line 9, in <module>
ERR from modules.location_from_media_module import location_from_media
ERR from helpers.flicksys_audio_video import get_video, get_frame, make_url, delete_file
ERR File "/home/vcap/app/helpers/flicksys_audio_video.py", line 5, in <module>
ERR File "/app/.heroku/python/lib/python2.7/site-packages/moviepy/editor.py", line 22, in <module>
ERR from .video.io.VideoFileClip import VideoFileClip
File "/app/.heroku/python/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
ERR from moviepy.video.VideoClip import VideoClip
ERR File "/app/.heroku/python/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 20, in <module>
ERR from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
ERR File "/app/.heroku/python/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 19, in <module>
ERR File "/app/.heroku/python/lib/python2.7/site-packages/moviepy/config.py", line 38, in <module>
ERR FFMPEG_BINARY = get_exe()
ERR File "/app/.heroku/python/lib/python2.7/site-packages/imageio/plugins/ffmpeg.py", line 86, in get_exe
ERR raise NeedDownloadError('Need ffmpeg exe. '
ERR imageio.core.fetching.NeedDownloadError: Need ffmpeg exe. You can download it by calling:
ERR imageio.plugins.ffmpeg.download()
Details of deployed server:
IBM Bluemix CloudFoundry App Runs Ubuntu 14.04 LTS Server Moviepy installed via pip.
Adding the line imagio.plugins.ffmpeg.download()
to my python code has no effect. Also, I’m not sure why it is looking for ffmpeg exe when it is running on a linux server.
Issue Analytics
- State:
- Created 7 years ago
- Comments:26 (7 by maintainers)
Top Results From Across the Web
Download FFmpeg
Cannot access Git or wish to speed up the cloning and reduce the bandwidth usage? FFmpeg has always been a very experimental and...
Read more >How to Install FFmpeg on Windows: 15 Steps (with Pictures)
1. Go to https://ffmpeg.org/download.html. This brings you to a page containing the latest FFmpeg install packages and binary files.
If you don't have an...
Read more >How to Install FFmpeg on Windows? - GeeksforGeeks
In this article, we will show you how to install ffmpeg in Windows. ... Step 1: Click here to download the zip file...
Read more >Installing FFmpeg on Windows {Step-by-Step} - phoenixNAP
Step 1: Download FFmpeg for Windows · 1. Hover over the Windows logo and click the Windows builds from gyan.dev link. · 2....
Read more >How to Install FFmpeg on Windows - Adaptive Samples
Click “Environment Variables”, then “PATH”, then “Edit..” as above. The window that then appears will look different. Instead of a single field named...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh yeah sorry for not addressing that. When do you run the
imageio.plugins.ffmpeg.download()
? My best guess would be “not soon enough”. Can you try this ?And report what happens ?
@gpantelis You don’t need to catch it. Just add these two lines at the very top of the file where you are using moviepy and you should be done.
@Zulko are there any other dependencies which can raise a NeedDownloadError exception?