Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Compression setting does not update estimated file size when exporting videos

Open sarvarbek2603 opened this issue 1 year ago • 4 comments

Hi, first of all, thank you for this great tool!

While exporting a video in Cap.so, I noticed that the estimated file size changes dynamically when I switch between resolutions (e.g. 720p vs 1080p), which is very helpful.

However, when I change the compression level (e.g. from Minimal to Web), the estimated file size does not update accordingly — it remains the same regardless of the compression option I select.

It would be really helpful if the estimated file size could reflect the impact of compression settings as well. For example:

What would be the approximate file size for Minimal compression?

What would it be for Web optimized compression?

Having this visibility would help users make better decisions when choosing export options, especially when file size matters (e.g. uploading to web, sending via email, etc.).

I believe this feature could benefit many other users too.

Thanks in advance!

Image

sarvarbek2603 avatar Aug 06 '25 05:08 sarvarbek2603

noticed this issue too just now

jeevships avatar Jul 01 '26 03:07 jeevships

This looks fixed in the native desktop app, which 0.6.1 made the only Cap. Picking a compression preset re-runs the estimate (in apps/desktop-gpui/src/editor_export.rs the preset's on_select sets compression and calls refresh_export_preview), and the estimate encodes sample frames at that preset's bits per pixel (cap_export::estimates::estimate_export).

Running that estimator (crates/export/examples/export-estimate-benchmark.rs) on an 84 s recording at 1080p 30 fps:

compression estimated size
Maximum 20.5 MB
Web 13.4 MB
Potato 10.1 MB

So the estimate now follows the compression level. Worth closing unless someone still sees it on 0.6.1.

patrickballard avatar Oct 26 '26 22:10 patrickballard

This was fixed in #2290, which is in 0.6.2. The estimate now updates when you change the compression level. Closing, but reopen if you still see it on the latest version.

richiemcilroy avatar Nov 04 '26 16:11 richiemcilroy