Click here to Skip to main content
14,216,124 members
Rate this:
Please Sign up or sign in to vote.
hi im ramdhanSTO
so i have this project to convert CCTV video using VS2013, the format is *.dat and i want to convert it to *.mp4, can u guys help me out?

its mean a lot, thanks.

What I have tried:

basically, i tried this code from this

that code is convert *.avi to *.flv, and i edit it out *.dat to *.dat but it wont work.
Updated 13-Nov-17 16:10pm
Rate this:
Please Sign up or sign in to vote.

Solution 1

.DAT is not a format. It's a generic file extension that can mean anything at all that just stands for DATA. You have to understand the arrangement, or format if you will, of the bytes in the file. You need the documentation on the format of the file whatever device you have wrote. Without that, you're just guessing at what each byte means and have no way of converting it to any other format with any meaning.

You might want to try MediaInfo[^] to see if you can get any information about what the actual format might be.

Truthfully, you should just use a conversion tool for this as converting the audio and video streams and keeping them in sync is not a trivial task.
Rate this:
Please Sign up or sign in to vote.

Solution 2

so i already check it and its .AVC
thanks broo

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190619.2 | Last Updated 19 Dec 2017
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100