Gst.Format

Standard predefined formats

Format.UNDEFINED

undefined format

Format.DEFAULT

the default format of the pad/element. This can be samples for raw audio, frames/fields for raw video (some, but not all, elements support this; use @GST_FORMAT_TIME if you don't have a good reason to query for samples/frames)

Format.BYTES

bytes

Format.TIME

time in nanoseconds

Format.BUFFERS

buffers (few, if any, elements implement this as of May 2009)

Format.PERCENT

percentage of stream (few, if any, elements implement this as of May 2009)