Comments (4)
New version is available, It might help.
https://github.com/artyshko/smd/releases/tag/v1.5.5
from smd.
Hi artyshko, I found a solution.
In my environment was not set FFMPEG_BINARY.
Was usefull this guide: https://zulko.github.io/moviepy/install.html
I hope it will help someone with the same issue.
Thanks
from smd.
thanks for your release.
on my pc work fine, but on rpi I have a new issue.
I attach the log:
pi@raspberrypi:~/Downloads/smd-1.5.5 $ sudo python3 main.py -s spotify:track:4tmwiN9YU7xMjh2hoqcVuI pygame 1.9.4 Hello from the pygame community. https://www.pygame.org/contribute.html 2019-05-17 15:42:20,986 - INFO - Finding 2019-05-17 15:42:23,312 - INFO - Finding [youtube] S3fTw_D3l10: Downloading webpage [youtube] S3fTw_D3l10: Downloading video info webpage [youtube] S3fTw_D3l10: Downloading js player vflOR94oD 2019-05-17 15:42:36,178 - WARNING - https://www.youtube.com/watch?v=S3fTw_D3l10 306000 [youtube] 5f5PWBEMfA4: Downloading webpage [youtube] 5f5PWBEMfA4: Downloading video info webpage [youtube] 5f5PWBEMfA4: Downloading js player vflOR94oD 2019-05-17 15:42:39,597 - WARNING - https://www.youtube.com/watch?v=5f5PWBEMfA4 315000 [youtube] S3fTw_D3l10: Downloading webpage [youtube] S3fTw_D3l10: Downloading video info webpage 2019-05-17 15:42:41,271 - WARNING - https://www.youtube.com/watch?v=S3fTw_D3l10 306000 [youtube] Mx2dROUwHak: Downloading webpage [youtube] Mx2dROUwHak: Downloading video info webpage 2019-05-17 15:42:42,766 - WARNING - https://www.youtube.com/watch?v=Mx2dROUwHak 302000 2019-05-17 15:42:42,767 - INFO - Start downloading 2019-05-17 15:42:42,768 - INFO - Init YouTube 2019-05-17 15:42:42,769 - WARNING - URL https://www.youtube.com/watch?v=S3fTw_D3l10 2019-05-17 15:42:42,770 - INFO - Create Directory 2019-05-17 15:42:42,772 - ERROR - Youtube:os.makedirs('cache/'+path) 2019-05-17 15:42:42,773 - INFO - Start downloading 4tmwiN9YU7xMjh2hoqcVuI [youtube] S3fTw_D3l10: Downloading webpage [youtube] S3fTw_D3l10: Downloading video info webpage [download] /home/pi/Downloads/smd-1.5.5/cache/4tmwiN9YU7xMjh2hoqcVuI/4tmwiN9YU7xMjh2hoqcVuI has already been downloaded [download] 100% of 22.42MiB 2019-05-17 15:42:45,270 - INFO - Downloading successful 2019-05-17 15:42:45,272 - INFO - Start converting Traceback (most recent call last): File "main.py", line 456, in <module> CLI.main(sys.argv[1:]) File "main.py", line 319, in main state = md.downloadBySpotifyUri(argument) File "main.py", line 78, in downloadBySpotifyUri if self.__downloadMusicFromYoutube(fixed_name, info['uri'], info['duration_ms']): File "main.py", line 36, in __downloadMusicFromYoutube uri=uri File "/home/pi/Downloads/smd-1.5.5/youtube.py", line 162, in convertVideoToMusic clip = mp.VideoFileClip(f'cache/{uri}/{uri}.mp4').subclip() File "/usr/local/lib/python3.6/site-packages/moviepy/video/io/VideoFileClip.py", line 91, in __init__ fps_source=fps_source) File "/usr/local/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_reader.py", line 33, in __init__ fps_source) File "/usr/local/lib/python3.6/site-packages/moviepy/video/io/ffmpeg_reader.py", line 256, in ffmpeg_parse_infos proc = sp.Popen(cmd, **popen_params) File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__ restore_signals, start_new_session) File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: '/root/.imageio/ffmpeg/ffmpeg-linux32-v3.3.1'
from smd.
It's a big problem, but I think I've got a solution #7 (comment).
By the way, I've never had this problem, so I hope It will help.
from smd.
Related Issues (20)
- No module named 'kernel.smdc.core' HOT 2
- [freyr-js]: Alternative supporting multiple services, many features and customization options
- Traceback (most recent call last) HOT 3
- Not working smd HOT 3
- Bot HOT 1
- Can We have a playlist or song (320kbps) downloaded to our google drive in a folder or zip.
- SMD not working
- installation instructions not clear HOT 2
- Installation not working on Mac OSX Big Sur HOT 1
- Can't install dependencies: mismatch versions of PyQt5
- hi
- Windows 10 / WSL2 support
- When I open the GUI version this appears HOT 1
- [HELP] Unable to download 'ffmpeg-linux64-v3.3.1'. HOT 3
- Does anyone work on this project anymore? HOT 1
- /usr/bin/bash: Exit 126.
- PyQt5==5.13.0 not found ? HOT 1
- [ERROR] No module named kernel.smdc.core while running on macOS HOT 1
- Issue while installing HOT 1
- Installing Issues 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 smd.