UPDATE THREAD (it’s prettier, and on Mac and Linux now): https://piefed.ca/c/selfhosted/p/571213/honey-i-shrunk-the-vids-mr-universe-edition-v1-0-5

histv - Honey, I Shrunk The Vids

An overengineered PowerShell frontend for FFMPEG


Predendum 6/MAR/26: Yes, I’m using genAI - specifically Claude - to help me build and improve this application. But, I believe I’m using genAI differently than the majority of projects. For one thing, I’m not blindly copy-pasting output and crossing my fingers that it works. I read the output, looking for things I know are wrong, and try to fix it; if I can’t, I ask what I’m doing wrong, and then I fix it. When I encounter errors, I’m reading the error output and if I know how to fix it I do it myself. I’m trying to actually learn, but I do that best by diving in and fixing the mistakes I make. I test informally* on the hardware I have available, which is two Windows PCs, and sometimes my friend with a 2016 Mac will do a test run for me to confirm stuff works. (*by “informally”, I mean I don’t write test cases. I know how, but they’re repetitive and I hate them and I’m not doing it for my personal projects or I’ll end up hating my hobbies.)

My goal in posting my projects is not to have other people audit my code for me, nor do I want kudos or approbation (except for any jokes you see. Those are all me). I’m posting what I’ve got when I’ve got it largely working, in case other people find it useful, and that’s it. I do hope that if people see something I could refactor or conventions I should be adhering to, they’ll drop me a (civil) note about it so I can keep it mind. I appreciate feedback and advice, but I’m not expecting it.

Thanks for reading, I hope you find HISTV useful!


screenshots

image

image

image

image

I was doing a lot of manual re-encoding down from insane source bitrates with FFMPEG, and I wondered if I could put it into a nice GUI. Then I wondered if I could make it hardware-agnostic. Then I wondered if I could give it a dark theme… and on and on and on… until finally I had it working how I wanted and I wondered if I could put it into a single executable file.

So all up I spent a little while on this today and I think I finally have something worth shipping. The executable will probably trigger your antivirus because it boostraps the powershell script, and the script will always throw a warning asking if you’re sure you want to run it. But it works and it’s safe, read the full source and readme in the codeberg if you want to be sure.

I hope this might be helpful for anyone else transcoding videos on Windows! I’d love feedback, but please be gentle, it’s my first project like this and I have no idea what I’m actually doing.

    • obelisk_complex@piefed.caOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 days ago

      This isn’t better than Handbrake. It’s simpler, though. Also, as I said in another comment, I wanted to see if I could get it to work - it was as much personal challenge as anything.

      And I got it working, and I’m proud of my dumb little first project, so I posted about it. There seem to be some people think I shouldn’t have done that last bit, though.

      • CallMeAl (Not AI)@piefed.zip
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 days ago

        To be clear, I’m not trying to discourage you from posting about your project and I think you should always pursue such personal challenges.

        I also think it helps others better contextualize your project if you include a bit in your post about your motivation (like in your reply).

        To me, it’s also very nice to mention alternatives you are aware of and how your project compares to them. “It’s doesn’t do as much as Handbrake but it’s simpler” is a selling point for some people.

        • obelisk_complex@piefed.caOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 days ago

          Oh! Apologies, I wasn’t directing that at you. I see how it came off that way though; my tone was meant to be self-deprecating. By the last bit I just meant I saw a downvote or two. Could be any reason for those, or none at all.

      • irmadlad@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        There seem to be some people think I shouldn’t have done that last bit, though.

        Do your thing man, fuck what they lookin’ at.