𝒍𝒆𝒎𝒂𝒏𝒏

Hey 👋 I’m Lemann: mark II

I like tech, bicycles, and nature.

Otherwise known as; @lemann@lemmy.one and @lemann@lemmy.world

Dancing Parrot wearing sunglasses

  • 3 Posts
  • 187 Comments
Joined 7 months ago
cake
Cake day: December 22nd, 2023

help-circle
  • This looks like one of those low cost netbooks from the time where “EPad” and “MID” tablets were a thing. There is an edition of Windows CE floating around for these - but WiFi will not work, neither the modem if this has one built in.

    No idea about Linux - there is a kernel so you’re technically half way there, but considering most of these had a slow single core ARM CPU and 256MB of RAM on a good day, practical use is limited IMO












  • This kind of stuff happens all the time IMO, we’re human and not perfect 🤷‍♂️

    I don’t know how much of a help ChatGPT would be in this situation without access to your schema, at least with Copilot you can write a comment in the code explaining what you’re trying to do and get some usable pointers in the generated suggestion (which takes your codebase into account).

    I usually try to get a second pair of eyes on my code if something that seems relatively simple isn’t working as expected… As you gain more experience these mistakes will become less common, and easier to spot







  • I do something similar for my property’s exterior cameras, which are streamed to my VPS in ‘real-time’.

    You will need to re-encode the footage - videos are already pretty well compressed, so traditional compression methods like 7z (lzma), gz, zip etc being layered on top can’t compress them further.

    For your solution, I’d probably run a find every minute w/ cron to look for these files in a staging/watch folder, move them to another folder so they aren’t picked up on the next run, then re-encode with ffmpeg. Do note that when you re-encode footage, you always lose quality, even if you’re on a high quality preset.

    I have a feeling that the Handbrake project can do this with a watch folder though, so might be worth looking into that. After a quick search this looks easier to setup than my solution:

    https://github.com/HandBrake/HandBrake
    https://github.com/shannah/handbrake-watcher