# AJA documentation `AJA` is an IO plugin for Vahana VR. It allows Vahana VR to capture audio/video input and stream audio/video output with the AJA Corvid capture cards. The plugin has been developed and tested with the following models: * [AJA Corvid 88](https://www.aja.com/en/products/developer/corvid-88) ## Set-up Drivers: ## Input configuration The aja plugin can be used by Vahana VR through a .vah project file. Please see the `*.vah file format specification` for additional details. Define an input for each input on the capture cards. The `reader_config` member specifies how to read it. ### Example "inputs" : [ { "width" : 1920, "height" : 1080, ... "reader_config" : { "type" : "aja", "name" : "01", "device": 0, "channel": 1, "fps" : 30, "pixel_format" : "UYVY", "audio" : true, } ... }, { "width" : 1920, "height" : 1080, ... "reader_config" : { "type" : "aja", "name" : "02", "device": 0, "channel" 2, "fps" : 30, "pixel_format" : "UYVY", "audio" : false } ... }] ### Parameters
Note that these fields width the width and height fields must match exactly an existing display mode below.
MemberTypeValue
typestringajaRequired. Defines an AJA input.
namestring-Required. The AJA input entry name.
deviceint-Required. The input card number (Starting from 0).
channelint-Required. The intpu channel for the selected card.
fpsdouble-Required. The input framerate.
pixel_formatstring-Required. The input pixel format. Supported values are UYVY, YV12 and BGRU.
audiobool-Required. Does this reader capture audio.
## Output configuration An example on how to use the device 1 in the channel 2 with audio enabled at 29.97 fps. ### Example "outputs" : [ { "type" : "aja", "filename" : "12", "device" : 1, "channel" : 2, "fps" : 29.97, "pixel_format" : "UYVY", "audio": true }] ### Parameters
Note that these fields must match exactly an existing display mode below. You also want larger or equals width and a height than the pano's ones.
MemberTypeValue
typestringajaRequired. Defines an AJA output.
filenamestring-Required. AJA output identifier.
deviceint-Required. The output card number (Starting from 0).
channelint-Required. The output channel for the selected card.
fpsdouble-Required. The output framerate.
pixel_formatstring-Required. The output pixel format. Supported values are UYVY, YV12 and BGRU.
audiobool-Required. The output audio is enabled or disabled.
offset_xbool-Optional. The horizontal panorama offset within the display.
offset_ybool-Optional. The vertical panorama offset within the display.
##Audio We only support one audio mode for input and output: 48000 Hz 8 channels and 32 bits ## AJA supported display modes The available display modes depend on the AJA cards. For Corvid 88 you can get more information at https://www.aja.com/en/products/developer/corvid-88#techspecs
Mode nameHeightWidthModeFramerate
SD525i29.97
SD625i25
HD720p50
HD720p59.94
HD720p60
HD1080i25
HD1080i29.97
HD1080i30
HD1080PsF23.98
HD1080PsF24
HD1080PsF29.97
HD1080PsF30
HD1080p23.98
HD1080p24
HD1080p25
HD1080p29.97
HD1080p30
HD1080p50A/B
HD1080p59.94A/B
HD1080p60A/B
2K10802048p23.98
2K10802048p24
2K10802048p25
2K10802048p29.97
2K10802048p30
2K10802048p48A/B
2K10802048p50A/B
2K10802048p59.94A/B
2K10802048p60A/B
2K10802048PsF23.98
2K10802048PsF24
2K10802048PsF25
2K10802048PsF29.97
2K10802048PsF30
2K10802048PsF48A/B
2K10802048PsF50A/B
2K10802048PsF59.94A/B
2K10802048PsF60A/B
4K21603840p23.98
4K21603840p24
4K21603840p25
4K21603840p29.97
4K21603840p30
4K21603840p48A/B
4K21603840p50A/B
4K21603840p59.94A/B
4K21603840p60A/B
4K21604096p23.98
4K21604096p24
4K21604096p25
4K21604096p29.97
4K21604096p30
4K21604096p48A/B
4K21604096p50A/B
4K21604096p59.94A/B
4K21604096p60A/B