Log in

View Full Version : Progressive - Interlace Detection


Rockas
6th March 2006, 23:05
Ok... I've used the serach and I found this question a lot but no final answers!?!

Is there any CLI application that can give the info about MPEG/AVI video type? Progressive or Interlaced?

Is there anyway to get that info to use on an application?

Thank you.

Rockas
7th March 2006, 01:16
ok... I guess I found a (complicated :D) way for mpeg files but I'm still missing AVI files... any clues?

Thank you.

Guest
7th March 2006, 05:54
It shouldn't be different for MPEG and AVI. Either way, you have to inspect the actual video content, because MPEG flagging often lies, and AVI flagging is nonexistent.

In both cases, you have to run a metric over the uncompressed video to know if it is "really" interlaced content or not.

Rockas
7th March 2006, 13:51
Well... I'm not that good :)
I was hoping that some kind of CLI application could do it :(
I need this info for my Avisynth based Video Editor... it is mainly to edit home video captures (mpeg or AVI (DV)) and I was hoping to find a way of knowing it to help newbies... that way they wouldn't have to choose "interlaced or progressive" on the Encode step.

Are you sure that there isn't any CLI App that can do it?
I thought the only app that was missing was the one that can make a cup of coffee :D

I know that would be easy if I knew any programming language besides VB...

communist
8th March 2006, 14:53
There was a discussion about this - I dont know if it got far / is very reliable or works etc. but you can read the thread here:
http://forum.doom9.org/showthread.php?t=104760

Wilbert
8th March 2006, 16:05
http://www.avisynth.org/mediawiki/wiki/Interlace_detection

Rockas
8th March 2006, 23:12
Thanks guys :D
I'll give it a try :)