VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Ok, thanks to FulciLives and the help of others, I have the following Synth Script for my DV/Analog files. I just load this to CCE and convert.

    PROBLEM: The end result is still 720x480 but the image is 352x480. You guessed it, the rest of the 720x480 resolution is filled with black masking. How do I get rid of this so that the end result is full 4:3 352x480 with no masking?


    LoadPlugin("Convolution3d.dll")
    LoadPlugin("Reinterpolate411.dll")
    avisource("C:\Movie Conversion\capture0001.avi")
    ConverttoYUY2(interlaced=true)
    ReInterpolate411()
    Trim(x,y) // Do Not Add This Line Until After Loading in VirtualDubMod
    crop(8,4,-8,-12)
    SeparateFields()
    odd=SelectOdd.Convolution3D (0, 32, 128, 16, 64, 10, 0)
    evn=SelectEven.Convolution3D (0, 32, 128, 16, 64, 10, 0)
    Interleave(evn,odd)
    Weave()
    DoubleWeave.SelectOdd()
    AddBorders(8,8,8,8 ) // To avoid smiley, space added here 8 )
    LanczosResize(352,480)
    Quote Quote  
  2. My thoughts on this are that you are providing CCE with a 352*480 source (from the resize in the avisynth script) but CCE is still set to encode to 720*480, so it pads the space with black.

    Basicly, check your CCE setup, esp the resolution.
    Quote Quote  
  3. This is what I thought, but I never really paid close attention to CCE and resolution options because I didn't think the user could set the resolution with CCE. I guess I was wrong. I will take a closer look at the resolution options in CCE.

    Thanks again.
    Quote Quote  
  4. Member
    Join Date
    Nov 2002
    Location
    Toronto
    Search Comp PM
    Something is wrong here. It seems to me that you are going directly from 720x480 to 352x480. The right way to do it (to end up with the correct pixel aspect ratio) is to crop 720x480 into 704x480, then to resize the result (using Lanczsos, or whatever) to 352x480.

    I have the impression that many people are confused over the 720 vs. 704 issue. This confusion is encouraged by a handful of encoder templates or presets that contain 720 and 352, but not 704. TMPGEnc is notorious: you have to unlock the size setting to go from 720 to 704 (if 704 is what you want), and you have to explicitly clip the frame by 8 pixels, if you want to go from 720 (e.g. DV source) to either 704 or 352. Clueless users will end up with incorrect pixel aspect ratios. Grrrr.....

    Best regards
    Cosmin
    Quote Quote  
  5. crop(8,4,-8,-12)

    Isn't the crop script essentially doing this? Converting from 720 to 704 and then using Lanzcos to resize to 352.
    Quote Quote  
  6. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    Maybe you have the dvd compliant option checked in CCE?

    This will resize all 29.97fps material to 720x480 regardless of its source resolution.

    As illogical as it seems, if you are encoding for DVD then you should actually uncheck the dvd compliant option, for various reasons.
    Quote Quote  
  7. You da man!....that is the exact problem.

    Thanks.
    Quote Quote  
  8. Ok...

    If my source is 720x480, I use...

    crop(8,2,-8,-14)
    addborders(0,8,0,8 )

    If my source is 640x480, I use...

    crop(0,2,0,-14)
    addborders(32,8,32,8 )

    This will give me a 704x480 resolution before Lanczos(352,480) resizing.

    In CCE, I do not check DVD COMPLIANT if I want to maintain the 352x480 resolution defined in script: Lanczos(352,480).

    Thanks bugster, cosmin, and adam!
    Quote Quote  
  9. Member
    Join Date
    Nov 2002
    Location
    Toronto
    Search Comp PM
    Originally Posted by LNielsen76
    crop(8,4,-8,-12)
    addborders(0,8,0,8 )
    This is good. In the initial message, you had
    addborders( 8, 8, 8, 8 )
    and that would give you 720x480.

    Originally Posted by adam
    Maybe you have the dvd compliant option checked in CCE?

    This will resize all 29.97fps material to 720x480 regardless of its source resolution.
    I didn't know about this. Thanks for the tip. I wonder why are so many MPEG encoders so stubborn into 720x480.
    Cosmin
    Quote Quote  
  10. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    In my opinion, you should never use the dvd compliant option in CCE for anything. What it does is, resizes to the appropriate full D1 resolution and tag the nominal bitrate flag at 9.8Mbits, which of course is fully compliant but it can cause problems in many dvd authoring programs if 9.8 + audio bitrate exceeds the 10.08 limit...even though the actual bitrate is well under that limit.

    Just make sure that you are feeding CCE with a compliant resolution and that you encode with dvd compliant settings (bitrate and GOP settings,) and the dvd compliant option is unneccesary.
    Quote Quote  
  11. What it does is, resizes to the appropriate full D1 resolution and tag the nominal bitrate flag at 9.8Mbits, which of course is fully compliant but it can cause problems in many dvd authoring programs if 9.8 + audio bitrate exceeds the 10.08 limit...even though the actual bitrate is well under that limit.
    I have noticed this loading my resulting files in TMPGEnc DVD Author! However, this isn't the case in DVDlab.

    Yet another great tip!
    Quote Quote  



Similar Threads

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