Deinterlacing and going from DV to HuffYuv with this script
SetMemoryMax(768)
SetMTMode(3, 4)
FFMpegSource2("sourcevideo.avi", atrack=-1)
ConverttoYv12(interlaced=true)
SetMtMode(2)
QTGMC (Preset="fast")
RemoveGrain (mode=17)
crop (8,0,-8,-8)
Seems to result in backwards fields - i.e. when you view frame by frame with Virtualdub you get the forward/back motion.
Any suggestions?
Thanks.
+ Reply to Thread
Results 1 to 8 of 8
-
-
Stick in an 'AssumeTFF()' or 'AssumeBFF()' after the FFMPEGSource2 line, whichever fixes it.
-
Last edited by sanlyn; 25th Mar 2014 at 13:03.
-
-
-
Th "DV" format is BFF, YV12. I see you are opening an "AVI". What encoder was used on the video inside the "AVI"? Is it DivX? XVid? Apparently you refer to an "AVI" with a losslessly compressed RGB or YUY2 video file inside of it, because those are the only two colorspaces that can be used with huffyuv compression. So there's no way you could go from "DV" to "huffyuv". Your original source might have been an AVI container, but it sure didn't have "DV" inside of it.
Last edited by sanlyn; 25th Mar 2014 at 13:03.
-
NTSC DV is internally YUV 4:1:1. What comes of the decoder depends on what the decoder and editor negotiate. In most cases it will be YUY2. Some decoders only output RGB (Panasonic DV Codec <-- never use this codec). PAL DV is internally YUV 4:2:0 and usually comes out as interlaced YV12.
Similar Threads
-
How can i Use VDub Script[.vcf] into Avisynth Script[.avs] ( Megui )
By Maskoff in forum EditingReplies: 1Last Post: 25th Jun 2013, 15:30 -
Should i use and avisynth script for Dv ?
By smartel in forum Newbie / General discussionsReplies: 0Last Post: 10th Mar 2012, 08:29 -
Need Help with My AviSynth Script
By Enkidu in forum Newbie / General discussionsReplies: 3Last Post: 21st Jan 2011, 21:37 -
[solved] Weaving different height fields (+-1px) in AviSynth?
By paprikajancsi in forum Video ConversionReplies: 1Last Post: 20th Jul 2010, 06:11 -
avs script giving me fits
By willmoodom in forum Newbie / General discussionsReplies: 32Last Post: 30th Sep 2009, 03:43