<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/09/2018 12:44, Willem Ferguson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANyyeo2SPn+xzPG1xXA8VScSyTbAyjh2HSV22UT-5eQKmUW7zA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
<div class="gmail_quote">
<div dir="ltr">---------- Forwarded message ---------<br>
From: <strong class="gmail_sendername" dir="auto">Berthold
Stoeger</strong> <span dir="ltr"><<a
href="mailto:bstoeger@mail.tuwien.ac.at"
moz-do-not-send="true">bstoeger@mail.tuwien.ac.at</a>></span><br>
Date: Tue, 11 Sep 2018, 22:37<br>
Subject: Text on ffmpeg<br>
To: <<a href="mailto:fergusonwillem@gmail.com"
moz-do-not-send="true">fergusonwillem@gmail.com</a>><br>
</div>
<br>
<br>
Hi Willem,<br>
<br>
I wrote a few lines on ffmpeg/thumbnail extraction:<br>
<br>
---<br>
Video-Thumbnails<br>
<br>
By default, videos are shown on the profile and the _Media_ tab
with a placeholder-image.<br>
To extract real thumbnails from videos, _Subsurface_ relies on
the external _FFmpeg_ software.<br>
This software can be downloaded from link:<a
href="https://www.ffmpeg.org/download.html%5BFFmpeg"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://www.ffmpeg.org/download.html[FFmpeg</a>
download page].<br>
Most Linux distributions ship with an _FFmpeg_ package and
therefore do not need an additional download.<br>
There are two ways of connecting _Subsurface_ to _FFmpeg_:<br>
1) On Windows, put the _ffmpeg.exe_ file in the directory
containing the _Subsurface_ executable.<br>
On Mac and Linux, make sure the _ffmpeg_ command is in the path.
This should be the case for<br>
_ffmpeg_ installed from official packages.<br>
2) In the _General_ tab of the _Preferences_, choose the path to
the executable.<br>
<br>
To enable thumbnail extraction from videos, check the _Extract
video thumbnails_ box<br>
in the _General_ tab of the _Preferences_. If _Subsurface_ fails
to load the _FFmpeg_ executable,<br>
this option will be turned off. Re-enable it after succesfully
installing _FFmpeg_.<br>
In the _General_ tab of the _Preferences_, you can also choose
the position in the video where _Subsurface_<br>
should try to extract the thumbnail. The left-most and
right-most positions of the _Extract at position_<br>
slider signify the beginning and the end of the video,
respectively. Note that if _Subsurface_ cannot<br>
determine the length of the video (this can be the case for AVI
files), the first frame<br>
of the video will be extracted.<br>
---<br>
<br>
Is this kind of text useful for you? Should I make screenshots?<br>
<br>
Thanks,<br>
<br>
Berthold<br>
<br>
<br>
</div>
</blockquote>
<p>Hallo Berthold,</p>
<p>Looks like our normal email is working again. Thanks for the
above. That is certainly very useful and I tested it on my Linux
box. One question. The date/time that is used to insert the video:
are there any Exif or equivalent data in the file from which this
is obtained, or does it use the file system date/time? My video
viewer does not produce any date/time incoded in the ,mp4 itself.</p>
<p>Second question. I have several .MOV files in the same directory
as the .mp4 file that I work with. When, in Subsurface, I select
"Attach images from file" and I point it to the right directory,
and select "Video files" it only sees the .mp4 file, NOT the .MOV
files. The file filter that determines which files are seen must
be set by the Subsurface importer. However, when I select the "All
files" filter, then it sees the .MOV files. So, it appears the
filter for "Video files" could be improved to include the formats
that ffmpeg supports????</p>
<p>Thirdly, it is a rudimentary issue to update the dive list
context menu entry to read "Load Images from file" to "Load media
from file". The same should probably happen to the menu entry
immediately underneath "Load images from web". Should I do that?<br>
</p>
<p>Kind regards,</p>
<p>willem<br>
</p>
<p>Kind regards,</p>
<p>willem</p>
<p><br>
</p>
</body>
</html>
<br>
<div style="font-family:Arial,Helvetica,sans-serif"><span style="font-size:10.0pt;line-height:105%;font-family:"Segoe UI",sans-serif">This message and attachments are subject to a disclaimer.<br>
Please refer to <a href="http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf" target="_blank">http://upnet.up.ac.za/<wbr>services/it/documentation/<wbr>docs/004167.pdf</a> </span><span style="font-size:10pt;line-height:105%;font-family:Tahoma,sans-serif">for
full details.</span></div>