Then it should work, and yes, the TTS takes time. Then it should show a progress bar once Moviepy starts to load the audio
Technology Question - How Best To Create "Video" With Speech Matched To Scrolling Text
-
-
I've decided to make a Web Application like I described earlier, it would be very enjoyable to make
-
Great! Keep us posted. I am going to restart and work with a much smaller file and see if I can generate something
-
Admittedly, my server is going to be very slow, so a 15 minute video will take an hour to create.
-
I will appreciate anything you can do, Kyle. Even that kind of performance would be ok, because it should be possible to generate short runs as a test, and then if someone wants to do longer ones then they can load it and wait for the result. So far all my tests are running into errors, so I presume what's going on is that without an installer to load all the required libraries, an online version would be best. And if you were to try for an installer you'd probably run into the classic Windows vs Mac vs Linux incompatibilities. Anything you can do will be appreciated and if you end up not being able to do anything, we'll still have the same options with other software!
Code
Display MoreTraceback (most recent call last): File "./text-scroller.py", line 65, in <module> font=FONT_FAMILY, method='label') File "/home/xxx/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 1177, in __init__ raise IOError(error) IOError: MoviePy Error: creation of None failed because of the following error: convert-im6.q16: not authorized `@/tmp/tmpfTeog4.txt' @ error/property.c/InterpretImageProperties/3516. convert-im6.q16: no images defined `PNG32:/tmp/tmpjUZsOf.png' @ error/convert.c/ConvertImageCommand/3258. . .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect
-
I know how to fix that error,
https://askubuntu.com/questions/8731…cted-by-moviepy
First of all, I install
libmagick++-dev
by usingsudo apt install libmagick++-dev
. Secondly, I follow the suggestion from reddit. Specifically, I openpolicy.xml
of ImageMagick by using command:sudo vim /etc/ImageMagick-6/policy.xml
and then comment the @ policy by change from<policy domain="path" rights="none" pattern="@*" />
to<!--<policy domain="path" rights="none" pattern="@*" /> -->
. -
You're the answer man, all right! OK I am implementing that now.....
-
And BINGO it is working!
-
And here is the evidence we are making progress - thanks Kyle!
-
Kyle you are the MAN! In 20 minutes I will have my first customized version of the full Vatican sayings, with Ivona text to speech, custom background. Lots of details to play with but I can see what can be done with this. Great!!
-
OK i am learning that left-moving the text left takes lots more processing power, so this is just a clip. I will keep working on the full version but this shows what can be done. The audio could as easily be a live voice as it is Ivona.
Later tonight I need to run a system upgrade but we should not be offline for long. Thanks Kyle!!
-
You can move the text (x-position, 'center')
replace x-position with something like 10
(i think this will work, i'd test a short clip first).
I'm making the web app, it's gonna take a bit i have to learn how to do APIs
-
Very logical suggestion as to the text position!
The only thing I am not getting to work is the title. Is there perhaps an effective maximum length (and maybe I am trying something too long (? "The Vatican Sayings of Epicurus") But that is no big deal at all. I can tell it will be relatively easy to customize what you've produced so far.
-
Yes I can make a title. I'm working on that now.
-
Sorry the titles are too hard to implement for me to work on it unless you think they're necessary
-
No problem WHATSOEVER -- let's forego them completely as there are easy workarounds. Thank you VERY much for what you have done so far! I am about to take the system down for just a few minutes (hopefully to do an upgrade. Be right back!
-
Proof Of Concept: "The Vatican List of the Sayings Of Epicurus." Thank you Kyle! This is my first extended test of the scrolling text video generation system. It still has rough edges but many of those will be smoothed away, and hopefully soon the computer voice will be the thing of the past. Thanks to Kyle it is now easy to mate any text with any mp3 recording of a voice, and have the text scroll to match the voice in front of any custom background. I will experiment further with more prototypes but if you have been interested in recording a selection of the Epicurean text with your own voice, please consider sending me the MP3, along with the text you're reading from, and a proposed graphic, and we can create videos suitable for posting on Youtube.
-
Thanks for the correction on 80 Kyle. I am in the process of regenerating it now. The problem was in the file I used in Ivona, as you suggested.
-
Unread Threads
-
- Title
- Replies
- Last Reply
-
-
-
Evidence of Survivors of Pompeii and Herculaneum 1
- kochiekoch
November 20, 2024 at 5:05 PM - General Discussion
- kochiekoch
November 20, 2024 at 8:17 PM
-
- Replies
- 1
- Views
- 104
1
-
-
-
-
“Better to lose the money because of me than to lose me because of the money.” 3
- TauPhi
November 19, 2024 at 7:57 PM - General Discussion
- TauPhi
November 19, 2024 at 9:30 PM
-
- Replies
- 3
- Views
- 233
3
-
-
-
-
An Anti-Epicurean Article - "The Meaning of Life Is Not Happiness" (For Future Reference) 12
- Cassius
November 9, 2024 at 8:07 AM - General Discussion
- Cassius
November 19, 2024 at 12:17 PM
-
- Replies
- 12
- Views
- 903
12
-
-
-
-
Was De Rerum Natura intended as satire? A lecture by THM Gellar-Goad. 14
- Julia
October 24, 2024 at 4:03 PM - General Discussion of "On The Nature of Things"
- Julia
November 11, 2024 at 4:09 PM
-
- Replies
- 14
- Views
- 1.1k
14
-
-
-
-
New Slideshow: Nothing Comes From Nothing
- Cassius
November 10, 2024 at 3:51 PM - General Discussion
- Cassius
November 10, 2024 at 3:51 PM
-
- Replies
- 0
- Views
- 539
-