Jump to: Board index » General » Fusion

Dynamic Data Display csv or Lua

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 8:42 am

Hello
I have a DJI drone and I can retrieve telemetry data from a flight. There is one piece of information per image.
I would like to display the flight altitude on my drone videos, for example.
I followed a tutorial on YouTube:


I'm a beginner on fusion, the video goes pretty fast.
I managed to make a gauge, but I can't link it to a data table.
The data table is easily accessible.
Code: Select all
E:\OneDrive - Conseil régional Grand Est - Numérique Educatif\MesDocs\Blackmagic Design\DaVinci Resolve\Fusion\Textdata\altitude2.txt


Code: Select all
: array = assert(bmd.readstring(io.open(comp:MapPath("Comp:/Textdata/altitude2.txt"), "r"):read("*all"))); i = table.getn(array); sek = time+1; if sek <= i then return array[sek]; else return "No more data"; end


But the indications in fusion remain red and the dynamic indications do not change.

In this video, it is described that you need to make a Lua table containing the dynamic data you want to display.
I have the impression that this table is poorly structured.
altitude2.txt :
Code: Select all
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37}

(7549 values)
Can you tell me what you think, thank you.
Attachments
Capture d'écran 2025-06-04 103521.jpg
Capture d'écran 2025-06-04 103521.jpg (471.03 KiB) Viewed 2762 times
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline

Sander de Regt

  • Posts: 4127
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 8:45 am

Check out the Vonk Ultra nodes for Fusion. These make it much easier (and interactive) to work with data like this.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

KrunoSmithy

  • Posts: 4550
  • Joined: Fri Oct 20, 2023 11:01 pm
  • Warnings: 1
  • Real Name: Kruno Stifter

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 9:23 am

Yeah, you probably want VonkUltra Nodes for this kind of work. They are essentially modifiers you connect to, but live as nodes in the flow and can be used to import and prepare data so you can connect sliders and driver parameters of other regular nodes in the flow. Similar how you would use publish and connect to process. Except when you put VonkUltra nodes in the flow they are ready to be connected to by default.

Here is more information and examples: https://www.steakunderwater.com/wesuckl ... php?t=5412

E.g.

Vonk Mission Control

Overview

The "Mission Control" Vonk data node example simulates a small propellor-powered aircraft's cockpit dashboard by rendering a mix of digital and analog style gauges. The logic for the controls is wired together using Vonk Number and Text data types.

Phase Two of this project will connect a pre-recorded NMEA ASCII format GPS datastream text file as the external driver of the airplane gauges via NMEA GPGGA and GPRMC strings.

This example is available for installation using the Reactor Package Manager. Navigate to the "Kartaverse/Vonk Ultra" category on the left side of the Reactor window to locate the atom package named "Vonk Example | Mission Control".

https://www.steakunderwater.com/wesuckl ... 2&start=15

Dsg8tBz.png
Dsg8tBz.png (243.64 KiB) Viewed 2690 times


xDFsqfo.png
xDFsqfo.png (548.1 KiB) Viewed 2690 times
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 9:33 am

Reactor is not installed, it is the free version of Davinci.
I used Sony Vegas before, but at the moment I have no plans to buy the studio version.
Last edited by marcus54 on Sat Jun 07, 2025 3:12 pm, edited 1 time in total.
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline

Sander de Regt

  • Posts: 4127
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 9:39 am

You can install the Vonk Ultra nodes manually. You don't need Reactor to run them. It just makes it easier to install them. It's up to you of course whether or not to upgrade to Studio, but I've always found it worth the money. (and that's from when I paid $2500-$5000 for a single Fusion license)
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 10:04 am

I note for the future to maybe buy the studio version and use the Vonk Ultra nodes.

But for the moment could you help me out on what I started.
Thank you
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

Pieter Van Houte

  • Posts: 879
  • Joined: Wed Nov 05, 2014 1:04 am

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 1:23 pm

marcus54 wrote:Reactor is not installed, it is the free version of Davinci.


That's a Blackmagic Design decision, and Reactor is completely free and free of charge, which means making it work on free versions is basically out of the goodness of our hearts and we unfortunately can't eat goodness.

There is a very solid solution for you, but because BMD it's either not one click, or it's a few hundred dollars (none of which helps Reactor dev, which is ironic).

Good luck!
Support We Suck Less on Patreon -> https://www.patreon.com/wesuckless

https://www.steakunderwater.com/wesuckless
Offline

DavySilva

  • Posts: 201
  • Joined: Thu Mar 03, 2022 12:36 pm
  • Location: UK and Ireland, sometimes EU.
  • Real Name: Davy Silva

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 1:40 pm

Parsing data and converting it to a Fusion node isn't simple but it's totally doable.

PS:never done in free version, but I would imagine it works just fine.

Obv you will need some general knowledge in Resolve, Lua and Compositing. Alternatvely, you could try to find software or plugin that create what you want. One that comes to mind is a plugin that extracts data from Bike comuter and creates visual graphics (speed, power and all). The only thing I know about it it can be very heavy. I don't even know the plugin name.
Online Editor and Colourist.
“Never stop learning because life never stops teaching”
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 2:05 pm

For the moment I'm not looking for a plugin,
I'm just trying to check the syntax to access a list of data:
Is my list formatted correctly?
Is the syntax to access it correct?
Thank you
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostWed Jun 04, 2025 5:14 pm

Ok I installed VonkUltra Nodes
Can you show me how to insert the contents of a .csv list on a video
Thank you
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostSat Jun 07, 2025 6:54 am

Hello
At my first request, you all suggested that I use the VonkUltra Nodes tool very quickly.

Finally, it's installed, could you help me to display a dynamic data list.

Thank you.
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostSat Jun 07, 2025 8:09 am

How to link "vTextViewer" to "Text1"?
Attachments
Capture d'écran 2025-06-07 100833.png
Capture d'écran 2025-06-07 100833.png (755.44 KiB) Viewed 1928 times
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

KrunoSmithy

  • Posts: 4550
  • Joined: Fri Oct 20, 2023 11:01 pm
  • Warnings: 1
  • Real Name: Kruno Stifter

Re: Dynamic Data Display csv or Lua

PostSat Jun 07, 2025 8:22 am

Generally you right click on for example parameter or in this case text + filed and choose connect to... and Vonk nodes should be already available to link to.
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostSat Jun 07, 2025 8:45 am

Great thank you it works.
On "vTextFromSubtitle1" I have output only if I select "index" and move it manually.
If I select "timecode" nothing is displayed...
Attachments
Capture d'écran 2025-06-07 104259.png
Capture d'écran 2025-06-07 104259.png (57.97 KiB) Viewed 1919 times
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostSat Jun 07, 2025 3:03 pm

What functions can I use to index the csv list with the video?
Attachments
Capture d'écran 2025-06-07 170149.png
Capture d'écran 2025-06-07 170149.png (812.58 KiB) Viewed 1777 times
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440
Offline
User avatar

marcus54

  • Posts: 13
  • Joined: Wed Aug 28, 2024 4:19 pm
  • Real Name: Marc Garny

Re: Dynamic Data Display csv or Lua

PostMon Jun 09, 2025 6:39 pm

That's it, I did it
With Fusion and with subtitles.
You didn't help me much, but thank you
Attachments
Capture d'écran 2025-06-09 203734.png
Capture d'écran 2025-06-09 203734.png (523.67 KiB) Viewed 288 times
PC Windows 11 Pro, CM ASUSTeK ROG STRIX B650E-E, CPU: AMD Ryzen 9 7950X3D, RAM: 64Go, GPU AMD Radeon RX 7800 XT 16.0 Go VRAM

Samsung Odyssey G93SC OLED 5120x1440

Return to Fusion

Who is online

Users browsing this forum: cbyrdmo and 13 guests