This tool can help you to convert text file to speech.
- Download the release from release page
- Convert the file to mp3 file
unzip epub-to-speech.zip
./epub-to-speech demo.txt
You can also convert the folder, it will convert all the text file in the folder.
./epub-to-speech ./
This tool allows you to convert MP3 files into MP4 videos by adding a static image to each audio file.
-
Download the script from source code ffmpeg_cov.sh.
-
Make sure the script has execute permissions:
chmod +x ./ffmpeg_cov.sh
- Run the script on a directory containing the MP3 and image files:
./ffmpeg_cov.sh /path/to/directory
Replace /path/to/directory
with the path to the directory that contains your MP3 and image files. The script will find all MP3 files and an image in the specified directory, then merge each MP3 file with the image into an MP4 file and save them in the same directory.
Please ensure that there is only one image file in the directory. The image file should be in jpg, png, or jpeg format.
Note: This script uses ffmpeg for conversion, so make sure it's installed on your system before running the script.
Example:
I have a directory called audio
that contains the following files:
- test1.mp3
- test2.mp3
- test3.mp3
- image.jpg
Run the script on the audio
directory:
./ffmpeg_cov.sh /path/to/audio
The script will create the following files:
- test1.mp4
- test2.mp4
- test3.mp4
- Support Chinese and English
- Support Checkpoint
- Support text file
- Support folder convert
- Support multi-thread
- Convert mp3 to mp4 by adding a static image
- Support epub file