Comments (17)
can you give more details? have you tried loading a manual absolute file_path
?
from stempeg.
I've tried both absolute and relative path, and nothing works.
I put the stem file to the same folder with the python file, but throws same error.
from stempeg.
can you give me the full error message, please?
from stempeg.
also, did you try using the provided example file: https://github.com/faroit/stempeg/blob/master/tests/data/The%20Easton%20Ellises%20-%20Falcon%2069.stem.mp4 or running the unit tests?
from stempeg.
@westside did you managed to solve it?
from stempeg.
Really sorry for not responding.
I just changed the stem file to the other format.
Thank you.
If I test it, let you know by opening this issue again.
from stempeg.
I have this issue on mac. when i tried to S, rate = stempeg.read_stems(file_path). it shows me that [Errno 2] No such file or directory. even when i tried the sample audio provided above and using the absolute file path
from stempeg.
@lvbaouu what version of FFMPEG are you using and how did you install it?
from stempeg.
i used pip install ffmpeg and it is:
pip show FFMPEG
Name: ffmpeg
Version: 1.4
Summary: ffmpeg python package url [https://github.com/jiashaokun/ffmpeg]
Home-page: https://github.com/jiashaokun/ffmpeg
Author: SkeyJIA
Author-email: [email protected]
License: MIT Licence
Location: /anaconda2/envs/deeplearning/lib/python2.7/site-packages
from stempeg.
- ffmpeg is not python package. You need to install it via homebrew (osx), apt-get (linux), via conda, if you use anaconda, or manually download it and set the paths
- I don't know the pip package you mentioned but it certainly is not the right one
- please check the readme
from stempeg.
When I downloaded with anaconda and try, I got the following error with the following code :
import stempeg S, rate = stempeg.read_stems("/Users/lzhang22/Downloads/The Easton Ellises - Falcon 69.stem.mp4")
CalledProcessError Traceback (most recent call last)
in ()
----> 1 S, rate = stempeg.read_stems("/Users/lzhang22/Downloads/The Easton Ellises - Falcon 69.stem.mp4")
/anaconda2/envs/deeplearning/lib/python2.7/site-packages/stempeg/read.pyc in read_stems(filename, out_type, stem_id)
89 """
90
---> 91 FFinfo = FFMPEGInfo(filename)
92
93 if stem_id is not None:
/anaconda2/envs/deeplearning/lib/python2.7/site-packages/stempeg/read.pyc in init(self, filename)
17 super(FFMPEGInfo, self).init()
18 self.filename = filename
---> 19 self.json_info = read_info(self.filename)
20
21 @Property
/anaconda2/envs/deeplearning/lib/python2.7/site-packages/stempeg/read.pyc in read_info(filename)
53 ]
54
---> 55 out = sp.check_output(cmd)
56 info = json.loads(out.decode('utf-8'))
57 return info
/anaconda2/envs/deeplearning/lib/python2.7/subprocess.pyc in check_output(*popenargs, **kwargs)
221 if cmd is None:
222 cmd = popenargs[0]
--> 223 raise CalledProcessError(retcode, cmd, output=output)
224 return output
225
CalledProcessError: Command '['ffprobe', '/Users/l22/Downloads/The Easton Ellises - Falcon 69.stem.mp4', '-v', 'error', '-print_format', 'json', '-show_format', '-show_streams']' returned non-zero exit status -6
from stempeg.
check if you can run ffprobe /Users/lzhang22/Downloads/The Easton Ellises - Falcon 69.stem.mp4 -v error -print_format json -show_format -show_streams
in the command line
from stempeg.
no. it gives me the following error:
(deeplearning) LPT-010557-PU:~ lzhang22$ ffprobe /Users/lzhang22/Downloads/The Easton Ellises - Falcon 69.stem.mp4 -v error -print_format json -show_format -show_streams
dyld: Library not loaded: @rpath/libx264.138.dylib
Referenced from: /anaconda2/envs/deeplearning/bin/ffprobe
Reason: image not found
Abort trap: 6
from stempeg.
I would recommend starting with a fresh anaconda environment. this doesn't seem like the error is caused by stempeg.
from stempeg.
i tried. it still gives me the same error
from stempeg.
I just checked on my machine, installing miniconda and ffmpeg4 with conda. Works fine here.
Check if you didn't install ffmpeg with homebrew.
sorry, I can't give support for anaconda or ffmpeg.
from stempeg.
it worked on my other computer (but have no storage space the data I want to process) but not the current one. What could have been the issues?
from stempeg.
Related Issues (20)
- Support seeking HOT 2
- check if ffmpeg and ffprobe is installed HOT 1
- Stems write - Format not recognised HOT 8
- Add a check for mono files HOT 1
- OSX quicklook support HOT 8
- Publishing conda package on conda-forge HOT 1
- Reading is too slow HOT 2
- add audio2stem cli HOT 1
- Evaluate dropping soundfile
- A loading error in Win System. HOT 6
- Native Instruments (Traktor) Format HOT 36
- add docs HOT 1
- ffmpeg -version contains letter in version string HOT 1
- switch from travis to github worflow HOT 1
- Support reading from file-like objects
- 16 bit flac output conversion? HOT 3
- stempeg.read_stems got an unexpected keyword argument 'sample_rate' 'ffmpeg_format' HOT 2
- warnings.warning() does not exist HOT 1
- Add ffmpeg 5 tests
- ffmpeg is installed, but stempeg/cmds.py is saying it isn't HOT 3
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 stempeg.