mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 21:41:03 +00:00
a4a5caec53
- RTP payloader and depayloader - Aggregator to pair per-frame metadata with media frames - Overlay to render detected shapes
17 lines
545 B
Python
17 lines
545 B
Python
import os
|
|
|
|
DIRS = ['audio', 'generic', 'net', 'text', 'utils', 'video']
|
|
# Plugins whose name is prefixed by 'rs'
|
|
RS_PREFIXED = ['audiofx', 'closedcaption',
|
|
'dav1d', 'file', 'json', 'onvif', 'regex', 'webp']
|
|
OVERRIDE = {'wrap': 'rstextwrap', 'flavors': 'rsflv', 'ahead': 'textahead'}
|
|
|
|
|
|
def iterate_plugins():
|
|
for d in DIRS:
|
|
for name in os.listdir(d):
|
|
if name in RS_PREFIXED:
|
|
name = "rs{}".format(name)
|
|
else:
|
|
name = OVERRIDE.get(name, name)
|
|
yield name
|