Take the State of DFIR Survey Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report. Take the survey ›

Take the survey

Take the State of DFIR Survey

Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report.

Take the survey →

Articles

Proprietary Video Formats – The Quick Start Guide

Discover the complexities of proprietary CCTV video formats, why they matter in forensic investigations, and how Amped Software helps you process them while preserving evidential integrity.

By

· 7 min read

In this quick start guide, Amped Software will look at the rather mixed-up world of proprietary video formats. Usually originating from CCTV and Video Surveillance Systems, these media formats can often be confusing and challenging. Want to learn a little more about them? Well, read on and use the links provided to increase your understanding.

Over the past few years, there has been an industry shift with regard to opinions surrounding proprietary video formats. Since the dawn of digital video, the consensus was that they did nothing but cause problems for the justice system. They caused delays in analysis, data extraction, reformatting, and conversion.  

However, as data integrity and imagery authenticity have become much more important in the early stages of an investigation, the proprietary video format has finally found a positive.

Whereas standard, open formats are easy to manipulate and edit, a proprietary, closed format is a lot harder. Its structure is linked to the device and acquisition, and forms a unique bond in the chain.

Consequently, it’s now a relief to get a proprietary video format as evidence, rather than a generic AVI format with no continuity in its creation.


Get The Latest DFIR News

The monthly Forensic Focus newsletter, plus webinar invitations and occasional research surveys.

Unsubscribe or change what you receive at any time. We respect your privacy: read our privacy policy.


However, you still need to be able to work with the proprietary video format. We’ve come a long way since the days of screen-recording strange video formats in vendor-specific players. Screen recording is a method of creating a derivative version of the original video that is now known to be problematic and has dropped significantly in the order of preference. Yes, it’s still an option, but it’s more of a last resort.

This is where the Amped Engine comes in. It powers the demuxing, extraction, remuxing, and/or conversion of the proprietary data. The open format that is produced has full forensic rigor, ensuring reliability for your investigation and in the courtroom.

Example Format

In the Amped Software Blog series on Formats and Conversion, we looked at the SCD format.

We can see how the data gets restructured during the native file export stage, moving the date and time index from a separate position and placing them within the video data stream.

There is no frame Presentation Timestamp within the proprietary format. Its timing is controlled by the real-world date and time information.

Imagine then what could happen if the data was not acquired as the system was designed. Perhaps it was carved from the Hard Disk Drive (HDD).

You may have the pixels, but all the cameras would be mixed up. You may not recover the audio, and you would have no timing for the video.

The Amped Engine understands the data structure. Consequently, all the video, audio and the timing are extracted correctly, ready for you to start the investigation.

This was a simple, generic example. There are thousands of different formats, and as legacy formats fade, new ones take their place.

Let’s look at a few common ones that people encounter today.

Hikvision

Although these systems can export in several different ways, the most common is utilizing the .MP4 file extension. However, they are not in the MP4 container format. Confused?

Any company can place its data into any format and use any file extension. This data is formatted in a proprietary manner, but they have used a well-known video file extension.

Using the Atom Viewer inside Amped FIVE’s Advanced File Info, we can see that our video.mp4 file does not have the MP4 format. No Atoms or Boxes are shown in the right-side Tree view.

However, we can see the header signature.

When loaded into Amped FIVE, this header and structure are recognised, Amped Engine takes over, and the video and time data are extracted.

This gives us all the information we need to analyze the video speed and timing, and we can rely on the video pixels, as they have been stream-copied from the proprietary format into a standard container format such as MP4 or MKV.

Dahua

Another highly common format is from Dahua, and they use the .dav file extension. This file extension and the formatting often get associated directly with some common video players. Many people may then assume that it is fairly standard.

Whereas the Hikvision example above is largely standard MPEG-PS with slight proprietary tweaks, the Dahua format is wholly proprietary.

Here we have the raw data for a video frame, as seen in the Hex Viewer within Advanced File Info.

Prior to the highlighted data, we have a watermark chunk, and then a video analytics chunk.

At the start of the video chunk, we have key information, including a counter. There is no standard video timing in this format. The timing is proprietary.

Convert DVR parses this counter to ensure validity. If the counter is duplicated or corrupted in any way, it is managed before the video stream is muxed into a standard container. If this were not completed, it could cause some timing and decoding issues. The duplicate counter would pass through as a duplicate PTS value, resulting in a zero-millisecond frame delta.

The video and audio in this container may be fairly standard, but the timing most definitely is not.

Synectics

This proprietary format comes bundled with its own playback software.

There is no need to install it; the interface is very easy to navigate, and it’s ideal for first triage.

What happens, though, when you need to look at the data forensically?

The player does some image adjustments (like many), so a screen capture would record the altered image rather than the original frames. Screen capture is therefore unsuitable, and there is no method in the application to export without transcoding.

The standard practice then is to locate the video within the exported data and use Amped Engine within Replay or FIVE, etc.

Once identified within the directory structure, in this example, we don’t just have a single video file.

We have many 30-second clips, and each clip is split into 2 files.

There are hundreds of different ways that system manufacturers manage their data. This is just one of them. Sometimes, there are pairs, but they have different file extensions. Sometimes, one of the pair is the index.  

The important thing to consider here, though, is that the pairs work together and must be kept together.

Engine understands the pairing system, so it can be left to navigate them itself.

You do, though, need to join all the clips together by using the Concatenate function in Convert DVR to save you from going through many 30-second video files.

When dealing with many files, it’s sometimes a good idea to run a few single tests first. This allows you to understand the data you are dealing with and then formulate a plan to deal with it all.

Avigilon

Sometimes the proprietary formats exported from this type of system also come with playback software. It may, though, need installing, and some software may not be that easy to first use.

In this example, though, we only have a single file to deal with, so that makes the initial stages a lot easier.

Let’s drop the file, which has an AVE extension, into Convert DVR in FIVE.

Our single file has been processed, and the result is 11 video streams. But they are not 11 cameras. They are not even 11 parts of the same video.

This format has three different resolutions of the same camera view.

The highest resolution is split up into 9 individual tiles that must be placed into a 3×3 grid.

You may be wondering why this is done. Well, encoding and then decoding all those pixels takes some processing power. Modern CPU’s can pass the tiles to individual threads. This makes things much faster for both creation and playback.

The Multiview filter in FIVE then comes in handy to rebuild the matrix!

Imagine if you had several of these files and were unaware of this format’s structure; you could end up with hundreds of files. Remember that suggestion from the previous example. Test, understand, and then proceed.

Genetec

When receiving proprietary formats from this vendor, you will likely receive files with a G64X or G64 file extension.

A G64X is basically a group of G64s all wrapped up together.

In this small example, we only have a single G64 file, but something is interesting with this single stream.

In the Advanced tab of Convert DVR, we have a function to segment the file if the stream’s size changes.

By having this set to ‘Yes’, if the stream changes its size at any point, the file is segmented.

The result, as seen in FIVE’s History panel, is 9 segments.  

Here we have 5 segments that are Full HD (1920×1080) and 4 that are nearly two and a half times smaller at 800×450.

For these files, the Timeline filter enables a simple process of joining the segments together, after adjusting the smaller files. How to adjust would be up to you. Perhaps Frame Size or Resize.

Summary

We have looked at 5 proprietary formats here, out of a pot where the total value can never be known. With thousands of different formatting methods, you may be starting with a research project. Luckily, with the majority now handled by the Amped Engine, a lot of the troubleshooting can easily be tackled.

If proprietary formats are your day-to-day work, learn what they should look like and how they should be processed. When things differ, you are one step ahead and can dig into why.

Just because a video plays doesn’t mean you’re seeing everything it contains. What happens to the original data when a file is converted, and what could go unnoticed?

We discuss these questions in episode 7 of the Amped Podcast, The Hidden Impact of Video Conversion.

Amped Podcast Ep.7 – The Hidden Impact of Video Conversion

Vendors change all the time, though, and system models have different capabilities. You could have one type of file with multiple resolutions, and another with tiles.

We return, therefore, to the advice from earlier. Test, plan, and then process. When dealing with proprietary video formats, you can never really tell what you will end up with until you dive in!

To learn more, take a look at the full Video Formats and Conversion series of articles over on the Amped Blog.

Tags: amped softwarecctvhow-to

Featured videos Sponsored

All videos

Related articles

All articles