Generating And Uploading Thumbnail Images For Each Title
THL Toolbox > Audio-Video > Technical Processing of Audio-Video - Log, Edit and Compress > Generating and Uploading Thumbnail Images for Each Title
Contributor(s): James Graves, Eric Woelfel
Note: This process requires BBEdit to be installed on your computer, and that you have already completed compressions of the given video material.
- Download the script "QT7export folder of stills.scpt"under Applescript.
- Run the script.
- Select as your source folder your folder of "high" compressions.
- When prompted to select a destination folder, create a new folder called "thumb-sources" and select that as your destination.
- This should generate a .PCT image file for each compression that you have in the given source folder.
- If your computer has Photoshop, or some other program by which to convert .pct files to .jpg, then proceed to step B below.
- 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.
- Download these .pct files from the server to a computer with photoshop.
- Open the .pct files in Photoshop.
- For each image, go under the "image" drop-down menu to "size."
- Resize the image to be 129 x 97 pixels. (click "OK").
- 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.
- 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.)
- 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.
- Navigate to each of these video titles on the AVDB and check to make sure that the thumbnail image appears.