Log in

View Full Version : how do Sony DV camcorders encode frames? TFF or BFF


ou8thisSN
17th March 2006, 00:01
I have a Sony DCR-TRV103NTSC, its a Digital8 camcorder. I recently tried doing an encode using Procoder, but it asked if the source was TFF or BFF? How do i figure that out or do any of you know?

there was an answer about that in the FAQ but I couldnt figure out if what was seeing is right... please help

also, when making DVDs that are ... DVD compliant, i should set it to encode TFF right?

Guest
17th March 2006, 00:13
DV is BFF.

Encode your DVD BFF. Otherwise, you'll have to reverse the field dominance.

ou8thisSN
17th March 2006, 00:32
whoa, in the guides and other places, it says the frames are rarely ever BFF, and op in #doom9 even told me TFF

here's my script that i got from Fred Thompson:

#LoadPlugin("D:\Filter\DeGrainMedian.dll")
LoadPlugin("D:\Filter\RemoveGrainS.dll")
LoadPlugin("D:\Filter\RepairS.dll")
LoadPlugin("D:\Filter\SSEToolsS.dll")
Import("D:\Filter\DeHalo_alpha.avs")
Import("D:\Filter\LRemoveDust.avs")
aviSource("D:\Test Avi\test.avi")
ConvertToYV12(Interlaced=True)
SeparateFields()
#DeGrainMedian(limitY=2,limitUV=3,mode=1,interlaced=true)
DeHalo_Alpha()
LRemoveDust_YV12(10,1)
Weave()


based on this script, does this reverse field dominance? or should both settings on procoder be set to BFF ?

Guest
17th March 2006, 01:30
If your AVI is DV, then it is BFF.

Your script delivers BFF video.

Your encoder should be configured for BFF.

Video Dude
17th March 2006, 03:31
I don't know what guides you looked at, but the DV to DVD guide hosted by doom9 says that DV is bottom field first.


From the guide http://www.doom9.org/dv/guide.html:
The "Field order" is for interlaced sources only. DV should be "Bottom field first (field B)"


Also, since you are working with NTSC you should really be using the ReInterpolate411 filter. Place it as your first filter after AviSource.

DVDs can be either TFF or BFF.


If you really want to convert to TFF, you can add the line:
DoubleWeave().SelectOdd()
at the end of your script.

But I would leave the video bff and encode it bff.

ou8thisSN
17th March 2006, 04:58
why do i need ReInterpolate411? I used to use that before, but I no longer use it because i'm following someone else's updated script. Whats so integral about that function?

also, what do you all do when you encode with filters? do you do a pass as a loss less stream once in... lets say virtualdub, with your filters, then encode in CCE, HC, or whatever encoder you use? seems like this would save a lot of time.

Video Dude
17th March 2006, 05:32
From trbarry's homepage:
ReInterpolate411

This is a fast simple filter to correct the improper 4:1:1 => 4:2:2 conversion that seems to occur with some DV/4:1:1 codes when used with Avisynth.



I do all passes in CCE and leave it to encode overnight. I don't create a temp lossless file using virtualdub.

ou8thisSN
17th March 2006, 05:55
Whats the harm in creating a Lossless temp file? otherwise it would take me 36 hours to encode + clean in CCE. doing it this way takes only 10 hours total.

I dont see the downside...

bb
17th March 2006, 16:46
@ou8thisSN:
There is no downside in creating a lossless intermediate file regarding quality. It needs lots of hdd space, but it can save much time. But sometimes it can be slower than frameserving, too. It depends on your script (the filter chain used) and the number of passes.

bb

WorBry
20th March 2006, 15:50
The Matrox DV codec encodes/decodes TFF, but that's easily corrected with ReverseFieldDominance(). So far as I know, it's the only codec that does.