---
title: "Put HUD ( data extract from Subsurface ) on video (GoPro or other) of scuba diving"
url: https://www.cyber-neurones.org/2023/08/put-hud-data-extract-from-subsurface-on-video-gopro-or-other-of-scuba-diving/
date: 2023-08-08
modified: 2023-08-08
author: "Frederic"
description: "Source code here : https://github.com/ARIAS-Joseph/HUD-diving-informations Test done on Ubuntu : $ time python3 CreateBgForVideoWithFFMEG.py ... My processor : x86_64 My OS : Linux My OS Relase : Linux-5.15.0-78-generic-x86_64-with-glibc2.35 My Python..."
categories:
  - "Photos"
word_count: 103
---

# Put HUD ( data extract from Subsurface ) on video (GoPro or other) of scuba diving

Source code here : [https://github.com/ARIAS-Joseph/HUD-diving-informations](https://github.com/ARIAS-Joseph/HUD-diving-informations)

Test done on Ubuntu :

$ time python3 CreateBgForVideoWithFFMEG.py
...
My processor : x86_64
My OS : Linux
My OS Relase : Linux-5.15.0-78-generic-x86_64-with-glibc2.35
My Python Version :3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
My FFMPEG :ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
...
--------------------------------------------------------
Resolution : 1280 x 720
File Size videomerge.mp4 in MegaBytes is 13
File Size videomergecompress.mp4 in MegaBytes is 5
File Size video.mp4 in MegaBytes is 189
File Size videocompress.mp4 in MegaBytes is 4
End (730 sec)
--------------------------------------------------------

real 12m9,868s
user 26m25,654s
sys 0m32,545s

So 13 min to create video.

Result :

![](https://www.cyber-neurones.org/wp-content/uploads/2023/08/screenshot-from-2023-08-08-22-12-36-1024x568.png)