To cut without losing quality: ffmpeg -ss 00:01:58 -i original.mkv -t 56 -c copy output.mkv
for f in *Min-*; do mv "$f" "$(echo $f | sed 's/Min-$/Minutes.mkv/')"; done After renaming, check the actual duration using ffprobe :
ffmpeg -i "MIDV-912-engsub Convert01-58-56 Min-.mkv" Look for Stream #0:1(eng): Subtitle: subrip . MIDV-912-engsub Convert01-58-56 Min-
If no subtitle stream appears, the engsub in the filename is false. You will need to download external English subtitles separately (e.g., from OpenSubtitles using the ID MIDV-912 ). | Error | Cause | Solution | |-------|-------|----------| | Audio out of sync after cut | Keyframe misalignment | Use -ss before -i for input seeking | | Subtitles disappear | Soft subs not copied | Add -c:s copy or remux with MKVToolNix | | File size larger than original | Wrong codec (re-encoding) | Use -c copy for lossless cut | | Convert01-58-56 missing frames | Dropped frames during recording | Re-encode with -vsync drop |
dir *Min-* | rename-item -NewName $_.name -replace "Min-", "Minutes-cut.mp4" To cut without losing quality: ffmpeg -ss 00:01:58
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "MIDV-912-engsub Convert01-58-56 Minutes.mkv" This returns something like 56.02 (seconds). If it returns a larger number, the file was not correctly trimmed. If you have dozens of files named like MIDV-912-engsub Convert01-58-56 Min- , MIDV-913-engsub Convert02-10-22 Min- , etc., you need batch automation. Using a Python script to standardize and merge import os import re pattern = re.compile(r'(MIDV-\d+)-engsub Convert(\d+)-(\d+)-(\d+) Min-') for filename in os.listdir('.'): match = pattern.match(filename) if match: vid_id = match.group(1) minutes = match.group(2) seconds = match.group(3) # frames = match.group(4) # not used in duration new_name = f"vid_id engsub_clip minutesmsecondss.mkv" os.rename(filename, new_name) print(f"Renamed: filename -> new_name")
| Notation | Meaning | Example | Use case | |----------|---------|---------|----------| | HH-MM-SS | Hyphen-separated | 01-58-56 | File naming, batch scripts | | HH:MM:SS | Colon-separated | 01:58:56 | FFmpeg, VLC, timecode input | | Error | Cause | Solution | |-------|-------|----------|
If you have ever stumbled upon a filename such as MIDV-912-engsub Convert01-58-56 Min- , you know the frustration. It is not a casual movie title. Instead, it is a dense string of technical data: a source ID, a subtitle language flag, a conversion marker, and a precise timecode.