FFmpeg merges WebRTC support
151–160 of 204 posts
Re: FFmpeg merges WebRTC support
#152Can someone ELI5 what this means? i've been using ffmpeg for over a decade.
Re: FFmpeg merges WebRTC support
#153Earlier quoted context omitted.
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
https://networkengineering.stackexchange.com/questions/47994...
Re: FFmpeg merges WebRTC support
#154Hopefully this doesn't make it more dangerous to keep ffmpeg on our systems. WebRTC security flaws are responsible for a lot of compromises. It's one of the first things I disable after installing a browser
Re: FFmpeg merges WebRTC support
#155Earlier quoted context omitted.
What sort of infrastructure do you need for scaling WebRTC multicast? Are we entering an era where you don't need Amazon's budget to host something like Twitch?
Yes we are :) When OBS merges the PR [0] things are going to get very interesting. Before you needed to run expensive transcoding jobs to be able to support heterogenous clients. Once we get Simulcast the only cost will be bandwidth. With Hetzner I am paying $1 a TB. With AV1 or H265 + Simulcast I am getting 4K for hundreds of users on just a single server. We will have some growing pains, but I am not giving up unti…
Now I see this news?! Perfect timing. (:
Re: FFmpeg merges WebRTC support
#156Earlier quoted context omitted.
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…
(I did sub-100ms glass-to-glass streaming with VLC back in the day, so it is eminently possible. But the browser is in your way.)
[1] Much less than that is going to be tricky under non-perfect network conditions, because once you start having any sort of packet drop, you want to go from TCP's retransmission regime and instead start dropping packets, take the artifacts for a little while, and then go on.
Re: FFmpeg merges WebRTC support
#157Re: FFmpeg merges WebRTC support
#158Earlier quoted context omitted.
LLMs really know how to use it incredibly well. You can ask them to do just about any video related task and they can give you an ffmpeg one liner to do it.
Wow, you are not wrong. I just asked Gemini "how can I use ffmpeg to apply a lower third image to a video?" and it gave a very detailed explanation of using an overlay filter. Have not tested its answer yet but on its face it looks legit.
That's LLMs for you
Re: FFmpeg merges WebRTC support
#159Re: FFmpeg merges WebRTC support
#160Earlier 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.
With how ubiquitous gigabit symmetric is becoming, I wonder if you could even do P2P nowadays. Assuming a single gigabit symmetric connection could dedicate at most 100mb of upload bandwidth, you'd need one such viewer per each 25 viewers with a worse connection. This feels achievable. You'd have 1 server that broadcasts to at most 10K tier-1 viewers. Tier 2 viewers get 3 tier1 ips for failover, and pre-negotiate a c…
You don't even need gigabit connections to make p2p work: a video stream is usually between 1-10mbps, with which you can do p2p even with a regular connection.
(I used to work for a start-up doing p2p streaming using WebRTC in the browser, we got up to 90% efficiency on live streaming back in 2015, and 80% for VoD).
I'm still very confused that this technology hasn't become mainstream (there are privacy concerns, but that doesn't usually stop the tech market…).