Log in

View Full Version : how do I know an avi file is interlace or progessive ?


adrianmak
19th July 2006, 01:21
I ve an avi file framerate is 29.97 and going to re-encode to other format, how do I know it is a interlace or progressive content ?

Guest
19th July 2006, 01:56
What is the AVI and how did you make it?

smok3
19th July 2006, 02:39
use this script, and comment out line 4 once and line 5 the second time, open each version in vdub and move frame by frame, if the motion is jumping backwards in one of the versions then the field order is the opposite version, if it not jumping in any version then it must be progressive.

directshowsource("yourfile.avi")
# open this and see if the motion is progresing to determine if
# field order is bottom first, or top first
AssumeBFF().SeparateFields()
#AssumeTFF().SeparateFields()

LocalH
19th July 2006, 03:29
You can also see both versions at once if you modify that script somewhat. Do something like this:

src=DirectShowSource("yourfile.avi") # AVISource may work here as well, depending on the codec
b=AssumeBFF(src).SeparateFields().AddBorders(0,0,0,8) # the AddBorders is to put a bit of black inbetween the two clips
t=AssumeTFF(src).SeparateFields()
StackVertical(b,t)
Same result guidelines as smok3 stated, but it saves you having to open each one separately.

Awatef
19th July 2006, 15:35
If you don't see anything like this: (spiky horizontal lines when objects move):
http://img68.imageshack.us/img68/6015/interlacedoq8.th.jpg (http://img68.imageshack.us/my.php?image=interlacedoq8.jpg)
Then your video is progressive.

adrianmak
19th July 2006, 23:36
What is the AVI and how did you make it?

The AVI is got from my friend from japan. He recorded a HD TV programme 1920x1080i and convert to 1280x720 Divx avi.

I used LocalH posted script, the avi is a progessive video.

thanks!!!

Guest
19th July 2006, 23:47
The AVI is got from my friend from japan. He recorded a HD TV programme 1920x1080i and convert to 1280x720 Divx avi. That means you are violating our forum rule 6.

http://forum.doom9.org/forum-rules.htm

Kostarum Rex Persia
20th July 2006, 01:56
How do you know, neuron2, that his AVI file is illegal? Does that mean that we can't record HDTV material al all?

LocalH
20th July 2006, 02:27
He says that because the AVI was sent from a friend in Japan. Personally, I think rule 6 is sometimes enforced too stringently here, but rules are rules and if you want to post here, you've got to follow them.

Guest
20th July 2006, 03:23
How do you know, neuron2, that his AVI file is illegal? Does that mean that we can't record HDTV material al all? This is not the place to challenge moderation decisions. Struck for rule 3.