I don't even know how to properly configure it on my own instance. I thought I had configured it properly to handle large gifs, but then it still doesn't work sometimes for some random reason.
Doesn't make it easier that lemmy uses pictrs 4 when pictrs 5 is currently the stable version. But I have no idea if Lemmy can handle that.
What format does it get converted into? Can you post a link that you got back (even in the comments)?
Each instance can configure pict-rs (the media subsystem, basically) a number of different ways or even disable videos entirely (or convert them to gifs, etc).
Regardless of format, Lemmy+Pict-rs isn't really setup for videos longer than a few seconds (pict-rs has to transcode the upload, and there's a hard timeout between Lemmy and pict-rs). Most people either upload to catbox and put the .mp4 link as the post URL or post a YT or Peer Tube link.