Animated slideshows with PhotoFilmStrip
Frame by Frame
Easy-to-use PhotoFilmStrip produces high-quality videos and offers plenty of useful features.
Evening slideshows were often highly technical operations in the glory days of analog photography. Along with crossfades using two projectors or one projector with two lenses, it was also possible to provide both the soundtrack and the control signals for the picture change using a multitrack tape recorder. The results were pretty impressive and far superior to tediously skimming through an album.
But, no matter how you looked at it, the slideshow as such remained a static image. Now, however, you can not only compile slideshows and play movies using software, you can also create the illusion of a real video by panning and zooming in on images. This is much more than just a gimmick; it can be used specifically to draw the viewer's attention to certain parts of an image that might otherwise go unnoticed. Whereas it only used to be possible to create such effects using professional rostrum cameras [1] – which are placed above the subject to facilitate zooming and panning – today, the software takes care of both processing the frames and rendering playable movies.
PhotoFilmStrip [2] is one such program that breathes new life into your photos with the help of the Ken Burns effect. The name comes from American filmmaker, Ken Burns [3], who, although he might not have invented the technique, he perfected it and earned numerous awards for his use of it.
After starting the program for the first time, you can create the basic framework for a new filmstrip via the File | New Project menu or directly by pressing the large plus icon on the home screen. The default settings of a 16:9 widescreen format and a total length of 30 seconds are just right for your first attempt (Figure 1). (See the "Installation" box for details.)
Installation
Sufficiently up-to-date packages for PhotoFilmStrip are only available for a few distributions. Debian users will find it in the Multimedia repository; openSUSE and Fedora have RPMs in the openSUSE Build Service. The Debian package can also be used in Ubuntu, but a real Ubuntu version is no longer maintained.
The dependency list for installation from source is pleasantly short. Because it's a Python program and nothing needs to be compiled, version 2.7 (not 3!) of Python will usually be enough together with the associated developer files, usually found under the name python-dev or -devel. You can use the python setup.py build
command to create the file structure, which you then perpetuate in the system with
sudo python setup.py install
At run time, PhotoFilmStrip still depends on other software. The MEncoder from the MPlayer portfolio is required for rendering the video. On top of that, version 2.8.12 or newer of wxGTK is also required – the newer versions based on GTK3 also work.
One of the Python modules PIL (python-imaging) or Pillow (python-pillow) take on various image-processing functions, depending on the defaults in the respective distribution. Version 3.0.0 of Pillow is currently useless. It wasn't possible to save newly created projects on Fedora 23 after adding pictures. Debian and its derivatives are still using the "real," but no longer actively supported Python Imaging Library – that's why this problem didn't come up in the test with Ubuntu 15.10.
The new project is empty to start. The Import Pictures item is hidden in the Tools menu, but you have a corresponding icon in the toolbar as well. Simply select multiple images (or even just one) in the selection dialog, and PhotoFilmStrip will present an overview, as in Figure 2, with the first image to be processed in the top section.
You can now adjust the motion by panning and zooming the frame superimposed by two image views. No matter where you position the mouse pointer on the frame, the image's aspect ratio is maintained and prevents the video from showing black bars later. However, even if you don't do anything and just export the filmstrip to the target format, the result will still be impressive. Miraculously enough, PhotoFilmStrip seems to detect which parts of an image are acceptable and which parts shouldn't be used in the video.
An instant export also gives you a good impression of the preset fade speed. You can start rendering the video via Tools | Render filmstrip or by using the corresponding button in the toolbar. Various disk formats are available in the settings window (Figure 3) beside Format, ranging from the ancient video CD up to the no longer state-of-the-art DVD.
There are also high-definition videos: You can set one of the MPEG4 variants as the format and then choose between HD, with 720 image lines, and Full-HD, with 1080 image lines, from the Profile field, which should no longer be grayed out. To make fine adjustments, click the button to the right of the Format field, where you can change the bit rate and other parameters.
Off the Cuff
The shortcut buttons that lie between the two image views are very handy. The top button produces a Random motion; in principle, this is what PhotoFilmStrip does anyway when reloading images. The next two buttons down copy the left selection to the right and vice versa. This means that the optimal segment found is kept; the image remains static and isn't panned or zoomed. If the fourth button is pressed, PhotoFilmStrip exchanges the two selections.
The penultimate button opens a settings window for pixel-perfect adjustment of the motion paths (Figure 4). The Location specification relates to the upper left corner of the selection frame, and Size relates to the horizontal width. If you can't select precisely enough using the mouse, you can winkle out the very last grain of accuracy here. The lock icon at the bottom of the vertical button bar ultimately expands the operating range of the selection frame beyond the physical boundaries of the image. However, this creates black areas, which are usually more of a hindrance, but create additional leeway in certain cases.
Zooming and panning are far from the only possible options in PhotoFilmStrip. A few buttons under the output image offer ways to help get your image into shape. The arrow buttons should be pretty self-explanatory – they help put a misaligned image into the correct position. No other truly breathtaking image effects are hiding in the Effect drop-down, except options to convert to a black-and-white image or to a yellowed sepia image.
The Movement and Transition drop-downs to the right affect the transition between two images and the type of panning and zooming itself. The preset styles Accelerated and Fade already deliver attractive results. If necessary, you can change the values here or scale back the effect to the level of a conventional analog slideshow. Note, however, that the settings are only valid for the respective frame and can't be semi-automatically or fully automatically adopted for other images.
The filmstrip at the bottom of the window sorts your photos like a file manager when images are imported – usually alphabetically by file name. You can rearrange them if you want by simply dragging and dropping them using the mouse. It is easy to click the image to be edited, or you can toggle it in the filmstrip using the arrow keys on the right.
Sounds
Presuming you're not wanting a high-resolution silent movie, you can add an audio file (File | Properties) when rendering. The length of the finished video is determined by the length of the audio file. By playing around with the length of the file and the number of images, you can influence the duration of the frame without having to intervene directly in the Fade parameters.
Although it isn't possible to record a comment directly into an audio file, you can use a little trick: First, render the video without sound. Then, when playing it, launch an audio recording program and record your comments to an audio file of any format. Next, render the video again, indicating the audio file. The comments and image will then always run in sync.
Image Captions
An input field labeled Subtitles is available under the view of the target image on the right. Don't expect too much from it, however; the entries might be placed correctly in the appropriate image, but they are too small. It certainly isn't a replacement for proper subtitling software. There are no configuration options other than the text input itself. Color adjustments would be helpful but are not available. With the use of programs such as Gnome Subtitles or even a simple text editor to change the font color or formatting (bold, italic, underline), you can edit the subtitle file, which has a .srt
suffix and is found in the same folder as the video after rendering.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.