# Adding Extra Information to Saved Video Overlay (.ass)

**URL:** <https://discuss.bluerobotics.com/t/adding-extra-information-to-saved-video-overlay-ass/10730>\
**Category:** QGroundControl\
**Created:** [October 1, 2021, 10:35pm UTC](https://discuss.bluerobotics.com/t/adding-extra-information-to-saved-video-overlay-ass/10730 "2021-10-01T22:35:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [October 2, 2021, 11:19am UTC](https://discuss.bluerobotics.com/t/adding-extra-information-to-saved-video-overlay-ass/10730/2 "2021-10-02T11:19:58Z")

</div>

Hi @Matte, welcome to the forum! 🙂

> [@Matte](#):
>
> 1. Is there the possibility to modify the position of a text before it will be recorded or i must customize my overlay only after a .ass file will be generated? I would add some extra information in my overlay like company name, inspected target’s name and so on.

Looking at the original post,

> [@New video overlay option in QGroundControl](https://discuss.bluerobotics.com/t/new-video-overlay-option-in-qgroundcontrol/5244/1):
>
> More information on the decision to use subtitles is explained in the [proposal](https://github.com/mavlink/qgroundcontrol/issues/7286) for the feature, and in @williangalvani’s [pull request](https://github.com/mavlink/qgroundcontrol/pull/7482) to add the feature.

the ‘proposal’ that was linked to specifies the subtitle-generation process shouldn’t be user-configurable to keep things simple. Looking at the code in the pull request, that was indeed the case. To add extra custom information/content you would need to modify the subtitles after they’re generated, which you could presumably do in one of the available [Software Packages](https://en.wikipedia.org/wiki/SubStation_Alpha#Software_support), or possibly with some simple code if you’re consistently adding the same information.

> [@Matte](#):
>
> 1. i have seen that in my .ass file information are organized like follow:
> 
> Dialogue: 0,0:00:00.9,0:00:01.9,Default,0,0,0,{\an3\pos(950,1075)}Roll:\NPitch:\NHeading:  
> Dialogue: 0,0:00:00.9,0:00:01.9,Default,0,0,0,{\pos(960,1075)}-0.7 deg\N4.4 deg\N123 deg
> 
> im trying to understand why there is one line assigned to the header and a second one relative to the value. How i can merge in only one line?

If you look at the image in the original post, the data types/headings are right-aligned whereas the corresponding values are left-aligned, so that they all line up in the display, and there’s a consistent gap between each data type and its value. The `\an3` command would appear to perform that right-aligning.

I don’t know enough about the [Advanced SubStation specification](http://www.tcax.org/docs/ass-specs.htm) to know if it’s possible to combine text with different formatting in the same Dialogue line. If it is possible then I would assume it could be done with something like

```auto
Dialogue: 0,0:00:00.9,0:00:01.9,Default,0,0,0,{\an3\pos(950,1075)}Roll:\NPitch:\NHeading:{\pos(960,1075)}-0.7 deg\N4.4 deg\N123 deg

```

but I have no idea if that’s the correct syntax, or whether all different formatting needs to be kept on its own Dialogue line to function correctly.

---

_[View the full topic](https://discuss.bluerobotics.com/t/adding-extra-information-to-saved-video-overlay-ass/10730)._
