View Full Version : Reinterpolate question.
Serbianboss
20th July 2006, 15:24
Can someone explain when need to use reinterpolate filter?
All my captures are DV avi interlaced,Pal(720x576).
And i am using Panasonic DV codec and somethimes Cedocida Dv codec(yuy2).
So my question is: Does i need to use reinterpolate filter when using Panasonic or cedocida dv codec(encoding in CCE). My finall output is DVD.
thanks
Boulder
20th July 2006, 17:34
Reinterpolate411() is for NTSC stuff only.
UltimAtomMAX
20th July 2006, 18:00
yes you can reinterpolate but with ReInterpolate420() which is for PAL, as ReInterpolate411() is for NTSC source
Boulder
20th July 2006, 18:19
Is that the same as scharfis_brain's ReYV12()? I see he's the author of Reinterpolate420() as well.
# revert PAL-DV to YV12 for speed and quality reasons;
# needs yuy2 input (ie. canopus-dv-decoder)
# BFF Mandatory (hint: DV-AVIs commonly are BFF)
function reYV12(clip i)
{ isyuy2(i) ? i : i.converttoyuy2()
yx=i.converttoyv12()
x=i.separatefields().assumeframebased().separatefields().selectevery(4,0,2).weave()
ux=x.utoy().converttoyv12()
vx=x.vtoy().converttoyv12()
ytouv(ux,vx,yx)
}
ADLANCAS
20th July 2006, 22:17
It seems that Cedocida doesn't need to use ReInterpolate411().
look here: http://forum.doom9.org/showpost.php?p=852648&postcount=3
IanB
21st July 2006, 03:43
@Serbianboss,
DV video has the chroma information subsampled with respect to the luma information. Many codecs get the algorithm wrong or use an inferior method when calculating the values for the missing chroma samples. Filters like Resample....() undo this incorrect processing and provide a more optimal result. Good codecs like Cedocida, thru the process of peer review, are known to be correct.
Serbianboss
21st July 2006, 09:24
So, for Pal standard isnt neccessary to work reinterpolate, but its neccessary fot NTSC?
Wilbert
22nd July 2006, 00:03
@Serbianboss,
Reinterpolate 411 (for NTSC) and Reinterpolate420 (for PAL) is *only* needed when you use the MainConcept DV codec. This codec pointsamples (duplicates) the chroma, and the filters replace the duplicate chroma samples by interpolated ones.
Of course you could have the corresponding documentation which says it is for the MainConcept codec. All other DV codecs use interpolation as far as i know.
Serbianboss
22nd July 2006, 11:25
@Serbianboss,
Reinterpolate 411 (for NTSC) and Reinterpolate420 (for PAL) is *only* needed when you use the MainConcept DV codec. This codec pointsamples (duplicates) the chroma, and the filters replace the duplicate chroma samples by interpolated ones.
Of course you could have the corresponding documentation which says it is for the MainConcept codec. All other DV codecs use interpolation as far as i know.
thanks for explanation.Everything is clear.
Fizick
22nd July 2006, 20:25
Wilbert,
there are not so many DV codecs :)
We may say, that for PAL only FFDShow, Cedocida and Sony do not need in Reinerpolate420 :)
http://forum.doom9.org/showthread.php?p=730233#post730233
stickboy
22nd July 2006, 20:56
Reinterpolate 411 (for NTSC) and Reinterpolate420 (for PAL) is *only* needed when you use the MainConcept DV codec.The version I used of Canopus's DV decoder seems to need it too (www.avisynth.org/stickboy/advc100-comparison).
Serbianboss
22nd July 2006, 21:26
Wilbert,
there are not so many DV codecs :)
We may say, that for PAL only FFDShow, Cedocida and Sony do not need in Reinerpolate420 :)
http://forum.doom9.org/showthread.php?p=730233#post730233
So for Panasonic DV need Reinerpolate420.
IanB
23rd July 2006, 09:28
To be sure of your data processing path. Break out some colour pencils and a sheet of white card. Rule vertical, diagonal and horizontal lines. Also some circles are instructive. Film it with your DV camcorder.
Use PointResize(Width()*8, Height()*8) to expose the individual pixels to your eye. Examine each coloured line to see how it is rendered. Be prepared for a shock as how horrible the 8X Zoomed results are, don't worry, you are looking at an unnatural image, zoomed up a lot. For each fault you find in the zoomed image try to find the fault when displayed on a TV screen at normal size, you will not be able to find most faults.
Try the various Reinterpolate filters to see the results with the few faults you actually were able to find unzoomed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.