diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-07-10 15:04:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-28 15:31:25 -0700 |
commit | fce42d4858d33e10b7a1c48d75838f1901b6b123 (patch) | |
tree | 3be7516c1e306e4fb8cce9cd1f3e357e3a5575df /icons | |
parent | 51066e5478d76824c5da53f37184e0e0d1f3e4af (diff) | |
download | subsurface-fce42d4858d33e10b7a1c48d75838f1901b6b123.tar.gz |
Dive media: Extract thumbnails from videos with ffmpeg
Extract thumbnails using ffmpeg.
Behavior is controlled by three new preferences fields:
- extract_video_thumbnails (bool): if true, thumbnails are calculated.
- extract_video_thumbnail_position (int 0..100): position in video
where thumbnail is fetched.
- ffmpeg_executable (string): path of ffmpeg executable.
If ffmpeg refuses to start, extract_video_thumbnails is set to false
to avoid unnecessary churn.
Video thumbnails are marked by an overlay.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'icons')
-rw-r--r-- | icons/video_overlay.svg | 263 |
1 files changed, 263 insertions, 0 deletions
diff --git a/icons/video_overlay.svg b/icons/video_overlay.svg new file mode 100644 index 000000000..87ad6a6e3 --- /dev/null +++ b/icons/video_overlay.svg @@ -0,0 +1,263 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + height="66" + width="22" + id="svg25756" + version="1.1" + viewBox="0 0 22 66" + sodipodi:docname="video_overlay.svg" + inkscape:version="0.92.3 (2405546, 2018-03-11)"> + <sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1920" + inkscape:window-height="1015" + id="namedview870" + showgrid="false" + inkscape:zoom="12.242424" + inkscape:cx="11" + inkscape:cy="33" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:current-layer="svg25756" /> + <metadata + id="metadata25760"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs3051"> + <style + id="current-color-scheme" + type="text/css"> + .ColorScheme-Text { + color:#4d4d4d; + } + </style> + </defs> + <path + id="path1012" + d="M 1.6913554e-16,4.7920842e-9 H 2.7632416 V 66 H 0 Z" + style="color:#4d4d4d;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + id="path904" + d="m 9,31 v 4 l 4,-2 z" + style="color:#4d4d4d;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-linejoin:bevel;stroke-linecap:round" /> + <path + id="path888" + d="M 0.69081079,39.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,36.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path916" /> + <path + id="path920" + d="M 0.69081079,33.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,30.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path924" /> + <path + id="path928" + d="M 0.69081079,27.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,24.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path932" /> + <path + id="path936" + d="M 0.69081079,21.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,18.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path940" /> + <path + id="path944" + d="M 0.69081079,15.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,12.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path948" /> + <path + id="path952" + d="M 0.69081079,9.8833914 H 2.0724306 V 11.265012 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,6.8833914 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path956" /> + <path + id="path960" + d="M 0.69081079,3.8833914 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,0.88339134 H 2.0724306 V 2.2650124 H 0.69081079 Z" + id="path964" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,42.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path968" /> + <path + id="path976" + d="M 0.69081079,45.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,48.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path980" /> + <path + id="path984" + d="M 0.69081079,51.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,54.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path988" /> + <path + id="path992" + d="M 0.69081079,57.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,60.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path996" /> + <path + id="path1000" + d="M 0.69081079,60.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + id="path1004" + d="M 0.69081079,63.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="M 0.69081079,63.883391 H 2.0724316 v 1.381621 H 0.69081079 Z" + id="path1008" /> + <path + style="color:#4d4d4d;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.237,4.7920842e-9 h 2.763242 V 66 H 19.237 Z" + id="path1018" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,39.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1020" /> + <path + id="path1022" + d="m 19.927811,36.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,33.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1024" /> + <path + id="path1026" + d="m 19.927811,30.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,27.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1028" /> + <path + id="path1030" + d="m 19.927811,24.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,21.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1032" /> + <path + id="path1034" + d="m 19.927811,18.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,15.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1036" /> + <path + id="path1038" + d="m 19.927811,12.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,9.8833914 h 1.38162 v 1.3816206 h -1.38162 z" + id="path1040" /> + <path + id="path1042" + d="m 19.927811,6.8833914 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,3.8833914 h 1.381621 v 1.381621 h -1.381621 z" + id="path1044" /> + <path + id="path1046" + d="m 19.927811,0.88339134 h 1.38162 V 2.2650124 h -1.38162 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + id="path1048" + d="m 19.927811,42.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,45.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1050" /> + <path + id="path1052" + d="m 19.927811,48.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,51.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1054" /> + <path + id="path1056" + d="m 19.927811,54.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,57.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1058" /> + <path + id="path1060" + d="m 19.927811,60.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,60.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1062" /> + <path + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" + d="m 19.927811,63.883391 h 1.381621 v 1.381621 h -1.381621 z" + id="path1064" /> + <path + id="path1066" + d="m 19.927811,63.883391 h 1.381621 v 1.381621 h -1.381621 z" + style="color:#4d4d4d;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.99999994" /> +</svg> |