Git Product home page Git Product logo

Comments (4)

artyshko avatar artyshko commented on May 23, 2024 1

New version is available, It might help.
https://github.com/artyshko/smd/releases/tag/v1.5.5

from smd.

aledv avatar aledv commented on May 23, 2024 1

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.

aledv avatar aledv commented on May 23, 2024

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.

artyshko avatar artyshko commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.