The Exporter module is a Pelco API SDK component that can capture live or playback video, and save it in either AVI, MP4, 3GP, MOV, PPX, or PEF format. Using the Exporter, you can write a simple application to select, initiate, and receive these streams to save them to a video file. For Endura systems only.
Exporter is multi-threaded to help ensure good performance and to capture as many streams as possible at any given time. Moreover, users can export live or playback saved streams without having to initializing the stream. Consequently, it provides the flexibility to specify the camera, the start time, and an optional end time value. Also, you have an option to embed metadata (timestamp, and so on) into non PEF streams. (However, this requires transcoding which affects performance). When available, audio can be included in the export.
Custom Application Development
Using the Exporter, a simple application can be written to select, initiate, and receive these streams to save them to a video file. The most common file format for such video files is AVI. However, AVI is only a container format, not a compression format. From this point forward, there are two principally different implementations for video storage: re-coding and native.
To avoid a complicated process, decoding and re-encoding is often employed to allow the video to be played back using the standard codecs provided with the Windows Media Player.
Pelco's own export software converts a native PEF file to an AVI file using this decoding and re-encoding technique. The advantage is that the resulting file can be played back on almost any platform. The disadvantage is that the AVI file size increases considerably over the PEF file size. However, since this makes video stream playback much easier for end-users; it is a good approach for standard video export.
For recording large amounts of video data, such as when building near line storage solutions, storage in the original (or native) format is essential because it preserves the bit rate. To play back these native video files, a codec that supports the full ISO MPEG-4 standard (or at least the ISO MPEG4 SP profile) must be installed in the end user's media player. If a codec does not support the ISO MPEG-4 SP profile, the video received from the Endura system will not play back. Fortunately, there are many complete ISO MPEG-4 codecs available, ranging from free, open source versions to highly optimized commercial versions.
For details on using the Exporter component for Endura exports, see the Pelco SDK Programming Guide.