#90 YV12 DoubleWeave Problems

v2.5x
closed-fixed
Ian Brabham
Internals (76)
5
2005-01-21
2003-09-16
Kevin Atkinson
No

DoubleWeave does not work correctly in the YV12 color
space. In particular it is getting the chroma wrong.

The attached test case demenstrates the problem. By
comparing the output of DoubleWeave on YV12 and YUY2.
Look at the leaves in frame 3 for instance.

Discussion

  • Klaus Post
    Klaus Post
    2003-09-17

    Logged In: YES
    user_id=578300

    I'm getting a 404 :(

     
  • Kevin Atkinson
    Kevin Atkinson
    2003-09-17

    Logged In: YES
    user_id=6591

    Try it now.

     
  • Logged In: YES
    user_id=591008

    I'm not sure how to solve it yet, but the pb is as follows:

    c = avisource("your clip")
    w1 = c.converttoyv12(interlaced=true).separatefields.doubleweave
    w2 = c.converttoyv12(interlaced=true).doubleweave
    stackhorizontal(w1,w2)

    for some results the result of the second frame is
    different. I guess that perhaps the field order of the
    second clip changes during applying doubleweave (ie field
    order is swapped when applying doubleweave before merging
    the fields together again).

    btw, note that converttoyv12 upsamples progressively (which
    is wrong for the combed frame). But, that's a separate issue.

     
  • Ian Brabham
    Ian Brabham
    2005-01-21

    • labels: --> Internals
    • assigned_to: nobody --> ianb1957
    • status: open --> closed-fixed
     
  • Ian Brabham
    Ian Brabham
    2005-01-21

    Logged In: YES
    user_id=673887

    Offset code for Chroma weaving missing.

    Fix in CVS, 21st Jan, new build next week, maybe ;)

    IanB