VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Member
    Join Date
    May 2016
    Location
    India
    Search Comp PM
    i have interlaced video to resize after cropping the borders my video size is 1920x540,

    i want to resize to 1920x1080 using avisynth without deinterlacing.

    what is the best filter to do it.
    Last edited by yukukuhi; 28th Aug 2016 at 00:55.
    Quote Quote  
  2. 1920x540? 3.55:1? Are you sure? It sounds to me like you only separated the fields. Got a short sample before you 'cropped' it?
    Quote Quote  
  3. to resize interlaced content you first separate the content into fields (this halves the height!), then resize to 'target width'x'half of target width' and then weave the the fields:
    Code:
    SeparateFields() # separate into fields
    RESIZER_OF_YOUR_CHOICE(1920,540) # Each field must be half the height of the final size
    Weave() # re-join fields
    I hope you are aware that just doubling the height will distort your image,....
    -> not sure if what you are asking for is really what you want to do
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  4. Member Skiller's Avatar
    Join Date
    Oct 2013
    Location
    Germany
    Search PM
    Actually, SeparateFields + Resize + Weave won't produce entirely correct interlaced video because it does not correct the offset between the fields for the new vertical size. Use IResize instead, or bob it (a simple Bob() would be sufficient here).
    Last edited by Skiller; 2nd Sep 2016 at 07:27.
    Quote Quote  
  5. Originally Posted by Skiller View Post
    Actually, separatefields + resize + re-interlace won't produce entirely correct interlaced video because it does not correct the offset between the fields for the new vertical size.
    And it produces terrible ringing artifacts on sharp horizontal edges.

    Originally Posted by Skiller View Post
    Use IResize instead, or bob it (a simple Bob() would be sufficient here).
    IResize and Bob produce similar problems on horizontal edges. The best way is QTGMC(), resize, then reinterlace.

    Code:
    QTGMC(preset="fast")
    Spline36Resize(new_width, new_height) # or other resizer
    Blur(0, 0.5) # optional deflickering
    SeparateFields()
    SelectEvery(4,0,3)
    Weave()
    Last edited by jagabo; 28th Aug 2016 at 08:12.
    Quote Quote  
  6. @Skiller: you are right iResize is probably the way to go )totally forgot about the offset
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  7. Member
    Join Date
    May 2016
    Location
    India
    Search Comp PM
    before cropping the video

    Click image for larger version

Name:	AVerRecord_160722_211522a.avi_snapshot_01.09_[2016.08.28_10.jpg
Views:	226
Size:	793.9 KB
ID:	38451

    here is the media info


    General
    Complete name : C:\Users\Gankum\Videos\ _160722_211522a.avi
    Format : AVI
    Format/Info : Audio Video Interleave
    File size : 1.31 GiB
    Duration : 13 s 560 ms
    Overall bit rate : 831 Mb/s

    Video
    ID : 0
    Format : YUV
    Codec ID : YUY2
    Codec ID/Info : YUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel
    Duration : 13 s 560 ms
    Bit rate : 829 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:2
    Compression mode : Lossless
    Bits/(Pixel*Frame) : 16.000
    Stream size : 1.31 GiB (100%)
    Quote Quote  
  8. More garbage downloaded from some idiot that doesn't know what he's doing. No one, Indian or otherwise, produces 1920x540 movies. And it's a movie, right? It's not true interlaced video but most likely field blended and you don't need to know how to resize interlaced video but how to unblend it. How about a video sample this time?
    Quote Quote  
  9. And try to include something of know aspect ratio -- like a tire viewed directly from the side, a large ball near the center of the screen, etc.
    Quote Quote  
  10. Member
    Join Date
    May 2016
    Location
    India
    Search Comp PM
    hi manono,

    here is the sample video
    Image Attached Files
    Quote Quote  
  11. Your image is obviously stretched horizontally. The active picture should "normally" be in the 800 - 816 range, not 540.
    Quote Quote  
  12. The video is obviously upscaled from standard definition. If you resize the image to 1440x1080 the aspect ratio looks about right. That would correspond to a widescreen movie in a 4:3 DAR SD frame, upscaled properly. If you then crop the top and bottom black bars you're left with 1440x680, a 2.11:1 aspect ratio. That's not a common movie aspect ratio so maybe it was zoomed a little from a 2.35:1 movie.

    The frames are interlaced but the content is progressive frames captured out of phase. Use TFM() to recombine the fields to make progressive frames. And follow up with vInverse() to remove residual comb artifacts (from compression artifacts).
    Quote Quote  



Similar Threads

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