Log in

View Full Version : How to deblend a resized and not deinterlaced video ?


Music Fan
23rd August 2010, 15:45
Hi,
I have some videos that I have badly encoded a few years ago (when I didn't know that we couldn't resize an interlaced video :rolleyes: ), and I would like to reencode it to remove the blending.
I found "RemoveBlend" but it's 6 years old (I guess there's better now) and I don't understand if it's done for telecined video (generally 24p to 60i then badly encoded in 25p) or also for 50i to 50i with a resize, thus without frame rate changing (which is my case).
Here is how i did ;
source#mpeg2 Pal 50i
crop#if needed
lanczosresize
addborders#if needed

Now I do that (as I like to keep the original frame rate's fluidity) ;
mpeg2source("L:\video.d2v")
tdeint(mode=1)#50i to 50p
converttoyuy2()
crop(x)
lanczosresize(x,x)
addborders(x)
assumetff()
separatefields()
selectevery(4,0,3)
weave()#50i again

Why did I resized these videos ? Generally to make interlaced Xvid (with a lower resolution than the original mpeg-2 video because of the square pixel and the maximum size of 720.540 for 4/3) or to transform letterbox 16/9 in anamorphic 16/9 (higher resolution in mpeg-2).

What can I do to remove the blending due to my old bad encoding ?
:thanks:

Guest
23rd August 2010, 15:54
It's ruined. You cannot fix it. Re-rip your DVDs and start over.

Music Fan
23rd August 2010, 15:58
It was not dvds but tv-shows that I recorded with an Hauppauge capture device. I haven't anymore the original mpeg-2 files.:(
I believed that this kind of repair was possible with avisynth.
Why can't removeblend or anything else do this ?
I see so many incredible things with avisynth, I'm astonished that it's not possible.
Anyway, thanks for your fast response !

Guest
23rd August 2010, 16:14
You don't have clean versions of the fields that were blended.

Music Fan
23rd August 2010, 17:15
But what's supposed to do Removeblend if it needs clean versions of the fields ? In which case is it used ?

Guest
23rd August 2010, 17:50
You'll need to do some research on how unblending works.

Music Fan
23rd August 2010, 17:56
That's what I'm doing on this forum.