JPEG file from
FFD8
FFE0
FFFE
FFFE
FFC4
FFDB
FFDD
FFC0
FFDA
FFD9
Start Code
Application Segment
Comment Segment 1
Comment Segment 2 (reserved)
DHT Huffman Table
DQT Quantization Table
DRI Restart Interval
SOF Frame Information
Data Start Segment
End Code
The following information is stored in the comment segment 1. Each item has a fixed length.
Item |
| Size | Example |
| Note |
Version Information | 9 | JVC V1.0 |
| Indicates the version of information stored in the comment | |
|
|
|
|
| segment. |
File Size |
| 18 | size = 123456 |
| Indicates JPEG size in bytes. |
Width |
| 13 | width = 640 |
| Width of JPEG. |
Height |
| 14 | height = 480 |
| Height of JPEG. |
Model Name |
| 18 | type = |
| Name of model that created the JPEG. |
(reserved) |
| 12 | reverse = 0 |
| (reserved) |
Time Stamp |
| 70 | timestamp | = Indicates the time when the JPEG is created. This is made | |
|
|
| 20071014130509123 |
| up of the year/month/day, hour/minute/second, millisecond |
|
|
| UTC |
| and timezone code. |
|
|
|
|
| |
(reserved) |
| 13 | alarm = 00000000 |
| (reserved) |
Camera ID |
| 50 | camera = input01 |
| Stores camera information set at |
Motion Detect Setting | 11 | motion = 1 |
| Specified as 1 when the motion detect is ON. | |
Motion Detect Result | 7 | md = 1 |
| Specified as 1 if motion is detected at the time when JPEG | |
|
|
|
|
| is created. |
Number of Bytes of | 18 | motion_size = 10 |
| Indicates size of "motion_bit" and "md_bit" items in | |
Following | Motion |
|
|
| bytes. |
Detect Items |
|
|
|
|
|
Mask Settings for | 24 | motion_bit | = | Indicates Mask settings for 80 blocks in binary data. | |
Motion Detect |
|
| 00000000000000000 |
| (Not ASCII code.) If the bit is 0, the block is masked. If the |
|
|
| 000 |
| bit is 1, the block is not masked. |
|
|
|
|
| |
Motion | Detect | 20 | md_bit | = | Indicates motion detect results for 80 blocks in |
Result of Each Block |
| 00000000000000000 |
| binary data. (Not ASCII code.) If the bit is 0, the block | |
|
|
| 000 |
| detected motion. If the bit is 1, the block did not detect |
|
|
|
|
| motion. |
8