Auto compress files that are large.
PortalRex opened this issue · 8 comments
Describe the feature you'd like
Having a setting that allows for compress to be done to a video before reupload as to allow for larger media to be uploaded. Maybe have a threshold of if a file is larger than xxMB it is automatically compressed and uploaded.
Is your feature request related to a problem? Please describe.
No response
Describe alternatives you've considered
No response
Anything Else
No response
I assume this is referring to the download size limit. The issue for me is that I don’t want to stress out my network too much and also it’s a decent way to limit the amount of input data
Oh, that is totally reasonable. I self host so I completely forgot that aspect haha.
If you self-host, you can just manually up the maximum allowed input file size, it’s a config setting
Line 28 in f568e2c
I did up that, the problem now is the file size is larger than 50MB as the server only has level 2 boosts.
There isn’t anything I can do about that, all files have to fit into discord’s upload limit
No no I understand but this traces back to the original idea. If the bot downloads a file that is 150MB rather than having it auto fail due to the size. Have a config/setting that allows for automatic compress through ffmpeg that brings it under the required size.
That still wouldn’t fix the issue of stressing my network, the limited input size also prevents DoS type attacks
Completely understandable once again, I'll look to see if I can write up something for anyone who self hosts.