Any way to compress a cached file?

I have a successfully working page where a visitor can record a video via html5 < video > via web cam. Once it’s recorded it automatically Plays the just recorded video (and then can be uploaded).
Because it takes too long to upload, is there any way to compress or zip the cached (recorded) file, prior to upload, to help improve the upload speed?

Not really. You see compression takes time and can be CPU intensive. In most cases it takes a computer more time to compress and burn up CPU cycles than just to transmit the data as is.

One thing you could also play with is the quality of recording. Obviously if you record at a lower quality, the file will be smaller. It is a quality for size trade off.

Big files, slow speeds… always an issue. :frowning:

3 Likes