jointakahe / takahe

An ActivityPub/Fediverse server
BSD 3-Clause "New" or "Revised" License
1.13k stars 87 forks source link

Support Video #378

Open andrewgodwin opened 1 year ago

andrewgodwin commented 1 year ago

We want to support local users uploading video in two senses:

We only want to allow videos to be in either mp4 with a common codec or webm/vp8 - all other formats will need conversion to one of these. This will need background processing that isn't in a stator main thread (as it's CPU bound). We might be OK launching an ffmpeg subprocess and asynchronously checking its progress.

We also want a size limit for uploads; Mastodon has one and quite a few clients appear to re-encode video locally already to meet this.

foozmeat commented 1 year ago

+1 for video. It's a must for my needs.

patrick91 commented 2 months ago

do you think it is worth splitting this in two PRs? One for GIFs and one for videos?

Or should we always convert GIFs to mp4? 😊