Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sr1jan/videoautoproduction
A simple program to automate the production of videos for a news channel on youtube.
https://github.com/sr1jan/videoautoproduction
automation bash beautifulsoup ffmpeg gcp moviepy python texttospeech-api video youtube
Last synced: about 2 months ago
JSON representation
A simple program to automate the production of videos for a news channel on youtube.
- Host: GitHub
- URL: https://github.com/sr1jan/videoautoproduction
- Owner: sr1jan
- License: mit
- Created: 2019-08-10T13:39:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T00:18:15.000Z (about 4 years ago)
- Last Synced: 2023-10-20T23:13:30.035Z (about 1 year ago)
- Topics: automation, bash, beautifulsoup, ffmpeg, gcp, moviepy, python, texttospeech-api, video, youtube
- Language: Python
- Size: 32.4 MB
- Stars: 40
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# videoAutoProduction
### A simple program to automate production of news videos for a youtube channel written in python and bashThe code that I have written is for a specific topic, website and video. So keep that in mind if you are using it and make changes likewise.
**Requirements**
1. ffmpeg
2. moviepy
3. beautifulsoup
4. urlib.request
5. wget
6. nltk
7. request
8. xml.dom.minidom.parseString
9. gcp's texttospeech API**Setup**
Run these commands one by one to setup the program in a file structure that is required by the code to run.
```bash
cd ~
git clone https://github.com/sr1jan/videoAutoProduction
mkdir videoAuto
cd videoAuto
mkdir News scripts
mv ../videoAutoProduction/* ./scripts/
rm -rf ~/videoAutoProduction
cd scripts
```Make sure you have all the requirements and also you have to tinker the code a little bit to make it work locally and for your purpose.
Things you need to do:
+ Change `/home/sr1` in the codebase to `home/` everywhere.
+ Have to get your API key from *smmry.com* and save it in a yaml file. Then access that key in the **scrapArticles.py** file.Refer the code to understand.
+ Also you have to setup and configure your account on *Google cloud platform* and get the [texttospeech API](https://cloud.google.com/text-to-speech/docs/quickstart-client-libraries) to work in your machine.
+ *will add more once I come across more edge cases*You can execute the program by running the `autoVideo.sh` script.