Yes, this edits both photos and videos (gifs are converted to videos then edited).
Coded in mainly Python using various libraries and ffmpeg, run off my laptop.
Before Coronavirus and lockdown happened, I probably never would have done this. I didn't have the time or have a reason to do it, but during quarantine I just decided to pick it up. I've run servers in the past, but none as complicated as this one, and in terms of my complex programming knowledge, I probably couldn't even tell you what an API is (maybe exaggerating a bit, but you get the idea).
Around the same time, I became interested in a ton of different application's APIs, including Snapchat's (now shut down because it wasn't official), Cloudflare's and Twitter's. No other platform accepted bots like Twitter did, so I decided to give creating a bot of my own a go.
It wasn't a VideoEditBot straight away. At the very start, I just used my personal account (@pigeonburger) as my bot account. If you scroll down really far, you'll eventually find my first bot's Tweets. All it did was reply to a list of accounts whenever they tweeted with a random text phrase or image/gif.
To be honest, that got pretty boring after a while, so I switched to setting up a web and mail server (rip mail server 27/11/2020). That was this website (pigeonburger.xyz). I didn't really use it for much, and it looked very different to how it does now, but it was rly fun to set up. Basically at this point, I just put random stuff on it for me and my friends.
Around June/July (I think), the original VideoEditBot was born. This was maybe a month or two since I created my first bot (not exactly sure), but I just randomly decided to try and make my own VideoEditBot. The original code for it was used from the start of August 2020, to the 16th November 2020 (I've started keeping better records of what I've done now).
The old code was extremely inefficient - around 60,000 lines of code for every outcome (probably the worst code you'd ever see). I was at the start of my actual proper Python programming (which has dramatically improved now)
Anyway, around the 10th November 2020, the original VideoEditBot was suspended for some idiotic reason Twitter came up with, and I saw my bot gain a lot of users. I redesigned the bot's code, and here I am now.
I doubt my bot will even ever get 1000 followers, but an increase from 11 to 360 in less than 2 weeks is a win in my book.
Update 19th December 2020: Well, 22 days later and my bot is at 4250 followers! I have high hopes for this, as long as Twitter keep treating my account well and I don't get banned. I also made a backup account, in case it ever does. I think 10k followers is acheivable, but time will tell.
Update - 15th March 2021: @editvideobot was suspended on Twitter on the 3rd of March this year, just after it reach 32,500 follower, after it was relentlessly pursued over months by Universal Music Group and the IFPI for copyright claims. The backup account, @videditbot, now runs the bot, and I've nearly reached 10k followers for the SECOND time. I doubt I'll ever regain access to my old account.
- AMD Ryzen 7 2700X 8C/16T
- 16GB RAM
- 1TB SSD
- Asus GeForce GT 710
- ASRock B450M Pro4
- Ubuntu Server 20.04.2
- Wireless network with average ~50mbps download, ~20mbps upload
I used to run this website and the bot on my family's home laptop (an old Dell XPS 13), but I was eventually able to raise over $600 and buy parts to build my own proper server! Everything now runs on this.
- Python 3.8.5
- Microsoft Visual Studio Code v1.49.1
- Ffmpeg version 4.2.4
- Tweepy 3.10.0
- A thingy I made so I can upload videos
Here are the file types my bot supports (I have no idea why or where anyone would use any of the other ones but you never know):
|Supported video types||Supported photo types||Unsupported formats|
My bot will always convert the output file to an
mp4, or for photos, as a