![]() |
libgpac
Documentation of the core library of GPAC
|
Topics | |
libgpac core tools | |
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_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 | |
Core tools for libgpac.
python.libgpac.libgpac.e2s | ( | err | ) |
err | gpac error code (int) |
python.libgpac.libgpac.init | ( | mem_track = 0, | |
profile = None ) |
mem_track | |
profile |
python.libgpac.libgpac.close | ( | ) |
python.libgpac.libgpac.set_logs | ( | logs, | |
reset = False ) |
logs | |
reset | if true, resets all logs to default |
python.libgpac.libgpac.sys_clock | ( | ) |
python.libgpac.libgpac.sys_clock_high_res | ( | ) |
python.libgpac.libgpac.set_args | ( | args | ) |
args | list of strings, the first string is ignored (considered to be the executable name) |
python.libgpac.libgpac.set_rmt_fun | ( | callback_obj | ) |
callback_obj | object to call back, must have a method on_rmt_event taking a single string parameter |
python.libgpac.libgpac.rmt_send | ( | text | ) |
text | text to send |
python.libgpac.libgpac.rmt_on | ( | ) |
python.libgpac.libgpac.rmt_enable | ( | value | ) |
value | enable or disable sampling |
python.libgpac.libgpac.sleep | ( | value | ) |
value | time to sleep |