Welcome to Ponyquotes, a search engine that searches in TV shows! Forgot in which episode this particular character said this particular quote? Just type some keywords and there you go!
Supports My Little Pony: Friendship is Magic, Steven Universe and many more!
Powered by elasticlunr.js
Data provided by YayPonies
Written by @juju2143
@DominoPivot (part of the CSS)
@Minty_Root (thanks for the tips!)
GIF Quotes are a beta feature and is only available for MLP season 6 so far, with episodes gradually added over time. Like it? Poke the author with your comments!
All shows and associated data are copyrighted to their respective authors.
No, seriously, go check how ElasticLuna works, I mean, elasticlunr.js.
In a sense, yes. When you select a show in the dropdown menu (also on page load), it loads a data file containing the search engine data and all the subtitle data in a format the search engine understands. If you're savvy, you can read the source code in your browser's inspector, it's not really big. Don't worry, each of the data files, GZip compressed, don't weigh more than 1-2 of the biggest GIFs we offer.
I tried to find a good equivalent between file size and lossy compression. Here's the command line:ffmpeg -ss <start time> -i <video file> -to <end time> -copyts -threads 1 -vf subtitles=<subtitle (or video) file>:force_style='FontSize=24',scale=640:-1:flags=lanczos,fps=12 -r 12 -f image2pipe -vcodec ppm - | convert -delay 8 -loop 0 -dither none -layers OptimizeFrame - gif:- | gifsicle-lossy -O3 --lossy=80 > <output file>
I have a script that runs 8 of those commands in parallel, I should get around to release them along with those to generate the data files for the search engine. In all, generating all the GIFs for one standard-length episode should take about 8 minutes on this server.
One GIF weights about a few hundred kilobytes to 2 megabytes, is half the height of 720p (so 360p) and runs at half the FPS (12 FPS, thanks Minty Root for that tip), so you shouldn't have any problem.
All of the GIFs and data are cached with CloudFlare, so the server uploads minimal data, and the rest are mostly static files. Not that the server can't take it, but it should save it some bandwidth.
Yes, but thanks to good gzip compression, your browser (if it's at least less than 15 years old, don't worry about that) only need to download about 2 MB of data and decompresses it on the fly, and thanks to cache, won't download it again until it has been modified.
Make sure you have the latest version of an actual browser (Chrome is the best!), and if it doesn't work, you can complain to the author.
Thanks! Again, if you have a suggestion, you can complain to the author.
The GIFs take quite a long time to generate and I don't want to abuse the server all the time. So I'll just adding them when I can. Newest episodes should be GIF's as soon as they're released. Otherwise, I take requests.
Give it some time for the subbers, they aren't gods. I should add episodes as soon as the subs are released. It's not automatic yet. I do wish, though.
Yes, if I can find good, regularly updated subs for that show (as in, the subbers didn't dropped the show halfway into it). Suggest it to the author!
Ça devrait. On a déjà ajouté My Little Pony, par contre le moteur est toujours optimisé pour l'anglais. On travaille là-dessus.