"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > >Is there a way to get the length of a video clip (divix/xvid) in >seconds?
This is non-trivial. MPEG files do not have an index, so the only way to figure this out is to scan from the front of the file until you find a timestamp, then scan backwards from the end of the file until you find a timestamp, and subtract. You can also try to extract the bitrate from an early header and use arithmetic to get a good estimate. -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list