this post was submitted on 02 Oct 2023
29 points (82.2% liked)
Open Source
31276 readers
275 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So, it seems I'm really out of the loop. Is this some AI thing generating a video from my comment? Or does this scroll through all comments while "recording" the screen?
It firstly takes the posts sorted by the SORT_TYPE (e.g. Hot) from a community, for example, asklemmy@lemmy.world
It then gets the comments from that random post sorted by Top and selects as much as the COMMENT_LIMIT is. Then the function
screenshotLemmy()
fromscreenshotLemmy.py
gets called. This function uses the selenium library to simulate the browser of choice (e.g. Firefox) and screenshots the random comments and the random post selected earlier. After that,createTTS()
insidecreateTTS.py
gets called which converts the post and the comments to speech using the gTTS library. Then,createLemmyVideo()
insidecreateLemmyVideo.py
gets called. This function firstly creates parts of the final video that will be put together later using moviepy. After all that,cleanup()
insidefinalCleanup.py
gets called, which deletes everything inside the tts, video/parts and screenshots folder. The put together video (final video) will be inside the video folder.God no. Please, we dont need more anon-style YouTube videos that just read low quality text content that was never intended to he in a video format
Wait for when someone makes a 4chan to video converter :)
This is basically what my nightmares are made of
Here's a more detailed version: https://asudox.dev/projects/lemmyctts