Comments (3)
Does this error also happen if you just run the following command in the directory of cut.mp4?
python3 -c "import imageio; next(iter(imageio.get_reader('cut.mp4')))"
If this produces the same error, it's not an issue with deface but there is either something wrong with your imageio installation or with the video itself. I'd try checking the video file for strange properties with ffprobe
and maybe re-encoding it. Hope this helps!
from deface.
If this works fine on Windows but not on a Linux-based cluster, I'd also check if there are restrictions to non-free codecs in the Linux distribution (most MP4s use "non-free" codecs AFAIK). You might have to install imageio-ffmpeg differently in that case, see https://github.com/imageio/imageio-ffmpeg#installation.
from deface.
I upgraded imageio and installed ffmpeg and it worked. Thank you very much!
from deface.
Related Issues (20)
- Enhancement Suggestion: add timespan(s) option HOT 1
- Doesn't seem to use hardware acceleration despite it being available HOT 2
- cuda_path is set but cuda wasn't able to be loaded HOT 6
- Feature Request: Add support for Coral TPU HOT 1
- Consider switching model to centerface_bnmerged.onnx HOT 1
- OpenVino for onnxruntime-openvino HOT 3
- Error when entering images of different sizes HOT 4
- Limit mask size to filter out unrealistic false positives HOT 3
- (Question) use with live streams (rtsp)
- Output has no audio HOT 1
- [macOS] Could not open file <file> as a video file with imageio HOT 1
- select faces to not be blurred HOT 9
- Videos are sped-up when anonymized HOT 2
- Failed to load library libonnxruntime_providers_tensorrt.so with error HOT 1
- [macOS] RuntimeError: Could not get number of frames HOT 2
- Request: GUI and/or mobile apps HOT 2
- Add tracking as well as detection to improve speed
- executing in windows cmd
- Set output postfix for processing directories
- Set mosaic as percentage of face size
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 deface.