Field notes · 2026-11-06
Camera MKV becomes a few seconds after converting to MP4
A security-camera MKV is several minutes long, but after converting to MP4 in a common player the file is only a few seconds and frames seem missing. How do you get a full-length file suitable for editing and face blurring?
Answer
Answered by the Tracewind engineering team.
Odd timestamps and variable frame rate are common in recorder exports. A GUI “convert to MP4” step often rewrites the timeline badly. First read the source with MediaInfo: note duration, video codec, and fps. Try a stream copy remux before any re-encode: ffmpeg -i input.mkv -c copy -map 0 output.mp4. If the duration is still wrong or the editor will not open it, re-encode to constant frame rate using the fps MediaInfo reported, for example ffmpeg -i input.mkv -c:v libx264 -crf 18 -preset medium -r 25 -vsync cfr -c:a aac -b:a 192k out.mp4. Confirm the output length matches the original before any redaction work, and always edit a copy.
If the file is a proprietary recorder export in a misleading container, ordinary converters may fail the same way. Tracewind Player is built for those DVR/NVR exports and damaged or mislabeled files: it opens many of them directly, skips bad sections with marks on the timeline, and can export an A–B clip to a standard H.264 MP4 for Premiere or similar. Tracewind Redact can then mosaic regions you draw by hand and export a normal MP4.
If a sample still will not open or convert cleanly, send it through https://tracewind.world/demo/ so the team can help analyse the format.
Where this question came from
The question is paraphrased from a public post on r/VideoEditing (2026-11); the person who asked it has no link to us. Read the original thread