> On Sep 24, 2021, at 5:08 AM, Willem Ferguson via subsurface
> <subsurface@subsurface-divelog.org> wrote:
>
> When right-clicking on a photo in the Subsurface Media tab on my desktop I
> just came across the option "Save dive data as subtitles". What does this do?
> I would like to include this in the user manual.
Well, here's what the manual says today...
By right-clicking on a video and selecting the "Save dive data as subtitles"
option, a subtitles
file with the same name as the video but with an ".ass" extension is created
that contains
time dependent dive data (runtime, depth, temperature, NDL, TTS, surface GF) to
be overlayed
with the video. The VLC video player automatically finds this file upon playing
the video
and overlays the dive data. Alternatively, the ffmpeg video encoder can be used
to create a
new video file with the dive data encoded in the video stream. To do so run
ffmpeg -v video.mp4 -vf "ass=video.ass" video_with_data.mp4
from the command line. You need to have the libass library installed.
This is the classic example of a feature that one or two people wanted, one
person implemented, and that no one uses or knows about.
I'm tempted to make a bet whether this actually works - or whether this works
on a platform different from the one the implementer uses...
Well, this feature was added by Robert
commit 52105e521720c87e64dbd2519be7bbe5dc243439
Author: Robert C. Helling <hell...@atdotde.de>
Date: Sun Apr 14 16:19:23 2019 +0200
Write dive data as video subtitles
This commit adds an entry to the dive media context
menu which offers to write a subtitle file. This
creates an .ass file for the selected videos.
In an attempt to to clutter the screen too much, don't
show irrelevant entries (zero temperature or
NDL and show TTS only for dives with stops).
VLC is able to show these subtitles directly, they
can be integrated into the video file with ffmpeg.
Signed-off-by: Robert C. Helling <hell...@atdotde.de>
So my guess is this works on macOS, this may work on Linux, this is unlikely to
have ever been tested on Windows.
/D
_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface