A small example package
Project description
# commandLineMusicVideo
This is a Python3 [pip package](https://pypi.org/project/commandLineMusicVideo) that uses ffmpeg to render videos using an image and audio file as inputs.
Example video rendered using this package: https://www.youtube.com/watch?v=5SqLD4GEVHc&t=911s
## Quickstart * Make sure you have ffmpeg installed on your command line, ensure ffmpeg is downloaded by running the command:
`ffmpeg` Which should give you an output with info on the version of ffmpeg installed.
Download the commandLineMusicVideo package with this command: `pip3 install commandLineMusicVideo==0.1.2`
Run the installed package with `python3 -m commandLineMusicVideo -h -t` to view the help page and test your ffmpeg.
## Examples
### Rendering individual videos and a full album video for a folder.
` python3 -m commandLineMusicVideo -songs "../../../Infernal Love/Violet Eves - Promenade [1988, IRA]/" mp3 "front.jpg" -fullAlbum -removeFirst 19`
This command will get ‘front.jpg’ and all the mp3 files located in the specified folder: ![step1](https://i.imgur.com/0l2YIJZ.png)
The `-removeFirst 19` tag will format the individual song output filenames based on their input filename, for example, the filename `Violet Eves - 04 - Fiaba di Sale` after having its first 19 chars removed, would be: `Fiaba di Sale`
After running the full commandLineMusicVideo command, the folder output (with all the individual songs AND the fullAlbum) will look like this: ![step1](https://i.imgur.com/xDm7Ps9.png)
The output videos will keep the image’s aspect ratio. ![step1](https://i.imgur.com/KA7xfhT.png)
## Flags
`-h` Display help.
`-test` Test your ffmpeg.
`-songs "folderFilepath/" "audioFormat" "imageName.jpeg"` Render each audioFormat file in the folderFilepath, using the imageName also found in the folderFilepath.
`-fullAlbum` Render full album with these songs as well.
`-fullAlbumOnly` Only render the full album.
`-outputResolution 1920:1080` Set output resolution for video.
Output Filename Formatting Flags:
`-removeFirst #` Remove first # chars from song filename for output filename.
`-removeUpTo "-"` Remove everything up to and including the first instance of this char.
`-removeAfter "-"` Remove everything after and including this char.
`-titleize` Capitalize first letter of each word of output filename’)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for commandLineMusicVideo-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0ca8a69be8dddff8cfa6d6a5320154db4441a3c8efd549b244ca4cb72f20a9b |
|
MD5 | af6c3e4c6d8749f2e82c7ff90f1322fc |
|
BLAKE2b-256 | edcf4d145c60668d6a8120892dc65a0f649c3ca5d4f8656c6407ec8f577c91e0 |
Hashes for commandLineMusicVideo-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64b572272b5d244868fcb756131d7f74fcf9d1a1c866b471da2246917f34336 |
|
MD5 | 67ec173db20d36fb2a1d3b6ae8c8138a |
|
BLAKE2b-256 | 3836f25d8e306566c0906e57129211a0b9bcfd4b61f3da81166aeb05b735e894 |