News for hackers. Stuff that matters.
Re:Ask HN: How do you handle user-generated content in your ... by eurasiantiger on Monday August 23, 2021 @08:25AM (#28274743)
Media is very difficult on the internet. It’s not enough to upload a video and share it, it needs to be transcoded into several different formats (h.264/mp4, vp-9/webm, h.265/hevc), multiple resolutions (from 2160p to 280p) and multiple bitrates (to support low/high bandwidth) as well as different framerates (60/30fps), all while retaining sync with an audio track that gets completely separate processing and compression.

None of this is a simple task, and you also need to serve the correct files to the correct clients - fun!

Re:Ask HN: How do you handle user-generated content in your ... by JamesSwift on Monday August 23, 2021 @10:06AM (#28275918)
> you also need to serve the correct files to the correct clients

Thats been the hardest part for me as a developer. I've had several extended debugging sessions that ended up being "the media is encoded incorrectly for this android device".