Store thumbnails and avatars on object storage
Describe the problem to be solved
Peertube stores thumbnails, images, and redundancy files on the local file system, which can pose challenges for instances with limited storage resources due to the amount of space these files consume. Additionally, when managing a large instance, there can be hundreds to thousands of thumbnail files, making the migration process more time-consuming when transferring many small files (especially over ssh).
Describe the solution you would like
To make it easier to migrate between servers, for example Mastodon stores all media files in a separate storage system, such as Amazon S3. As a result, when migrating an instance, only the configuration and database are moved, and the media storage can remain untouched. This simplifies the migration process, making it easier to move an instance to a new server without having to transfer large amounts of media files.
I would like captions (.vtt) file on Object storage also, Ideally in the same folder as the video. Should this be a new feature request @Chocobozzz ?
@stevespaw Yes please!
Hello! Just curious if this is still a priority for PeerTube? @Chocobozzz
Unfortunately due to lack of any attention for this issue, has anyone tried using s3fs-fuse as an alternative way for this issue?
If you did, what issues did you encounter?
I haven't, but I'll try and see what happens.