![]() |
libgpac
Documentation of the core library of GPAC
|
filter object
Inheritance diagram for libgpac.Filter:Public Member Functions | |
| def | remove (self) |
| remove this filter - see gf_filter_remove More... | |
| def | update (self, name, value) |
| send option update to this filter - see gf_fs_send_update More... | |
| def | set_source (self, f, link_args=None) |
| set a given filter as source for this filter - see gf_filter_set_source More... | |
| def | set_source_restricted (self, f, link_args=None) |
| set a given filter as restricted source for this filter - see gf_filter_set_source_restricted More... | |
| def | insert (self, f, link_args=None) |
| insert a given filter after this filter - see gf_filter_set_source and gf_filter_reconnect_output More... | |
| def | ipid_prop (self, idx, prop_name) |
| get an input pid property by name More... | |
| def | ipid_enum_props (self, idx, callback_obj) |
| enumerate an input pid properties More... | |
| def | opid_prop (self, idx, prop_name) |
| get an output pid property by name More... | |
| def | opid_enum_props (self, idx, callback_obj) |
| enumerate an output pid properties More... | |
| def | ipid_source (self, idx) |
| gets the filter at the source of an input pid More... | |
| def | opid_sinks (self, idx) |
| gets the list of destination filters of an output pid More... | |
| def | all_args (self) |
| gets all defined options / arguments for a filter More... | |
| def | get_info (self, prop_name) |
| gets a property info on a filter - see gf_filter_get_info and gf_filter_get_info_str More... | |
| def | get_statistics (self) |
| Gets the statistics of a filter - see gf_filter_get_stats. More... | |
| def | require_source_id (self) |
| enforces sourceID to be present for output pids of this filter - see gf_filter_require_source_id More... | |
| def | bind (self, object) |
| binds a given object to the filter More... | |
Static Public Attributes | |
| name | |
| name of the filter, readonly - see gf_filter_get_name | |
| ID | |
| ID of the filter, readonly - see gf_filter_get_id. | |
| nb_ipid | |
| number of input pids for that filter, readonly - see gf_filter_get_ipid_count | |
| nb_opid | |
| number of output pids for that filter, readonly - see gf_filter_get_opid_count | |
| def libgpac.Filter.remove | ( | self | ) |
| def libgpac.Filter.update | ( | self, | |
| name, | |||
| value | |||
| ) |
| name | name of option (string) |
| value | value of option (string) |
| def libgpac.Filter.set_source | ( | self, | |
| f, | |||
link_args = None |
|||
| ) |
| f | source Filter |
| link_args | link options (string) |
| def libgpac.Filter.set_source_restricted | ( | self, | |
| f, | |||
link_args = None |
|||
| ) |
| f | source Filter |
| link_args | link options (string) |
| def libgpac.Filter.insert | ( | self, | |
| f, | |||
link_args = None |
|||
| ) |
| f | Filter to insert |
| link_args | link options (string) |
| def libgpac.Filter.ipid_prop | ( | self, | |
| idx, | |||
| prop_name | |||
| ) |
| idx | index of input pid |
| prop_name | name of property |
| def libgpac.Filter.ipid_enum_props | ( | self, | |
| idx, | |||
| callback_obj | |||
| ) |
| idx | index of input pid |
| callback_obj | callback object to use, must have a 'on_prop_enum' method defined taking two parameters, prop_name(string) and propval(property value) |
| def libgpac.Filter.opid_prop | ( | self, | |
| idx, | |||
| prop_name | |||
| ) |
| idx | index of output pid |
| prop_name | name of property |
| def libgpac.Filter.opid_enum_props | ( | self, | |
| idx, | |||
| callback_obj | |||
| ) |
| idx | index of output pid |
| callback_obj | callback object to use, must have a 'on_prop_enum' method defined taking two parameters, prop_name(string) and propval(property value) |
| def libgpac.Filter.ipid_source | ( | self, | |
| idx | |||
| ) |
| idx | index of input PID |
| def libgpac.Filter.opid_sinks | ( | self, | |
| idx | |||
| ) |
| idx | index of output PID |
| def libgpac.Filter.all_args | ( | self | ) |
| def libgpac.Filter.get_info | ( | self, | |
| prop_name | |||
| ) |
| prop_name | property to query |
| def libgpac.Filter.get_statistics | ( | self | ) |
| def libgpac.Filter.require_source_id | ( | self | ) |
Here is the call graph for this function:| def libgpac.Filter.bind | ( | self, | |
| object | |||
| ) |
Binds the given object to the underlying filter for callbacks override - only supported by DASH demuxer for the current time
For DASH, the object must derive from or implement the methods of the DASHCustomAlgorithm class:
| object | object to bind |