![]() |
libgpac
Documentation of the core library of GPAC
|
Core tools for libgpac. More...
Topics | |
| Structure Wrappers | |
| Python Structures. | |
| libgpac core tools | |
| FileIO tools for libgpac. | |
Functions | |
| python.libgpac.libgpac.e2s (err) | |
| convert error value to string message | |
| python.libgpac.libgpac.init (mem_track=0, profile=None) | |
| initialize libgpac - see gf_sys_init | |
| python.libgpac.libgpac.close () | |
| close libgpac - see gf_sys_close | |
| python.libgpac.libgpac.set_logs (logs, reset=False) | |
| set log tools and levels - see gf_log_set_tools_levels | |
| python.libgpac.libgpac.sys_clock () | |
| get clock - see gf_sys_clock | |
| python.libgpac.libgpac.sys_clock_high_res () | |
| get high res clock - see gf_sys_clock_high_res | |
| python.libgpac.libgpac.set_args (args) | |
| set libgpac arguments - see gf_sys_set_args | |
| python.libgpac.libgpac.set_rmt_fun (callback_obj) | |
| set profiler (Remotery) callback - see gf_sys_profiler_set_callback | |
| python.libgpac.libgpac.rmt_log (text) | |
| send message to profiler (Remotery) - see gf_sys_profiler_log | |
| python.libgpac.libgpac.rmt_send (text) | |
| send message to profiler (Remotery) - see gf_sys_profiler_send | |
| python.libgpac.libgpac.rmt_on () | |
| check if profiler (Remotery) sampling is enabled - see gf_sys_profiler_sampling_enabled | |
| python.libgpac.libgpac.rmt_enable (value) | |
| enable or disable sampling in profiler (Remotery) - see gf_sys_profiler_enable_sampling | |
| python.libgpac.libgpac.sleep (value) | |
| sleep for given time in milliseconds | |
| e2s | ( | err | ) |
| err | gpac error code (int) |
| init | ( | mem_track = 0, | |
| profile = None ) |
| mem_track | |
| profile |
| close | ( | ) |
| set_logs | ( | logs, | |
| reset = False ) |
| logs | |
| reset | if true, resets all logs to default |
| sys_clock | ( | ) |
| sys_clock_high_res | ( | ) |
| set_args | ( | args | ) |
| args | list of strings, the first string is ignored (considered to be the executable name) |
| set_rmt_fun | ( | callback_obj | ) |
| callback_obj | object to call back, must have a method on_rmt_event taking a single string parameter |
| rmt_log | ( | text | ) |
| text | text to send |
| rmt_send | ( | text | ) |
| text | text to send |
| rmt_on | ( | ) |
| rmt_enable | ( | value | ) |
| value | enable or disable sampling |
| sleep | ( | value | ) |
| value | time to sleep |