# Glympse – Server Admin

http://localhost:1313/docs/ Recent content in Server Admin on Glympse Hugo -- gohugo.io en-gb

# Watching clips

http://localhost:1313/user_docs/watching-clips/watch/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/user_docs/watching-clips/watch/

<p><img src="http://localhost:1313/images/watch_clips.png" alt="Watch Clips" loading="lazy" /> This is where you will watch through the clips in Glympse.</p> <p>When the page loads, it will automatically load the first clip into the player. To start playing you can press the big play button in the centre.</p> <h3>The video Player<span class="hx-absolute -hx-mt-20" id="the-video-player"></span> <a href="#the-video-player" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><h4>Timecode<span class="hx-absolute -hx-mt-20" id="timecode"></span> <a href="#timecode" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Glympse uses the timecode from the media files. This is so that it matches the timecode that your editor sees within Avid or their NLE of choice.</p> <p><em>It is possible that the timecode in Glympse may be a frame off, this is because the timecodes must be calculated rather than read from the file. It will never be more that one frame off the timecode in the NLE.</em></p> <p>The timecode of the clip is displayed in two places. The seek bar: <img src="http://localhost:1313/images/timecode1.png" alt="Timecode 1" loading="lazy" /></p> <p>And there is a timecode box in the top left: <img src="http://localhost:1313/images/timecode2.png" alt="Timecode 2" loading="lazy" /></p> <p>This timecode box can be moved anywhere in the player window by dragging it to where you&rsquo;d like it to be. You can reset the position of the timecode or disable the timecode box using the <a href="http://localhost:1313/user_docs/user_settings" >user settings menu.</a></p> <h4>Audio Selection<span class="hx-absolute -hx-mt-20" id="audio-selection"></span> <a href="#audio-selection" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>For clips that have more than one track of audio, you can select the track to play back by clicking on the headphone icon on the playbar and selecting the audio track. Glympse by default creates a full mix of all the audio channels and plays this by default. <img src="http://localhost:1313/images/audio_select.png" alt="Audio Tracks" loading="lazy" /></p> <h4>Theatre Mode<span class="hx-absolute -hx-mt-20" id="theatre-mode"></span> <a href="#theatre-mode" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p><img src="http://localhost:1313/images/theatre_mode.png" alt="Theatre Mode" loading="lazy" /> Clicking the theatre mode button will expand the player to take 100% the width of the browser window. Clicking the theatre mode button again will return the player back to its normal size.</p> <h4>Full Screen<span class="hx-absolute -hx-mt-20" id="full-screen"></span> <a href="#full-screen" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Click this button for full screen playback <img src="http://localhost:1313/images/full_screen.png" alt="Full Screen" loading="lazy" /></p> <h4>Rotate<span class="hx-absolute -hx-mt-20" id="rotate"></span> <a href="#rotate" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Some clips like GoPro files can be the wrong orientation. Click the rotate button to rotate the clip by 180° <img src="http://localhost:1313/images/rotate.png" alt="Rotate" loading="lazy" /></p> <p>Click the restore rotate to return the clip to its original orientation. <img src="http://localhost:1313/images/restore_rotate.png" alt="Restore Rotate" loading="lazy" /></p> <h4>Keyboard shortcuts<span class="hx-absolute -hx-mt-20" id="keyboard-shortcuts"></span> <a href="#keyboard-shortcuts" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>When on this page there are a number of keyboard shortcuts you can use. J, K, L are shuttle controls to speed up or change the direction of play. You may have to click in the player window to enable these controls. Holding the Shift Key will also increase the amount the play is sped up or slowed down.</p> <p>M will add a marker at the current time of the clip. Markers will appear for everyone who has access to the production.</p> <h3>Selecting Clips<span class="hx-absolute -hx-mt-20" id="selecting-clips"></span> <a href="#selecting-clips" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>You can select the clip you&rsquo;d like to view from the table at the bottom of the screen. Click the title of the clip to load it into the player.</p> <p>You can also navigate through the clips by pressing the Next/Prev buttons at the bottom of the player. This will load the next or previous clip.</p> <p>The title of the currently playing clip is shown at the bottom of the player and the middle of the menu bar at the top.</p> <h3>Related Clips<span class="hx-absolute -hx-mt-20" id="related-clips"></span> <a href="#related-clips" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>When clips are loaded into Glympse, the system will scan for the start timecode and the end timecode of a clip. This allows it to show all the related clips of the clip you are playing. The related clips box onthe right of the player will update whenever the source of the video player changes. You can automatically hide or show the related clips dropdown using the <a href="http://localhost:1313/user_docs/user_settings" >user settings menu.</a></p> <p>In this example the clip being played belongs to the Main camera and there are two GoPro cameras that have clips with overlapping timecodes.</p> <p><img src="http://localhost:1313/images/related.png" alt="Related" loading="lazy" /></p> <p>Clicking on the title of these related clips will play it in the current page, allowing you to quickly view clips from the other cameras. When you&rsquo;re viewing a related clip, the title in the menu bar and below the player will change showing you that it&rsquo;s playing a related clip then it will list the card followed by the clip title. <img src="http://localhost:1313/images/related_clip.png" alt="Related" loading="lazy" /> As well as this, the prev/next buttons will disappear from below the player. You can select the next related clip by clicking on the clip title or you can return to the original clip by selecting it in the table at the bottom again. This will re-enable the next prev buttons and you can resume watching the camera clips as normal.</p> <p>You can also navigate to any related cards from the related menu in the manu bar. This will show you camera cards from the same camera operator shot on the same day.</p> <h3>Markers and Tags<span class="hx-absolute -hx-mt-20" id="markers-and-tags"></span> <a href="#markers-and-tags" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>You can add markers or tags to any clip within Glympse.</p> <h4>Markers<span class="hx-absolute -hx-mt-20" id="markers"></span> <a href="#markers" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Markers allow you to mark a specific place in a clip. They will be displayed in the marker window next to the player and clicking on them will take you to the correct position in the clip.</p> <p>Markers are shown to everyone who has access to the clip.</p> <h4>Tags<span class="hx-absolute -hx-mt-20" id="tags"></span> <a href="#tags" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Tags are to tag an entire clip. You can tag more than one clip at a time. There is also a setting in the user settings menu that will automatically add the tags to any related clips.</p> <p>Tags are available to everyone who has access to the clips.</p> <h2>Menu Bar<span class="hx-absolute -hx-mt-20" id="menu-bar"></span> <a href="#menu-bar" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p><img src="http://localhost:1313/images/menu.png" alt="Menu" loading="lazy" /> The menu bar may show different options depending on what permissions you have. For example, the Download button will only appear if you have been give download permission for your production.</p> <h3>File<span class="hx-absolute -hx-mt-20" id="file"></span> <a href="#file" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>From the file menu you can send a clip to be transcribed, edit the metadata of the card, submit the card for re-transcode or report issues with the card.</p> <h4>Transcribe<span class="hx-absolute -hx-mt-20" id="transcribe"></span> <a href="#transcribe" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Select the clip or clips you would like to transcribe by checking the box in the table and click file then transcribe. This will send the selected clip(s) to the transcription engine. You can learn more about how this works <a href="http://localhost:1313/user_docs/transcription" >here.</a></p> <h4>Edit metadata<span class="hx-absolute -hx-mt-20" id="edit-metadata"></span> <a href="#edit-metadata" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>From this menu you can change some of the metadata for the card. Anything you change here will be applied to every clip in the card.</p> <p>You can change the date, the card name, or the shooter. You can also hide the card which will stop it from showing on the rushes page. Anyone with a link to the card would still be able to access the clips. This will <em>only</em> stop the card from appearing in the rushes page. Users with access to the production can also unhide any card from the metadata edit pages.</p> <h4>Request Retranscode<span class="hx-absolute -hx-mt-20" id="request-retranscode"></span> <a href="#request-retranscode" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>This will send the entire card back through the transcode engine. It allows you to report any issues with the card and manually submit the clips to the transcoder. The transcode will only work if the original clips are still available.</p> <h4>Report Issues<span class="hx-absolute -hx-mt-20" id="report-issues"></span> <a href="#report-issues" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>This allows you to report issues with the current card. But this option will not automatically retranscode the clips. They would need to be manually transcoded by the admin team.</p> <h3>Related<span class="hx-absolute -hx-mt-20" id="related"></span> <a href="#related" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>This will show any cards that were shot by the same camera operator on the same day as the current card. Clicking one of these will take you load that current card.</p> <h3>Download<span class="hx-absolute -hx-mt-20" id="download"></span> <a href="#download" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>If you have been given the download permissions for your production, you can download the original clip by selecting the clips from the table with the checkbox and clicking download. These files can be very large and may take a long time to download.</p> <h3>Help<span class="hx-absolute -hx-mt-20" id="help"></span> <a href="#help" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>This will open these help pages.</p> <h3>Settings<span class="hx-absolute -hx-mt-20" id="settings"></span> <a href="#settings" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>This will open the user settings menu. <a href="http://localhost:1313/user_docs/user_settings" >Click here to learn more.</a></p> <p>In the centre of the menu bar, the title of the currently loaded clip will be displayed.</p>

# Adding A Production

http://localhost:1313/user_docs/watching-clips/add_production/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/user_docs/watching-clips/add_production/

<p>To add a production click the &ldquo;Add Production&rdquo; button in the top right of the home page.</p> <p>This will bring up the dialogue to add a new production. <img src="http://localhost:1313/images/add_production.png" alt="Add Production Modal" loading="lazy" /> A production consists of two parts. The Base Production and the Production.</p> <p>For example your Base Production may be &ldquo;Game of Thrones&rdquo; then the Production could be &ldquo;Game of Thrones Series 1&rdquo;</p> <h2>Base Production<span class="hx-absolute -hx-mt-20" id="base-production"></span> <a href="#base-production" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Select the Base Production, if it doesn&rsquo;t exist create it by clicking the button next to the select dropdown. Enter the new name of your production and click submit. <img src="http://localhost:1313/images/add_base.png" alt="Add Production Base" loading="lazy" /> The name you entered will be automatically selected.</p> <h2>Production Series<span class="hx-absolute -hx-mt-20" id="production-series"></span> <a href="#production-series" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Enter the series of the production you are adding. This must be an integer.</p> <h2>Friendly Name<span class="hx-absolute -hx-mt-20" id="friendly-name"></span> <a href="#friendly-name" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Enter a short friendly name for the series. This is what will appear on the default thumbnail. In this example we will enter <code>GOTS1</code></p> <h2>Select the location of the camera rushes.<span class="hx-absolute -hx-mt-20" id="select-the-location-of-the-camera-rushes"></span> <a href="#select-the-location-of-the-camera-rushes" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Click on a directory to open it and select it by clicking the radio check mark on the left. <img src="http://localhost:1313/images/series_select.png" alt="Select Series" loading="lazy" /></p> <h2>Priority<span class="hx-absolute -hx-mt-20" id="priority"></span> <a href="#priority" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Most productions can be left as the default of 20. But if you have a smaller production or one where the transcodes need to be run before others you can change the priority here. 0 = lowest priority 100 = highest priority.</p> <h2>Production Owner<span class="hx-absolute -hx-mt-20" id="production-owner"></span> <a href="#production-owner" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>This is who will be responsible for the production. They will get the emails to say that the production has been scanned etc. This will usually be the edit assistant assigned to the project. The user must exist in the Glympse system.</p> <p>If left empty, this will default to the admin user.</p> <p>Click submit and the production will be added to Glympse and the Processing engine will start scanning for new clips. <img src="http://localhost:1313/images/production_added.png" alt="production Added" loading="lazy" /></p>

# User Settings

http://localhost:1313/user_docs/watching-clips/user_settings/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/user_docs/watching-clips/user_settings/

<p>From the User Settings menu you can change some personal settings. <img src="http://localhost:1313/images/user_settings.png" alt="User Settings" loading="lazy" /></p> <h2>Auto Add/Remove Tags<span class="hx-absolute -hx-mt-20" id="auto-addremove-tags"></span> <a href="#auto-addremove-tags" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>When checked, this will automatically add or remove tags on any related clips. When unchecked this, any tags you add or remove, will only be apply to the clips you have selected.</p> <h2>Show Timecode Heading<span class="hx-absolute -hx-mt-20" id="show-timecode-heading"></span> <a href="#show-timecode-heading" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>This enables/disables the timecode box in the video player. Is is enabled by default, should you wish to disable it, you would do so here.</p> <h2>Timecode Size<span class="hx-absolute -hx-mt-20" id="timecode-size"></span> <a href="#timecode-size" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Default: 16</p> <p>You can change the font size for the timecode box here. Increase to make the timecode larger, decrease to make it smaller.</p> <h2>Reset Timecode Position<span class="hx-absolute -hx-mt-20" id="reset-timecode-position"></span> <a href="#reset-timecode-position" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>It is possible that the timecode box may disappear off the ege of the video player. Especially if you use multiple devices with different resolution screens. If that happens, you can reset it to the top left corner here.</p> <h2>Auto Expand related clips<span class="hx-absolute -hx-mt-20" id="auto-expand-related-clips"></span> <a href="#auto-expand-related-clips" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>This will automatically expand the related clips accordion oin the right next to the player. If it is enabled, the related clips will be shown automatically. If disabled you would need to manually open the accordion to display them.</p> <h2>Marker Colour<span class="hx-absolute -hx-mt-20" id="marker-colour"></span> <a href="#marker-colour" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Change the colour of your markers, this only really applies to the Review section.</p> <h2>Receive Admin Emails<span class="hx-absolute -hx-mt-20" id="receive-admin-emails"></span> <a href="#receive-admin-emails" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>If you are set as a production owner, this enables/disables the email updates.</p>

# Database Installation

http://localhost:1313/docs/installation/database/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/docs/installation/database/

<p>To install you will first need the database and queue manager running. Every instance of Glympse you run will need to connect to these containers.</p> <p>First create your docker network. <code>docker network create glympse_net</code></p> <p>Then create a a directory and compose file:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<pre><code>mkdir /opt/glympse_database

cd /opt/glympse_database

nano /opt/glympse_database/compose.yml</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>Paste the following, be sure to change the passwords and any other personal details before saving.</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<div class="filename" dir="auto">compose.yml</div><div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">services</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">redis</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">redis:alpine</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">redis</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">always</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ports</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">6379</span><span class="p">:</span><span class="m">6379</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">/opt/glympse_database/redis_data:/data</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">healthcheck</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">test</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">CMD</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">redis-cli</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">ping</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">interval</span><span class="p">:</span><span class="w"> </span><span class="l">30s</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">timeout</span><span class="p">:</span><span class="w"> </span><span class="l">10s</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">retries</span><span class="p">:</span><span class="w"> </span><span class="m">3</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">rabbitmq</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">rabbitmq:3.13.4-management</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">rabbitmq</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l">bind</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">source</span><span class="p">:</span><span class="w"> </span><span class="l">/opt/glympse_database/rabbitmq.conf</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">target</span><span class="p">:</span><span class="w"> </span><span class="l">/etc/rabbitmq/conf.d/10-defaults.conf</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ports</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">15672</span><span class="p">:</span><span class="m">15672</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">5672</span><span class="p">:</span><span class="m">5672</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">mysql</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">mysql:8.0</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">mysql</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">environment</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MYSQL_ROOT_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">&lt;root password&gt;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MYSQL_DATABASE</span><span class="p">:</span><span class="w"> </span><span class="l">glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MYSQL_USER</span><span class="p">:</span><span class="w"> </span><span class="l">glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MYSQL_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">&lt;glympse password&gt;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">/opt/glympse/mysql:/var/lib/mysql</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l">bind</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">source</span><span class="p">:</span><span class="w"> </span><span class="l">/opt/glympse_database/my.cnf</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">target</span><span class="p">:</span><span class="w"> </span><span class="l">/etc/my.cnf</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ports</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">6033</span><span class="p">:</span><span class="m">6033</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">3306</span><span class="p">:</span><span class="m">3306</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">external</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span></span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-8"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>There are two more files that you need to create and save before running the compose file.</p> <p>First is the mysql config file.</p> <p>Create a file called my.cnf in the glympse_database directory: <code>nano my.cnf</code> and paste the following:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<div class="filename" dir="auto">my.cnf</div><pre><code># For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html

[mysqld] # # Remove leading # and set to the amount of RAM for the most important data # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. # innodb_buffer_pool_size = 128M # # Remove leading # to turn on a very important data integrity option: logging # changes to the binary log between backups. # log_bin # # Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed, experiment to find the optimal values. # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M

# Remove leading # to revert to previous value for default_authentication_plugin, # this will increase compatibility with older clients. For background, see: # https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin # default-authentication-plugin=mysql_native_password skip-host-cache skip-name-resolve datadir=/var/lib/mysql socket=/var/run/mysqld/mysqld.sock secure-file-priv=/var/lib/mysql-files user=mysql connect_timeout = 600 net_read_timeout = 30 wait_timeout = 28800 interactive_timeout = 28800

pid-file=/var/run/mysqld/mysqld.pid [client] socket=/var/run/mysqld/mysqld.sock

!includedir /etc/mysql/conf.d/</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-8"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>Finally create a config file for rabbitmq: <code>nano rabbitmq.conf</code> and paste the following:</p> <p>be sure to change the password for something secure and keep note of it as you will need it for your compose env files.</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<div class="filename" dir="auto">rabbitmq.conf</div><pre><code>default_vhost = glympse default_user = glympse default_pass = &lt;enter password&gt; default_permissions.configure = .* default_permissions.read = .* default_permissions.write = .* default_user_tags.administrator = true default_user_tags.management = true default_user_tags.glympse = true consumer_timeout = 31622400000</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-8"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div>

# Django Admin Settings

http://localhost:1313/docs/setup/admin_settings/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/docs/setup/admin_settings/

<p>The admin settings page is where you can change almost everything. If it&rsquo;s in the database, it&rsquo;s likely you can make changes here.</p> <h2>System Settings<span class="hx-absolute -hx-mt-20" id="system-settings"></span> <a href="#system-settings" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><h1>Whisper Model</h1><p><a href="https://github.com/openai/whisper?tab=readme-ov-file#available-models-and-languages" target="_blank" rel="noopener">See here for more information</a><br> Default: small</p> <table> <thead> <tr> <th>Size</th> <th>Parameters</th> <th>English-only model</th> <th>Multilingual model</th> <th>Required VRAM</th> <th>Relative speed</th> </tr> </thead> <tbody> <tr> <td>tiny</td> <td>39 M</td> <td>tiny.en</td> <td>tiny</td> <td>~1 GB</td> <td>~10x</td> </tr> <tr> <td>base</td> <td>74 M</td> <td>base.en</td> <td>base</td> <td>~1 GB</td> <td>~7x</td> </tr> <tr> <td>small</td> <td>244 M</td> <td>small.en</td> <td>small</td> <td>~2 GB</td> <td>~4x</td> </tr> <tr> <td>medium</td> <td>769 M</td> <td>medium.en</td> <td>medium</td> <td>~5 GB</td> <td>~2x</td> </tr> <tr> <td>large</td> <td>1550 M</td> <td>N/A</td> <td>large</td> <td>~10 GB</td> <td>1x</td> </tr> <tr> <td>turbo</td> <td>809 M</td> <td>N/A</td> <td>turbo</td> <td>~6 GB</td> <td>~8x</td> </tr> </tbody> </table> <h2>Authentication and Authorization<span class="hx-absolute -hx-mt-20" id="authentication-and-authorization"></span> <a href="#authentication-and-authorization" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Here you can manage the advanced settings of the users and Groups. Most of these settings can be changed from the front end without coming into the Django Admin page.</p> <h2>Impersonate<span class="hx-absolute -hx-mt-20" id="impersonate"></span> <a href="#impersonate" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Here you can view the logs for the impersonation.</p> <h2>Periodic Tasks.<span class="hx-absolute -hx-mt-20" id="periodic-tasks"></span> <a href="#periodic-tasks" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>These are created when installed. Should you wish to change the time the tasks run, you would do so in the Periodic Tasks section.</p> <h3>Clocked<span class="hx-absolute -hx-mt-20" id="clocked"></span> <a href="#clocked" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>These run once at a specific date and time.</p> <h3>Cron Tabs<span class="hx-absolute -hx-mt-20" id="cron-tabs"></span> <a href="#cron-tabs" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>This is where you can set advanced schedules using cron. <a href="https://crontab.guru/" target="_blank" rel="noopener">See here for more information about Cron</a></p> <h3>Intervals<span class="hx-absolute -hx-mt-20" id="intervals"></span> <a href="#intervals" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>These will allow you to let a task run at specific intervals, e.g. run once every hour.</p> <h3>Periodic Tasks<span class="hx-absolute -hx-mt-20" id="periodic-tasks-1"></span> <a href="#periodic-tasks-1" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>This is where you register or change the tasks, To change the schedule, you will need to create the schedule using one of the above options and then select it in this page.</p> <p>You can also enable and disable tasks here as well as override the priority of the task.</p> <h2>Review<span class="hx-absolute -hx-mt-20" id="review"></span> <a href="#review" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><h3>Review Files<span class="hx-absolute -hx-mt-20" id="review-files"></span> <a href="#review-files" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>This is where you can see all the files that have been uploaded for review. You can retranscode or delete the files from here.</p> <h3>Share Links<span class="hx-absolute -hx-mt-20" id="share-links"></span> <a href="#share-links" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>Add, edit or delete the share links for files here.</p> <h2>Rushes Management<span class="hx-absolute -hx-mt-20" id="rushes-management"></span> <a href="#rushes-management" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>You can make changes to the metadata of the clips or add or remove the productions here. But most of these tasks can and should be done in the front end.</p> <h3>Base Productions<span class="hx-absolute -hx-mt-20" id="base-productions"></span> <a href="#base-productions" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>Add or edit the base productions. You can also change the group that the Base Production is assigned to.</p> <h3>Production<span class="hx-absolute -hx-mt-20" id="production"></span> <a href="#production" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>Here you can make changes to the production such as the name, friendly name, filepath etc. You can also trigger some tasks from this page such as the file scan or the transcoder.</p> <h3>clips<span class="hx-absolute -hx-mt-20" id="clips"></span> <a href="#clips" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>Here you can see and edit all the metadata for the clips in the Glympse database.</p> <h2>Transcribe<span class="hx-absolute -hx-mt-20" id="transcribe"></span> <a href="#transcribe" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><h3>Clips for Transcription<span class="hx-absolute -hx-mt-20" id="clips-for-transcription"></span> <a href="#clips-for-transcription" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>Here you can see all of the clips that have been sent to the transcription engine. You can trigger tasks such as re-transcribe or delete the files from here.</p>

# Editing Metadata

http://localhost:1313/user_docs/edit_metadata/editing_metadata/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/user_docs/edit_metadata/editing_metadata/

<p>When you click Edit on the metadata page you will be taken to the edit page. This shows a table with all the clips for that production. You can see whether a clip has been transcoded, is marked as hidden or edit the metadata of the clip(s)</p> <p><img src="http://localhost:1313/images/edit_metadata.png" alt="Edit Metadata" loading="lazy" /></p> <p>There are limited options for editing the metadata. You can edit only the roll, the date and the shooter aswell as hide or unhide a clip.</p> <p>To edit a clip select it by checking the checkbox of the clip row. At the bottom of the table you can enter a new roll/date/shooter then click save to save the edits.</p> <p>Whatever you entered in all three boxes will be applied to the selected clips. Leave the box empty to leave the current details unchanged.</p> <p>You can also hide/unhide clips by checking the hide checkbox. As soon as you click the checkbox it will be immediately hidden. It is possible that the clips may still appear until the cache has ben flushed. This process can take 10-15 minutes.</p> <p>From this page you can also send multiple clips to the transcription engine.</p> <p>Select the clips by checking the checkbox and click transcribe. This w3ill send the selected clips to be transcribed.</p> <p>You can also delete clips from the Glympse database.</p> <p>Glympse has read only access to the raw camera files, by deleting clips from Glympse, the original camera files will be unaffected.</p>

# Glympse Admin

http://localhost:1313/docs/setup/admin_frontend/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/docs/setup/admin_frontend/

<p>You can manage most of the admin settings from the front end. When a user is assigned admin permissions or is joined to the &ldquo;hub&rdquo; group they will have access to the admin menu on the webUI.</p> <h2>Dashboard<span class="hx-absolute -hx-mt-20" id="dashboard"></span> <a href="#dashboard" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Access the dashboard page. This give you an overview of the system. It will show some figures like how many clips are waiting to be transcoded or how many clips have been transcribed. It also shows you all running tasks and will also show who is currently online.</p> <p>You can also trigger the periodic tasks from the bottom of this page.</p> <h2>Logs<span class="hx-absolute -hx-mt-20" id="logs"></span> <a href="#logs" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>View the system logs.</p> <h2>Add Production<span class="hx-absolute -hx-mt-20" id="add-production"></span> <a href="#add-production" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>This brings up the add production modal where you can add a production. This is the same interface as pressing the add production button on the home page.</p> <h2>Edit Production<span class="hx-absolute -hx-mt-20" id="edit-production"></span> <a href="#edit-production" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Here you can edit productions.</p> <h4>Production Admin<span class="hx-absolute -hx-mt-20" id="production-admin"></span> <a href="#production-admin" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>This is who is responsible for the production. It&rsquo;s likely that this should be the edit assistant assigned to the production. You can change this here, this person will receive the emails after the production has been scanned.</p> <h4>Cover Image<span class="hx-absolute -hx-mt-20" id="cover-image"></span> <a href="#cover-image" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>Click the image to upload a new thumbnail image for the production. Or reset it.</p> <h4>Active<span class="hx-absolute -hx-mt-20" id="active"></span> <a href="#active" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>An active production will be scanned for new rushes. A deactivated production will still be available to users.</p> <h4>Archive<span class="hx-absolute -hx-mt-20" id="archive"></span> <a href="#archive" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>This will remove the production from being able to be viewed. All files will remain, they will just be hidden.</p> <h4>Export<span class="hx-absolute -hx-mt-20" id="export"></span> <a href="#export" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>This will export a json file containing the database entries for this production that can be archived to another system along with the media files. The media files will have to be manually backed up from your server. Once you have backed up the json file and the media, you can delete the production.</p> <h4>Delete<span class="hx-absolute -hx-mt-20" id="delete"></span> <a href="#delete" class="subheading-anchor" aria-label="Permalink for this section"></a></h4><p>This will delete the production and all the clips associated with it.</p> <h2>Manage Users<span class="hx-absolute -hx-mt-20" id="manage-users"></span> <a href="#manage-users" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><h3>Edit Users<span class="hx-absolute -hx-mt-20" id="edit-users"></span> <a href="#edit-users" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>Select a user from the dropdown menu and you can assign the user to a group. You can also deactivate the user which will keep the account but not allow the user to log in. Or you can delete the user which will delete their account completely.</p> <p>If the user was created by logging in via SSO, they will still be able to log in once they have been deleted. But they will have no permissions and won&rsquo;t be assigned to a group so will not have access to any productions.</p> <p>You can enable the ability for users to scan or start a production transcoder. They will only be able to scan or transcode the productions they have access to.</p> <p>Clicking on the number beside their name at the top will enter the impersonation for this user. This is useful if you need to check a user has the correct permissions.</p> <p>You can add a local user by clicking the blue + button at the top.</p> <h3>Edit Group Permissions<span class="hx-absolute -hx-mt-20" id="edit-group-permissions"></span> <a href="#edit-group-permissions" class="subheading-anchor" aria-label="Permalink for this section"></a></h3><p>When a base production is added, a new group of the same name will be created.</p> <p>From this page you can select a group and assign productions to it. Users assigned to this group will then be able to access these productions.</p> <p>You can add a new group by clicking the blue + button at the top right.</p> <p>From this page you can</p> <h2>Settings<span class="hx-absolute -hx-mt-20" id="settings"></span> <a href="#settings" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>This will open the django admin setting page.</p> <h2>Send Email<span class="hx-absolute -hx-mt-20" id="send-email"></span> <a href="#send-email" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>Here you can send an email to registered users. Either select an existing email draft or click new to create a new one.</p> <p>This will take you to the editor page. Set the Subject at the top, then select a date and time to send the email. Not setting this will send immediately.</p> <p>Select the recipients of the email and draft the email below.</p> <p>The editor is a WYSIWYG editor so the email body will appear exactly as it does in this editor. You can add images and graphics to the email body should you wish.</p> <p>Click save and preview. This will show you a copy of what the email will look like when sent. You will be able to either schedule the send or edit the email again after this point.</p> <p>Click Delete to delete the email draft.</p> <h2>Clear Cache<span class="hx-absolute -hx-mt-20" id="clear-cache"></span> <a href="#clear-cache" class="subheading-anchor" aria-label="Permalink for this section"></a></h2><p>This clears the cache of the system. Useful if there have been large database changes. By default the system caches data for around 10 minutes.</p> <p>Users may have to force refresh their browser to clear their local cache if the changes aren&rsquo;t appearing for them.</p>

# Glympse Services

http://localhost:1313/docs/installation/services/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/docs/installation/services/

<p>Glympse is split into multiple services so you can split the workload between multiple machines.</p> <p>The available services are as follows:</p> <ul> <li> <p>Celery Beat<br> You should only have one of these running across all your containers. This is responsible for managing the scheduled tasks. Without this, the scheduled tasks will not run. For ease, I usually run this in the same container as the webui.</p> </li> <li> <p>WebUI<br> This is the webui front end. The reverse proxy needs to point to the machine that is running this service. It is possible to run more than one frontend for load balancing purposes.</p> </li> <li> <p>Processing<br> This service is responsible for scanning the rushes drives and inserting the rushes into the Glympse database. It is also responsible for other background tasks such as sending emails etc. This worker will run 16 simultaneous tasks.</p> </li> <li> <p>Transcoding - <strong>Prefers Nvidia GPU</strong><br> This is the transcoding engine. It takes the raw rushes and transcodes them to lower resolution proxy files that can be streamed. The transcoder will try use cuda hardware acceleration but will fall back to software if it is unavailable. This worker will run 4 simultaneous tasks.</p> </li> <li> <p>Long Transcoding<br> This was set up to create the thumbnail preview for the video player when you hover over the video play bar to allow for scrubbing. This worker will run 16 simultaneous tasks.</p> </li> <li> <p>Transcribing - <strong>Requires Nvidia GPU</strong><br> This is responsible for transcribing clips. A modern Nvidia GPU is required for this to work. It is possible to select a different model that may better suit the available hardware. A GPU with more VRAM can support a larger model. This worker will run a single task at a time.</p> </li> </ul> <p>It is possible to run one or more services in a single docker container. the running services are managed through the environment settings in the compose file.</p>

# Install Glympse

http://localhost:1313/docs/installation/install_glympse/ Mon, 01 Jan 0001 00:00:00 +0000

http://localhost:1313/docs/installation/install_glympse/

<p>To install glympse we first need to create a docker compose file and then an env file. These two files will allow you to configure most out of the box settings. Once you&rsquo;re set these up, you will be able to change more setting from the webui.</p> <p>Services default to enabled, to disable a service, change yes to no in the environment section of the compose file. To enable a service, either change the environment variable to yes or delete/comment the line.</p> <p>UWSGI and NGINX are required for the webui service</p> <p>The following compose file will enable all services in a single container. This will work but it is possible that the transcoding and transcribing tasks can slow down the webui if you&rsquo;re running on a slower machine.</p> <p>If you are going to be running the transcoder or the transcription engine, you will need an Nvidia GPU. To find the device ID run <code>nvidia_smi</code> on the system you will be installing the container. This will give you an output that looks like this:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<pre><code>&#43;-----------------------------------------------------------------------------------------&#43; | NVIDIA-SMI 565.57.02 Driver Version: 566.03 CUDA Version: 12.7 | |-----------------------------------------&#43;------------------------&#43;----------------------&#43; | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================&#43;========================&#43;======================| | 0 NVIDIA GeForce GTX 1080 On | 00000000:01:00.0 On | N/A | | 27% 38C P8 8W / 180W | 893MiB / 8192MiB | 1% Default | | | | N/A | &#43;-----------------------------------------&#43;------------------------&#43;----------------------&#43;

&#43;-----------------------------------------------------------------------------------------&#43; | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 26 G /Xwayland N/A | &#43;-----------------------------------------------------------------------------------------&#43;</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>The device id is in the third row, just above the memory:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<pre><code>&#43;========================&#43; | 00000000:01:00.0 On | | 893MiB / 8192MiB | | | &#43;------------------------&#43;</code></pre><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>In this case the device id is: <code>00000000:01:00.0</code></p> <p>Add this to your compose file. A file that runs all services with a gpu looks like:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<div class="filename" dir="auto">compose.yml</div><div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">services</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">Glympse_net</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">git.themainframe.co.uk/josh/glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">Glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">unless-stopped</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ports</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">8080</span><span class="p">:</span><span class="m">80</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">environment</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">TZ</span><span class="p">:</span><span class="w"> </span><span class="l">Europe/London</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_UWSGI</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_NGINX</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_CELERY_BEAT</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_PROCESSING</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_MIGRATIONS</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_TRANSCRIBER</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ENABLE_TRANSCODER</span><span class="p">:</span><span class="w"> </span><span class="kc">yes</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">DJANGO_SETTINGS_MODULE</span><span class="p">:</span><span class="w"> </span><span class="l">Glympse.settings.production</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SECRET_KEY</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;super_secret_key&#34;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SECRET_ADMIN_URL</span><span class="p">:</span><span class="w"> </span><span class="l">random_string</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">CSRF_TRUSTED_ORIGINS</span><span class="p">:</span><span class="w"> </span><span class="l">http://127.0.0.1</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ALLOWED_HOSTS</span><span class="p">:</span><span class="w"> </span><span class="m">127.0.0.1</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ADMINS</span><span class="p">:</span><span class="w"> </span><span class="l">admin@glympsevideo.com</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">DOMAIN</span><span class="p">:</span><span class="w"> </span><span class="l">glympse.glympsevideo.com</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SQL_ENGINE</span><span class="p">:</span><span class="w"> </span><span class="l">django.db.backends.mysql</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SQL_DATABASE</span><span class="p">:</span><span class="w"> </span><span class="l">glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SQL_USER</span><span class="p">:</span><span class="w"> </span><span class="l">glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SQL_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">insecure_password</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SQL_HOST</span><span class="p">:</span><span class="w"> </span><span class="l">mysql</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">SQL_PORT</span><span class="p">:</span><span class="w"> </span><span class="m">3306</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">EMAIL_HOST</span><span class="p">:</span><span class="w"> </span><span class="l">mail.themainframe.co.uk</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">EMAIL_PORT</span><span class="p">:</span><span class="w"> </span><span class="m">587</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">EMAIL_USE_TLS</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">EMAIL_HOST_USER</span><span class="p">:</span><span class="w"> </span><span class="l">noreply@glympsevideo.com</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">EMAIL_HOST_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">insecure_password</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">DEFAULT_FROM_EMAIL</span><span class="p">:</span><span class="w"> </span><span class="l">Glympse&lt;glympse@glympsevideo.com&gt;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ALLOWED_EMAIL_DOMAINS</span><span class="p">:</span><span class="w"> </span><span class="l">glympsevideo.com</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">REDIS_HOST</span><span class="p">:</span><span class="w"> </span><span class="l">redis://redis:6379</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">RABBITMQ_URL</span><span class="p">:</span><span class="w"> </span><span class="l">amqp://glympse:insecure_password@rabbitmq:5672/glympse</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ADMIN_USERNAME</span><span class="p">:</span><span class="w"> </span><span class="l">hub</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ADMIN_EMAIL</span><span class="p">:</span><span class="w"> </span><span class="l">admin@glympsevideo.com</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ADMIN_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="l">insecure_password</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">LOG_LEVEL</span><span class="p">:</span><span class="w"> </span><span class="l">DEBUG</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">TIMEZONE</span><span class="p">:</span><span class="w"> </span><span class="l">Europe/London</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MICROSOFT_AUTH_CLIENT_ID</span><span class="p">:</span><span class="w"> </span><span class="l">None</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MICROSOFT_AUTH_CLIENT_SECRET</span><span class="p">:</span><span class="w"> </span><span class="l">None</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MICROSOFT_AUTH_TENANT_ID</span><span class="p">:</span><span class="w"> </span><span class="l">None</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">MEMCACHED</span><span class="p">:</span><span class="w"> </span><span class="l">memcached:11211</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">CUDA_DEVICE</span><span class="p">:</span><span class="w"> </span><span class="l">cuda:0</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">DEBUG</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;True&#34;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">REMOTE_WORKER</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;False&#34;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">REMOTE_PRODUCTION</span><span class="p">:</span><span class="w"> </span><span class="l">None</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">/opt/glympse/logs:/Glympse/logs</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">/media:/media</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">/rushes:/rushes:ro</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">deploy</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">resources</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">reservations</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">devices</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">driver</span><span class="p">:</span><span class="w"> </span><span class="l">nvidia</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">device_ids</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="m">00000000</span><span class="p">:</span><span class="m">01</span><span class="p">:</span><span class="m">00.0</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">capabilities</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">gpu</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">memcached</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">memcached:latest</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">memcached</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">entrypoint</span><span class="p">:</span><span class="w"> </span><span class="l">memcached -m 256</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">unless-stopped</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">glympse_net</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">external</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span></span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-8"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>If you are install Glympse on a second system or a system other than where the raw camera files are stored you can use the following to mount the volumes as smb shares:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">volumes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">rushes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">driver</span><span class="p">:</span><span class="w"> </span><span class="l">local</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">driver_opts</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l">cifs</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">o</span><span class="p">:</span><span class="w"> </span><span class="l">username=&lt;sbm_username&gt;,password=&lt;smb_password&gt;,ro,domain=localhost</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">device</span><span class="p">:</span><span class="w"> </span><span class="l">\\smb\share\path</span></span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>Alternatively you can use a nfs share:</p> <div class="hextra-code-block hx-relative hx-mt-6 first:hx-mt-0 hx-group/code">

<div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">volumes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">rushes</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">driver_opts</span><span class="p">:</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="l">nfs</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">o</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;addr=&lt;nfs-server-ip&gt;,nolock,soft,rw&#34;</span><span class="w"> </span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">device</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;:/full/share/path&#34;</span></span></span></code></pre></div></div><div class="hextra-code-copy-btn-container hx-opacity-0 hx-transition group-hover/code:hx-opacity-100 hx-flex hx-gap-1 hx-absolute hx-m-[11px] hx-right-0 hx-top-0"> <button class="hextra-code-copy-btn hx-group/copybtn hx-transition-all active:hx-opacity-50 hx-bg-primary-700/5 hx-border hx-border-black/5 hx-text-gray-600 hover:hx-text-gray-900 hx-rounded-md hx-p-1.5 dark:hx-bg-primary-300/10 dark:hx-border-white/10 dark:hx-text-gray-400 dark:hover:hx-text-gray-50" title="Copy code" > <div class="copy-icon group-[.copied]/copybtn:hx-hidden hx-pointer-events-none hx-h-4 hx-w-4"></div> <div class="success-icon hx-hidden group-[.copied]/copybtn:hx-block hx-pointer-events-none hx-h-4 hx-w-4"></div> </button> </div>

</div> <p>You will need to make sure that if you are mounting the raw rushes volume that you mount this as <code>ro</code> or read only so Glympse can not make any changes to the raw rushes.</p> <p>If you are mounting the glympse mediafiles or logs, you will need to mount this as <code>rw</code> or read write so Glympse can create the files.</p>