I am improving the performance of my application.
I want to compress images and videos to minimum size without any quality loss i.e. lossless compression.
For images, i've used imagemin package. It works well with png format, but for jpeg, its very inefficient.
For videos, i can't find any way to minimize video size without scaling down the resolution and without any quality loss.