def __init__(self, filename): file = open(filename, "rb") Atom.__init__(self, getFileSize(file), '', '', 0, file) self._set_children(parse_atoms(file, getFileSize(file)))
def __init__(self,mp4filename): ''' Constructor''' mp4file = open(mp4filename, "rb") FileSize= getFileSize(mp4file) print "FileSize",FileSize self.atoms = parse_atoms(mp4file,FileSize)
def __init__(self, filename): file = open(filename, "rb") self.atoms = parse_atoms(file, getFileSize(file)) AtomWithChildren.__init__(self, getFileSize(file), '', '', 0, file)