Processing

Convert Media

Converts video and audio files in a mix of formats to one format each for review: MP4 for video and MP3, M4A or WAV for audio, using the converter built into Windows, and checks each converted file's playing time against its source.

PRO Command line: convert-media Version 1.0
A Pro toolIn the free edition it works on up to 25 documents per run, so you can try it on real work. Compare Free and Pro.

Convert Media turns each video and audio file in the input folder into one standard format in the run folder, keeping the folder structure. Video (WMV, AVI, MOV, MKV, MPEG, VOB, 3GP and others) becomes MP4 with H.264 video and AAC sound, which plays in any browser, review platform and media player. Audio (WAV, WMA, M4A, FLAC, AMR, AC3 and others) becomes MP3 by default, or M4A or WAV. The original extension stays in the name (interview.wmv.mp4), so files with the same name but different types never collide.

The conversion is done by Media Foundation, the media engine built into Windows, so nothing needs to be installed. It always uses Windows' software encoder, so the same file gives the same result on every PC. Each converted file is written under a temporary name, hashed (SHA-256) and only then given its final name. Windows then reads its playing time back, and the report flags any file whose playing time differs from its source by more than a second (and 1%).

Windows cannot read some formats: FLV, OGG and Opus, Olympus DSS dictation, RealMedia, AU, some AIFF and older AVI codecs. If you have installed FFmpeg yourself (it is free, from ffmpeg.org), set FFmpeg (optional) to its ffmpeg.exe and those files are converted with it. LitTechKit does not include FFmpeg. Without it, those files are reported and, by default, their natives are copied instead.

Use it when

How to run it

  1. Choose the folder of recordings as Input, and an Output folder outside it.
  2. Choose the Audio format for audio files; MP3 suits most review platforms. Video always becomes MP4.
  3. Leave Video quality at Source unless you need smaller files.
  4. If the set has formats Windows cannot read (FLV, OGG, DSS dictation and others) and FFmpeg is installed on this PC, set FFmpeg (optional) to its ffmpeg.exe.
  5. Click Run.
  6. Read the notes, then click Open report and filter the Status and Details columns.

Settings

Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help convert-media lists them.

Settings

SettingWhat it doesType and default
Audio format
--audio-format
Format for audio files: Mp3 (default, plays everywhere), M4a (AAC) or Wav (uncompressed, large). Video files always become MP4 (H.264 video, AAC sound).
Mp3 (default) at 192 kbit/s plays everywhere. M4a (AAC) is similar in size and quality. Wav is uncompressed and large: use it only when a transcription or forensic audio tool asks for it. Audio files that also hold a picture (an .ogg with video, say) are converted to sound only, and Details says so.
choice: Mp3, M4a, Wav
Mp3
Video quality
--video-quality
Source (default): the video keeps its own size and frame rate. HD1080, HD720 or SD480: larger videos are made smaller to that height, for smaller files; smaller videos keep their size.
Source (default) keeps each video's own size and frame rate. HD1080, HD720 and SD480 make larger videos smaller, which saves space for long CCTV or screen recordings; smaller videos keep their size.
choice: Source, HD1080, HD720, SD480
Source
Copy files already in the format
--copy-playable
On (default): an .mp4 that already holds H.264 and AAC, or an audio file already in the chosen format, is copied unchanged instead of being converted again, so nothing is lost. Off: every file is converted.
On by default. An .mp4 that already holds H.264 and AAC, or an .mp3 when converting audio to MP3, is copied unchanged rather than converted again, so nothing is lost; it keeps its own name. Turn it off only if every file must go through the converter, for example to shrink videos with Video quality.
yes/no
true
If a file can't be converted
--if-unconvertible
CopyNative (default): the original file is copied to the output where its converted file would be (same folder, original name), so every file is still produced. ReportOnly: nothing is written; the report shows the reason.
CopyNative (default) puts the original file in the output where its converted file would have gone, so every recording is still produced in some form. ReportOnly writes nothing for those files.
choice: CopyNative, ReportOnly
CopyNative
FFmpeg (optional)
--ffmpeg-path
An ffmpeg.exe you have installed yourself (LitTechKit does not include FFmpeg). Used only for files Windows cannot read, such as FLV, OGG, Opus, AMR, DSS dictation and older AVI codecs. Empty (default): only Windows is used, and those files are reported.
The full path to an ffmpeg.exe you installed, or the folder that holds it. It is checked before anything is converted: a path that does not exist, or a program that is not FFmpeg, stops the run with a message. Windows still converts every file it can read; FFmpeg takes the rest, as well as videos with more than one audio or video track and .mkv and .webm videos, whose shape Windows does not keep. The FFmpeg version is in the notes and in the Converter column.
file
empty

Common settings

SettingWhat it doesType and default
Input required
--input
Folder (or single file) to read. It is opened read-only and never modified. folder
empty
Output required
--output
Folder for reports. Must not be inside the input folder. Each run gets its own sub-folder. folder
empty
Recurse
--recurse
Include sub-folders. yes/no
true
Extensions
--extensions
Only process these extensions (e.g. .pdf, .docx). Empty means the tool's default set. list
empty
Parallelism
--parallelism
Files processed at once. Use 1-2 for spinning disks or network shares. number
4

What you get

Each run creates its own folder inside the output folder, with the report convert-media.csv, errors.csv and manifest.json (see Run folders and manifests).

Report columns

Check the result

Tips
  • Converting is heavy work, so at most two files are converted at once, whatever parallelism is set to. Allow time for long video recordings.
  • Use Extensions to convert only some types, for example .wav, .wma for a set of phone recordings.
  • Subtitles are never burned into the picture. If a video's subtitles matter, produce the native with it.
Watch out for
  • A converted recording is a copy for review, not the original. Compression changes the bytes and can soften picture and sound; produce or keep the native where its exact form matters, and record the settings used (they are in manifest.json).
  • Without FFmpeg, Windows converts the first video and the first audio track only. Files with more tracks are converted, and Details names what was left out.
  • Without FFmpeg, widescreen video stored in an .mkv with non-square pixels (common in DVD rips) can come out squeezed, because Windows does not read its display shape. Set FFmpeg (optional) to convert .mkv and .webm files with FFmpeg instead.
  • The free edition converts up to 25 files per run.

From the command line

The command line is part of LitTechKit Pro. See Command line.

ltk run convert-media --input "D:\Matter\Recordings" --output "D:\Matter\Converted" --audio-format Mp3 --ffmpeg-path "C:\Tools\ffmpeg\bin\ffmpeg.exe"

Related tools