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.
+ Reply to Thread
Results 1 to 12 of 12
-
Last edited by yukukuhi; 28th Aug 2016 at 00:55.
-
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?
-
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
-> not sure if what you are asking for is really what you want to dousers currently on my ignore list: deadrats, Stears555, marcorocchini -
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.
-
And it produces terrible ringing artifacts on sharp horizontal edges.
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.
-
@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 -
before cropping the video
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%) -
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?
-
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.
-
Your image is obviously stretched horizontally. The active picture should "normally" be in the 800 - 816 range, not 540.
-
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).
Similar Threads
-
Still can't resize video
By steveeyes in forum Video ConversionReplies: 8Last Post: 16th Aug 2015, 20:44 -
avisynth: when I resize where is the interlaced flag?
By marcorocchini in forum Newbie / General discussionsReplies: 28Last Post: 24th Sep 2014, 04:55 -
How to resize a video
By adone56 in forum Newbie / General discussionsReplies: 1Last Post: 20th Apr 2014, 09:27 -
Resize a video to fit an in car video player
By _oldnich in forum Newbie / General discussionsReplies: 5Last Post: 15th Aug 2013, 14:30 -
Best way to resize a video to 16:9?
By Dr Gonzo in forum EditingReplies: 5Last Post: 27th Jun 2012, 08:00