Comments (6)
Fixed here: 45d2871
from audio_shop.
If you can provide me with a complete command and the input image you used, I'll try to replicate the behavior.
from audio_shop.
This error occurs with every flag (bass, echo, vol) etc.
I did install sox
with HomeBrew but I don't think that should be a problem. I think the cleanup()
function might play a role in this error.
I've run every command and it does produce an output image, but it is corrupted.
example:
EDIT: The image doesn't preview well on Mac OSX but it appears the effect is applied even though the script still throws the error.
from audio_shop.
So which exact command did you issue?
And do you see any console errors?
from audio_shop.
Th error applies to every flag
I used ./mangle.sh test.jpg output.jpg bass 2
for the above image.
verbose output in the console:
TMP_DIR: /tmp/audio_shop-ewZnM
RES: 290x158
VIDEO:
AUDIO:
FFMPEG_IN_OPTS:
FFMPEG_OUT_OPTS:
SOX_OPTS: bass 100
Extracting raw image data..
Processing as sound..
Recreating image data from audio..
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
from audio_shop.
Ok, I think I see what is happening here.
rm -rf --preserve-root "${TMP_DIR}"
is being executed in an environment with a version of rm that doesnt support --preserve-root
.
--preserve-root
was a development safety measure and can be removed
from audio_shop.
Related Issues (7)
- Undefined variables HOT 2
- Misspelled project description HOT 1
- Cannot handle filenames containing spaces HOT 3
- Cool! HOT 3
- Thanks
- Feature Request: SVG Support HOT 1
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 audio_shop.