Convert mp3 file/s to mp4 video/s.
--src <path>
: feed a file and it will be converted (only .mp3 files are supported). Feed a directory and all the .mp3 files within it will be converted.
-i <path>
or --image <path>
: use the given image for the video. If omitted: MP3 to Video will generate an image
-m
or --merge
: all files will be merged to one video including chapters. The chapters will be the filename without file extension.
-v
or --verbose
: verbose logging
node mp3-to-video.js --src /path/to/file/or/directory
2. Merge all .mp3 files within a directory and convert them to a single video, generate the image from the directory name
node mp3-to-video.js --merge --src /path/to/file/or/directory