GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
launch_decode(3) Arcan Lua API launch_decode(3)

launch_decode - Launch a video decoding frameserver

vid, aid
launch_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) )

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:.

function launch_decode0()
      vid = launch_decode("test.avi", function(source, status)
            print(status.kind);
      end);
      show_image(vid);
      resize_image(vid, VRESW, VRESH);
end

June 2022 targetcontrol

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.