|
NAMElaunch_decode - Launch a video decoding frameserverSYNOPSISvid, aidlaunch_decode( string:resource, func:callback(vid:source, strtbl:status) ) launch_decode( string:resource, string:opts, func:callback(vid:source, strtbl:status) ) launch_decode( nil, string:opts, func:callback(vid:source, strtbl:status) ) DESCRIPTIONSpawn 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:. EXAMPLEfunction 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:
Visit the GSP FreeBSD Man Page Interface. |