VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Oct 2002
    Location
    Australia
    Search Comp PM
    Ok here is goes. I usually encode videos with sub(permanently) in them. Most of the stuff I have is aspect ratio 640x272,640x288,640x304 etc. Now what I usually do is load the videos in Vitualdub>filters>Resize set the Aspect ratio to exactly what it says above for each of the videos but I expand letterbox to 640x480 for all. Then I load subs with textsub. Which give a good border to hardcode bright white readable subs on. Then I check the output video in Virtualdub and then Frameserve to Tmpgenc 2.52 as for some reason Tmpgexpress 3 does not recognize it. I encode these to VCD-DVD's so that I can put almost five movies on a dvd. Now this works for all 23.976 or 25 FPS sources but when I have the same video in 29FPS as source I run into a problem.

    Everything runs fine until I hit frameserve
    Settings are the same aspect ratio letter box which is if the video aspect ratio 640x272,640x288,640x304 etc then I hit resize set 640xwhatever the video aspect ratio is,expand letter box and then check it in Virtualdub which shows perfect aspect ration. but when I encode it to Tmpgenc 2.52 I get a squeezed video output. Which is annoying.






    I have three questions
    Is there a bug in Tmpgxpress 3 which doe not let it load these videos
    Also should I be resizing directly in virtualdub to VCD aspect ratios.
    What is the dam problem with the aspect ration in Ntsc.

    Obliviously increasing the setting does cure the problem in the resize filter but thats not a solution. I need to know if I am doing something wrong. I will try to add pics asap
    Quote Quote  
  2. VirtualDub's Lanczos3 resize is much better than TMPGEnc's so you should use VirtualDub to resize. (Even better would be to use AVISynth because it can resize without conversion to RGB.)

    I'm not sure exactly what you're problem is. But here's what you should do. Say you have a 640x288 AVI file. Assuming it's 1:1 pixel aspect ratio as most Divx and Xvid AVI files are, resize to 704x288 and letterbox to a total of 480 lines tall. Frameserve to TMPGEnc but tell it the Source Aspect Ratio is "4:3 525 line (NTSC)"

    If you are making VCD then resize to 352x144, letterbox to 240 lines tall, and frameserve as 4:3 525 line NTSC.

    I've frameserved from many builds of VirtualDub to TMPGEnc 2.5 something.
    Quote Quote  
  3. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    TV formats do not have square pixels, so you have to adjust for the pixel aspect ratio during the resize. The PARs are different for PAL nd NTSC, and for 4:3 vs 16:9. If you were encoding for a Divx player this would not be an issue, as they expect 1:1 PAR source, and adjust accordingly. DVD players do not.

    Use FitCD to get your sizings, as you can adjust the border size all around to take care of your subs.
    Read my blog here.
    Quote Quote  
  4. Member
    Join Date
    Oct 2002
    Location
    Australia
    Search Comp PM
    OK I understand that pal and Ntsc are different sizes make up their aspect ratios 4:3 for NTSC is not the Same as 4:3 for PAL right? If so then If I am using virtualdub filter to resize

    If PAL 640x 288 say resize 640x288 expand to 640x480
    IF NTSC 640x 288 say resize 640x288 expand to ?

    The current resize for Pal is working but I guess not for NTSC, so the question is if I dont wanna resize a lot(CPU doing doing to much work for one job) so if I keep the same horzontal aspect to make it 4:3 for my tv without stuffing up the Aspect ration of the movie what would I use?

    thanks
    Quote Quote  
  5. Member
    Join Date
    Oct 2002
    Location
    Australia
    Search Comp PM
    Originally Posted by junkmalle
    VirtualDub's Lanczos3 resize is much better than TMPGEnc's so you should use VirtualDub to resize. (Even better would be to use AVISynth because it can resize without conversion to RGB.)

    I'm not sure exactly what you're problem is. But here's what you should do. Say you have a 640x288 AVI file. Assuming it's 1:1 pixel aspect ratio as most Divx and Xvid AVI files are, resize to 704x288 and letterbox to a total of 480 lines tall. Frameserve to TMPGEnc but tell it the Source Aspect Ratio is "4:3 525 line (NTSC)"

    If you are making VCD then resize to 352x144, letterbox to 240 lines tall, and frameserve as 4:3 525 line NTSC.

    I've frameserved from many builds of VirtualDub to TMPGEnc 2.5 something.

    Interesting : So increasing the horizontal and working with the vertical for NTSC would work I guess, another question. Rather than two conversions for resize if I directly resize in virtualdub to vcd specs would it work and what should I be using in this case?
    Also If I can ask how did you actally calculate the vertical for vcd to 144 please

    thanks
    Quote Quote  
  6. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    So you want to keep the horizontal resolution the same as the source, and adjust the vertical resolution to account for the pixel aspect ratio of the various formats.

    Piece'o'cake

    The multiplication factors for the various formats are :

    NTSC 4:3 : 0.90909090909090909090909090901
    NTSC 16:9 : 1.212121212121212121212121212121
    PAL 4:3 : 1.09250925092509250925092509250925
    PAL 16:9 : 1.456790123456790123456790123456790

    Use these to change the vertical resolution, then add borders all around to bring it up to spec. No more distortion.

    NB : These are for DVD. VCD has no 16:9, so use the 4:3 PAR factor, then pad out with borders to full spec. Persoanlly, VCD is a dead format and should only be used when you absolutlely have to fit 7+ hours of video on a single-sided, single-layer disk, or if your source is very low res to begin with. The resolutions you speak of are fine for DVD, and could even be blown up to 704 horizontal without it blowing out resize times or adversly affecting quality.
    Read my blog here.
    Quote Quote  
  7. Member
    Join Date
    Oct 2002
    Location
    Australia
    Search Comp PM
    sorry mate can you give me an example of how to calculate. Its just a dumb day for me today.
    Quote Quote  
  8. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Using one of your resolutions from above, and assuming you are frameserving from virtualdub, here goes;

    Source 640 x 304
    Keep Horizontal as 640
    Multiply 304 x 0.9090909090909090901 (NTSC 4:3 output) = 276.3636363636363636363
    Target resolution : 640 x 276

    In the VDub Resize Filter enter

    New Width : 640
    New Height : 276
    Filter : Lanczos3
    Tick Expand Frame and Letterbox Image
    Frame Width : 720
    Frame Height : 480

    This will preserve the original resolution as much as possible, but adjust for format PAR.

    If you want to actually increase the overall resolution to be closer to DVD res, you can use the resize calculator in my sig, or FitCD if you use avisynth.
    Read my blog here.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!