Log in

View Full Version : converttoYUY2 after avisynth filtering?


jkwarras
26th November 2003, 17:34
Hi,

I'm cleaning one shortfilm i've shoot in DV. I filter it with avisynth 2.5 with ConerttoYV12() in order to get plugins work. Do i have to convert back to YUY2 (original DV colospace) or isn't necessary?

jkwarras
27th November 2003, 12:12
OK, i've just finish the encode. output colorspace is YV12, i can see it trought ffdshow if i let ffdshow decode DV. I can send it to a DV tape without problem. I didn't even know that DV supported YV12, maybe not and the decoder just convert it to YUY2 on-the-fly. I hope i'm not losing too much information with this conversion, i really try to don't lose as much as posible.

YUY2(DV)-->YV12(avisynth)-->YV12(DV avi to DV tape:change colospace?)

So, i think i only do a colospace conversion from YUY2 to YV12.

BTW, avisynth filters do magic with DV footage: remove noise (mipsmooth, temporal cleaner and/or fluxsmooth) and preserv some details (unfilter and msharpen) and quite a good one i've found AddGrain (add random noise to video: good film look).

Tha addgrain was asurprise to me, until yesterday i've used After Effects to add film grain to DV footage, but this filter is much faster and do the same job, i wil say is an "standard" film look, just set the amount of grain and your done. I will love to see more filters like that in avisynth, but i assume is quite difficult. Diggieffects film look/grain are very good in adding grain that look very much like film (and that adapt to the image (much "fisical" and natural grain look), not like the standard one that seems to be just in the surface of the image (just add on top of it)) but they're just damn slow. Some filters to change color like those build-in in After efffects or in Digieffects would be also very helpful.

Well, i get off topic and talkin to myself :D

regards

bb
27th November 2003, 20:03
I guess the decoder converts to YUY2, but that's not a problem, because you lose color information in the YUY2->YV12 step, not in the YV12->YUY2 step.

bb

Edit: typo corrected.

jkwarras
27th November 2003, 23:05
Originally posted by bb
because you lose color information in the YV12->YUY2 step, not in the YV12->YUY2 step.


¿? :p Do you mean in the YUY2-->YV12? I think ConvertbacktoYUY2() is losless (according to avisynth documentation).

bb
28th November 2003, 10:25
Sorry, I corrected the typo.

bb