1) DV is stored as YV12. period.
2) the codec can output the video in those ways:
2a) leave it as it is: -> YV12 -> use converttoyuy2(interlaced=true) for a first aid to remove chroma-jaggyness.
YV12 output is one of the rare cases. ffdshow can do so.
2b) the codec upsamples to YUY2. (canopus)
but this is done in a very stupid way: pixel doubling.
this causes to the mentioned jaggyness, reinterpolate420() tries to eliminate
2c) the codec delivers YV12 upsampled to RGB24 (panasonic).
this upsampling is as stupid as the YUY2 one.
here you might use converttoyuy2() to get back to yuy2 and then apply reinterpolate420().
3) conclusion:
start with:
Code:
avisource("dv.avi").info()
if it is yv12, use converttoyuy2(interlaced=true), but do NOT use reinterpolate420()
if it is yuy2, just use reinterpooate420()
if it is rgb, then use
converttoyuy2().reinterpolate420()
got it now?