Log in

View Full Version : Avisynth makes my video "pre-deinterlaced"


Plub
2nd November 2004, 19:08
I don't know how to call it, so i'll call it "pre-deinterlaced"
Avisynth version 2.55
DVD2AVI versions: Several, 1.76-1.77-dg
MPEG2ENC3: the one from the warpfilter-page (also tried the mpegsource plug-in)

Whats the problem:
When i open my movie (TV-Capture, PAL) in Virtualdub, everthing is ok, the movie is interlaced, i can see the lines(the nice red lines):
http://img73.exs.cx/img73/273/lines4.th.jpg (http://img73.exs.cx/my.php?loc=img73&image=lines4.jpg)

But when I use Avisynth

LoadPlugin("MPEG2Dec3.dll")
v=mpeg2source("Pro7 (10 09 pm).mpg")
a=DirectShowSource("pro7 MPA T01 DELAY 0ms.mpa")
AudioDub(v, a)


the lines get thick and a bit green (like "pre-deinterlaced" but the movie is still interlace, when i use tomsmocomp the picture looks very worth):
http://img73.exs.cx/img73/6132/linest.th.jpg (http://img73.exs.cx/my.php?loc=img73&image=linest.jpg)

scharfis_brain
2nd November 2004, 19:12
for previewing the video correctly with vdub

add this line to the very end of your script:

converttorgb(interlaced=true)

this previewing error is caused by the YV12 - chroma

Plub
2nd November 2004, 20:26
thanks for solving my problem :D

Mug Funky
3rd November 2004, 04:30
just bear in mind that you'll probably want to feed your codec with YV12, as converting to RGB will blur things slightly. use it only for previewing, or just leave it out altogether and have faith that avisynth is handling things properly.

however, if you're encoding with "full processing mode" you'll probably need to convert to rgb in avisynth. bear in mind you should have "fast recompress" on at all times unless you're actually using virtualdub filters.

Chainmax
4th November 2004, 22:37
Isn't there a way to use vdub filters in avisynth, making it possible to always use fast recompress?