Log Video
TMtune can play a video taken during a logged run (from a GoPro, a phone or a dash camera) in step with the log’s plots. Move the plots’ cursor and the video shows that moment; play the log and the video plays with it, with its sound. A shift, a launch or a fault can then be seen and heard alongside the data.
The log and the camera don’t share a clock, so the two are lined up once: by Auto Sync, which finds the moment from the video’s sound, or by hand on a moment both of them show. TMtune remembers it for that log.
Opening a Video
With a log file open in the Logging view, choose Logging > Open Video... and pick the video file. It opens in the Video window (View > Video), starting at the plots’ cursor until it’s synced.
A video can only be opened with a log file, not with a PC log while it’s being recorded.
Videos Windows can play will open: MP4 and MOV (H.264 or HEVC), MKV, AVI, MTS/M2TS and WMV. HEVC (H.265) video needs Microsoft’s HEVC Video Extensions, from the Microsoft Store. GoPros record HEVC at 4K60 and above, as iPhones do on their High Efficiency setting; a camera’s H.264 setting (Most Compatible on an iPhone) always plays. HDR video plays, but may look flat.
Where the Sync Is Kept
The video and its sync are saved in a small file beside the log, named after it: Run 3.mlf keeps them in Run 3.mlf.video. Opening the log again opens its video, synced, and shows the Video window.
Keep the video in the log’s folder, or in a folder inside it, and the log, the video and the sync can be copied to another PC together. If the video has moved, TMtune looks for it beside the log. If it isn’t there, the Video window offers Locate Video... to find it, and the sync is kept.
If the log’s folder can’t be written to, a warning on the Video window’s toolbar says the sync can’t be kept.
Closing a Video
Logging > Close Video, or Close Video on the Video window’s right-click menu, asks first, then forgets the video and its sync: the log won’t open it again. Closing the log keeps them.
Auto Sync
Right-click the video and choose Auto Sync.... TMtune listens for the engine on the video’s sound and finds where it matches the log’s Engine Speed, then shows the offset it found, for example Offset found: +816.507 s. Click Apply to use it, or Cancel to leave the sync as it was.
- It takes a few seconds, most of it reading the video’s sound, and can be cancelled.
- It needs at least 30 s of video and log in common, with the engine speed changing: shifts, launches and revs pin it down, a steady cruise or idle doesn’t.
- Any camera that records sound works, mounted inside the car or out, as long as the engine can be heard over the wind and road noise.
- If nothing matches clearly it says so and changes nothing, rather than guess. Choose another channel with
Back, or sync by hand. - Engine Speed is chosen by default. Another channel that follows the engine’s speed can be picked instead.
Undo Auto Syncon the right-click menu puts back the sync it replaced.
Auto Sync also measures how far the camera’s clock drifts against the log’s. When that would move the picture by half a frame or more over the video, it’s allowed for, and the result shows the drift.
Tip
Check the result on a sharp moment, such as a gear change or the Log Marker switch being pressed, and finish with the - and + nudges if it’s a frame out.
Syncing by Hand
- Put the plots’ cursor on a moment that can be seen on the video: a launch, a gear change, the car stopping, or the Log Marker switch being pressed in view of the camera.
- Click the link button on the Video window’s toolbar to unlink the video. A slider and a play button appear under it, and the video no longer follows the plots.
- Find the same moment in the video with the slider, its play button, or by stepping frames.
- Click
Sync. That moment of the video is put on the plots’ cursor, and the video is linked again.
Sync to Marker
With the video on the moment, right-click the video and choose Sync to Marker, then a marker. The Log Marker switch’s markers are listed first, then the start of each session. The video’s moment is put on the marker, the plots’ cursor moves there, and the video is linked.
Tip
Press the Log Marker switch where the camera can see it at the start of a run. Syncing is then a matter of finding the press on the video and choosing Sync to Marker.
Fine Tuning
The offset on the toolbar (for example +816.471 s) is the log time the video starts at. It’s negative when the camera was started before the log.
- Click it to type a new offset.
0.5+adds half a second to it and0.5-takes half a second off. - The
-and+beside it start the video a frame earlier or later in the log. Hold Ctrl for 10 frames.
A camera’s clock and the log’s never run at exactly the same rate, so over a long video a sync made by hand can end up a frame or two out at the far end. Sync on a moment near the part of the log being looked at, or use Auto Sync, which allows for it.
Logs With Several Sessions
A log downloaded from the TCM can hold several logging sessions, one after another. The time the logger was off between them isn’t in the log, so a video that runs across the start of a session can only line up on one side of it. The video is shown in the session it was synced in; with the plots’ cursor in another session, the Video window says so, and the navigator only shades the synced session.
Playing and Scrubbing
While linked, the video follows the plots’ cursor wherever it goes: a click or drag on a plot or the navigator, Left and Right on a plot, or playing the log from the status bar.
- Stepping frames: with the mouse over the Video window, Left and Right step back and forward a frame (Ctrl: 10 frames), and the plots’ cursor moves with the video. The step buttons on the toolbar do the same.
- Outside the video: before the video starts or after it ends, the window says how long until it starts, or that it has ended.
- Where there’s video: the navigator under the plots shows the part of the log the video covers, shaded, with a grey strip along its bottom. Hover over the strip to see the times.
- Playback speed: the
1xbutton beside the play button in the status bar plays the log (and the video) at 0.1x to 4x. Slow speeds suit high frame rate footage (60 to 240 fps). Above 1x, frames are skipped. - Video time:
Show Video Timeon the right-click menu shows the video’s own time in the corner of the picture.
Stepping backwards, or jumping a long way, can take a moment longer than playing forwards, especially with 4K video.
Sound
The video’s sound plays while the log plays, at the playback speed: slower playback lowers the pitch, as a slowed tape would. It’s silent while paused, while the cursor is being dragged or stepped, outside the video, and while the Video window is closed or hidden behind another tab.
Mute and volume are on the Video window’s toolbar, and are remembered.
Note
Bluetooth headphones and speakers delay sound by a fraction of a second, so it will be heard slightly after the picture.
The Video Window
| Control | Description |
|---|---|
| Open | Open a video for the log. |
| Link | Linked: the video follows the plots’ cursor. Unlinked: the video has its own slider and play button, to find a moment to sync on. |
| Step Back / Step Forward | Step a frame, or 10 frames with Ctrl. |
| Sync | Unlinked only. Puts the video’s moment on the plots’ cursor and links them. |
| Offset | The log time the video starts at. Click to type it. |
- / + | Start the video a frame earlier or later in the log, or 10 frames with Ctrl. |
| Mute / Volume | The video’s sound. |
Right-click the video for Open Video..., Locate Video..., Sync to Marker, Auto Sync..., Undo Auto Sync, Show Video Time and Close Video.
With the Video window selected, F1 opens this page.
Info
One video plays with each log. Cameras that split long recordings into several files (GoPros start a new file about every 4 GB) give one file per part: open the one that covers the part of the log of interest.