Live data from Hacker News

FFmpeg merges WebRTC support

git.ffmpeg.org

131–140 of 204 posts

Re: FFmpeg merges WebRTC support

#131

Earlier quoted context omitted.

It means that programs that use the FFmpeg libraries (looks like libavformat specifically) can consume webrtc streams

I still don't understand any practical use cases. Can you give some examples? (I'm not being obtuse here I'm genuinely curious what this can enable now.)

WebRTC excels at sub-second latency peer to peer, so you can do near-realtime video, so anywhere that is useful.

Say you wanted to do a virtual portal installation connecting views from two different cities with live audio, you could have ffmpeg feed off a professional cinema or DSLR camera device with a clean audio feed and stream that over WebRTC into a webpage-based live viewer.

Or say you wanna do a webpage that remote controls a drone or rover robot, it would be great for that.

Re: FFmpeg merges WebRTC support

#132
post #119

Earlier quoted context omitted.

A twitch 720p stream is only 4 Mbps. 1080p? 6-8 Mbps So if you've got ~18 Gbps of upload bandwidth you're ready for 10,000-20,000 viewers.

Not sure I follow your maths there. If we assumed an average of 6Mb per stream that's 3000 streams, practically speaking a little lower. It's all relative I guess but it's not that high.

Multicast enters the room

Re: FFmpeg merges WebRTC support

#133

Public Service Announcement: There's a reddit topic for WebRTC, that doesn't get enough action imo! Get in there ya'll... https://www.reddit.com/r/WebRTC

No. Reddit lost their own community's trust when the CEO ejected the community's moderators. Information posted there is now far less likely to be qualitative compared to other places, so what's the point of going there?

Where's the best place that people are talking about WebRTC then? Hacker News doesn't have rooms by topic does it?

Re: FFmpeg merges WebRTC support

#134

A commit that was "co-authored-by" 6+ people and has three thousand lines of code: this is a total wreck of a development workflow. This feature should have been implemented with a series of about 20 patches. Awful.

I mean, it probably was a branch that several people contributed commits to that was squashed prior to merge into mainline. Folks sometimes have thoughts about whether there's value in squashing or not, but it's a pretty common and sensible workflow.

Re: FFmpeg merges WebRTC support

#136

Earlier quoted context omitted.

If there is a "copy and paste" way to get that to run in the browser, can you copy and paste it to a jsfiddle and post the link to the fiddle here?

As long as you make sure the npm package is available, you can! If you can't figure out how to do it, I'm sorry but I literally can't think of a way to make it less effort. The problem you described in another comment with the import statements is literally explained on the Installation page of the documentation.

As I said in my original comment that started this thread, I don't use any server side tech. So there is no "npm package". I am only using a browser.

Re: FFmpeg merges WebRTC support

#137

Earlier quoted context omitted.

I was commenting on the general assertion of the GP's comment, not this specific instance.

Another commenter showed how they were able to use Claude to do this in two messages: one to write the code, a second to paste the error that comes out so Claude can fix it. The exact word of the comment you replied to was "oneshot": if you're going to outsource 100% of the thinking involved in the task to a machine and can't even be bothered to copy over the error you're getting after the first response, my response…

Can you link to that comment? I don't see a mention of "Claude" anywhere in this thread. Also nobody here showed they were able to "do this" yet.

Re: FFmpeg merges WebRTC support

#138

Earlier quoted context omitted.

No. Reddit lost their own community's trust when the CEO ejected the community's moderators. Information posted there is now far less likely to be qualitative compared to other places, so what's the point of going there?

Where's the best place that people are talking about WebRTC then? Hacker News doesn't have rooms by topic does it?

Broadcast Box has a discord https://discord.gg/An5jjhNUE3

You could also join the Pion one https://pion.ly/discord

Other place is video-dev Slack https://www.video-dev.org/

X also has a great community of hackers!

Re: FFmpeg merges WebRTC support

#140

Earlier quoted context omitted.

Where's the best place that people are talking about WebRTC then? Hacker News doesn't have rooms by topic does it?

Broadcast Box has a discord https://discord.gg/An5jjhNUE3 You could also join the Pion one https://pion.ly/discord Other place is video-dev Slack https://www.video-dev.org/ X also has a great community of hackers!

Thanks for the links! Yeah, I'm on X as my primary news source for tech, but I mainly only follow AI-related people and orgs. I should search for WebRTC.
Post reply on HN