Exemple #1
0
 def __init__(self, file_name=None, data=None, new_track_id=None, new_default_sample_duration=None):
     MP4Filter.__init__(self, file_name, data)
     self.new_track_id = new_track_id
     self.new_default_sample_duration = new_default_sample_duration
     self.relevant_boxes = ['styp', 'moof', 'free', 'skip', 'sidx', 'mdat']
     self.composite_boxes = ['moof', 'moof.traf']
     self.ttml_length = None
 def __init__(self, file_name, offset=None):
     MP4Filter.__init__(self, file_name)
     self.offset = offset
     self.relevant_boxes = ["moof", "mdat"]
     self.moof_data = None
     self.traf_data = None
     self.trun_data = None
Exemple #3
0
 def __init__(self, file_name=None, data=None, new_track_id=None):
     MP4Filter.__init__(self, file_name, data)
     self.new_track_id = new_track_id
     self.relevant_boxes = ['ftyp', 'moov', 'free', 'skip']
     self.movie_timescale = None
 def __init__(self, file_name=None, data=None, new_track_id=None):
     MP4Filter.__init__(self, file_name, data)
     self.new_track_id = new_track_id
     self.relevant_boxes = ['ftyp', 'moov', 'free', 'skip']
     self.movie_timescale = None