As a side note, learned today that I've been running basically zero hardware acceleration for video on linux despite having a respectable GPU. It's all been CPU and I didn't realize. nvidia-smi dmon is the linux command (for nvidia) - column "dec" tells you whether there is hw decode happening. This will work both for browser (youtube) and video player (mpv etc). I needed to make active changes on both to get it to a…
Offloading FFmpeg with Cloudflare
21–23 of 23 posts
Re: Offloading FFmpeg with Cloudflare
#22This was kind of a wild read. It starts with > When I started building the Call Kent feature, I could have designed a proper job queue with a dedicated worker pool. But that would have been solving a scalability problem I did not yet have. "Start simple and iterate when reality tells you to" is still how I think about this. Reality finally told me. And then we find ourselves at > The signature uses HMAC-SHA256 with a…
If I read the blog post correctly, this was to get a MP3 output from other audio sources. No video.
He could created a few bash files and run in locally, assuming he is in the USA save ton of money spent creating the messy situation.
Re: Offloading FFmpeg with Cloudflare
#23Not really related to the topic, but I recently set up a baby-cam with ffmpeg by just telling ffmpeg to stream to the broadcast address on my home network and I can now open the stream from VLC on any device in the household. A very heavy-handed solution, but super simple. A single one-liner. Just thought to share a weird trick I found.
It could be a little more efficient to use a multicast address. Even if you don't have any special multicast routing set up, all the receiving machines should be able to discard the traffic a bit earlier in the pipeline.
I saw some other solutions using nginx to serve the stream but that was much more complicated, just broadcasting is an one-liner (in a systemd daemon).