Skip to main content
Participant
August 17, 2021
Question

Read data from Database within After Effect

  • August 17, 2021
  • 2 replies
  • 773 views

Hello 

 

What I want to do is, read data "some words" dynamically from a database using MySQL and display it on screen. I want to know if this is possible in Adobe After Effects? And how do I connect if possible? Do I have to write a script where it can be written?

 

Thank you

This topic has been closed for replies.

2 replies

Justin Taylor-Hyper Brew
Community Expert
Community Expert
August 17, 2021

You can build your own system with sockets as outlined in the docs

or even easier someone built a fairly simple to use library for making HTTP requests in ExtendScript.

Example Usage:

var data = $http({
method: 'GET',
url: 'http://example.com/data.json',
headers: {'Accept': 'application/json','Content-Type': 'application/json'}
});
alert(data.payload);


Unfortunately HTTPS is not supported FYI. If you need it, you may want to make a CEP panel instead.

Legend
August 17, 2021

It's definitely possible.  You would need to use Sockets to communicate via ExtendScript.  You can also use something like Templater from Dataclay to easily handle this, but you would need to create a small server that you point Templater to rather than a direct connection to the database.  See this support article for more information on how Templater communicates to an endpoint exposed by an API that you implement.