BakaBT > Need Help? Ask Here
Overscan Issue
Malific:
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)What you need:
MKVToolnix - Install where you want it.
MKVextractGUI/MKVE Wizard - Use the GUI or the Wizard, but only ONE of them. Drag the appropriate files into your MKVtoolNix Directory
MeGUI - Install where you want it.
Nero AAC Codec - Drop the files for your system into the same directory as MeGUI.exe
Avisynth - Install where you want it.
VSfilter textsub - Drop the files into the "plugins" folder of Avisynth's Directory.
Now pick the anime you want, The instructions will be based on doing this with a full series.
1) Open up MKVExtractGUI (Or MKVE Wizard if you're using that UI instead, they both function about the same).
2) Drag the first episode of the anime you want and drop it onto the "Input" field.
2a) Pick your output directory, default is it'll drop the extracted files into the directory with your anime, that's what I did. I you want to change it just click the "other" bullet and tell it where to put them.
3) Check the boxes for extraction of the Audio, and Subtitle streams you want to hard code into your final result. You must also extract all Fonts these appear as 'Attachment ID's. DO NOT EXTRACT VIDEO this takes a LONG time and you won't need it.
4) When everything you want extracted is checked, click the 'Extract" button. The program will appear to not do anything, but you will see a bar appear at the bottom... it never moved for me, but that was my signal it was at least working, also the files will begin appearing in your output directory. (It took my system about 20-40 seconds to extract everything, results may vary greatly, I've got a pretty high level system.)
4a) Rinse and repeat from step 2) for all episodes you want to re-encode. You don't have to continuously extract the fonts as long as they remain the same ones for the entire anime, the one I did (Macross Frontier [Thora]) had about 4-5 fonts used in every episode with an extra 10 or so that only appeared in 1 or 2 episodes each, so make sure you pay attention to the fonts and get them all.
4b) We're done with MKVtoolnix, you can close it. You may want to check the audio files to make sure they play.
5) Now it's time to Re-encode the Audio. Open MeGUI (if it needs to update, do so, then import all the stuff it asks about importing) and drag you first episode .ac3 file into the Input Field of the Audio section (lower half of the window).
6)Change Encoder settings to Nero AAC: pick the quality you want, I personally did MultiChannel HQ 256.
7)Press the Enqueue Button
7a) Rinse and repeat from step 5) for all .ac3 files you want to process.
8) Switch over to the Queue tab and Click Start. (you may want to edit some settings first from the options-> Settings menu, like setting default priority to 'above normal').
9)Time to Wait. This took my system about 30 seconds per file, results may vary. About 15-20 minutes for my entire batch (25 episodes).
9a) When it's done check the audio again, and you can delete the .ac3 files unless you want to keep them incase something went wrong you didn't notice.
Time to make your AviSynth Scripts. For this portion I'm going to use the names/directories/code of the files I made. Follow the format with your own file information.
Your .asv file name will be the name of your final ouput video... sort of.
10)First Episode .asv file:
Macross F - 01 - Close Encounter1.asv - I added the '1' to the end of the file because your 'video only' .mp4 will take this name, adn be deleted later.
--- Code: ---
DirectShowSource("D:\Anime\Macross Frontier\Macross F - 02 - Hard Chase [THORA].mkv", fps=23.976, audio=false)
TextSub("D:\Anime\Macross Frontier\Macross F - 02 - Hard Chase [THORA]_Track3.ass")
--- End code ---
Note that the DirectShowSource file is the original .mkv that the sub group made, TextSub is pointing to the Subtitles you extracted with MKVExtractGUI.
11) Make all your .asv files now, it'll speed up making the job queue's in MeGUI. Follow the format above and have a different .asv file for each episode. Place these files in the directory you want your final result .mp4 to be in.
12)Drag and drop the first episode .asv file into the AviSynth Script field of MeGUI (top half of the window this time).
12a)Note the Video Output field auto fills in, this is your 'video only' and will be deleted later, unless it's the exact name you want your end result file to be, don't change it.
13) Click the auto Encode button in the button right to open a new window.
14) The 'Name of Output' field is the directory and name of your final result. It will have your .asv name with a -muxed added to the end. Change it to what you want your final result to be.
15) Make sure the "Add additional content) box IS CHECKED, then click the Queue button for yet another new window. If you don't check that box you'll get no new window and end up with a video with no sound.
16) On the New window Drag and drop the _Track2.mp4 you extracted from the original .mkv into the 'Audio 1' input field, select the language, and click GO.
17) All the extra windows should close Leaving you looking at teh main MeGUI window again, CLick the queue tab and you'll see 2 jobs for that episode first video, then mux.
18) Rinse and repeat from step 12) until you have jobs for all the episodes you are doing.
18a) ONe thing That happened to me, When I started, it did one episode then stopped, so I checked the option to "autostart queue" AFTER I had everything Queued, and it went from job to job with no issues for me after that.
19) Click the Queue tab, and click Start. Find a good time when you don't plan on using your computer for a VERY long time. My system was doing a single episode in about 1 hour. The good thing is, you can abort a job, right click it and change the status back to 'waiting' Then use your pc, shut it down, watch anime, whatever. MeGUI saves your jobs even when it's turned off so you don't have to redo any of the creation process, just open it back up and start them up again.
20) Enjoy .mp4's with hardcoded stylized subs exactly as they were in their .mkv versions.
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)ConvertXtoDVD has a padding option to add bars to prevent overscan. Just open the trees of the titlesets Video>Video resize Method> Click the screen icon on the far right to bring up a config window, then add in pixels using the padding section.
8-10% extra pixels seems to be a good number to pad. That's 4-5% on each side, so for the standard 720x480 I added 36 to each side and 24 to top and botton (10%).
I got a small black border on the edges when I watched it, but at least I got all my subs and the full picture.
Jarudin:
Google?
http://www.videohelp.com/forum/archive/overscan-on-tv-cuts-off-subtitles-need-to-reduce-image-82-somehow-t310169.html
--Jarudin--
Malific:
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)popdem posted 2007 Mar 31 10:23 - on www.videohelp.com
I got tired of looking everywhere and never seeing any tutorials fixing video cut off on televisions. This is especially a problem with videos that have hard coded subtitles. They are often cut off at the bottom of the picture and make the subtitles impossible to read. My remedy is to add a border to your video so that you move the viewable image into the frame of your television. This seems to work quite well for me and I hope it does the same for you!
So to start off you will need to download these two files. This is not complicated and will not require much PC skill.
Download Virualdub = http://sourceforge.net/project/downloading.php?groupname=virtualdub&filename=VirtualDub-1.6.17.zip&use_mirror=internap
Download Xvid Codec = http://www.koepi.org/XviD-1.1.2-01112006.exe
You should now have two new files on your computer. First click on the Xvid Codec, go through the steps and it will install in a snap.
Extract Virtualdub into a folder of your choice. No installation is necessary for Virtualdub.
In your VirtualDub folder click to run VirtualDub.exe.
Open up a video file you want to modify. Then click:
File>File Information...
Find your video's resolution. Example: 640x480
Of your resolution the first(higher) number indicates width and the second(lower) number indicates the height. Now for a little math.
Take the lower number and multiply it by 0.1
This will give you ten percent of your video's height resolution. We need this number to correct the ten percent run off your TV is eating from your video.
For this tutorial our height is 480 from a 640x480 resolution.
480 X 0.1 = 48
For this example the magic number is 48.
Take this number and subtract it from both the width and the height of your resolution.
640 - 48 = 592
480 - 48 = 432
Here we have new resolution numbers of 592x432.
*I personally like a small run off of 4 (2 on each side) so I add 4 to both numbers. For this example you get 596x436. This is optional and depends on your preference and how it displays on your television.
Now, in Virtualdub click:
Video> Filters...> ADD>
[new window]
resize> OK
[New window]
Type in your new resolution numbers.
New width: 596
New height:436
Filder Mode: Precise bicubic (A=0.75)
CHECK -Expand frame and letterbox image
Type in your original resolution numbers.
Frame width: 640
Frame height:480
Click ok, you're done with this part.
Your video is now bordered and you can preview it if you desire.
From here we will set up your video's compression and resolution. This is all preference from this point but I will walk you through a simple way to get good quality video. Click:
Video> Compression...
[new window]
Select XviD MPEG-4 Codec
Click Configure
[new window]
Click Target quantizer
it flips to Target bitrate
In the field next to that button type 1100. This will give you fairly good quality. I found that a difference as much as 100 less is very noticeable color loss especially in brighter color detail. If you want better quality enter a higher number. If you want lower I wouldn't suggest less than 700 but do whatever you like here. After all, its your hard drive and discs that these files will be taking space on.
Click OK, you're almost done!
Now simply click:
File> Save as AVI
Now you have a couple options depending on your intentions. If you have a large number of files and want to do them all in one sitting (about 1 minute video = 1 minute processing) you can simply check the option in the "Save as AVI" window called:
"Don't run this job now; add it to job control so I can run it in batch mode."
If you do not want to do this simply make sure this option remains unchecked, type your file name, select your destination path, and save! A window will come up showing the status of your processing.
If you choose this option, after clicking save, you will go back to the main virtualdub window and nothing will appear to have happened. Go ahead and click:
File> Job Control...>
You will see the file is queued in this menu. You can continue to open and save files in this manner to queue them into this list and you will not have to reconfigure the filter or compression. After loading all the files you want to do, open the Job Control menu and click Start. Virtualdub will now process your videos in queue one by one. Note that before doing any large batch you should process and burn one to a disc for test viewing on your television! You have been warned!
Hope this helps people!
Email any thanks and/or rants to rustedflowers@hotmail.com
Sadly though, This is useless to me as the program in question won't read .mkv
Southrop:
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.
Malific:
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)So now My help question is switching in another direction. How do I Get softcoded stylized subs in a .mkv to hardcode into an .mp4? Or really any format That I can then use ConvertXtoDvd to burn.
Specifically I'm looking to do this with the Thora version of Macross Frontier. Yes I know I'm losing quality, yes I know you guys want me to hook my pc into my tv instead I've read countless posts with these conversion questions and the answers always seem to be "use search" (which results in tons of "use search" threads but no real answers. Any way to get those deleted or excluded from the search function?), don't do that you're losing quality, and hook it up to your TV instead.
Those options are not what I want, I want a stylized subbed version of Macross Frontier, on Dvd.
ConvertXtoDvd destroys the .ass subtitling
I've read this http://forums.bakabt.me/index.php?topic=17857.0 (Which I'm letting cook over night right now in hopes it might work.)
this http://forums.bakabt.me/index.php?topic=10624.0 and this http://forums.bakabt.me/index.php?topic=10152.0
Off site I've been through video help.com forums with no luck as well as VSO's forum trying to get convertXtoDVD to keep the stylization but that prog can't seem to do it.
None of these threads really helped because they don't preserve stylizing.
I usually ask questions on this forum, because it usually seems almost anything pc/anime/video related there some one here who checks the forums regularly that knows the answer. So you can chock my lame questions up the fact you guys just seem to know everything I need to know.
Navigation
[0] Message Index
[#] Next page
Go to full version