Author Topic: Overscan Issue  (Read 2157 times)

Offline Malific

  • Member
  • Posts: 269
    • Malific's Script Shop
Overscan Issue
« on: March 05, 2010, 04:24:23 AM »
Well, I'm falling victim to everyone's favorite Anime to TV related issue, Overscan, and the loss of subtitles resulting from it. This happens to pretty much every anime I work with regardless of aspect ratio.

I burn to DVD an play in my DVD player.

My system can't direct connect to the TV, so that's not an option, and I can't find any zoom/overscan options on my DVD Player or TV that don't cut off the subtitles.

So, I'm looking for an encoding program that I could use to add a border to a video when encoding from .mkv to .avi. Or even just one where I can add a border without a format change. It'll be an extra step, but I can manage.

Anyone know of an encoder that can do this, or some other way to solve my problem given my technical restraints?

::Solution EDIT::
Thank to everyone, Here is how I fixed my issue, if you're not looking to read the entire thread:
Fixed overscan with ConvertXtoDVD, it works with .mkv with no issues, but destroys stylized subs, so I used a combination of MKVToolnix with MKVextractGUI, and MeGUI with Avisynth to take the stylized mkv softsubs and hardsub/encode them to mp4.

Of course if you want the stylization you have to fix that first.

Stylization Fix:
MKV to MP4 - with hardcoded Stylized Subs.
Modified the solution from this post: http://forums.bakabt.me/index.php?topic=17857.msg416775#msg416775
(click to show/hide)
BTW if you know a faster/easier way to do the MKV-MP4, I'm all ears, cause this method is pretty work/time intensive.

Overscan Fix:
(click to show/hide)
« Last Edit: March 08, 2010, 12:38:07 AM by Malific »

Offline Jarudin

  • Member
  • Posts: 6875
Baby, I love the way you move

Offline Malific

  • Member
  • Posts: 269
    • Malific's Script Shop
Re: Overscan Issue
« Reply #2 on: March 05, 2010, 09:26:28 PM »
Thank you for the help. I tend not to use generic search engines for this kind of thing because I usualy end up reading about 20-30 posts of people asking for help and no solutions useful for my specific problem (like the few ones I found on this site).

As such, for simplicities sake. I'm going to post the solution Post in the thread you linked, to help save some others' time as well.

(click to show/hide)

Sadly though, This is useless to me as the program in question won't read .mkv
« Last Edit: March 06, 2010, 04:54:08 AM by Malific »

Offline Southrop

  • Staff
  • Member
  • Posts: 5247
Re: Overscan Issue
« Reply #3 on: March 06, 2010, 05:03:23 AM »
It will open any file format if you use an Avisynth script to open the video. I have since forgotten what to type exactly, but i think it's something like this:

mpegsource("your file path goes here")

Basically, create a notepad document, enter that, save it as a .AVS file. Then drag that file into virtual dub and it should open.

Offline Malific

  • Member
  • Posts: 269
    • Malific's Script Shop
Re: Overscan Issue
« Reply #4 on: March 06, 2010, 05:18:27 AM »
Ah thank you, I have a .avs script I just tossed in and it loaded it up. And here I just went and typed out the "spoiler" post below while you responded to me. I'll let my current encoding run over night and see what I get then try working with VD in the morning.

Anyway if anyone has a quicker way for softsub .mkv to hardsub .mp4 encoding while maintaining the stylization I'm all ears, as both my current methods look like they'll be very hard to set-up for an entire series. (not sure if virtual dub will hard or soft encode the mp4, the whole subtitle manipulation stuff is a bit new to me)

Typed post.
V V V V V
(click to show/hide)
« Last Edit: March 06, 2010, 05:23:04 AM by Malific »

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: Overscan Issue
« Reply #5 on: March 06, 2010, 09:23:16 AM »
I believe Handbrake will handle that. Can't guarantee, though; I first learned about it a while back, and when I tried it, its softsub support was lacking, but they have updated since and I haven't tried out the new version.

Worth a shot though, isn't it? =P

Edit: Just in case you were wondering, I was talking about converting softsub mkv to hardsub mp4.
« Last Edit: March 07, 2010, 06:46:18 AM by Freedom Kira »

Offline Stsin

  • Member
  • Posts: 1948
Re: Overscan Issue
« Reply #6 on: March 06, 2010, 11:33:05 AM »
If you are using avisynth and your MKV has softsubs, just adjust the sub positioning instead of adding borders.  This way your DVD will look fine even on setups that don't have overscan problems, like your next one.

Demux the SSA or ASS script, open it with notepad and modify the MarginV setting of the Styles used (higher values move toward the center).  Usually modifying just the style default is enough, avoiding the styles used for signs, etc.
http://forums.bakabt.me/index.php?topic=17305.msg395429#msg395429

Add the VSFilter for Avisynth, if don't have it already.  Then add a textsub command using your modified subtitle script.
http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm

If your MPC_HC and FFDShow is configured properly, should be able to preview the script in that player.  It's basically WYSIWYG.  Learn to use avisynth.  Most encoders are picky on what file formats they accept, but the good ones will accept avisynth scripts, and avisynth can play virtually everything (that your computer can play).
« Last Edit: March 06, 2010, 11:37:21 AM by Stsin »

Offline Malific

  • Member
  • Posts: 269
    • Malific's Script Shop
Re: Overscan Issue
« Reply #7 on: March 06, 2010, 05:09:44 PM »
If you are using avisynth and your MKV has softsubs, just adjust the sub positioning instead of adding borders.  This way your DVD will look fine even on setups that don't have overscan problems, like your next one.

Demux the SSA or ASS script, open it with notepad and modify the MarginV setting of the Styles used (higher values move toward the center).  Usually modifying just the style default is enough, avoiding the styles used for signs, etc.
http://forums.bakabt.me/index.php?topic=17305.msg395429#msg395429

Add the VSFilter for Avisynth, if don't have it already.  Then add a textsub command using your modified subtitle script.
http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm

If your MPC_HC and FFDShow is configured properly, should be able to preview the script in that player.  It's basically WYSIWYG.  Learn to use avisynth.  Most encoders are picky on what file formats they accept, but the good ones will accept avisynth scripts, and avisynth can play virtually everything (that your computer can play).


Aye this is useful, for moving the subs, but it still leaves it as .mkv which pretty much means I need to use ConvertXtoDVD to burn it. Which is fine, because after reading a ton of posts saying it can't fix the overscan issue I finally ended up getting it anyway and it can, It has a padding option to add black bars if you go into the aspect ratios of the titles.


However it completely destroys the stylization, making some subs almost impossible to read. You can fix that, But I would really like to maintain the stylization as is.
« Last Edit: March 06, 2010, 05:25:20 PM by Malific »

Offline Stsin

  • Member
  • Posts: 1948
Re: Overscan Issue
« Reply #8 on: March 07, 2010, 05:18:37 AM »
Aye this is useful, for moving the subs, but it still leaves it as .mkv which pretty much means I need to use ConvertXtoDVD to burn it. Which is fine, because after reading a ton of posts saying it can't fix the overscan issue I finally ended up getting it anyway and it can, It has a padding option to add black bars if you go into the aspect ratios of the titles.

ConvertXtoDVD's homepage says that it supports Avisynth.  Use the .avs file as your input.


Quote
However it completely destroys the stylization, making some subs almost impossible to read. You can fix that, But I would really like to maintain the stylization as is.
Talking about Avisynth or ConvertXtoDVD?

If your previewed Avisynth file doesn't look right, it's doing the styles but probably not using the right font.
With Win XP, demuxing the fonts in the same directory often worked.  But doesn't with my Win 7 setup.  So I tried installing those fonts which worked nicely.  Often, the whole series uses the same fonts as the first episode, so don't have to do it often, plus some of those are worth keeping.

Here's an example where I hardsubbed a video with not just stylized subs but fully animated effects that would bog down many systems here: http://forums.bakabt.me/index.php?topic=17115.msg390452#msg390452
It's in the spoiler.  Just a simple avisynth using textsub script fed into meGUI encoder, and looks exactly like the original.
« Last Edit: March 07, 2010, 05:23:39 AM by Stsin »

Offline Malific

  • Member
  • Posts: 269
    • Malific's Script Shop
Re: Overscan Issue
« Reply #9 on: March 07, 2010, 04:11:14 PM »
Quote
However it completely destroys the stylization, making some subs almost impossible to read. You can fix that, But I would really like to maintain the stylization as is.
Talking about Avisynth or ConvertXtoDVD?

Avisynth works great, this is a ConvertXtoDVD issue. I read through their forum and it has something to do with limitations on the DVD format itself, And the programing of the software. Something about a Dvd can only handle like 3 different colors for subtitles at once and they can only be from the standard 16 basic colors and the program can't handle certain fonts etc etc.

Suffice to say ConvertXtoDVD can't put the stylized subs in, so I'm using a combination of Avisynth, MKVtoolnix with MKVExtractGUI, and MeGUI to hardcode the stylization into a .mp4, which I'm then plugging into ConvertXtoDVD so I can use it's padding options to remove the overscan.

Suffice to say My problem is solved. Thank you every for all your help, I tried pretty much everything and the above is what is working best for me.
« Last Edit: March 07, 2010, 04:14:20 PM by Malific »