https://cypress.io logo
Impact of CRF on compression speed
# i-need-help
b
Hello! Can anyone tell me if there is a relationship between the
videoCompression
value and how fast the compression will run? I'm looking into making our test runs faster, but without completely disabling the screen recordings. Will decreasing the CRF make the compression algorithm run faster? docs link: https://docs.cypress.io/guides/references/configuration#Videos
a
Hi @brainy-easter-37961 I reached out to subject matter experts and received the following response: *Changing the compression value won’t affect the video processing time that much actually - it is technically faster if less compression, but not by much. Turning off
videoCompression
altogether by setting it to false will save all of the time spent on video processing, but will result in a larger video size. This means if you are saving videos as an artifact in CI, this could result in increased costs in your CI, but if you are not storing videos as artifacts in their CI, there shouldn’t be any downside to turning off video compression.*
b
awesome. Thanks a lot @adventurous-dream-20049 and team!
3 Views