├── .gitignore ├── DOCS ├── examples │ ├── audio_rec.lua │ ├── desktop_record.c │ ├── desktop_record.lua │ ├── desktop_record_vaapi.lua │ ├── live_monitor.lua │ ├── screenshot_wayland.lua │ ├── showcqt_mic.lua │ ├── stream_to_twitch.lua │ ├── transcode_audio.lua │ ├── transcode_video.c │ └── transcode_video.lua └── lua-scripting.md ├── LICENSE ├── README.md ├── meson.build ├── meson_options.txt ├── resources └── logo.svg ├── scripts ├── default.lua ├── meson.build └── utils.lua ├── src ├── cli.c ├── cli.h ├── commit.c ├── control.c ├── ctrl_template.c ├── ctrl_template.h ├── decode.c ├── demux.c ├── encode.c ├── encoding_utils.h ├── epoch.c ├── fifo_frame.c ├── fifo_packet.c ├── fifo_template.c ├── filter.c ├── include │ └── libtxproto │ │ ├── bufferlist.h │ │ ├── commit.h │ │ ├── control.h │ │ ├── decode.h │ │ ├── demux.h │ │ ├── encode.h │ │ ├── epoch.h │ │ ├── events.h │ │ ├── fifo_frame.h │ │ ├── fifo_packet.h │ │ ├── filter.h │ │ ├── io.h │ │ ├── link.h │ │ ├── log.h │ │ ├── mux.h │ │ ├── txproto.h │ │ ├── txproto_main.h │ │ └── utils.h ├── interface.c ├── interface_common.c ├── interface_common.h ├── interface_highlight.h ├── interface_main.h ├── interface_wayland.c ├── io.c ├── iosys_common.c ├── iosys_common.h ├── iosys_lavd.c ├── iosys_pulse.c ├── iosys_wayland.c ├── iosys_xcb.c ├── link.c ├── log.c ├── lua_api.c ├── lua_api.h ├── lua_api_utils.h ├── lua_common.c ├── lua_common.h ├── lua_generic_api.c ├── lua_generic_api.h ├── meson.build ├── mux.c ├── os_compat.c ├── os_compat.h ├── pl.c ├── pl.h ├── txproto.c ├── txproto_main.c ├── utils.c ├── utils.h ├── version.c.in ├── version.h ├── wayland_common.c ├── wayland_common.h └── wayland_protocols │ ├── meson.build │ ├── wlr-export-dmabuf-unstable-v1.xml │ ├── wlr-layer-shell-unstable-v1.xml │ └── wlr-screencopy-unstable-v1.xml ├── test ├── common.lua ├── transcode_audio.lua └── transcode_video.lua └── tools └── xxdi.py /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | *.o 3 | ./*.lua 4 | -------------------------------------------------------------------------------- /DOCS/examples/audio_rec.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/audio_rec.lua -------------------------------------------------------------------------------- /DOCS/examples/desktop_record.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/desktop_record.c -------------------------------------------------------------------------------- /DOCS/examples/desktop_record.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/desktop_record.lua -------------------------------------------------------------------------------- /DOCS/examples/desktop_record_vaapi.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/desktop_record_vaapi.lua -------------------------------------------------------------------------------- /DOCS/examples/live_monitor.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/live_monitor.lua -------------------------------------------------------------------------------- /DOCS/examples/screenshot_wayland.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/screenshot_wayland.lua -------------------------------------------------------------------------------- /DOCS/examples/showcqt_mic.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/showcqt_mic.lua -------------------------------------------------------------------------------- /DOCS/examples/stream_to_twitch.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/stream_to_twitch.lua -------------------------------------------------------------------------------- /DOCS/examples/transcode_audio.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/transcode_audio.lua -------------------------------------------------------------------------------- /DOCS/examples/transcode_video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/transcode_video.c -------------------------------------------------------------------------------- /DOCS/examples/transcode_video.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/examples/transcode_video.lua -------------------------------------------------------------------------------- /DOCS/lua-scripting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/DOCS/lua-scripting.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/README.md -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/meson.build -------------------------------------------------------------------------------- /meson_options.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/meson_options.txt -------------------------------------------------------------------------------- /resources/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/resources/logo.svg -------------------------------------------------------------------------------- /scripts/default.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/scripts/default.lua -------------------------------------------------------------------------------- /scripts/meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/scripts/meson.build -------------------------------------------------------------------------------- /scripts/utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/scripts/utils.lua -------------------------------------------------------------------------------- /src/cli.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/cli.c -------------------------------------------------------------------------------- /src/cli.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/cli.h -------------------------------------------------------------------------------- /src/commit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/commit.c -------------------------------------------------------------------------------- /src/control.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/control.c -------------------------------------------------------------------------------- /src/ctrl_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/ctrl_template.c -------------------------------------------------------------------------------- /src/ctrl_template.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/ctrl_template.h -------------------------------------------------------------------------------- /src/decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/decode.c -------------------------------------------------------------------------------- /src/demux.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/demux.c -------------------------------------------------------------------------------- /src/encode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/encode.c -------------------------------------------------------------------------------- /src/encoding_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/encoding_utils.h -------------------------------------------------------------------------------- /src/epoch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/epoch.c -------------------------------------------------------------------------------- /src/fifo_frame.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/fifo_frame.c -------------------------------------------------------------------------------- /src/fifo_packet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/fifo_packet.c -------------------------------------------------------------------------------- /src/fifo_template.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/fifo_template.c -------------------------------------------------------------------------------- /src/filter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/filter.c -------------------------------------------------------------------------------- /src/include/libtxproto/bufferlist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/bufferlist.h -------------------------------------------------------------------------------- /src/include/libtxproto/commit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/commit.h -------------------------------------------------------------------------------- /src/include/libtxproto/control.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/control.h -------------------------------------------------------------------------------- /src/include/libtxproto/decode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/decode.h -------------------------------------------------------------------------------- /src/include/libtxproto/demux.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/demux.h -------------------------------------------------------------------------------- /src/include/libtxproto/encode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/encode.h -------------------------------------------------------------------------------- /src/include/libtxproto/epoch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/epoch.h -------------------------------------------------------------------------------- /src/include/libtxproto/events.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/events.h -------------------------------------------------------------------------------- /src/include/libtxproto/fifo_frame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/fifo_frame.h -------------------------------------------------------------------------------- /src/include/libtxproto/fifo_packet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/fifo_packet.h -------------------------------------------------------------------------------- /src/include/libtxproto/filter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/filter.h -------------------------------------------------------------------------------- /src/include/libtxproto/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/io.h -------------------------------------------------------------------------------- /src/include/libtxproto/link.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/link.h -------------------------------------------------------------------------------- /src/include/libtxproto/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/log.h -------------------------------------------------------------------------------- /src/include/libtxproto/mux.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/mux.h -------------------------------------------------------------------------------- /src/include/libtxproto/txproto.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/txproto.h -------------------------------------------------------------------------------- /src/include/libtxproto/txproto_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/txproto_main.h -------------------------------------------------------------------------------- /src/include/libtxproto/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/include/libtxproto/utils.h -------------------------------------------------------------------------------- /src/interface.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/interface.c -------------------------------------------------------------------------------- /src/interface_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/interface_common.c -------------------------------------------------------------------------------- /src/interface_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/interface_common.h -------------------------------------------------------------------------------- /src/interface_highlight.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/interface_highlight.h -------------------------------------------------------------------------------- /src/interface_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/interface_main.h -------------------------------------------------------------------------------- /src/interface_wayland.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/interface_wayland.c -------------------------------------------------------------------------------- /src/io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/io.c -------------------------------------------------------------------------------- /src/iosys_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/iosys_common.c -------------------------------------------------------------------------------- /src/iosys_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/iosys_common.h -------------------------------------------------------------------------------- /src/iosys_lavd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/iosys_lavd.c -------------------------------------------------------------------------------- /src/iosys_pulse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/iosys_pulse.c -------------------------------------------------------------------------------- /src/iosys_wayland.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/iosys_wayland.c -------------------------------------------------------------------------------- /src/iosys_xcb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/iosys_xcb.c -------------------------------------------------------------------------------- /src/link.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/link.c -------------------------------------------------------------------------------- /src/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/log.c -------------------------------------------------------------------------------- /src/lua_api.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_api.c -------------------------------------------------------------------------------- /src/lua_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_api.h -------------------------------------------------------------------------------- /src/lua_api_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_api_utils.h -------------------------------------------------------------------------------- /src/lua_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_common.c -------------------------------------------------------------------------------- /src/lua_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_common.h -------------------------------------------------------------------------------- /src/lua_generic_api.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_generic_api.c -------------------------------------------------------------------------------- /src/lua_generic_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/lua_generic_api.h -------------------------------------------------------------------------------- /src/meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/meson.build -------------------------------------------------------------------------------- /src/mux.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/mux.c -------------------------------------------------------------------------------- /src/os_compat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/os_compat.c -------------------------------------------------------------------------------- /src/os_compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/os_compat.h -------------------------------------------------------------------------------- /src/pl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/pl.c -------------------------------------------------------------------------------- /src/pl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/pl.h -------------------------------------------------------------------------------- /src/txproto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/txproto.c -------------------------------------------------------------------------------- /src/txproto_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/txproto_main.c -------------------------------------------------------------------------------- /src/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/utils.c -------------------------------------------------------------------------------- /src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/utils.h -------------------------------------------------------------------------------- /src/version.c.in: -------------------------------------------------------------------------------- 1 | const char *vcstag = "@VCS_TAG@"; 2 | -------------------------------------------------------------------------------- /src/version.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/version.h -------------------------------------------------------------------------------- /src/wayland_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/wayland_common.c -------------------------------------------------------------------------------- /src/wayland_common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/wayland_common.h -------------------------------------------------------------------------------- /src/wayland_protocols/meson.build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/wayland_protocols/meson.build -------------------------------------------------------------------------------- /src/wayland_protocols/wlr-export-dmabuf-unstable-v1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/wayland_protocols/wlr-export-dmabuf-unstable-v1.xml -------------------------------------------------------------------------------- /src/wayland_protocols/wlr-layer-shell-unstable-v1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/wayland_protocols/wlr-layer-shell-unstable-v1.xml -------------------------------------------------------------------------------- /src/wayland_protocols/wlr-screencopy-unstable-v1.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/src/wayland_protocols/wlr-screencopy-unstable-v1.xml -------------------------------------------------------------------------------- /test/common.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/test/common.lua -------------------------------------------------------------------------------- /test/transcode_audio.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/test/transcode_audio.lua -------------------------------------------------------------------------------- /test/transcode_video.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/test/transcode_video.lua -------------------------------------------------------------------------------- /tools/xxdi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyanreg/txproto/HEAD/tools/xxdi.py --------------------------------------------------------------------------------