This function converts a Pixel Data Stream (PDS *.pds) format into an AVI (*.avi) file.



..................................................................................................................................................................................................................................................................................


Controls and Indicators



      pInputFileName IN is the full path and file name of the input PDS file.


       pOuputFileName IN is the full path and file name of the output AVI file.



Equivalent API Function: PxLFormatClip


Details


To create the input PDS file, use GetClip.vi.  Note that GetClip.vi initiates a processing thread and returns immediately.  The processing thread captures the video to a PDS file.  Depending on the number of frames captured, this can take a while.  Use a Clip Termination Function callback and the associated occurrences to determine when the clip capture process is complete before calling FormatClip to process the clip data.  See the sample programs GetClipwithExternalThread.vi and GetClip.vi, included with the Pixelink software, for examples.


If the height and width of the frames in the source file varies, the smallest values are used and any larger frames are cropped.


An overlay callback can be used to modify the output image.  Before calling FormatClip, call SetCallback with CallbackInfo IN.uOverlayUse set to OVERLAY_FORMAT_CLIP.


Note: See Error Handling for error input and output information and error codes.