
















These are my notes, tips and howtos about photography and processing of pictures and video clips on open source systems. If you have any feedback, feel free to contact me.
Pictures from my bike cycling round-trip on the fast Canyon gravel bike of daily life in suburbs of Nørrebro, Copenhagen city centre and Frederiksberg here in Denmark.
Here are some pictures from a night time bike cycling round-trip through the streets of Copenhagen. The pictures are taken with a handheld digital camera. The pictures are straight-out-of-camera (SOOC). No filters. No editing. No AI.
My requirements for a compact camera for fun and creative point-and-shoot photography in 2025.
These requirements are really not that much to ask for, when thinking of the amount of optical and computing technology, that have been put into modern cameras. However, despite of this, the engineers of many cameras, even very expensive ones, still fail to meet basic requirements.
There are smaller and light-weight compact DSLR cameras, that could be an alternative to a compact camera. Benefits of these are more control of exposure, lens options, flash options and wider applications. The camera might be performing better in more different situations, but can be more expensive, less convenient and more intrusive.
TTL is short for through the lens. TTL is a mode, that a flash can operate in. When the flash in in TTL mode, the flash will fire a pre-flash and the flash power will then be automatically set in a fraction of a second, based on a light metering through the lens by the camera.
If the the eyes, face or other important features of the subject is unevenly lit and the subject is too dark with high contrast, then TTL flash can lift the shadows and light the subject to match the natural ambient light in the background. If the sun is warm and setting, then an orange gel or filter can make the flash warm as well.
Consider a place with some trees or some shade. Face should be in neutral even light. Not in harsh uneven light. This will make it possible to control the light.
Set camera to manual mode. Set light metering to an averaging mode. Dial in the exposure to 1/160-200s, f/1.2-5.6 and ISO 100-400. Keep ISO as low as possible to avoid noise. Make sure, that the flash is turned off, and take a test image and review the image and the histogram. A correct exposure will not have peaks up against the left side nor the right side. Adjust as necessary.
If it is sunset and the light is yellow, then use an orange gel or filter on the flash. This will make the flash light become warmer and the image will become more natural. There are usually a half tone and a full tone.
If the flash can not be bounced off a light wall, then point it directly at the subject.
Set flash to TTL mode.
If direct flash is used, then adjust the shutter, so the meter is zero or slight over-exposed. The flash will become more soft. The reason is, that a dark background wil make the flash too bright. Is it better to just use FEC and reduce flash power?
Use a flash transmitter and a softbox to make the light source bigger and softer. Place the softbox as close as possible to make the light as big as possible for softer light. Use a diffuser and un umbrella to make the light source bigger and software.
Adjust flash exposure compensation (FEC) as necessary to make the light soft and natural. Remember, that the camera will by default measure the brightness of the average scene and light it towards grey. Dark scenes will become too bright. Bright scenes will become too dark.
This is some of the pictures, I shoot of bands and guests, from the annual music festival Vordingborg Festuge 2024. Conditions were challenging heavy clouds and rain. This did not leave much light for capturing pictures. I used a handheld digital camera with a 70-200mm zoom lens. I used an optimal balance between high speed exposure and narrow depth of field. I used my own custom in-camera picture profile settings for capturing true colors as seen on site. I did not not apply any editing, filters nor generative artificial intelligence to the pictures.
Import or copy the raw video clips from the camera and store them on a temporary local fast file system. Rename the raw video clips, so the filename contains the time stamp. This will become convenient later, when listing and loading them. The following csh script uses the stat utility to get the file creation time stamp and then renames the video clips accordingly.
$ cat rename-mp4 #!/bin/csh foreach file (*.MP4) set newname = `stat -f '%SB' -t '%y%m%d-%H%M%S' "$file"` mv "$file" "${newname}-${file}" end
An example of the manual approach, for the same result, would be the following commands.
$ mv MGR103.MP4 240314-213544-MGR103.MP4 $ mv MGP101.MP4 240314-213535-MGP101.MP4
Launch KDEnlive and create a new project. KDEnlive will ask you to select a profile preset. In the settings, select or create a profile preset, that matches the raw video clips from the camera and the main format, you will be targetting. If you will be creating a new profile preset, find a general profile preset and I recommend using a naming convention, that reflects the resolution and frame rate.
If you want to add a watermark, also known as an overlay, you will need an image with your logo or watermark. If the watermark is transparent, it will most likely be in PNG format. Add a track on top of the video in the timeline and place the watermark in it. Stretch it, so it matches the full length of the video. You can now place the watermark, where you want it to be, by opening the effects window, finding the transformation effects and selecting the Crop, Scale and Tilt effect. Adjust the scale and tilt values as necessary. If the video is 1080 pixels wide and the watermark is 200 pixels wide, you might want to scale to 20 and 20 and tilt to 953 and 1779.
If you will be exporting video clips for other use, then use the input and output markers to export those at this point and before any formatting and watermarking. Use a naming convention, that keeps the clips in chronological order, such as a time based prefix and a descriptive tekst. Such clips can later be formatted and watermarked with KDEnlive or FFmpeg for sharing or use on social media.
The purpose of night time indoor snapshot flash photography is to have a light weight hand-held camera gear, that can quickly be switched on and framed to capture snapshots of individuals, groups and even take selfies, while also capturing colorful background ambient light in the club or private party. This type of photography is also known as event photography.
This can be achieved with a digital camera, a wide angle lens and an external speedlight flash. The shooting proces should be swift and automatic, so natural, creative expressions are captured, while also having fun with it. There will not be time for fumbling aound with settings and cumbersome gear.
You can now grab your camera and walk around and do night time indoor snapshot flash photography. You can quickly capture and photograph individuals, groups and even selfies, while also capturing colorful background lights. The camera immediately holds the image, so you can show it. Just press the shutter to continue shooting.
You might want to adjust flash exposure and aperture as necessary.
Examples of how to add text before file names, add text after file names, rename part of file names and rename to incrementing numbers by batch processing on the command line in bash shell.
Continue reading “How to rename batch of images or files in sh or bash shell.”