FreeBSD Manual Pages
launch_decode(3) Arcan Lua API launch_decode(3) NAME launch_decode - Launch a video decoding frameserver SYNOPSIS vid, aid launch_decode( string:resource, func:callback(vid:source, strtbl:sta- tus) ) launch_decode( string:resource, string:opts, func:callback(vid:source, strtbl:status) ) launch_decode( nil, string:opts, func:callback(vid:source, strtbl:sta- tus) ) DESCRIPTION Spawn a new decode frameserver process, with input resource defined by resource . the callback function behaves similarly to that of launch_target . If opts is provided it will be processed based on the capabilities of the decode frameserver. These can be viewed by runnning it from a command-line, like: ARCAN_ARG =help afsrv_decode. Due to an unfortunate legacy, certain resource names are reserved for special purposes and are prefixed as device:, capture: and stream:. EXAMPLE function launch_decode0() vid = launch_decode("test.avi", function(source, status) print(status.kind); end); show_image(vid); resize_image(vid, VRESW, VRESH); end SEE ALSO: targetcontrol April 2025 launch_decode(3)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=launch_decode&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>