Problem importing imageio_ffmpeg in frozen applications
See original GitHub issueI see this issue with imageio 2.16.1 I don’t see this issue with imageio 2.10.3
This might have been caused by https://github.com/imageio/imageio/commit/bdbe699bbcda4223b0b6bd4d7474f84bbe34af09 (which appeared first in imageio 2.11).
For some reason imageio cannot import the imageio_ffmpeg module in frozen applications anymore.
This is the imageio-related traceback that I get:
File "imageio\core\functions.py", line 98, in get_reader
File "imageio\core\imopen.py", line 332, in imopen
ValueError: Could not find a backend to open `C:\Users\Paul\Downloads\fmt-tdms_fl-image-bright_2017\M4_0.040000ul_s_imaq.avi`` with iomode `r?`.
Based on the extension, the following plugins might add capable backends:
FFMPEG: pip install imageio[ffmpeg]
I checked an imageio_ffmpeg got bundled into the application.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Deprecation error when using imageio.ffmpeg.download()
I'm trying to merge the prerecorded videos using python Opencv. But i'm getting the error while importing. "Traceback (most recent call last): File ......
Read more >Deprecation error when using imageio.ffmpeg.download()
I'm trying to merge the prerecorded videos using python Opencv. But i'm getting the error while importing ...
Read more >3D time image gets stuck - Usage & Issues
Hello, I have a 3D timecourse image: Two photon movie The image seems to get stuck when I am switching to 3D mode:...
Read more >i got error Unable to import backend : plaidml.keras.backend
i already re-instaled faceswap and still got error i try edit keras.json with backend": "tensorflow but still got error
Read more >Release 2.6.1 imageio contributors
Raises an RuntimeError if urlopen could not be imported. (which can occur in frozen applications. class imageio.core.Array(array, meta=None). A ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop 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
Top GitHub Comments
I created the PR for PyInstaller. It might make sense to update the docs section on freezing with a note that there are hooks for imageio (including plugins) and imageio_ffmpeg and everything that does not require any additional binaries should just work with pyinstaller-hooks-contrib version greater than 2022.2.
OK. I can do that. The PR would be with Pyinstaller. I will let you know here. Please keep this open in the meantime.