Hacker News new | ask | show | jobs
by jhgg 1712 days ago
We don't transcode video, so no.
2 comments

I presume you're Discord eng. You must do some sort of pass or parse of it, because every now and then I'll upload something and it will fail to process and result in what I'll call "the sad Discord poop"…
We try to grab the first frame to show a preview. But if we can't for whatever reason, that's when the sad poop appears :(
the player is malfunctioning anyway, similarly to those videos that report short runtime and then go on forever that get passed around quite frequently
This is how the video element works in chromium. I suspect it looks at the same metadata field. Beyond leading to a bit of absurd UI state though it's not the same kind of issue that this post describes, which deals with trying to transcode these kinds of videos which could multiply storage utilization on the backend.