![]() |
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. | |
Data Structures | |
| class | python.libgpac.libgpac.RMTClient |
| RMTClient object representing a websocket client will be passed as parameter on rmt_ws callbacks. More... | |
| class | python.libgpac.libgpac.RMTHandler |
| RMTHandler object handling the callbacks for rmtws events. More... | |
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.enable_rmtws (enable=True) | |
| enables websocket monitoring server | |
| python.libgpac.libgpac.enable_userws (enable=True) | |
| enables the user websocket server | |
| python.libgpac.libgpac.set_rmt_handler (callback_obj) | |
| set the handler for rmt_ws | |
| python.libgpac.libgpac.set_userws_handler (callback_obj) | |
| set the handler for the user websocket server | |
| python.libgpac.libgpac.sleep (value) | |
| sleep for given time in milliseconds | |
Variables | |
| bool | python.libgpac.libgpac.numpy_support |
| set to True if numpy was successfully loaded | |
| python.libgpac.libgpac._libgpac | |
| ctypes instance of libgpac | |
| bool | python.libgpac.libgpac._libgpac_abi_mismatch = False |
| Set to true if mismatch was detected between the ABI version the Python wrapper was designed and the libgpac shared library ABI version A warning is thrown if mismatched, but it is left up to the pythin script to decide whether it still wants to use libgpac wrapper. | |
| python.libgpac.libgpac.version | |
| libgpac version (string) | |
| python.libgpac.libgpac.copyright | |
| libgpac copyright notice (string) | |
| python.libgpac.libgpac.copyright_cite | |
| libgpac full copyright notice (string) | |
Core tools for libgpac.
| e2s | ( | err | ) |
convert error value to string message
| err | gpac error code (int) |
| init | ( | mem_track = 0, | |
| profile = None ) |
initialize libgpac - see gf_sys_init
| mem_track | |
| profile |
| close | ( | ) |
close libgpac - see gf_sys_close
| set_logs | ( | logs, | |
| reset = False ) |
set log tools and levels - see gf_log_set_tools_levels
| logs | |
| reset | if true, resets all logs to default |
| sys_clock | ( | ) |
get clock - see gf_sys_clock
| sys_clock_high_res | ( | ) |
get high res clock - see gf_sys_clock_high_res
| set_args | ( | args | ) |
set libgpac arguments - see gf_sys_set_args
| args | list of strings, the first string is ignored (considered to be the executable name) |
| enable_rmtws | ( | enable = True | ) |
enables websocket monitoring server
| enable | True/False enable or disable server |
| enable_userws | ( | enable = True | ) |
enables the user websocket server
| enable | True/False enable or disable server |
| set_rmt_handler | ( | callback_obj | ) |
set the handler for rmt_ws
| callback_obj | an object of type RMTHandler implementing the desired callbacks |
| set_userws_handler | ( | callback_obj | ) |
set the handler for the user websocket server
| callback_obj | an object of type RMTHandler implementing the desired callbacks |
| sleep | ( | value | ) |
sleep for given time in milliseconds
| value | time to sleep |
| bool numpy_support |
set to True if numpy was successfully loaded
|
protected |
ctypes instance of libgpac
|
protected |
Set to true if mismatch was detected between the ABI version the Python wrapper was designed and the libgpac shared library ABI version A warning is thrown if mismatched, but it is left up to the pythin script to decide whether it still wants to use libgpac wrapper.
| python.libgpac.libgpac.version |
libgpac version (string)
| python.libgpac.libgpac.copyright |
libgpac copyright notice (string)
| python.libgpac.libgpac.copyright_cite |
libgpac full copyright notice (string)