Module Expr Str ImportFrom alias alias ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad NameLoad Str attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign NameStore Num While CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr orelse AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd NameStore NameLoad If AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str body Expr Str If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore BinOpAdd Call NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num orelse Assign NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list decorator_list
N/A N/A Filter MP4 files and produce modified versions.

The filter is streamlined for DASH or other content with one track per file.
 structops str_to_uint32 uint32_to_str MP4FilterError N/A BaseException N/A N/A Error in MP4Filter or subclass. N/A MP4Filter N/A object N/A N/A Base class for filters.

    Call filter() to get a filtered version of the file. __init__ N/A N/A self filename data N/A None None N/A N/A N/A self filename filename N/A N/A filename None N/A N/A N/A self data N/A N/A N/A open filename rb read N/A N/A N/A self data data N/A N/A self emsg None N/A N/A self output N/A N/A self top_level_boxes_to_parse N/A N/A N/A self composite_boxes_to_parse N/A N/A N/A self next_phase_data N/A N/A N/A self nr_iterations_done 0 N/A check_box N/A N/A self data N/A N/A N/A Check the type of box starting at position pos. N/A size N/A str_to_uint32 N/A data N/A 4 N/A boxtype N/A data N/A 4 8 N/A N/A size boxtype N/A filter N/A N/A self N/A N/A N/A Top level box parsing. The lower-level parsing is done in self.filter_box().  N/A N/A self output N/A pos 0 N/A N/A pos N/A len N/A self data N/A N/A N/A size boxtype N/A N/A self check_box N/A N/A self data N/A pos N/A pos 8 N/A boxdata N/A N/A self data N/A pos N/A pos size N/A N/A boxtype N/A self top_level_boxes_to_parse N/A N/A N/A self output N/A N/A self filter_box boxtype boxdata N/A len N/A self output N/A N/A N/A self output boxdata N/A pos size N/A N/A self next_phase_data N/A N/A N/A self nr_iterations_done 1 N/A N/A self data N/A self output N/A N/A self output N/A N/A self filter N/A N/A N/A self finalize N/A N/A self output N/A filter_box N/A N/A self boxtype data file_pos path N/A N/A N/A Filter box or tree of boxes recursively. N/A N/A boxtype moof N/A N/A N/A self moof_start file_pos N/A N/A N/A boxtype mdat N/A N/A N/A self mdat_start file_pos N/A N/A path N/A N/A path boxtype N/A N/A path N/A %s.%s N/A path boxtype N/A N/A boxtype N/A self composite_boxes_to_parse N/A N/A output N/A data N/A 8 N/A pos 8 N/A N/A pos N/A len data N/A N/A N/A child_size child_box_type N/A N/A self check_box N/A data N/A pos N/A pos 8 N/A output_child_box N/A N/A self filter_box child_box_type N/A data N/A pos N/A pos child_size N/A file_pos pos path N/A output output_child_box N/A pos child_size N/A N/A N/A len output N/A len data N/A N/A output N/A N/A uint32_to_str N/A len output N/A output N/A 4 N/A N/A method_name N/A process_%s boxtype N/A method N/A getattr self method_name None N/A N/A method None N/A N/A output N/A method data N/A N/A output data N/A output N/A finalize N/A N/A self N/A N/A N/A Do any final adjustments, if needed. N/A N/A N/A