Jump to content


Photo

avisynth preprocessor support (.avs files)

avisynth avs subtitles preprocessor anime

  • Please log in to reply
8 replies to this topic

#1 begna112

begna112

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 20 November 2013 - 08:52 AM

AviSynth is a video preprocessor which allows for some really amazing video manipulation. Its usually used for encoding purposes but can also be used for subtitle rendering via xy-vsfilter. 

 

For anime, many of the typeset signs and karaoke effect depend on features of xy-vsfilter that libass still isn't capable of. 

 

Don't get me wrong, AirVideo HD is LEAGUES ahead of subtitle support for anime especially in the hardsubbed mode but the ability to run my own avs files through it would be amazing (and hopefully would only require recognizing the file format).


  • isabellexc3 and KennethShutt like this

#2 admin

admin

    Administrator

  • Administrators
  • 2585 posts

Posted 20 November 2013 - 12:25 PM

I can take a look at this, but it would be probably more feasible to use xy-vsfilter directly.


  • isabellexc3 likes this

#3 begna112

begna112

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 20 November 2013 - 12:36 PM

That would be even better if you could. Right now I know it's limited to windows. But you could potentially build it for osx from the source. Or maybe even use xysubfilter.

https://code.google.com/p/xy-vsfilter/

I'd love to see this implemented in the future!

#4 admin

admin

    Administrator

  • Administrators
  • 2585 posts

Posted 20 November 2013 - 12:40 PM

It is a directshow filter. there is no directshow for OS X so it can't work. Right now we are capable of using Directshow decoders on Windows, but not other directshow filters. It is doable but it's quite a lot of work. Given that we have a pretty full TODO list I'm not sure at which point I'll actually get to this.


  • KennethShutt likes this

#5 begna112

begna112

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 20 November 2013 - 12:49 PM

In the mean time maybe just allowing .avs is a quick work around? If not then i'm willing to wait knowing it's in the pipeline!

#6 admin

admin

    Administrator

  • Administrators
  • 2585 posts

Posted 20 November 2013 - 05:20 PM

There's no such thing as allowing .avs. We can't just load avisynth from Air Video Server HD. We would have to write avs demuxer and probably other things. The "easiest" way to get this working would be to use the directshow filter to render the subtitles (same thing as avisynth does)



#7 begna112

begna112

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 21 November 2013 - 04:28 AM

maybe avs2yuv or avs4x264mod for piping it so a format you can currently use?

 

also, i noticed subs are being rendered after video resize. it should optimally be done first. 

 

see difference: http://d.pr/i/tlyt http://d.pr/i/6mje



#8 Sunrise

Sunrise

    Advanced Member

  • Members
  • PipPipPip
  • 116 posts

Posted 21 November 2013 - 10:38 PM

maybe avs2yuv or avs4x264mod for piping it so a format you can currently use?

 

also, i noticed subs are being rendered after video resize. it should optimally be done first. 

 

see difference: http://d.pr/i/tlyt http://d.pr/i/6mje

 

That makes no sense. If you render your subs before doing resize, they would get interpolated and thus being unsharp. If you render them after the resize, they should be sharp.

 

No problems with subs on my side.



#9 begna112

begna112

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 23 November 2013 - 07:46 AM

That makes no sense. If you render your subs before doing resize, they would get interpolated and thus being unsharp. If you render them after the resize, they should be sharp.

 

No problems with subs on my side.

but if we are going for accurate size, shape, placement and originally intended style, then they should be rendered first then resized with the video. 

 

notice the different size (not in pixels but in proportions) between the first picture and the second.







Also tagged with one or more of these keywords: avisynth, avs, subtitles, preprocessor, anime

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users