Hikvision MP4 Won't Play? Convert It to Real MP4 (Beta)

Hikvision, HiWatch and EZVIZ exports are MPEG program streams named .mp4. Convert them into MP4 that plays everywhere.

Opens: DAV, Hikvision MP4, H.264, H.265, LVF, AVI, MP4, ZIP
Saves: MP4

Convert

Recordings
Choose files… or drop them here
.dav, .mp4, .264, .h264, .265, .h265, .hevc, .avd, .lvf, .avi, .ts, .mpg, .mpeg, .ps, .mkv, .mov, .asf, .zip · up to 200 MB each, 50 files max
    Add more files

    The files the recorder or camera exported (.dav, .mp4, .264, .h264, .265, .avd, .lvf, .avi…), or a ZIP of the export folder. Up to 50 files.

    Options

    Re-encodes the picture to H.264 (up to 1080p and 30 fps) with 48 kHz AAC sound: the kind of MP4 that WhatsApp, e-mail, police and insurance upload portals and every phone accept. It takes longer. Without it the picture is copied unchanged, so H.265 recordings stay H.265.

    Recorders often split an export into several files. They are joined in recording order (the time stored in each file, else the time in its name); gaps between them are listed in the report.

    A subtitle track with the recorder's date and time for every second, where the file stores it (Dahua, Hikvision and XMeye recordings). Some players show it straight away, others when subtitles are switched on.

    More options

    Raw video streams don't always say how fast they were recorded. Automatic uses the rate stated in the stream, or 25 fps when there is none; if the video then plays too fast or too slow, choose the recorder's frame rate here.

    Your files are deleted after processing.

    Hikvision and HiWatch recorders export footage as .mp4 files, but most of them are not MP4 at all: they are MPEG program streams (the format of DVDs) behind a 40-byte header starting with IMKH. Phones, editors and upload portals expect a real MP4, find none, and refuse the file or play it without sound.

    How to turn a Hikvision export into a real MP4

    1. Upload the exported .mp4 files, or a ZIP of the export folder (the player program in it is left out).
    2. Choose Join the clips into one video if the recorder split the export.
    3. Download the converted MP4, named after the recording start.

    What the conversion fixes

    • The container. The H.264 picture is copied into a standard MP4 without re-encoding.
    • The sound. Hikvision recorders usually record G.711 µ-law or A-law, which MP4 players can't play and many converters drop. It becomes AAC. The stream map inside the file names the codec, so the sound is never guessed wrong.
    • The sound clock. Network recorders sometimes stamp the sound on a clock minutes away from the picture's, which leaves a converted file with minutes of sound over a frozen or black picture. The sound is moved to start with the picture, and the report says by how much.
    • The recording time. Hikvision files store the date and time in each stream map. It becomes the MP4's creation time, its name, and an optional subtitle track with the time of every second.

    When it can't be converted

    Files from Hikvision recorders made before about 2011 start with 4HKH instead and use Hikvision's own video codec, which only Hikvision's software decodes: open them in Hikvision's player and export them to AVI or MP4. Sound in G.722.1 (used by some recorders) can't be converted; the video is converted without it and the report says so. Encrypted exports need to be exported again without a password.

    More about what this tool reads and writes: CCTV Footage to MP4.