Example AGV files
The AGV file format properties consist of three main sections: video metadata, video source, and video georeferencing information. Here are two examples of the XML text of an AGV file showing how all the property pieces fit into the final structure.
Example 1
This AGV file is for a video showing the predicted tsunami damage impact for a wide area and is rectangular in shape. The frames have been stored as individual JPG files in a folder on a shared machine. The video is 3,600 frames long and plays at a speed of 30 frames per second, for a total duration of 120 seconds (or 2 minutes).
<?xml version="1.0" encoding="UTF-8"?> <VideoLayer> <VideoOverlay> <MetaData> <Name>Tsunami Damage Prediction - California</Name> </MetaData> <ImageSource FrameSourceType="Folder"> <ImageFolderPath>\\serverB\AnalysisResults\TsunamiPredictionCA</ImageFolderPath> <Frames> <NameFormat>Frame#.jpg</NameFormat> <FirstIndex>1</FirstIndex> <LastIndex>3600</LastIndex> <Width>600</Width> <Height>400</Height> </Frames> <FrameRequestRate>33.33</FrameRequestRate> </ImageSource> <VideoGeoReferencing ProjectionType="Ortho"> <OrthoGraphicLocation> <North>39.0</North> <East>-121.0</East> <West>-126.0</West> <South>36.0</South> <Rotation>293.0</Rotation> </OrthoGraphicLocation> </VideoGeoReferencing> </VideoOverlay> </VideoLayer>
Example 2
This AGV file is for an exported security camera video, and it is projected at an angle of 30 degrees from vertical. The camera faces northeast (a 45-degree compass bearing) and is at an absolute elevation of 20 meters (15 meters above the surface elevation of 5 meters). The video source is an MPG file on the local machine, and the original footage was captured at 5 frames per second.
<?xml version="1.0" encoding="UTF-8"?> <VideoLayer> <VideoOverlay> <MetaData> <Name>Carpark C Security - Export</Name> <Description>Archival footage of Carpark C: [8/16/2005] [12.00pm-2.00pm]</Description> </MetaData> <VideoSource FrameSourceType="File"> <VideoFilesSource> <VideoFilePath>C:\Archives\Exports2005\CarparkC-Export67717D.mpg</VideoFilePath> </VideoFilesSource> <FrameRequestRate>200</FrameRequestRate> </VideoSource> <VideoGeoReferencing ProjectionType="Camera"> <CameraFOVAngle>55</CameraFOVAngle> <CameraPosition> <Longitude>-75.16865951808976</Longitude> <Latitude>39.959137211454</Latitude> <Elevation>20</Elevation> </CameraPosition> <Heading>45</Heading> <Tilt>30</Tilt> <Range>17</Range> <Roll>0</Roll> </VideoGeoReferencing> </VideoOverlay> </VideoLayer>