I code stuff. I draw stuff.

I’m a Hongkonger 🇭🇰
If you’re a westerner coming here because you’re arguing with me about something in HK/China/Asia, I forgive you for your misunderstandings.

  • 5 Posts
  • 75 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle








  • I stream Splatoon 3 for 2 hours every day and I record higher quality VODs alongside. I keep a lot of the VODs in my storage.

    I record at 1080p 60fps 9000kbps with H265. 2 hours of that takes up 8.8GB, for simplicity we will say it’s 9GB.

    The 9000kbps is enough for a bitrate-heavy game like Splatoon 3, so I’d say 12000kbps is enough for you.

    We can scale it up to your settings by (1440/1080)^2 * (165/60) * (12000/9000) = 6.52 (worst case, but H265 should reduce that a little bit). The scale factor mainly comes from the increased FPS and bitrate.

    I’m currently looking at storing a year of footage in a 4TB HDD (9GB*365=3.3TB), so as an estimation, you need 7 of those.

    There are better codecs though, such as AV1, but my GPU doesn’t support AV1 hardware encoding and software encoding would cause too much lag, so I didn’t use it.


  • Not sure if this fits your need, but if you just want to own the files, maybe try playing locally?

    I don’t have an unlimited data plan, so I use “Gelli” which can download from Jellyfin and play them offline. However, it’s buggy and haven’t been updated in a while, so I’m planning on ditching that, and switch to locally storing the music files.

    I found an Android music player named “Symphony”. It reads directories as album, as well as metadata. Importantly, it also saves the queue for me. I have a self-hosted Nextcloud so I can sync music to my phone. Symphony would read them from the directory.








  • Global hotkey is only used for playing the sounds and nothing else, and that is basically just running a command.

    This will play all files that has an audio stream (cls is also using this command):
    ffmpeg -i <file> -f s16le - | pacat -d <sink> --channels=<1 for mono, 2 for stereo> --rate=<sample rate> --volume=<0-65535, 65535 = 100%>

    I guess it is pretty complicated so maybe I’ll add a way to play files.



  • NorthWestWind@lemmy.worldtomemes@lemmy.worldKeep working!
    link
    fedilink
    arrow-up
    58
    arrow-down
    6
    ·
    1 month ago

    Hongkonger moment

    I’m seeing so many posts about the hurricane meanwhile we get hit by multiple typhoons every year.

    For our tropical cyclone hazard system, most people don’t have to work under typhoon warning signal no. 8, but only if it happens before you get to work.

    There used to be a joke about “Lee’s Forcefield”, where the observatory would often NOT put up no. 8 until after the stock market starts for the day, meaning most people have to work.

    Therefore yes, you’re going to work.