Comments (11)
Not sure what WSL is? Windows? Also, what version of FFMPEG do you have, this needs 4.4+
from backgroundremover.
Yes, it's Windows Subsystem for Linux.
I did in fact not have the 4.4 version of ffmpeg (forgot I could add a PPA myself, it's been a while since I used GNU/Linux), but I do now have ffmpeg-4.4 and the problem stays the same.
from backgroundremover.
I think it has to do something with the temporary files created in windows. Seems the temporary directory does this in ubuntu vs windows
On Windows, the directories C:\TEMP, C:\TMP, \TEMP, and \TMP, in that order.
On all other platforms, the directories /tmp, /var/tmp, and /usr/tmp, in that order.
So it might be something with where I'm saving the directory that works fine on ubuntu but windows is changing location
from backgroundremover.
also, did you install the python3-x-dev (x being what ever version you are using)?
from backgroundremover.
Hello,
Yes I have the ffmpeg4.4, python3.9-dev packages, but I don't have a C:\TMP or TEMP folder, but the console outputs "Output #0, mp4, to '/tmp/tmpdexkumo3/matte.mp4':"
I tried copying the file in a folder I have access to, and the file keeps a size of 44bytes.
How can I investigate some more ?
from backgroundremover.
the problem does not lie in the file i'm trying to remove the background from, because it works if I use your website by the way.
from backgroundremover.
try apt-get install -y build-essential
from backgroundremover.
I'm sorry I tried it but my subsystem already had the latest version of this package
from backgroundremover.
@edouard-mangel I think I found this, if you can edit it locally and try? Seem it is a issue with temp file and windows, https://stackoverflow.com/a/8577226/4180276
from backgroundremover.
@edouard-mangel I'm going to try and push a commit later that add's something of this sort to everything. See if it's a bit more platform agnotstic.
from backgroundremover.
Let me know if this fixes it
pip install git+https://github.com/nadermx/backgroundremover.git@09c142c8ebcaee035dbd867248957bfbc87e8e3f
from backgroundremover.
Related Issues (20)
- Running backgroundremover on live server it take longer time and nothing happen and hanging the server. HOT 2
- backgroundremover -i "1.mp4" -toi "a.png" -o "output.mov" HOT 1
- Background removal exception
- efficiency HOT 1
- Great god, come on!
- How to use in a Android App ? HOT 1
- How to use as a library ? HOT 2
- Does this software support batch JPG processing? HOT 1
- Anyone can help? thanks HOT 6
- Error initializing filter 'alphamerge' with args 'shortest=1' HOT 3
- May I ask how to make a model
- Video removal produces mask only? HOT 4
- transparent mov not created HOT 1
- video over image not working HOT 1
- Server Requirements? HOT 2
- Mismatch Between GitHub and PyPI Versions of backgroundremover v0.2.7 HOT 3
- Solved - ValueError: invalid literal for int() with base 10: '9222,\n\n' HOT 2
- API rotates image HOT 6
- It doesn't use GPU and runs much slower on Intel CPU
- How to start http server. ?
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 backgroundremover.