hmans,
@hmans@mastodon.gamedev.place avatar

How does the Mastodon software deal with video uploads? Is their transcoding outsourced to eg. AWS, or does Mastodon handle this itself? How does it generally tackle the serving of larger assets?

voxpelli,
@voxpelli@mastodon.social avatar

@hmans As for ActivityPub: The core spec doesn’t deal with this at all.

Are you thinking about the publishing side or the consumption side?

hmans,
@hmans@mastodon.gamedev.place avatar

@voxpelli Nah, literally just the Mastodon software project. Mastodon is processing (transcoding, and in some cases converting into GIFs) videos and I was wondering if it's doing that locally, or if it requires a dependency to a cloud service. (Answers so far indicate that it's doing it locally.)

voxpelli,
@voxpelli@mastodon.social avatar

@hmans Is it doing it for both stuff one uploads to it and stuff it receives from other servers?

hmans,
@hmans@mastodon.gamedev.place avatar

@voxpelli I honestly have no idea - but I think it just does it for videos uploaded by local users, with clients fetching media attachments from the instances they originate from. (But I'm honestly wouldn't know – this is just from observing client behavior.)

voxpelli,
@voxpelli@mastodon.social avatar

@hmans Fetching content directly from source would expose eg IP-addresses and make clients rely on the media optimizations of the source site 🤔

hmans,
@hmans@mastodon.gamedev.place avatar

@voxpelli I can't really imagine instances happily copying all video content - sometimes videos in federated posts don't load and the originating instance is blamed. But I might be misjudging, I haven't read up on Mastodon internals at all.

voxpelli,
@voxpelli@mastodon.social avatar

@hmans Could be that they are lazy fetching it or something

I was quite amazed to see issues like this be totally left to the implementers of #ActivityPub

Especially as #PubSubHubbub / #WebSub which #OStatus and other predecessors use (and the #IndieWeb still use) was specifically designed to avoid thundering herd problems that arise from a lot of subscribers all eagerly fetching content at once upon receiving a ping about new content

sl007,
@sl007@digitalcourage.social avatar

@voxpelli @hmans

So, so!
We should at least mention the https://www.w3.org/wiki/SocialCG/ActivityPub/MediaUpload which is the official extension.
While transcoding isn't specified either. Peertube can do this.

voxpelli,
@voxpelli@mastodon.social avatar

@sl007 @hmans Listed as an in-progress non-final extension and seems to only deal with the client to server flow not the federation server to server? https://www.w3.org/wiki/ActivityPub_extensions#uploadMedia

sl007,
@sl007@digitalcourage.social avatar

@voxpelli @hmans

I was in the voting years ago (?) - not sure how to edit this mess.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • cubers
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • thenastyranch
  • ngwrru68w68
  • Youngstown
  • slotface
  • modclub
  • love
  • kavyap
  • everett
  • InstantRegret
  • mdbf
  • megavids
  • khanakhh
  • tacticalgear
  • osvaldo12
  • rosin
  • tester
  • GTA5RPClips
  • cisconetworking
  • Durango
  • Leos
  • normalnudes
  • anitta
  • provamag3
  • JUstTest
  • All magazines