Capturing Japanese subtitles with AGTH

Index » Learning resources

  • 1
 
Sebastian Member
Registered: 2008-09-09 Posts: 582

AGTH (Anime Game Text Hooker) is a program that captures texts sent by different applications to the screen and shows it as plain copy/pasteable text.

It's mainly used (as its name shows) to get text from videogames (especially visual novels), but it can work with other kinds of software too.

This is a tip for people who like to watch videos with Japanese softsubs. You can create a shortcut to AGTH adding your video player as a parameter (so that AGTH captures the text that your video player shows, such as subtitles and on-screen info). Then you load a video and its corresponding subtitle, and you'll have AGTH showing you the subtitles as plain text at the same time it appears on screen. Now you can use that text to create Anki cards or to lookup unknown words.

http://www.mediafire.com/imgbnc.php/2bc26ecc89cfeda896265851299a2fff2g.jpg

Last edited by Sebastian (2010 April 08, 12:22 pm)

nest0r Member
Registered: 2007-10-19 Posts: 5236 Website

Looks like a very useful tool! Have you seen balloonguy's tool, Kage Shibari? (That's what I'm calling it till somebody stops me.)

http://forum.koohii.com/viewtopic.php?pid=98708#p98708 -- I mostly intend to use this for audio/e-books because I use Firefox and apparently there's some kind of video/html5 war where h.264 won't work in it. I just uninstalled Chrome because it was creeping me out...

Example video: http://forum.koohii.com/viewtopic.php?pid=97989#p97989

Edit: I couldn't get the AGTH page to work, got a direct link to their tool?

Last edited by nest0r (2010 April 08, 1:29 pm)

ToasterMage Member
Registered: 2008-05-21 Posts: 102 Website

and why not just extract the subtitle file using mkvmerge or whatever the tool is called?

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
Reply #4 - 2010 April 09, 1:08 am
dbh2ppa Member
From: Costa Rica Registered: 2009-05-05 Posts: 120

ToasterMage wrote:

and why not just extract the subtitle file using mkvmerge or whatever the tool is called?

mkvextract tongue

Reply #5 - 2010 April 09, 1:34 am
Asriel Member
From: 東京 Registered: 2008-02-26 Posts: 1343

So this is more or less having somewhat "rikaichan availability" while watching subtitles?

If so, then this could potentially be very useful for something I was thinking of creating a while back...

Reply #6 - 2010 April 10, 4:53 pm
Sebastian Member
Registered: 2008-09-09 Posts: 582

nest0r wrote:

Looks like a very useful tool! Have you seen balloonguy's tool, Kage Shibari? (That's what I'm calling it till somebody stops me.)

http://forum.koohii.com/viewtopic.php?pid=98708#p98708 -- I mostly intend to use this for audio/e-books because I use Firefox and apparently there's some kind of video/html5 war where h.264 won't work in it. I just uninstalled Chrome because it was creeping me out...

Example video: http://forum.koohii.com/viewtopic.php?pid=97989#p97989

I haven't read all the posts about the project, but the demo video looks promising.


Edit: I couldn't get the AGTH page to work, got a direct link to their tool?

I found a direct link at this forum.


ToasterMage wrote:

and why not just extract the subtitle file using mkvmerge or whatever the tool is called?

Asriel got the idea.

Asriel wrote:

So this is more or less having somewhat "rikaichan availability" while watching subtitles?

If so, then this could potentially be very useful for something I was thinking of creating a while back...

Yep. Actually, the subtitles that appear on the screen capture come from an .ass file, which you can open with any text editor. The point is that using AGTH you can have the subtitles displayed as coppypasteable text at the same time they appear on the screen with the video. You could just open the subtitle file and search the line by yourself, but that would be too cumbersome.

Something I forgot to add (though I noted this at another thread recently) is that you can use KMPlayer's subtitle explorer:

Right click -> Subtitles -> Subtitle Explorer

Or you can just hit Alt+Q

Then you can scroll up or down, double click any line and the video will jump to that point.

http://www.mediafire.com/imgbnc.php/3b8807fd7b8ef3205804fb4f5c563ad32g.jpg

At other thread someone mentioned using Aegisub for this, but this method is much simpler, and allows you to watch your videos in fullscreen and switch to the subtitle explorer, AGTH or your dictionary only when you need them.

Reply #7 - 2010 May 20, 9:51 am
Sebastian Member
Registered: 2008-09-09 Posts: 582

Update: If you use virtual desktops, you can have your video in fullscreen mode in one desktop and the subtitle explorer, AGTH and your dictionaries in another. Then you can watch your favorite videos in fullscren, pause the video, go to the 2nd desktop and check the subtitles whenever you want.


You can see Lifehacker's article: Five Best Virtual-Desktop Managers for reference.

shinsen Member
Registered: 2009-02-18 Posts: 181

Any advice on running AGTH on Linux? I'm able to run it, but it displays garbage when it hooks to VLC. Is there another method to capture subtitles from a video player into system buffer?

SomeCallMeChris Member
From: Massachusetts USA Registered: 2011-08-01 Posts: 787

This seems like it should be a useful utility, but when I tried it for Resident Evil: Revelations, while it launched the game, the AGTH utility window vanished. I tried again with Notepad++ just to see what a simple windowed application would do, and it kept printing '8' and a newline sometimes, more newlines the more activity I took poking menus or typing.

It's probably just a coincidence that it prints '8' and I'm on Windows 8... right? Hm.

Last edited by SomeCallMeChris (2013 August 14, 8:36 pm)

  • 1