Click here to Skip to main content
15,847,653 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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 17:10pm

.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.
Share this answer
so i already check it and its .AVC
thanks broo
Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900