Topic: iOS WebM Viewer Website - Anyone with a good PC (preferably Nvidia 10-Series and up) wanna try?

Posted under e621 Tools and Applications

One of the biggest pains with using e621 on mobile with iPhones and iPads (and Mac OS Safari apparently) is that they don't support WebM files, requiring users to use external apps to view them. Being super bored during lockdown, I decided to make a website/PWA that fixes this.

Basically it requests e621 search results and displays them as normal, but if it detects you're on iOS and you try to play a WebM, it sends the file link off to a server that converts it to an mp4, then hosts it and sends back the new link.

Leveraging ffmpeg and the NVENC encoding on modern Nvidia GPUs, the conversion process is lightning fast, and even long multi-minute videos take 10-15 seconds at max (most are way faster, maybe 3-6 seconds). The videos are also logged and cached, enabling instant playback of already converted videos plus retrieving available ones in a list.

Here's a link to the current build, instructions are inside: https://github.com/penbob3/MSG-Mobile

If you've got any problems, then ask me at APTheHunter#8738 on Discord. Fair warning, CPU video conversion is quite a lot slower than GPU, so I highly recommend a recent (10-Series or newer) Nvidia GPU. You might need some knowledge of how NodeJS and ffmpeg work depending on your platform (Linux is way harder, sorry!), or at least be able to install them. Also, I live in Australia, so you might have to wait for me to wake up and respond depending on when you message.

https://streamable.com/gascbp <- A video of an earlier build, new one has extra features

Updated

  • 1