Back

Capturing Japanese subtitles with AGTH

#1
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.

[Image: 2bc26ecc89cfeda896265851299a2fff2g.jpg]
Edited: 2010-04-08, 12:22 pm
Reply
#2
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/showthread.php?p...8#pid95168 -- 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/showthread.php?p...7#pid94437

Edit: I couldn't get the AGTH page to work, got a direct link to their tool?
Edited: 2010-04-08, 1:29 pm
Reply
#3
and why not just extract the subtitle file using mkvmerge or whatever the tool is called?
Reply
May 16 - 30 : Pretty Big Deal: Save 31% on all Premium Subscriptions! - Sign up here
JapanesePod101
#4
ToasterMage Wrote:and why not just extract the subtitle file using mkvmerge or whatever the tool is called?
mkvextract Tongue
Reply
#5
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
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/showthread.php?p...8#pid95168 -- 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/showthread.php?p...7#pid94437
I haven't read all the posts about the project, but the demo video looks promising.


Quote: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.

[Image: 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
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.
Reply
#8
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?
Reply
#9
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.
Edited: 2013-08-14, 8:36 pm
Reply
#10
Hi!
So I am really wanting to do what is said here: use VLC together with soft-subbed anime, grab the subs with AGTH and then use something like JGlossator or TranslationAggregator.
I can't however figure out how to set it up :S
I don't know how to "create a shortcut to AGTH adding your video player as a parameter".

Could I please get some guidelines?
Any help is much appreciated!
Thank you! :3
Reply
#11
I'm very interested in this too. I've tried it and can't get it to display anything from the subtitles.
Is it possible to work with other players like media player classic?
Reply
#12
Does this help?

http://forum.koohii.com/showthread.php?p...#pid182851
Reply
#13
Ah, thanks!
I SORT OF managed to get it working... but this is really strange.
The text that is coming up in AGTH is totally different than the text displayed in the subtitles. The timing seems to match, but the text is off! Its like AGTH is capturing a totally different line for some reason.

Edit: Ah that was related to a setting in MPC that buffers the subtitles before displaying them. After disabling that its working fine now.
Edited: 2015-06-02, 4:07 pm
Reply