Giter VIP home page Giter VIP logo

tutozz / buteverywordisagoogleimage Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 594 KB

This is just a script that automatically generate a video from a youtube music link that for each word said will download an image that correspond and put it in the video at the correct time.

License: GNU General Public License v3.0

Python 100.00%
buteverywordisagoogleimage python video montage lyrics images moviepy

buteverywordisagoogleimage's Introduction




This is a script that automatically generates a video from a YouTube music link that for each word said will download an image that correspond and put it in the video at the correct time.


Installation

There's nothing more simple ! Just clone the repo than do that

pip install -r requirements.txt

Please note that you also need to install ImageMagick for moviepy and add it to your PATH system.

Usage

Even a kid can use it ! The script will at each launch guides you through several questions to create your video.

python buteverywordisagoogleimage.py

As for the installation here's a demo (may depend of your version). asciicast

Personalization

As you can see, if you run the script as it you would notice that there are my logo and somes watermarks. You can just change the images in the 'res' folder but if you want to remove them don't forget to remove their mentions in the code, between line 283 and 292.

Annex

here's screenshots and videos

⇩ What output folder look like ⇩



EXAMPLES
*clickable YouTube links*
EXAMPLES
*clickable YouTube links*
EXAMPLES
*clickable YouTube links*

Links & Contacts

Project's Instagram account: IG Account
Project's YouTube account: YouTube Account
My personal eMail: [email protected]

Licence

This project is under


See the LICENSE file

buteverywordisagoogleimage's People

Contributors

galaxie13001 avatar tutozz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

buteverywordisagoogleimage's Issues

[BUG] problem

C:\Users\mehdi\Desktop\butEveryWordIsAGoogleImage-master>python main.py
########################################################################


| |__ _ | || | _____ _ _ _ \ \ / /_ _ _ | |
| '
\ || | | |\ V / -) '| || \ // / _ \ '_/ ` |
|
.
/_,|_||_/_|| _, |_/_/___/| _,|
|__/


|_ |__ /\ / | ___ __ | || | __ __ _ __ _ ___
| |(
-</ _ \ (_ / _ / _ / | / -_)| || ' \/ _ / ` / -)
|
/// ___/___/_, |_||||_,_, _|
|
/ |__/

########################################################################

Hello !
Welcome to the 'butEveryWordIsAGoogleImage' generator
Music's Link (Youtube link): https://www.youtube.com/watch?v=lVxawLsN48s
ERROR: This video is unavailable.
Traceback (most recent call last):
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 796, in extract_info
ie_result = ie.extract(url)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\extractor
\common.py", line 530, in extract
ie_result = self._real_extract(url)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\extractor
\youtube.py", line 2148, in _real_extract
raise ExtractorError(error_message, expected=True)
youtube_dl.utils.ExtractorError: This video is unavailable.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 142, in
video_infos = youtube_dl.YoutubeDL(ydl_opts).extract_info(video_link, download=False)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 819, in extract_info
self.report_error(compat_str(e), e.format_traceback())
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 624, in report_error
self.trouble(error_message, tb)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: This video is unavailable.

C:\Users\mehdi\Desktop\butEveryWordIsAGoogleImage-master>python main.py
########################################################################


| |__ _ | || | _____ _ _ _ \ \ / /_ _ _ | |
| '
\ || | | |\ V / -) '| || \ // / _ \ '_/ ` |
|
.
/_,|_||_/_|| _, |_/_/___/| _,|
|__/


|_ |__ /\ / | ___ __ | || | __ __ _ __ _ ___
| |(
-</ _ \ (_ / _ / _ / | / -_)| || ' \/ _ / ` / -)
|
/// ___/___/_, |_||||_,_, _|
|
/ |__/

########################################################################

Hello !
Welcome to the 'butEveryWordIsAGoogleImage' generator
Music's Link (Youtube link): https://www.youtube.com/watch?v=X_nJ5ksFVbg
ERROR: This video is unavailable.
Traceback (most recent call last):
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 796, in extract_info
ie_result = ie.extract(url)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\extractor
\common.py", line 530, in extract
ie_result = self._real_extract(url)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\extractor
\youtube.py", line 2148, in _real_extract
raise ExtractorError(error_message, expected=True)
youtube_dl.utils.ExtractorError: This video is unavailable.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 142, in
video_infos = youtube_dl.YoutubeDL(ydl_opts).extract_info(video_link, download=False)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 819, in extract_info
self.report_error(compat_str(e), e.format_traceback())
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 624, in report_error
self.trouble(error_message, tb)
File "C:\Users\mehdi\AppData\Local\Programs\Python\Python37\lib\site-packages\youtube_dl\YoutubeDL
.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: This video is unavailable.

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.