HackerLangs
TopNewTrendsCommentsPastAskShowJobs

steelbrain

no profile record

Submissions

FFmpeg-over-IP – Connect to remote FFmpeg servers

github.com
235 points·by steelbrain·4 mesi fa·68 comments

Show HN: LemurCam – IP Cameras as Webcams in macOS

github.com
1 points·by steelbrain·4 mesi fa·0 comments

comments

steelbrain
·12 giorni fa·discuss
[flagged]
steelbrain
·13 giorni fa·discuss
You must live in a different New York City than the one I visited. I had the safety calibration of Tallinn, Estonia and Dubai, UAE.

The subway was extremely hostile. People were regularly drugged out of their mind. I saw one guy try to drink a Coca Cola upside down and spilled it all in the bus. Another crazy chased my limited mobility Estonian friend who wanted to visit nyc alongside me when she went alone for groceries.

Could it be that your frame of reference is broken and/or you’re numb to it?
steelbrain
·16 giorni fa·discuss
I'm not from the US, but based on my knowledge of your culture, it may be worth it to write a letter to your state's Attorney General
steelbrain
·16 giorni fa·discuss
In the US at least, it is illegal to do unsolicited outbound sales with a bot. You have to have humans make these calls.
steelbrain
·2 mesi fa·discuss
Sorry to hear about your situation. For the game you're shutting down online services for, forgive my nieve question but how much work is it to expose an environment variable called `GAME_SERVER_URL` and then document the API contract it expects on the other end?

Servers have a real cost, nobody is denying that, but I think the people who bought the game should have an option/alternative in case the servers are down.
steelbrain
·2 mesi fa·discuss
This is not using an eGPU with macOS, ie you can't run your chrome on macOS with its GPU acceleration coming from this eGPU. This is tunneling that eGPU to a Linux VM.
steelbrain
·2 mesi fa·discuss
Yes, natively. Thanks Google: https://blog.google/products-and-platforms/platforms/android...
steelbrain
·3 mesi fa·discuss
See also: Shrinkflation (https://en.wikipedia.org/wiki/Shrinkflation)
steelbrain
·3 mesi fa·discuss
The source code is hosted on Github: https://github.com/gitbutlerapp/gitbutler

I was really hoping we'd see some competition to Github, but no, this is competition for the likes of the Conductor App. Disappointed, I must say. I am tired of using and waiting for alternatives of, Github.

The diff view in particular makes me rage. CodeMirror has a demo where they render a million lines. Github starts dying when rendering a couple thousand. There are options like Codeberg but the experience is unfortunately even worse.
steelbrain
·4 mesi fa·discuss
Surprised to see that there's no official binaries for arm64 darwin. Meaning macOS users will have to run it through the Rosetta 2 translation layer.
steelbrain
·4 mesi fa·discuss
I didnt realize how prolific the OpenClaw author was. Thanks for sharing!
steelbrain
·4 mesi fa·discuss
> And on top of it, if you develop for native macOS, There’s no official tooling for visual verification. It’s like 95% of development is web and LLM providers care only about that.

Thinking out loud here, but you could make an application that's always running, always has screen sharing permissions, then exposes a lightweight HTTP endpoint on 127.0.0.1 that when read from, gives the latest frame to your agent as a PNG file.

Edit: Hmm, not sure that'd be sufficient, since you'd want to click-around as well.

Maybe a full-on macOS accessibility MCP server? Somebody should build that!
steelbrain
·4 mesi fa·discuss
Yes, apply the patches on any binary, build it and rename it to ffmpeg and it’ll work over the network with the server and client included
steelbrain
·4 mesi fa·discuss
Get a TP Link Tapo! They are like 20-30 bucks and come with ONVIF.

EZVIZ is another ban-evading arm of HIKVision, easily available in Europe and has RTSP (confirmed) with alleged support of ONVIF as well.
steelbrain
·4 mesi fa·discuss
To be able to use ffmpeg with its native network capabilities in a usecase of media servers, where you need to stream your input to it, and then get multiple outputs (think HLS) that are streamed back is not possible at this point in time. HTTP, FTP, SFTP, all have their limitations, some are outright broken for HLS usecases, others wont stream seeking.

I would have very much loved to use the built-in capabilities instead of patching ffmpeg to add a vfs layer and spend a ton of time figuring out the build pipeline once you add all the codecs and hwaccels. I do hope to be able to change this in the future, I've identified several bugs that I intend to submit patches for.
steelbrain
·4 mesi fa·discuss
I am using it as my everything-depot. Beyond this proprietary app, you'll find more than a hundred of my other, open source projects there as well.

Including the building blocks of said proprietary app: https://github.com/steelbrain/XMLKit & https://github.com/steelbrain/IPCamKit
steelbrain
·4 mesi fa·discuss
tl;dr:

- Client makes request to server (which opens a bidirectional network socket)

- Server uses that bidirectional socket, spawns a local patched ffmpeg with vfs-like characteristics

- ffmpeg (using client-server bidrection socket) does input/output operations, treating client filesystem as if it was local

Thus client doesn't need to open any ports, or expose its filesystem in a traditional mounting manner, and one server can handle filesystems & requests of any amount of clients.
steelbrain
·4 mesi fa·discuss
I'll tell my TV you said that and I'll see if it stops buffering during playback :)
steelbrain
·4 mesi fa·discuss
I've traveled around a lot in the past couple years so my situation (read: homelab equipment) has been changing and my usecase has been changing with it. It started out as:

- I dont want to unplug the GPU from my gaming PC and plug it into my linux server

- Then: I dont want to figure out PCI forwarding, I'll just open a port and nfs to the containers/vms (ffmpeg-over-ip v4 needed shared filesystem)

- Now: I have a homelab of 4 mini PCs and one of them has an RTX 3090 over Oculink. I need it for local LLMs but also video encoding and I dont want to do both on the same machine.

But you've asked a more fundamental question, why would people need hardware accelerated video decoding in the first place? I need it because my TV doesn't support all the codecs and I still want to watch my movies at 4K without stuttering.
steelbrain
·4 mesi fa·discuss
Thank you for sharing your experience. Seems like this is not relevant to your setup & usecase.

People who need this know who they are. Not everything is for everybody.