Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhishekkr/lyrical-video-generator
lyrical-video-generator is supposed to help create lyrical videos from audio or transcription
https://github.com/abhishekkr/lyrical-video-generator
audio-analysis image-processing python python3 speech-recognition speech-to-text video-processing
Last synced: 3 months ago
JSON representation
lyrical-video-generator is supposed to help create lyrical videos from audio or transcription
- Host: GitHub
- URL: https://github.com/abhishekkr/lyrical-video-generator
- Owner: abhishekkr
- Created: 2020-03-23T19:21:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T22:42:15.000Z (over 1 year ago)
- Last Synced: 2024-04-14T23:06:30.534Z (10 months ago)
- Topics: audio-analysis, image-processing, python, python3, speech-recognition, speech-to-text, video-processing
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## lyrical-video-generator
> **STATUATORY WARNING**: this project is currently just a set of scripts written from an experimental purpose
> to generate a lyrical video from provided audio file or text file
### Usage
* syntax: `./tasks.sh `
* hard-coded path as of now (WIP for config)
> * base data dir at './lvg-data'
>
> * dir for audio files at './lvg-data/transcription'
>
> * mp3 audio file used as input at './lvg-data/transcription/transcript.mp3'
>
> * transcripted text file from audio at 'lvg-data/transcript.txt'
>
> * dataframe file created from text file at './lvg-data/transcript.txt.lvg'
>
> * image frames created from dataframes at './lvg-data/frames'
>
> * video name = '/tmp/mygeneratedvideo.avi'* Parameters Help
> * dep: to install pip dependencies
>
> * transcribe: to convert audio file to text
>
> * dataframes: convert available transcription/text to input data format for create-frame
>
> * frames: to create frame images for video from dataframes
>
> * vid: to create video from existing frames
>
> * tnv (or txt-to-vid): to run all commands from creating dataframes to creating video (if uou have text file)
>
> * fnv (or frame-n-vid): to create frame images and video from it### Utilities
* [transcribe.py](transcribe.py) to convert `lvg-data/transcription/transcript.mp3` into text at `lvg-data/transcript.txt`
* [to-frame-data.py](to-frame-data.py) to convert transcription `lvg-data/transcript.txt` into frame data input file `lvg-data/transcript.txt.lvg` for next step
* [create-frames.py](create-frames.py) to create frames based on `lvg-data/transcript.txt.lvg`
* [create-video.py](create-video.py) to create video `/tmp/mygeneratedvideo.avi` from frame files at `lvg-data/frames`
---