Compression of videos when uploading

I have a server running Nextcloud and I uploads a lot of videos there. Now I thought if there is a way to compress the files to save some storage. Is there any app oder config I can do?

video codecs are really efficient today - usually there no value in extra compression

With workflows you can process uploaded files (e.g. of a certain type):