Veriframe

Converting Hikvision CCTV to MP4

Hikvision is the recorder we are asked about most often, and the file you have been handed could be one of two quite different things. Which one it is decides what needs doing — and in one of the two cases the recording is already fine and only its wrapper is wrong.

Which file do you have?

What you haveWhere it comes fromWhat it needs
.hvv Mobile and site recorders A proprietary container. It has to be demuxed — the .hvv guide
.mp4 NVRs, DVRs, iVMS-4200 and the web client Already standard video in a wrapper a player will not read. The container is rewritten, the pictures are untouched

Not sure which you have, or it has been renamed? Identify it in your own browser → Nothing is uploaded — the check happens on your own machine.

If it is an MP4 that will not open

This is the case people least expect, because the file has an extension everything is supposed to understand. An MP4 is a wrapper: alongside the video it carries an index saying where each picture begins. A player reads that index first and shows nothing without it. Recorders write it at the end of the file, or in an order a general-purpose player will not follow, and you get a file that opens to a black screen, a spinning cursor, or an “unsupported” message.

The recording is usually completely intact. What we do is read the container, write a clean one, move the index to the front so the file plays while it is still arriving, and copy the coded video across without touching it — fingerprinted either side, so the certificate can show the pictures are the ones the recorder wrote. If the video inside is H.264 or H.265, that is the entire repair. If it is something MP4 cannot carry, the converter tells you which codec instead of failing without explanation.

If it is a .hvv file

A different problem: a container only Hikvision's own software expects to open, with the GPS track obfuscated rather than stored plainly, so ordinary tools see the video at best and the position data not at all. The stream is demuxed directly, a camera recorded in several parts is rejoined in time order, and the GPS is decoded into a map synced to the footage. The full .hvv guide →

Not sure whether yours will convert? Send us one Hikvision export that has given you trouble. We will tell you whether it converts, usually the same day, and there is no charge for finding out.

Try it — first 1 GB free   or email enquiries@veriframe.co.uk

What you get back

Who sends us Hikvision exports

Four kinds of reader, with four different reasons for needing the footage to open on any machine:

Feeding it to a detection or search tool instead? Converting CCTV for video analytics →

Questions people ask

My Hikvision file is already an MP4. Why will it not play?

Because an MP4 is a wrapper, and a player needs the index that says where the pictures are before it can show any of them. Recorders routinely write that index at the end of the file, or in a layout a general-purpose player will not follow, and the result is a file that looks fine and opens to nothing. The recording itself is usually perfectly intact.

What do you actually do to it?

Read the container, write a clean one, move the index to the front so it plays while it is still downloading, and copy the coded video across untouched. The pictures are fingerprinted before and after, so the certificate can show they are the same ones the recorder wrote. If the video inside is H.264 or H.265 that is the whole fix; if it is something MP4 cannot carry, the converter names the codec rather than failing silently, so you get an answer either way.

Is the video re-encoded or made smaller?

No. Nothing is re-encoded, re-scaled or re-compressed. That matters twice over: detail you may need later survives, and the certificate would be worthless if the pictures it attests to had been altered in passing.

What about .hvv files from a mobile or site recorder?

Those are a proprietary container rather than a wrapper problem, and they are handled in full: the stream is demuxed, cameras recorded in several parts are rejoined in time order, and the GPS track -- which Hikvision obfuscates rather than storing plainly -- is decoded into a map synced to the video.

Does H.265 work?

Yes, and the same way as H.264: copied, not converted. Recent Hikvision recorders write H.265 by default.

Do I need iVMS-4200, VSPlayer or anything else installed?

No, at either end. You do not need Hikvision's software to send us the export, and whoever you send the result to does not need anything beyond a browser.

Other formats