question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video Recording not working in latest release

See original GitHub issue

I just updated to today’s new release (https://github.com/tnicola/cypress-parallel/releases/tag/0.5.0) and cypress video recording is no longer working

Error from console:

13:44:46  Warning: We failed to record the video.
13:44:46  
13:44:46  This error will not alter the exit code.
13:44:46  
13:44:46  Error: ffmpeg exited with code 1: /home/ubuntu/workspace/[branch]/cypress/videos/[filepath].mp4: No such file or directory
13:44:46  
13:44:46      at ChildProcess.<anonymous> (/home/ubuntu/.cache/Cypress/8.3.1/Cypress/resources/app/packages/server/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
13:44:46      at ChildProcess.emit (events.js:315:20)
13:44:46      at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

I’m not sure if this error is actually being caused by the new changes to this package or is an issue in cypress that was suddenly uncovered by the recent changes. I found a related issue here where other people seem to have a similar issue: https://github.com/cypress-io/cypress/issues/9128#issuecomment-896401759

reproduction steps: in cypress.json set "video": true, and then run cypress-parallel via command line

info: Cypress: v8.3.0 cypress-parallel: v0.5.0 run environment: ci/cypress run/jenkins and my local machine’s macOS browser: electron 91

possibly relevant: "viewportWidth": 1920, "viewportHeight": 1080 https://github.com/cypress-io/cypress/issues/3491#issuecomment-464222564

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Nyengcommented, Jan 17, 2022

I left the project/team where I added Cypress tests, so I haven’t gotten the chance to revisit this issue… I ended up disabling video recordings. Would test it if there’s a known fix that addresses this issue though? @tnicola

0reactions
jkworthcommented, Jun 2, 2022

I just updated to today’s new release (0.5.0 (release)) and cypress video recording is no longer working

Error from console:

13:44:46  Warning: We failed to record the video.
13:44:46  
13:44:46  This error will not alter the exit code.
13:44:46  
13:44:46  Error: ffmpeg exited with code 1: /home/ubuntu/workspace/[branch]/cypress/videos/[filepath].mp4: No such file or directory
13:44:46  
13:44:46      at ChildProcess.<anonymous> (/home/ubuntu/.cache/Cypress/8.3.1/Cypress/resources/app/packages/server/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
13:44:46      at ChildProcess.emit (events.js:315:20)
13:44:46      at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

I’m not sure if this error is actually being caused by the new changes to this package or is an issue in cypress that was suddenly uncovered by the recent changes. I found a related issue here where other people seem to have a similar issue: cypress-io/cypress#9128 (comment)

reproduction steps: in cypress.json set "video": true, and then run cypress-parallel via command line

info: Cypress: v8.3.0 cypress-parallel: v0.5.0 run environment: ci/cypress run/jenkins and my local machine’s macOS browser: electron 91

possibly relevant: "viewportWidth": 1920, "viewportHeight": 1080 cypress-io/cypress#3491 (comment)

For anyone getting this error. Make sure to add "trashAssetsBeforeRuns": false in your cypress config. Otherwise each instance of cypress will try to clear out your results folders. Once I added that to my config the error no long showed up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Can't Play Recorded Video? - Wondershare Repairit
How to fix can't play recorded video due to several reasons such as file system corruption, power failure, abrupt system shut down and...
Read more >
[SOLVED] Why can't I screen record - 2021 Guide - CopyTrans
What to do, if you can't screen record on your iOS device? Here you'll find several workable solutions to fix screen recording not...
Read more >
Fix Snapchat Video recording Not working in 2022
Have some problems on Snapchat video recording? Check this article out and you will find the solutions.
Read more >
Top 7 Fixes for Android 11 Screen Recorder Not Working Issue
1. Restart Phone ... If you could record the screen properly until now and it stopped suddenly, the problem could be a temporary...
Read more >
How to Fix Recording Issues with Drift Video - Drift Help
Select Security & Privacy -> Screen Recording and repeat steps 3 and 4. MAKE SURE you let chrome restart for the changes to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found