Loading [MathJax]/extensions/MathMenu.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.6.215 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Camera Seek Sample

    Description

    The Camera Seek sample demonstrates how to replay a video and use the 'seek to timestamp/event' feature to seek to any point in the video.

    Running the sample

    The Camera Seek sample, sample_camera_seek, accepts the following parameters:

    ./sample_camera_seek --video=[path/to/video]
    

    where:

    --video=[path/to/video]
        Path to the video file.
        Default value: path/to/data/samples/sfm/triangulation/video_0.h264
    

    The sample works with the following keyboard inputs:

    T  : changes the seek mode to timestamp.
    F  : changes the seek mode to frame event.
    Left Arrow  : steps backward (10 for frames, 1000000 for timestamp).
    Right Arrow  : steps forward (10 for frames, 1000000 for timestamp).
    Space : pauses the video.
    

    Seeking is available in both normal and paused states.

    Examples

    Replay .h264 file

    ./sample_camera_seek --video=/path/to/file.h264
    

    Output

    The sample creates a window and displays a video.

    Single H.264 stream

    Additional Information

    For more details see Camera .

    人人超碰97caoporen国产