Log in

View Full Version : Question about VideoInfoHeader2 deinterlace flags


diehardii
20th January 2005, 03:16
Hi guys,

I hope this gets to the right people, I can't get through to the xvid devel list. I'm writing a deinterlacing filter and I'm trying to deinterlace xvid video. However, the videoinfoheader2 deinterlacing flags report the video as progressive. I can deinterlace "progressive" video, but I've actually got my filter checking the flags to insure that doesn't happen. Does the decoder support the interlacing flags (or is it an encoder problem)? I'm using version 1.03 (I think) from Nic's.

~Steve

minolta
20th January 2005, 04:25
Try this version:
http://forum.doom9.org/showthread.php?s=&threadid=79350

Initially sets output format as 'progressive or bob' and then chooses once the video file is read. Ffdshow also correctly sets flags when Output->Overlay->Deint is checkmarked (http://celticdruid.no-ip.com/xvid/ffdshow).

Also, feel free to experiment with the default de-interlacers using vmr9 and graphedit. In vmr9 props, I can set PixelAdaptive, MedianFilter, Bob, or Weave (may depend on my vid card). Re-connect filter graph each time to take effect.

[p.s. To answer your previous 'project file corrupt' question, cvs converts text format of dsp/dsw files to unix-style. Convert back using unix2dos or other such programs. Anyway, I had to do this before they worked...]

diehardii
20th January 2005, 04:33
Hi Minolta,

Thanks for the hand. I can't use the alternative deinterlacers, since I'm doing image analysis before the renderer. It'll throw my edge detection to hell if I don't deinterlace first:) . So I've implemented kerneldeint for dshow. While I like ffdshow, the odds of it ever being out of alpha are... small, so I can't use that. My code base is small enough that I can be fairly confident of stability. Thanks for the help and I'll let you know if it works.

~Steve