How to decode a MJPEG file
Posted on 2012-09-04
I need help to understand how one specific MJPEG file is put together. The file(s) are produced by a Synology Disk Station. The disk station is connected to Axis M1054 cameras which produce a MJPEG stream. I believe that the disk station is actually just saving images from the camera directly to the disk, but at the same time, it probably adds encapsulation to the file. I want to build a program that can browse quickly in the files produced by the disk, so I need information on how to read the file. I tried to read the file by VirtualDub and it was capable to browse through it super fast, so that's why I believe it is a MJPEG file. I will put it out on a .torrent soon, cause it is very big.
Are there any programs that will show me which bytes are for what, like Wireshark is doing for a network packet?