Generating And Uploading Thumbnail Images For Each Title
<h3 class="heading-h6"><a name="THLToolboxhomegtAudioVideogtTechnicalProcessingofAudioVideoLogEditandCompressgtGeneratingandUploadingThumbnailImagesforEachTitle" class="anchorpoint"></a><a href="/tools/wiki/home.html">THL Toolbox</a> > <a href="/tools/wiki/Audio-Video.html">Audio-Video</a> > <a href="/tools/wiki/Technical%20Processing%20of%20Audio-Video%20-%20Log%2C%20Edit%20and%20Compress.html">Technical Processing of Audio-Video - Log, Edit and Compress</a> > Generating and Uploading Thumbnail Images for Each Title</h3><p class="paragraph">
</p><h3 class="heading-h1"><a name="GeneratingandUploadingThumbnailImagesforEachAudioVideoTitle" class="anchorpoint"></a>Generating and Uploading Thumbnail Images for Each Audio-Video Title</h3><p class="paragraph"><strong class="bold">Contributor(s)</strong>: James Graves, Eric Woelfel
</p><h3 class="heading-h3"><a name="AGeneratingThumbnailImages" class="anchorpoint"></a>A. Generating Thumbnail Images</h3><p class="paragraph"><strong class="bold">Note</strong>: This process requires BBEdit to be installed on your computer, and that you have already completed compressions of the given video material.</p><ol><li>Download the script "QT7export folder of stills.scpt"under Applescript.</li>
<li>Run the script.</li>
<li>Select as your source folder your folder of "high" compressions.</li>
<li>When prompted to select a destination folder, create a new folder called "thumb-sources" and select that as your destination.</li>
<li>This should generate a .PCT image file for each compression that you have in the given source folder.</li>
<li>If your computer has Photoshop, or some other program by which to convert .pct files to .jpg, then proceed to step B below.</li>
<li>If your computer does not have Photoshop, you need to transfer these files to a computer that does, whether by emailing or (if at UVA) by uploading them to the server, and retrieving them from the server on a computer with Photoshop. If uploading to the server, use the program Fugu to transfer the .pct files to "lv3>thdl>thumbs" where you should create a folder with the day's date.</li>
<li>Download these .pct files from the server to a computer with photoshop.</li></ol><p class="paragraph">
</p><h3 class="heading-h3"><a name="BConvertingtoJPGs" class="anchorpoint"></a>B. Converting to .JPGs</h3><ol><li>Open the .pct files in Photoshop.</li>
<li>For each image, go under the "image" drop-down menu to "size."</li>
<li>Resize the image to be 129 x 97 pixels. (click "OK").</li>
<li>Now click "save as" to save this .pct file as a .jpg file. (In the lower part of the menu that pops up when you click save-as, you should see a drop-down menu for file-type; choose JPEG here.) Add ".jpg" to each file name - and be sure to delete ".pct" or "high" or "med" or anything like that. Save this .jpg file to a folder called "thumbs" in your compression destination folder, alongside "high", "low", "sup-high", "audio". Each image should be around 90 kb - no more.</li></ol><p class="paragraph">
</p><h3 class="heading-h3"><a name="CUploadingtheJPGstotheServer" class="anchorpoint"></a>C. Uploading the .JPGs to the Server</h3><ol><li>Once you have a batch of .jpg files corresponding exactly to the .pct files, upload (using the "Subversion" program) the .jpg files to the following folder on the server: lv1>thdl>avarch>mediaflowcat>thumb . * Contact Dan Haig for help using Subversion. (Once our server setup changes, there may be a new method.)</li>
<li>Once the .jpg files are placed in this folder, the audio-video database (AVDB) is programmed to detect them, and show them with their corresponding titles on the AVDB.</li>
<li>Navigate to each of these video titles on the AVDB and check to make sure that the thumbnail image appears.</li></ol><p class="paragraph">
</p><h3 class="heading-h6"><a name="ThispageisprovidedcourtesyofthespanclassnobrimgsrcsakairwikitoolimagesicklearrowgifaltexternallinktitleexternallinkahrefhttpwwwthdlorgtargetrwikiexternalTibetanandHimalayanLibraryaspan" class="anchorpoint"></a>This page is provided courtesy of the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.thdl.org" target="rwikiexternal">Tibetan and Himalayan Library</a></span>.</h3>