Skip to content

Queries regarding time to decode and switch videos #1

@spaul13

Description

@spaul13

First of all great project. It seems like it uses GPU to decode. But I want to know how to get the decoding time of a video file?

I am switching the video file after some time.
if (Input.GetMouseButtonDown(0))
{
fID++;
m_VideoPath = "file:///E:/" + fID.ToString() + ".mp4";
OpenVideoFromFile();
Play();
}

Can u please tell me how to check the time to display the first frame from a video from changing the m_VideoPath (switching time). I am using 360 videos.
FYI, My 360 videos consist only 1 I frame.

Does it decode and display frames asynchronously?

--> I observed the changing the video file to the First frame to ready for play takes almost 50 ms. Is there any way to reduce this playback time?

For me, it seems like there is flashing on the screen whenever I am changing the video. Any suggestion on how to check the timing and can I effectively switch the videos to achieve 60 FPS will be highly helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions