Comments (8)
We should at least allow using ffmpeg using the system executable.
from imageio.
Actually, when the platform is not supported, imageio will fallback to the system ffmpeg
executable. Isn't that enough? Alternatively, we should wrap up that PR of yours that allows setting the ffmpeg executable.
from imageio.
If just ffmpeg
does not work, the user can now do `os.environ['IMAGEIO_FFMPEG_EXE'] = '/path/to/my/ffmpeg'.
from imageio.
Very cool, thanks.
from imageio.
I'm using PC-BSD and decided to give this a try.
It still fails on the init of imagio since it is directly referencing a dictionary from get_platform().
Traceback (most recent call last):
File "myFirstMovie.py", line 2, in <module>
import moviepy.editor as mpy
File "/usr/local/lib/python3.4/site-packages/moviepy/editor.py", line 22, in <module>
from .video.io.VideoFileClip import VideoFileClip
File "/usr/local/lib/python3.4/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
from moviepy.video.VideoClip import VideoClip
File "/usr/local/lib/python3.4/site-packages/moviepy/video/VideoClip.py", line 17, in <module>
from imageio import imread
File "/usr/local/lib/python3.4/site-packages/imageio-1.2-py3.4.egg/imageio/__init__.py", line 36, in <module>
from . import plugins # noqa
File "/usr/local/lib/python3.4/site-packages/imageio-1.2-py3.4.egg/imageio/plugins/__init__.py", line 81, in <module>
from . import freeimage # noqa
File "/usr/local/lib/python3.4/site-packages/imageio-1.2-py3.4.egg/imageio/plugins/freeimage.py", line 17, in <module>
from ._freeimage import fi, IO_FLAGS, FNAME_PER_PLATFORM # noqa
File "/usr/local/lib/python3.4/site-packages/imageio-1.2-py3.4.egg/imageio/plugins/_freeimage.py", line 1261, in <module>
fi = Freeimage()
File "/usr/local/lib/python3.4/site-packages/imageio-1.2-py3.4.egg/imageio/plugins/_freeimage.py", line 404, in __init__
self._load_freeimage()
File "/usr/local/lib/python3.4/site-packages/imageio-1.2-py3.4.egg/imageio/plugins/_freeimage.py", line 428, in _load_freeimage
fname = FNAME_PER_PLATFORM[get_platform()]
KeyError: None
I haven't yet gotten my BSD machine up to being a dev environment yet but I can take a look at it in a few days. (Once I re-install FreeBSD11-CURRENT)
from imageio.
@jedediahfrey Thanks for testing! I'll make some changes to deal more flexible with "exotic" platforms :)
from imageio.
Fixed it. Could you please try the latest master?
from imageio.
I am assuming that this works. Please reopen if this is not the case.
from imageio.
Related Issues (20)
- imread() fails on HTTPS, code example from documentation HOT 3
- 8bit grayscale now loaded as RGB HOT 5
- 2.31.4: documentation build fails HOT 1
- iio pyav plugin crash along with python when handling a webm file, setting format to rgba HOT 2
- It does not seem to support avif image format HOT 1
- Support for Pillow v10.1 (re: setting `image.mode`) HOT 8
- Inconsistency when reading floating point .exr image file HOT 3
- imageio.imread changes the values of graycale pixels, try to read 12-bit png grayscale image. HOT 8
- super slow video reads HOT 6
- imageio v2.33.0 requieres Pillow>=9.1.0 for GIFs HOT 1
- Trouble using freeimage plugin on MacOS arm64 HOT 2
- 2.33.1: pytest is failing in 5 units HOT 1
- [Question] What tonemapping method does the imageio library use when reading HDR images? HOT 2
- title of the gif got stacked together HOT 2
- UnicodeDecodeError if metadata is not UTF-8 encoded (pyav plugin) HOT 3
- [request] more color/palette control on GIF writing HOT 3
- Transition from v2 ffmpeg read/write to v3 pyav read/write: quality, batching HOT 7
- AttributeError: 'SeekableFileObject' object has no attribute 'readline' HOT 1
- Find out what kwargs are available for each function
- Only partial DICOM layers loading in Google Colab using imageio.volread HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageio.