Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Aja output not functioning in new plugin

I am using the new AJA plug-in and am unable to get output from the card. Unreal only seems to be recognizing Port 1 and 2 for input, so I am getting a good input feed. However, Port 3 and 4 seem to not be recognized and are not sending data out. I have tried the studio example where I am facing the same issue, and have loaded up AJA Control Room where the card was outputting video feed through Port 3 and 4 normally. Any help is appreciated.

Product Version: UE 4.20
more ▼

asked Jul 18 '18 at 07:57 PM in Using UE4

avatar image

11 1 1 2

avatar image BERTOMORA Aug 10 '18 at 07:24 PM

Hey guys I'm trying to figure out how to Capture the Kona4k into unreal and also display the capture as my view port background. Do you guys have any tips on how to achieve this?

avatar image ocalaf.8tv Oct 11 '18 at 06:23 PM

Does anybody tested with AJA Kona lhe plus? I did some testing and I'm only have been able to get the input port working, no luck with the output, but maybe I'm doing something wrong.

I'll try to follow the advises in this post and update with my results.

Thank you all!

avatar image ocalaf.8tv Nov 05 '18 at 11:58 AM

Does anybody know what is the upper left corner overlay with this strange "square counters"? It seems like some valuable content (maybe UE embeds something there for help AJA to sync video?). What it does?

It seems some kind of signaling but is nothing that I've ever previously seen (WSS, AFD, etc). It will be always there? Any plans of moving this into a less visible place?

weird signaling square

avatar image BeCeCLE PmB Nov 05 '18 at 12:41 PM

They added a debug option to "burn" the time code. You can deactivate in the AjaMediaSource or AjaMediaOutput.

avatar image ocalaf.8tv Nov 05 '18 at 04:45 PM

And how it can be used? Are they white pixels moving from 0 to 9 indicating each number of the current TC in each row? HH:SS:MM:FF represented as 8 rows x 9 columns? Is this any kind of standard representation of TCs?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

9 answers: sort voted first
  1. Check the log for errors

  2. In 4.20 we support interlaced and progressive. PSF is not supported. We support HD format. (2k and 4k are on the official roadmap)

  3. Only Single link 3G. Dual-link and quad-link are not supported (they are on the official roadmap). Format B is not supported.

  4. Corvid and Kona 4k are tested.

  5. Support input (use AjaMediaSource and regular media framework) and output (use AjaMediaOutput and the new MediaCapture. In BP, AjaMediaOutput.CreateMediaCapture).
    1. Known bug, if you output via MediaCapture on the first frame of your game, the resolution will not match, try to wait for 1 frame before outputting.

    2. You can use the MediaCapture tab available in the MediaFrameworkUtilitites to help you output in the editor.

  6. Input 8bits and output 8bits (10bits coming in 4.21)

  7. You can output a scene viewport or a render target. The texture size and pixel format need to match exactly.

  8. Interlaced is supported but we do not de-interlaced it. We use the half frame. Unreal takes each field and scale it to the full resolution on the GPU. It will render at twice the speed of the frame rate. (1080i30fps. Unreal will have 60 half images per seconds and run at 60fps to show them all).

  9. Talk to us first. Only contact AJA if you have a problem with your hardware (like if it's on fire and you need a replacement).

  10. You can read timecode when embedded in a video. You can use AjaTimecodeProvider. Better support coming in 4.21

  11. The engine can be genlocked with the AJA card. Create a blueprint AjaCustomTimeStep. Set the media mode. Change the project settings (engine->general settings->custom time step) Restart UE4. Genlock will have a better support in 4.21(support for reference in). In 4.20, the engine will be updated when an image is received. Ideal to sync the engine with your video.

  12. Have you heard of MediaBundle? It's an easy way to create a media in your map.

  13. Aja can auto-detect the video format. UE4 does not. It's a design decision.

more ▼

answered Aug 07 '18 at 06:31 PM

avatar image

Alex O ♦♦ STAFF
2.6k 4 8 9

avatar image skybet Aug 07 '18 at 08:23 PM

Dear Mr Alex O. I must have a long time to see your guide. It is great and you too!!!! I am at home and I will do as you said on tomorrow. Thank you a million.

avatar image skybet Aug 08 '18 at 07:29 AM

Dear Mr Alex. I have read your guides and I did with my Kona 4 card. I tested again the input and output before use/config my card in UE 4.20. alt text But I still get nothing from the AJA plugin (AjaMediaOutput). So I attached my BP, my config in this file. Pls check that what I wrong. Thank you so much.

setting Kona 4 card and setting the AJA Plguin

bp.png (244.0 kB)
avatar image SkyHigh Nov 05 '18 at 10:53 AM

Hi - We are looking for a way to output 1080i50 (interlaced frames) through a KONA 4 card - any insights would be highly appreciated!

Are there any prerequisites for interlaced output to be available?

avatar image ocalaf.8tv Nov 05 '18 at 11:46 AM

As far as I see all the actual limitations are just regarding the UE4 editor UI with the "populated available options" under each AJA settings. Maybe it lists all what is need with the certified cards, but it seems like with the other ones you have to trick the editor a bit...

Let me explain, using AJA Kona Lhe+ I only found 1080i50 under the Input Port settings under the AJA plugin settings. From there I simply copied this option (selecting first, and then right button on the selected value and copy). This gives you the correct "syntax" for that particular video format in the port1, so from there it's very easy to just paste this value (copied text in a notepad) in the proper AJA media output settings. And also in the plugin settings itself. The string you need to paste is this one:

(DeviceIndex=0,ModeName="1080i 50.00",FrameRate=(Numerator=25,Denominator=1),TargetSize=(X=1920,Y=1080),VideoFormatIndex=1)

You may need also to change the Play In Editor settings just to match this 1920x1080 resolution. With all that done I've been able to see same fill and key working as expected with my monitor showing 1080/50i.



Please note that as far as I know the fields for this interlaced frames are not exactly properly generated but unreal instead is just throwing 50p and letting AJA think that indeed is interlaced. I don't know if I'm wrong with this last comment...

img-6223.png (280.6 kB)
img-6226.png (277.8 kB)
avatar image a365123 Nov 22 '18 at 07:45 AM

Can you explain in more detail how you did this? I hope to have teaching. Thank you.:)

avatar image ocalaf.8tv Nov 22 '18 at 10:53 AM

There aren't many things to explain, the plugin works but in my particular case the options available regarding the different video formats are not all listed.

Following the guides under https://docs.unrealengine.com/en-us/Engine/ProVideoIO would be pretty straightforward, and here in this post you could also find nice tips to find where to look if anything goes wrong.

Once comfortable with the setup, if you need to use a different video format not listed under your AJA port settings you can paste directly the "port information" and set a different resolution/framerate. For example if you want to set the video format to 1080@50i you can just copy this text:

(DeviceIndex=0,ModeName="1080i 50.00",FrameRate=(Numerator=25,Denominator=1),TargetSize=(X=1920,Y=1080),VideoFormatIndex=1)

And right mouse button and paste over the Port you want to set, here you have a screenshot of that paste operation

If you can be more specific maybe I can give you more detail about it. What do you want to know? dealing with the second output with that alpha key video? dealing with interlaced video?

avatar image a365123 Nov 23 '18 at 09:47 AM

Thank you.I have got the effect!~~. But I don't know why I have to move the AJA port 1 every time and then execute the undo before it will display correctly on the display. Otherwise, it will show the out of range. It will be normal after undo.

avatar image a365123 Nov 27 '18 at 02:38 AM

(DeviceIndex=0,ModeName="1080i 59.94",FrameRate=(Numerator=30000,Denominator=1001),TargetSize=(X=1920,Y=1080),VideoFormatIndex=2)

avatar image a365123 Nov 27 '18 at 02:39 AM

I have solved the error, thank you!!~~

avatar image a365123 Dec 22 '18 at 12:46 AM

Do you know how the black and white blocks displayed by the key port are displayed in reverse? White becomes black, black turns white.

alt text

20181222.png (18.7 kB)
avatar image JackSBZ Nov 06 '18 at 12:42 PM

Do you have any idea how the HDMI out port functions from within UE4? I seem unable to monitor an outgoing feed from the editor.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users


The plugin only supports 4K Mode Firmware.

Which KONA card are you using?

alt text

kona4k.png (104.7 kB)
more ▼

answered Jul 19 '18 at 08:39 PM

avatar image

Alex O ♦♦ STAFF
2.6k 4 8 9

avatar image Alex O ♦♦ STAFF Jul 24 '18 at 01:51 PM

For Posterity: Check the Output log for any AJA warnings/errors. Your input may be @ 23.98fps, but it must be at 24.

avatar image PaulLacombe Aug 05 '18 at 09:25 PM

Does the current implementation only support 24P, or are all HD SDI & UHD (4K) formats supported?

I am experiencing the same issue using the Corvid 88 card, UE4.20.1 not showing any SDI output. I have not tested input yet, and I do not have a 4K monitor, so I am limited to all HD SDI formats.

Also, I updated to the latest firmware & drivers from AJA (images attached).

AJA Control Panel Video Ouput works showing all test patterns on SDI 3 output. Tested various formats to confirm card is working ok, and using card with other broadcast solutions. This is in a HP Z820, Windows 10, nVidia Quadro K6000.

Thanks in advance for your help.

avatar image skybet Aug 03 '18 at 03:00 AM

Could you help me: how to use the AJA plugin in UE 4.20 to render SDI output with KONA card? Espcial, how to config/do to show the output SDI from the card in UE. Please!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You need to tell the media output what to output. You can output a Render Target 2D or the scene viewport. What you output need to be of the same size and same pixel format as specified in the AJA Media Output. The "Active Scene Viewport" will be accessible in "New Editor Window (PIE)", standalone game or cook game. The pixel format of the scene viewport is defined in the project settings, Engine->Rendering->Frame Buffer Pixel Format.

alt text

mediaoutput.png (424.7 kB)
more ▼

answered Aug 08 '18 at 01:27 PM

avatar image

11 1 2

avatar image skybet Aug 09 '18 at 08:52 AM

You are strongest, my man. Thank you so much. I have done!

avatar image DJ.penguin Aug 15 '18 at 01:04 PM

Trying to get UE4 running as a realtime virtual studio. Do you every try to output an separate key channel to another SDI port? wondering how to archive that... I've seen since 4.17 there's a alpha channel in post processing. is it archived by compositing inside UE4 and output a final image with Background and Foreground with the realtime SDI feed in middle?

avatar image BeCeCLE PmB Aug 15 '18 at 01:29 PM

The option is available in AjaMediaOutput. Use the "Key and Fill" option.

avatar image Moto-man Aug 16 '18 at 05:24 AM

Hi, Same as DJ.penguin, I tried to output Key and Fill, and no success by now. I choose option "Key and Fill" as BeCeCLE PmB advises, but no luck. KONA4 port 3 displays perfect Fill image. No key image from port 4. I setup SDI output (port3 & 4) as Fill & Key mode in Aja control panel. I am wondering right Key & Fill setup with Aja KONA 4.

avatar image BeCeCLE PmB Aug 16 '18 at 11:53 AM

Check your log. Usually, there're warnings or errors explaining the issue! We may have to enable the alpha channel support in post-processing to enabled the key. I think the alpha information is not collected by default.

avatar image Moto-man Aug 16 '18 at 03:16 PM

Thank you so much. I am just thinking how to enable alpha in post processing of UE4. Could you tell me how to enable in the Manual or link? I feel I stuck there.

avatar image DJ.penguin Aug 17 '18 at 08:13 AM

Moto-man, seems we stoped at same point. I've checked there's a parameter to enable alpha in material. but only if that material is in post processing domain. same to you ,still woking on how to assign alpha channel to objects..

avatar image Moto-man Aug 17 '18 at 11:30 AM

Hi DJ.penguin, I am facing same situation and cannot get alpha channel even enabled in post processing setting. If it is OS matter, I upgrade to Windows10. I will let you know as I see progress.

avatar image DJ.penguin Aug 17 '18 at 05:10 PM

OS doesn't seems to be a matter. I'm currently working under Windows10. I think it's the leak knowledge of PostProcessing workflow....

avatar image BeCeCLE PmB Aug 17 '18 at 12:22 PM

alt text

avatar image Moto-man Aug 17 '18 at 01:16 PM

Thank you very much. I enabled this option, but no luck for now. I will check my settings tomorrow. Anyway how do you set SDi output in AJA control Panel? RGB-Full?

avatar image DJ.penguin Aug 17 '18 at 04:49 PM

Hi,BeCeCLE PmB..

My best guess is: 1\ Moto-man and me have same problem on adding alpha channel to actor but not outputing alpha channel 2\Moto-man: I think we all did the same thing by turn on alpha channel. and make sure the output resolution and pixel format is correct. also set Aja media output to Fill+Key. but the reason we get a black signel out of AJA is because we don't know how to collect alpha to Key output. 3\I think Both of us are working in TV industry. I'm doing a tracked virtual studio , the key output is critical for us to put foreground such as charts,video boxes,virtual objects in front of anchor when composite by a Hardware keyer such as Ultimatte11

and I have a new weird problem :( UE crash each time I move or pan/tilt the camera in a fast speed. any idea on this?

avatar image Moto-man Aug 21 '18 at 04:20 AM

Hi DJ penguin,

We did used Ultimatte12 from Blackmagic two months ago. It was successful. But my concern is latency. I must find somehow to obtain alpha channel.

avatar image DJ.penguin Aug 16 '18 at 01:56 PM

Ok, Thanks alot! I will have my hands on the cards by tomorrow. and doing tests soon.

avatar image Moto-man Aug 21 '18 at 04:12 AM


I still try to output key signal from port 4. Only Black signal is out same as DJ Penguin case. KONA4 is ready to output Video & Key like I can do with AfterEffects.

I believe I am close to goal and seeking final button for alpha key out. Could you do me a favor to provide us sample project which you can output Fill & Key?

Thank you.

avatar image DJ.penguin Aug 22 '18 at 04:02 AM

Motoman, I have some progress and I know it's not the correct way.but I can have the key output anyway. I create a material and change it's domain to postprocess. and turn on output alpha in material details. assign this material any object in the scene. you will have a key for it in output4.

please also keep me updated if you have any progress. thanks

avatar image Moto-man Aug 23 '18 at 03:22 AM

Thanks for your comment.! We made it! We try something for a garbage matte! I will let you know as I make.alt text

avatar image DJ.penguin Aug 22 '18 at 04:18 AM

another try was to turn on used with editor compositing.it seems also have alpha output. and that bring me a new question. if I want to do a garbage matt. Iwill need a object with alpha output ony (no fill ) don't know how to deal with that.

avatar image Moto-man Aug 23 '18 at 08:48 AM

These are what you expect?alt text

avatar image DJ.penguin Aug 23 '18 at 03:03 PM

not really I need an object that is pure transparent in Fill and have pure white in Key. when we do garbage matt. usually we create a model that cover all the area outside blue box. and that object should not be visible in RGB channel.

but I do want to know how did you archive this? :)

avatar image Moto-man Aug 24 '18 at 01:45 PM

I send a mail with instruction. About your garbage matte, we will try this weekend. I can't promise to complete by next Monday, but we do as much as we can.

avatar image DJ.penguin Aug 24 '18 at 03:09 PM

Many Thanks, It's ok, I'll try on Monday also. don't have any HD-SDI monitor at home :(

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi. When I set output SDI by AJA Kona4 with Fill only. My setting with the kona card in UE4.20:

  • Port 1: for input live with 1080i50

  • Port 4: for output with 1080p25

I get this message when play the level:

"LogAjaMedia: Warning: Lost 6 frames on Aja input [aja://device0/port1]. UE4 frame rate is too slow and the capture card was not able to send the frame(s) to UE4."

How can I fix this?

Thank you so much

more ▼

answered Sep 11 '18 at 09:20 AM

avatar image

21 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I did some more tests using AJA Kona lhe plus and following your instructions (specially reading the output log) I finally had been able to use the input port or the media ouput and see some UE4 content through the SDI output of the card (not both at the same time).

The ony problem I have now is trying to make this work simultaniously, I mean seeing some content from the SDI input rendered in the engine and at the same time seeing this viewport target render in the SDI output of the AJA.

As far as I can see it seems like the ports for the AJA Kona lhe plus are not properly "discovered" it seems like only one port is detected, but the card itself have in fact 3 ports: 1 input, and 2 outputs (main and secondary which should also be able to be used as fill+key synced signals).

I can understand you guys at Epic have a lot of work developing this new features and that you can't test all the different models of cards, specially the older ones which can't deal with 4k and doesn't have these top of the line features that you like to showcase in your techdemos and samples.

So how could we help enriching this nice AJA plugin in order to make it "fully compatible" with these different port configuration found on different Kona line cards? Any tips about where to find the pices which should be "adapted"?

As far as I saw, the AJA SDK and documentation are only available joining their developers program, so I don't know if we could find a solution without any kind of documentation...Maybe it would be better filling and issue in a particular GitHub repo?

Thanks for guiding us!

more ▼

answered Oct 22 '18 at 03:57 PM

avatar image

6 1 2

avatar image BeCeCLE PmB Oct 22 '18 at 04:43 PM

Even if you have access to the AJA SDK, Unreal has a layer on top of it that they can't distribute for legal reason. They support the Kona 4 in 4k mode and Corvid. Maybe more in 4.21. From the other comments, if you do not see all the ports it's because your Kona is not configured in 4k. Maybe you should check that?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Unfortunatelly our Kona lhe+ only supports HD, so I can imagine simply doesn't have any 4k firmware mode available (I didn't found any similar mode for that particular AJA card in AJA's control panel).

I din't know that "additional" Unreal layer which is not distributed, and so if this layer exists the source code for that plugin won't be available, because this AJA developer "rights thing", it does make sense I suppose...

I'll have to wait for another version of that plugin, maybe they have some spare time for improving this "port discover/mapping" in order to make it compatible with more AJA cards. I didn't expect any progress on that since they will probably prefer implementing a Blackmagic plugin (again just testing their 4k/8k newer cards) but nothing to regret here again, it all make sense...

The good thing though is that AJA kona cards are so robust and well made that even without having in mind this different port configuration or even without having the 4k firmware, they actually handle both in and out operation, but with the only limitation (as far as I saw with the actual 4.20.3) that you won't be able to make them both work at the same time (just Input video or Output video, not both at the same time, at least if you don't use two different cards, which may probably work too).

Using the populated AJA port1 I'm able to see the input coming or if I not use that input, I can assing the MediaOutput to that port1 in order to use the main fill ouput of this AJA Kona Lhe+ card:

AJAPort1 Input

Digging even more, this also applies to the secondary output (Fill+Key setup). Without using the "input port" you're perfectly able to make both outputs work making its thing with the alpha's, which is so nice for a "not supported" card!

AJA Kona Lhe+ Fill Output Seq AJA Kona Lhe+ Key Output Seq

The editor could be "improved" to show different ports available in a better way, now for the "non supported" cards, at least with Kona Lhe+, it shows just one port, instead of the default 3 ports (1 in, and 2 outs) available in that device/card.

Althought aparently this ports "not exists" you will only need to trust your AJA and manually copy and then paste this port in order to "create" new ones:

The secret is pasting in a "text field" or notepad, in order to see which sintax Ue4 editor is expecting for them:

AJA Kona Lhe+

 Default Port (this is what you get when pasting)

The other Ports are not defined in the editor when a Kona Lhe+ is plugged, so lets define them: (I also added the Name="KonaLhe+" showed in Ue4 in the DeviceName of my "CustomPorts", because why not?)

 Fill Output Port=
 Key Output Port=
 *Input Port = 

*Can't be used simultaneously with output fill, because they're using "exactly the same port"

more ▼

answered Oct 23 '18 at 04:22 PM

avatar image

6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Let me also attach the INI configuration file that I ended setting up in order to make this AJA Kona Lhe+ working.

Please note that the final step would be finding the proper way of telling UE4 that the input and the output ports are not the same kind of ports.

more ▼

answered Oct 23 '18 at 04:28 PM

avatar image

6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi everyone. I have another problem with the AJA plugin. In the UE Editor, everything I want from AJA plugin is perfect. Editor mode But when I want to package my project to exe file, I checked that my project cannot display video input in my level in my program(which I packaged by UE4). Run exe file When I package my project, I have see the message:

UATHelper: Packaging (Windows (64-bit)): LogInit: Display: ----------------------------------- UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogAjaMedia: Warning: The AjaMediaPlayer can't open URL ' [aja://device0/port1]' because Aja card cannot be used. Are you in a Commandlet? You may override this behavior by launching with -ForceAjaUsage UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogAudio: Warning: Warning: SynthComponent failed to start due to failiure in initialization

I just see above the image.

So, the plugin just run only on Editor mode? What am I doing wrong??? Pls give me some advices. Thank you so much.

editor-mode.png (427.0 kB)
build.png (378.4 kB)
more ▼

answered May 14 '19 at 04:16 AM

avatar image

21 2 3

avatar image BeCeCLE PmB May 14 '19 at 02:20 PM

You have that message because we have the editor opened and another instance in the background that build the package files. Both are trying to get access to the AJA card and only once access is authorized. We do have AJA running in standalone. (When there is no UE4 background process running).

avatar image skybet May 14 '19 at 10:38 PM

Thank you for your answer. I tried to package my project by using ue4 ( I used command, buildUAT.bat). After I packaged my project, i have a exe file. The exe file is run ok but I cannot see the video feed(which set in aja port1). It like the second image above.

My problem that: When I have exe file (or Lauch game in UE4 Editor, not Play), i cannot see the video feed on its. I sure that I can see the video feed in Editor mode. Do you ever meet it before? What next can I do to fix that? Thank you so much.

avatar image BeCeCLE PmB May 15 '19 at 03:10 PM

Before trying with packaged game, have you tried in -game first? Packaged and -game work for us. Do you have anything in the log that could help you?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Before trying with packaged game, have you tried in -game first? Packaged and -game work for us. Do you have anything in the log that could help you?

more ▼

answered May 15 '19 at 03:10 PM

avatar image

11 1 2

avatar image skybet May 15 '19 at 03:26 PM

Dear Mr BêCCLE. I have use mediabunder which has setup aja port to show video feed. I have tried -game parameter for test but it display nothing, just like the second image. Could I send to you my project for you via your email? I realy need to your help for my problem. Thank you so much.

avatar image skybet May 17 '19 at 02:05 AM

This is my simple test for package UE4 project which has used Aja input. I still see nothing when I run --game( and lauch or packaged). I just see video feed only in Editor mode. Pls check what I am wrong. Thank you. link text

avatar image skybet May 17 '19 at 03:03 AM

This is message when I run "Lauch game" "[2019.05.17-03.02.44:215][767]LogAjaMedia: Error: Device: Try to enable the channel '1' on device 'Kona4 - 0' as the owner but it's that was already enabled. Do you already have a 'input' running on the same channel? "

avatar image BeCeCLE PmB May 17 '19 at 11:33 AM

Then, something else is running with AJA on your machine. You can check in the AJA control panel who has the ownership.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question