-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Video recording works on version 1.4.2, but doesn't in versions 2.0.4 and 2.1.0 #1507
Comments
@jumasheff @musicformellons Could you run cypress with a debug flag DEBUG=cypress:server* cypress run That will give us a few more ideas where it's failing |
|
This is probably because of your screen resolution not supporting what we are trying to tell ffmpeg to use for recording resolution. What is your screen resolution? |
Can you update to 3.0.2 and see if this issue is resolved? We updated ffmpeg to 4.x.x there and added many more debugging logs. Also please be sure that you use DEBUG=cypress:* cypress run when running so that we can get the debug logs to understand what is happening. |
Yeah, seems resolved! Tests now run and video is recorded, etc. Only thing is an error after everything has run fine:
Furthermore: the video quality seems somewhat rough; is there a setting to have better quality maybe? |
That's not an error - that's the correct behavior. The exit code was I believe you can tell NPM to silence those with |
Ok, thanks. Any comment on the video quality maybe? |
You could try lowering the Going to close this issue as resolved, let me know if it should be reopened. |
Ubuntu 16.04 on Lenovo Thinkpad T460S 14"
Cypress package version: 1.4.2
Cypress binary version: 1.4.2
headless Electron
Is this a Feature or Bug?
Bug
Current behavior:
When versions 2.0.4 or 2.1.0 installed, video recording fails with the following message:
Error: ffmpeg exited with code 1: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
But when I install version 1.4.2, video recording works fine.
Desired behavior:
Video recording works fine on the latest version
How to reproduce:
Try running versions 2.0.4 and 2.1.0 on Thinkpad T460S 14" maybe? I'm not sure you can reproduce this on other machines.
Test code:
Additional Info (images, stack traces, etc)
See output of 2.0.4
... and 1.4.2
The text was updated successfully, but these errors were encountered: