Log in

View Full Version : determining frame type (e.g. in mpg2dec)


lark
27th August 2004, 14:44
hi,
is there any filter that would allow determination of the frame type of the source?

i'd like to have script, that would only output keyframes (of a XviD or DivX AVI) and preferably add (original) framenumbers to those. if i just could get the frametype as attribute that could be accessed in avisynth...

or do i have to do it the hard way:
- load avi to drfanalyzer
- save export analysis
- decode the binary
- generate an avs that selects only key frames from the source

any help or hints appreciated!

regards
t :)

Wilbert
27th August 2004, 15:16
http://www.avisynth.org/warpenterprises/ -> XStatImport

I guess it works only for XviD.

lark
27th August 2004, 16:32
thanks a 1000000.
i think i can do the trick with that one.

supporting only xvid is not a problem atm.

regards
t :)