Skip to content

Support for Real-Time Playback from File #60

@DanieleFila

Description

@DanieleFila

Hi, I tested the driver with the Prophesee EVK4, and it works normally. However, when I try to read from a file, the playback is not in real-time.

From your README, I found this statement:
"from_file: path to Metavision raw file. Instead of opening the camera, the driver plays back data from this file. This will not be in real time, usually faster."

Is there a solution to achieve real-time playback?

The only method I found to slow down the video was to modify line 319 in src/metavision_wrapper.cpp:

const auto cfg = Metavision::FileConfigHints().real_time_playback(true);

replacing it with:

const auto cfg = Metavision::FileConfigHints().max_read_per_op(40);

However, this obviously limits operations, causing event stream distortion.

Would you suggest a better approach to enable real-time playback?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions