this post was submitted on 16 Nov 2025
76 points (97.5% liked)

Today I learned

12111 readers
3 users here now

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] tunetardis@piefed.ca 2 points 1 month ago (1 children)

A little follow-up on this. Tonight I had a look at what it generated. It produced 2 files: a .wav and a .ass. The latter apparently contains subtitles that sync to the audio. But how do you play them together?

After searching around online, the general consensus seemed that you need to make a video file that throws it all together. For the background image I used a still of the book cover art. Then I ran an ffmpeg command that looked something like this:

ffmpeg -loop 1 -i cover.jpg -i abogen_file.wav -vf subtitles=abogen_file.ass -shortest audio_book.mov

It sounds pretty awesome and looks like this while it's playing!

bUtdFKluimxbNPg.jpg

[โ€“] CagedDingo@aussie.zone 1 points 1 month ago

If you use VLC or some other capable player it'll automatically pick up the subtitles if they have the same name (sans extension).