Log in

View Full Version : tff or bff


thegame
28th September 2006, 23:57
can someone tell me how I would determine which order to encode in with CCE,how will I know which to use Top Field first or Bottom Field first?
for these examples:
Laserdisc captures? i believe is top.
DVD rips? not sure.
and Hi-Def .ts files,but the hi-def files I run this on them first:
doubleweave()
pulldown(0,3)
and then re-size obviously for DVD.

thanks for any and all help
game

Trahald
29th September 2006, 00:30
http://forum.doom9.org/showthread.php?p=315639#post315639 from the cce faq explains one way to check for field dominance

manono
29th September 2006, 10:02
Hi-

If you're asking how to determine the field order, if it can be opened in DGIndex (most MPEG1/2 streams including elementary streams, program streams, VOBs, VCDs, SVCDs, PVA files, and transport streams), just run the Preview and it tells you. For those, AVIs and other kinds of video, from the DecombTutorial:
Step 1. Determine and Set the Field Order

It is essential to set the field order properly for correct rendering. The field order is obtained from Avisynth and can be set using the AssumeTFF() or AssumeBFF() functions in your script before invoking Telecide(). Set AssumeTFF() for top field first; use AssumeBFF() for bottom field first. Because setting it correctly is so important, you are strongly encouraged not to make assumptions about the field order of a clip, but rather to verify the field order using the following procedure.

To determine the field order, make an Avisynth script that serves the raw clip without any processing. If it were an AVI, then just AviSource() would be used. For our examples, we'll use AviSource(). Add a script line to separate the fields using top field first, as follows:

AviSource("your_clip.avi")
AssumeTFF().SeparateFields()
Now serve the script into VirtualDub and find an area with motion. Single step forward through the motion. Note whether the motion progresses always forward as it should, or whether it jumps back and forth as it proceeds. For example, if the field order is wrong, an object moving steadily from left to right would move right, then jump back left a little, then move right again, etc. If the field order is correct, it moves steadily to the right.

If the motion is correct with AssumeTFF().SeparateFields(), then your field order is top field first and you must use AssumeTFF(). If the motion is incorrect, then your field order is bottom field first and you must use AssumeBFF(). If you want to double check things, you can use AssumeBFF.SeparateFields() to check correct operation for bottom field first.

Let's assume we have a top field first clip in the following steps. You would of course use the correct field order for your clip. So far, then, our script is as follows:

AviSource("your_clip.avi")
AssumeTFF()
Telecide()

thegame
29th September 2006, 22:26
thanks a bunch guys,you really helped out.
game