Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback video in real-time #518

Open
DocBru opened this issue Dec 5, 2024 · 3 comments
Open

Playback video in real-time #518

DocBru opened this issue Dec 5, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@DocBru
Copy link

DocBru commented Dec 5, 2024

Is your feature request related to a problem? Please describe.

The video that is captured by wdio-video-reporter plays back the video in a certain speed depending on images taken, which does not reflect the real test speed. To understand better what happened, it would be great to have the possibility to create a "real-time video" with frames taking as long as they were taking in reality.

In our tests, there are a lot of long "waiting times" that I would like to see in the video.

The parameter videoSlowdownMultiplier is helping to get it slower, but still not reflecting reality.

Describe the solution you'd like

Introduce a configuration parameter like videoPlaybackRealtime: true or so, which enables this mode.

Additional context

I quickly researched about the ffmpeg tool and figured out that with a ffconcat file as an input, that contains duration information for each frame, it could probably be achieved, if the recorder would also record those durations.

@christian-bromann christian-bromann added enhancement New feature or request help wanted Extra attention is needed labels Dec 6, 2024
@christian-bromann
Copy link
Contributor

@DocBru thanks for raising the issue, your proposal makes totally sense, any contribution for this would be appreciated!

@brickfungus
Copy link
Contributor

could we allow a lower screenshotIntervalSecs?

@DocBru
Copy link
Author

DocBru commented Dec 13, 2024

that does not really solve the issue, as the duration between screenshots is not constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants