this post was submitted on 13 Nov 2024
381 points (99.7% liked)

Programmer Humor

32572 readers
380 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 24 comments
sorted by: hot top controversial new old
[–] zurohki@aussie.zone 94 points 2 weeks ago
[–] synae@lemmy.sdf.org 80 points 2 weeks ago (1 children)

It's always ffmpeg under the hood

[–] propter_hog@hexbear.net 23 points 2 weeks ago (1 children)

So I decompiled the gnu c compiler once, and yes, it was just an elaborate use of ffmpeg

[–] itsraining@lemmygrad.ml 9 points 2 weeks ago

ffmpeg -i main.c a.out

[–] Tolookah@discuss.tchncs.de 78 points 2 weeks ago (2 children)

... They typed "make all" by themselves? Nice. I usually use a script to do that.

[–] propter_hog@hexbear.net 37 points 2 weeks ago* (last edited 2 weeks ago)

It adds a certain handcrafted quality to the code that you just can't find elsewhere, like hand grinding your coffee beans with an electric grinder or turning the lights on using a wall switch.

[–] sik0fewl@lemmy.ca 24 points 2 weeks ago

Newbs. "all" is the default target, so they did twice as much work as they needed to.

[–] morrowind@lemmy.ml 49 points 2 weeks ago (1 children)

Does anyone not use ffmpeg at this point?

[–] butter@midwest.social 14 points 2 weeks ago (1 children)
[–] QuazarOmega@lemy.lol 12 points 2 weeks ago

For them it's just "the code"

[–] bad_news@lemmy.billiam.net 45 points 2 weeks ago (1 children)

I've worked for a major US media company and this 100% tracks with the kinds of things that would happen tech-wise v what the suits say

[–] _pi@lemmy.ml 29 points 2 weeks ago

Most companies are incapable of actually building something this techical.

[–] Swedneck@discuss.tchncs.de 34 points 2 weeks ago (1 children)

as if the technology is what makes livestream services difficult anyways lmao
it's just expensive as shit because it involves a lot of data

[–] luciferofastora@lemmy.zip 8 points 2 weeks ago (1 children)

A lot of data throughput and buffer just for ingesting and distributing the live streams themselves, technical and business administration to keep things running, moderation to ensure compliance with content laws and data protection regulation, and then there's still all the other fancy features major platforms offer if you want to compete for users.

Multiple resolution options with server-side rescaling for users with slower connections? Graphics computing power.
Store past broadcasts? Massive amounts of data storage capacity.
Social features? Even more moderation.

And we haven't even touched on the monetary issue of "How do you pay for all that?" and all its attached complexity. You could be running the nicest platform in the world, but without any funding, it won't run very long.

[–] monk@lemmy.unboiled.info 3 points 1 week ago (1 children)

So it I cut the server-side rescaling, target just the developed countries, skip moderation and don't store broadcasts, it should be easy? Noted.

[–] luciferofastora@lemmy.zip 1 points 1 week ago* (last edited 1 week ago)

I mean, the minimum you need is some authentication mechanism, a secure certificate, an authenticated endpoint to send a live data feed to, an endpoint to query a given live data feed from, maybe a website to serve the whole thing for people that don't have their own tool for reading and playing back a live data feed...

...and the infrastructure to distribute that data feed from ingest to content delivery. Easy.

(Note: easy does not mean cheap. Even if a live data feed ingest and delivery was easy to implement (which I doubt it is), you'd skip buffering (to reduce memory demands) and only used a single server (to spare such stupid things as distributed networks, load balancing, redundancy or costs for scaling cloud solutions), you'd still have computational overhead of network operations and of course a massive data throughput.)

[–] warm@kbin.earth 33 points 2 weeks ago (1 children)

The downside is some shitty far-right service is now getting free publicity.

[–] bad_news@lemmy.billiam.net 14 points 2 weeks ago (1 children)

Plenty of non-neolib lefties on Rumble

[–] ayyy@sh.itjust.works 0 points 2 weeks ago

It’s the same picture

[–] cypherpunks@lemmy.ml 31 points 2 weeks ago
[–] Imnebuddy@lemmy.ml 30 points 2 weeks ago* (last edited 2 weeks ago)

The FFmpeg team is pretty based: https://xcancel.com/FFmpeg/status/1775178803129602500

I appreciate they know the value of their work and criticize companies for their ridiculous exploitation and underpayment of open source devs, as well as claiming open source libraries as their own work.

[–] umbrella@lemmy.ml 21 points 2 weeks ago* (last edited 2 weeks ago)

my company in a nutshell.

we made up a shitty name and a shittier AI logo for whats essentially an off the shelf white label appliance we configure a little different.

[–] SteveTech@programming.dev 8 points 2 weeks ago (1 children)

Not to defend them, but he did follow up with this:

This is referring to the technology we just released into BETA for premium subscribers, which delivers one of the lowest latencies for livestreaming (significantly better than YouTube's latency).

This does not refer to encoding

https://xcancel.com/chrispavlovski/status/1856090182275215803

Although quality != latency, so idk.

[–] entropicdrift@lemmy.sdf.org 2 points 1 week ago

Deleted, apparently