Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Vdub 1.10.2 - Field Filter Flip Image Vertically


Posted by: freezer Nov 28 2012, 11:14 AM
I was trying to fiddle with the fields of a video (TFF to BFF) when I discoverd, that all vdub filters "field swap", "field delay" and so on, flip the image.
Input is an AVI Cineform 1440x1080i PAR 1,333, TFF.
3D accel on or off doesn't matter.

A filter like "Deinterlace" works as expected.

Hardware:
Intel i7-980 Hex, 24 GB Ram, EVGA nVidia GTX580 3GB with latest drivers.
OS: Win 7 64bit, with all the latest patches and SP

VirtualDub 1.10.2 32bit

Posted by: phaeron Dec 2 2012, 11:58 PM
Does the 1.10.3 test version in the testing/beta forum work for you? It has fixes for some regressions (this was triggered by a sweep I did to modernize a bunch of the older filters).

Posted by: freezer Dec 9 2012, 12:33 PM
Thanks for the suggestion with the new beta.
Unfortunately it did not solve the bug.

I have done some further investigation. The problem seems to be related to external codecs. It does not happen, when VDub is using its internal codec like the built-in DV codec.
Resolution of the source file doesn't matter, it happens with SD video as well as with HD.
I can reproduce the flipping with Cineform and Lagarith codecs (haven't tried others).
I tried it on my custom build postpro workstation mentioned above, on my laptop (HP EliteBook 8540w), and on my old postpro workstation with Vista 64. All are using nVidia gfx cards.

I can prevent the vertical image flip, if I put a resize filter in the process chain before the field swap filter - it just has to sit there, it doesn't have to resize anything.

It seems that the bug was introduced into VDub 1.10.x, as I tried an older built 1.9.6 which doesn't have the flipping bug.

I have prepared a testclip for you:
http://www.loom.co.at/private/lbk/Testclip_-_interlaced_HD.rar (161 MByte, Cineform)

Please use the free Cineform decoder, available here:

http://cineform.com/gopro-cineform-decoder

Posted by: freezer Dec 9 2012, 04:31 PM
Just found an additional condition where the image will be flipped:
Using the deinterlace filter set to duplicate fields will also flip the image!

Posted by: phaeron Dec 17 2012, 01:18 AM
The bug has to do with 24-bit RGB input and specific filters -- if the input format is set to 32-bit RGB or a YCbCr format, you won't see this. Other filters that operate in different modes can change the format before it gets to the problematic filter, hiding the issue.

1.10.3-test13 has fixes -- try it out. Out of the field filters, only field swap showed issues for me, so if you're still seeing problems with those filters after the fixes there must be something I'm missing.

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)