View Full Version : Changing Field Dominance
Coqrogue
15th March 2006, 16:53
My TV-card captures with the upper field as the dominant field and I would like to change that to be the bottom field as the dominant when processing with AviSynth and VDub.
I have tried to use "SwapFields" and I have also tried "AssumeFrameBased.ComplementParity".
With the last one it seemed like the scan lines had been moved up or down a bit on the PC but it looked ok on the TV, though I think that there could have been a slightly sharper picture. I tried to shift the scan lines up and/or down with Field Bob filter in VDub but that didn't improve anything.
Anyone have any other suggestions or corrections?
/Coqrogue
communist
15th March 2006, 17:04
Is there any special reason why you need it to be BFF? Unless you want to encode to DV you can keep it TFF.
Anyway you can use ReverseFieldDominance - which can be found here: http://www.avisynth.org/warpenterprises/
Coqrogue
15th March 2006, 18:11
Hi Communist!:)
Feels good that you are here to solve my problems!:D
The reason why I want it to be BFF is that I encode in Encore from AVI to MPEG on the Automatic setting, which I think is great since it maximizes the bitrate in the project, but the encoder has the Lower Field chosen and since my clips are Upper Field dominated I would like to change the field dominance to Lower so I can use the Automatic setting as before.
I can't find which settings Encore uses for the Automatic encoding so I have tried one of the presets and only changed the field order from Lower to Upper.
It was a "4 MB 2-Pass High Quality" setting but the Automatic setting used only 1-Pass, which would be preferable for me for time reasons.
I'm gonna try the ReverseFieldDominance you suggested!
Thank you!:D
Coqrogue
15th March 2006, 19:34
Okay, got the ReverseFieldDominance filter.
Are there any parameters I should set or can I just use it with the default?
ReverseFieldDominance()
/C
neuron2
15th March 2006, 20:00
Are there any parameters I should set or can I just use it with the default? You can use the default. There is one boolean parameter that defines whether the dominance is changed by shifting the picture up one line or down one line.
DoubleWeave.SelectOdd
or
StackVertical(Crop(0,1,0,0),Crop(0,Height-2,0,1)) # need YUY2
or
StackVertical(Crop(0,1,0,1),Crop(0,0,0,-1)) # need YUY2
jmac698
17th March 2006, 02:12
You can always use restream to fix your encoded mpeg's as well.
stickboy
17th March 2006, 03:12
My JDL_ReverseFieldDominance function (http://www.avisynth.org/stickboy/) is another way to do it.
Coqrogue
17th March 2006, 16:20
Thanks for your replys!:thanks:
I tried both the Avisynth and VirtualDub plugins and they both worked excellent with great results.
One other thing: Can I expect the audio to sync out when using long clips (1-2 hours)?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.