AnimeSuki Forums

Register Forum Rules FAQ Community Today's Posts Search

Go Back   AnimeSuki Forum > Anime Related Topics > General Anime > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2004-05-17, 14:47   Link #1
Access
Senior Member
 
Join Date: Jan 2004
Typesetting Filter (VirtualDub and Avisynth)

This is a very straightforward idea -- overlays a highly visible, configurable grid on top of a video to facilitate typesetting and image placement. I could not find such a filter so I spent a few hours and coded one. It is specifically aimed at typesetting shows with lots of on-screen titles and like, ie. Keroro Gunso. If you would like such a tool, you can download it here:
http://www.live-evil.org/sindo/filters.html

Last edited by Access; 2004-05-18 at 19:53.
Access is offline   Reply With Quote
Old 2004-05-17, 16:16   Link #2
Enragin_Angel
ナマケモノ
 
Join Date: Jul 2003
Great! No more guess and check!
Enragin_Angel is offline   Reply With Quote
Old 2004-05-17, 20:56   Link #3
K_R
also known as K!
 
Join Date: Jun 2003
Location: Tokyo, Japan
Would it be difficult to make it a native avs filter? That would be most helpful. I do all my filtering in avs, and there are probably others that shun vdub filters too...
K_R is offline   Reply With Quote
Old 2004-05-17, 21:45   Link #4
Tofusensei
Senior Member
 
 
Join Date: May 2003
Location: Tokyo, Japan
Send a message via AIM to Tofusensei
Quote:
Originally Posted by K_R
Would it be difficult to make it a native avs filter? That would be most helpful. I do all my filtering in avs, and there are probably others that shun vdub filters too...
You use avs when you do typesetting? This isn't an encoding filter but rather for preparing the SSA script.

-Tofu
Tofusensei is offline   Reply With Quote
Old 2004-05-17, 21:49   Link #5
Kasshin
Kasshin X Kasshin
 
Join Date: Apr 2003
Location: Vancouver, BC
Send a message via ICQ to Kasshin Send a message via AIM to Kasshin Send a message via MSN to Kasshin
Nice.

I'd probably only use it for when I need to be REALLY precise though, cuz I'm already used to positioning stuff approximately. Beats opening photoshop or paintshop to find exact coordinates.

Edit (posted at the same time as me):

Quote:
Originally Posted by Tofusensei
You use avs when you do typesetting? This isn't an encoding filter but rather for preparing the SSA script.

-Tofu
You can typeset with avs? I'm not an encoder, and encoders keep telling me to typeset for AVS, but the changes I make don't refresh, so I have to close vdub down and reopen the avs script...
Kasshin is offline   Reply With Quote
Old 2004-05-18, 01:13   Link #6
Access
Senior Member
 
Join Date: Jan 2004
Quote:
Originally Posted by K_R
Would it be difficult to make it a native avs filter? That would be most helpful. I do all my filtering in avs, and there are probably others that shun vdub filters too...
Do you know of any sites or documentation for .avs filter creation (not use)? Everything I could find online described how to make scripts but not the filters themselves. The reason I chose VDub was the relative ease, it was well documented and includes a filter SDK that uses the tools I'm used to. As far as colorspace, as-is it would only work with RGB. Batch configuration should work using LoadVirtualDubPlugin, but that is RGB32 only, and probably slow. If the parameters are a mystery, set it up in VDub, save it as a .vcf, and look at the "Config" line in the script where the filter is set up.
Access is offline   Reply With Quote
Old 2004-05-18, 01:52   Link #7
Enragin_Angel
ナマケモノ
 
Join Date: Jul 2003
Here's something that may help: http://www.avisynth.org/index.php?page=BensAviSynthDocs
Enragin_Angel is offline   Reply With Quote
Old 2004-05-18, 06:39   Link #8
K_R
also known as K!
 
Join Date: Jun 2003
Location: Tokyo, Japan
Sorry, I know nothing of making filters for avs...

Tofu: I typeset purely in avs because vsfilter doesn't auto-update in vdub (have to go to filters, select textsub, then reload the ssa), but if you use textsub() in avs, you just need to hit F5 to refresh.
K_R is offline   Reply With Quote
Old 2004-05-18, 10:09   Link #9
Tofusensei
Senior Member
 
 
Join Date: May 2003
Location: Tokyo, Japan
Send a message via AIM to Tofusensei
Quote:
Originally Posted by K_R
Sorry, I know nothing of making filters for avs...

Tofu: I typeset purely in avs because vsfilter doesn't auto-update in vdub (have to go to filters, select textsub, then reload the ssa), but if you use textsub() in avs, you just need to hit F5 to refresh.
Textsub doesn't auto-refresh for you? Odd, it does for me O_O;;; I dont even have to hit F5, just advance the video.

-Tofu
Tofusensei is offline   Reply With Quote
Old 2004-05-18, 12:16   Link #10
K_R
also known as K!
 
Join Date: Jun 2003
Location: Tokyo, Japan
Quote:
Originally Posted by Tofusensei
Textsub doesn't auto-refresh for you? Odd, it does for me O_O;;; I dont even have to hit F5, just advance the video.
I think gabest took out the autorefresh function in vsfilter textsub (I'm using version 2.33 - 2004-03-07 build), I think the autorefresh only works in the vobsub textsub (version 2.23? I've forgotten...)

Also, vobsub textsub and vsfilter textsub have slight differences in positioning and effects... So if you're encoding with avs/fast recomp, while the typesetter is using vobsub textsub...
K_R is offline   Reply With Quote
Old 2004-05-18, 12:56   Link #11
Tofusensei
Senior Member
 
 
Join Date: May 2003
Location: Tokyo, Japan
Send a message via AIM to Tofusensei
Quote:
Originally Posted by K_R
I think gabest took out the autorefresh function in vsfilter textsub (I'm using version 2.33 - 2004-03-07 build), I think the autorefresh only works in the vobsub textsub (version 2.23? I've forgotten...)

Also, vobsub textsub and vsfilter textsub have slight differences in positioning and effects... So if you're encoding with avs/fast recomp, while the typesetter is using vobsub textsub...
Yeah, this is true. They are /supposed/ to behave the same but there are some glitches. I've seen it happen with some alpha commands that cause the scripts to come out all black when used with vsfilter. Also sometimes a broken textsub script will render properly in vdub version but not avs. It just is more friendly to poorly written scripts.

I didn't know about that autorefresh thing being removed! Thanks for telling me b/c I will not upgrade now I am using Textsub 2.23.

Also I have emailed Gabest and offered to send him scripts that I have that expose these differences in the way vsfilter.dll and vdub textsub filter handle scripts, but he never got back to me :[

-Tofu
Tofusensei is offline   Reply With Quote
Old 2004-05-18, 14:35   Link #12
Access
Senior Member
 
Join Date: Jan 2004
Quote:
Originally Posted by K_R
Would it be difficult to make it a native avs filter? That would be most helpful. I do all my filtering in avs, and there are probably others that shun vdub filters too...
OK, hopefully it works, setup is a bit different since it works in the Y-channel and Y-channel resolution doesn't always match the display resolution. Same place, follow the link above and read the documentation.
Access is offline   Reply With Quote
Old 2004-05-19, 05:47   Link #13
K_R
also known as K!
 
Join Date: Jun 2003
Location: Tokyo, Japan
Access: (More annoying questions) Is it possible to make it work in YV12?

Maybe my questions are unique since I typeset and encode, and only encode via fast recompress, so I only use avs filters than operate in the YV12 colourspace...

Tofu: Be careful if you're going to use vdub filtering, since vdub will force a colourspace conversion on your video... the most obvious artefact is a darker image.

Regarding the alpha commands, I did notice that, in some of the effects that involve specifying colours, vsfilter strictly enforces uppercase usage as specified in the vobsub docs (colours to be defined as &H, but vobsub works fine with &h). That could be the problem you're encountering (gabba encountered this problem when typesetting midori).
K_R is offline   Reply With Quote
Old 2004-05-19, 10:32   Link #14
Access
Senior Member
 
Join Date: Jan 2004
Quote:
Originally Posted by K_R
Access: (More annoying questions) Is it possible to make it work in YV12?

Maybe my questions are unique since I typeset and encode, and only encode via fast recompress, so I only use avs filters than operate in the YV12 colourspace...
It works in YV12, just to make sure, I tried:
LoadPlugin ("...\CGrid.dll")
AVISource ("...")
ConvertToYV12 ()
CGrid ()
and that works fine, fast enough to play in WMP6 full speed.

YV12 is the colorspace of choice with avisynth25, for most people at least.
Just don't ask for RGB, that makes no sense for something like this, right now it's a 1-channel operation; RGB would be 3-channel operation (3 times as slow).

http://www.animemusicvideos.org/guid...olorspace.html
Is that where you're coming from?

Last edited by Access; 2004-05-19 at 10:50.
Access is offline   Reply With Quote
Old 2004-05-19, 11:26   Link #15
Tofusensei
Senior Member
 
 
Join Date: May 2003
Location: Tokyo, Japan
Send a message via AIM to Tofusensei
Quote:
Originally Posted by K_R
Access: (More annoying questions)
Tofu: Be careful if you're going to use vdub filtering, since vdub will force a colourspace conversion on your video... the most obvious artefact is a darker image..
When did I say I encode using virtualdub textsub filter? O_o;;

I know all about the colorspace conversions, thank you

Please read more carefully next time >_<

-Tofu
Tofusensei is offline   Reply With Quote
Old 2004-05-19, 11:48   Link #16
K_R
also known as K!
 
Join Date: Jun 2003
Location: Tokyo, Japan
Quote:
Originally Posted by Tofusensei
When did I say I encode using virtualdub textsub filter? O_o;;
I just assumed you did since you typeset with it and know that it renders differently than vsfilter textsub (otherwise your typesetting would be off when you go to encode) ~

--

Access, yeah OK, I didn't check when I posted that - busy writing a research presentation script... in japanese =\ (I'm not going to be able to memorise it ~)
K_R is offline   Reply With Quote
Old 2004-05-19, 19:55   Link #17
Tofusensei
Senior Member
 
 
Join Date: May 2003
Location: Tokyo, Japan
Send a message via AIM to Tofusensei
Quote:
Originally Posted by K_R
I just assumed you did since you typeset with it and know that it renders differently than vsfilter textsub (otherwise your typesetting would be off when you go to encode)
Yeah, but I never have any issues personally with it rendering differently in the two because I never bother doing fancy textsub effects with alpha channels and crap I prefer the ghetto typesetting So I always create scripts that look identical in both. But I guess that'd be bad advice for people to follow so all aspiring typesetters out there, do NOT follow my example! :O you have been warned! (^-^)/

-Tofu
Tofusensei is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.