• We're currently having issues with our e-mail system. Anything requiring e-mail validation (2FA, forgotten passwords, etc.) requires to be changed manually at the moment. Please reach out via the Contact Us form if you require any assistance.

I made a script that converts SRT subtitles to Nico Nico Douga uploader comments

Lystrialle

Vocaloid producer (among other things).
This is possibly the most narrowly specific thing I have ever made, of which I'm not even sure who on earth would want to use this except me. But here goes anyway!

Unlike YouTube, Nico Nico Douga doesn't have official support for closed captions or subtitles, meaning that if you want to have them in your video, you either need to embed them in the video itself, or you need to use its "uploader comments" system. The uploader comments system has its own scripting language (of sorts) that you can use to customize them to make them look very much like subtitles, but since the scripting format is unique to itself, standard subtitle formats like SRT won't work on it.

So I made a Python script for Notepad++ that converts the SRT format into one usable by Nico Nico Douga. (In order to use the website, you have to copy and paste the contents into the screen anyway, which is why it works off a text editor.) Getting your subtitles into SRT format is generally pretty straightforward since quite a few common video editors have ways to export text tracks into SRT, and it's also easily made with common subbing programs like Aegisub, so that part should be fine for most people.

The main reason I made this was because I was rather tired of making two entirely separate versions of my videos for Nico Nico Douga and YouTube, so going forward this should be easier for myself, but since NicoScript only works for uploaders, that means it only has relevance to other people who want to translate their own videos and doesn't really work well for third-party translators (alas). But hey, maybe it'll help someone out there?
 

kozet

Conlanger
Jul 5, 2019
80
flirora.xyz
Nice! Would be useful in case I upload any of my videos to NND. A standalone command-line version would be useful for those who can't or don't want to install Notepad++, though.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)