Lots of progress and a lots of pain. However, all of the Sisyphus modules have been implemented and I'm currently running a test across the `2.0.0b2` version. The most painful thing I fought was literally tailing a log file. Got lazy and brought in `hpcloud/tail` because it did what I needed it to, but what it _didn't_ do was work well for my application. After a day or two of battling it, I removed it and went with `bufio.NewReader`and a nice `context.CloseWith` setup and now it works every time.

Also added a `PostRun()` call to each module just to have a place to do basic module cleanup if needed.

Learned a ton on this one so far and while annoying at times: it's been pretty fun.

Repo: https://git.jamesthebard.net/jweatherly/sisyphus-client-golang

#golang #sisyphus #encoding #programming

C'est niche, mais je suis toujours surpris que certaines parties du monde informatique, par fatigue, n'implémentent pas encore d'éléments d'ergonomie et de reconnaissance de formes https://simonomi.dev/blog/color-code-your-bytes/ #programming #encoding #ergonomie #interface
your hex editor should color-code bytes

The Sisyphus client rewrite continues after a bit of a break. The `ffmpeg` module is mostly finished and should serve as a good template for `handbrake`, `av1an`, `mkvmerge`, and `cleanup` modules. Logging is progressing pretty well. The config has been expanded slightly and can now pull from TOML files on top of the standard environment variables.

#sisyphus #encoding #ffmpeg #golang

Demonstrating Gray Codes With Industrial Display

Many people base huge swaths of their lives on foundational philosophical texts, yet few have read them in their entirety. The one that springs to the forefront of many of our minds is The Art of C…

Hackaday
Demonstrating Gray Codes With Industrial Display

Many people base huge swaths of their lives on foundational philosophical texts, yet few have read them in their entirety. The one that springs to the forefront of many of our minds is The Art of C…

Hackaday

A nice afternoon running some brutal encodes across the homelab. This is initial testing of the 5fist fork of the `svt-av1-psy` encoder with some pretty severe settings. Hoping that the results are worth the wait, but gotta wait until the first few results come out of the workers.

#sisyphus #av1 #svtAv1 #encoding

RE: https://mastodon.social/@silentexception/116233438254843396

It works actually, I have just tested it with UTF-8, my fav testing topic with #LLMs #techsupport #encoding

Oh yeah, things are working as intended now. Unfortunately, I did crank the settings so these encodes are going to take about an hour each. However, the homelab seems to be up to the challenge.

#sisyphus #encoding #av1an

After breaking out `strace` and just a ton of other stuff I finally figured out what was going on. A single encoder option was invalid which caused the workers to crash before even writing the file in the data directory. Fixing the setting cleared up the issue and made everything happy.

What caused this rabbithole initially was `av1an` eating itself when trying to put the video and audio stuff together at the end of an encode. Unfortunately the `audio.mkv` file it was trying to mux into the container kept causing `mkvmerge` to fail because the audio file was empty. _This_ was caused by bad audio encoder options being passed to `ffmpeg`.

I made sure I documented both of these and I'm currently running test videos before calling it 100% good.

#av1an #sisyphus #encoding #ffmpeg #mkvtoolnix

Time to put the newly rewritten server into action. Broke out my totally stock firmware LG WH16NS60 drive, and started in on some Bluray TV episode sets. Currently ripping at ~9.2X which definitely helps out.

Think I'm gonna target AV1 via `av1an` and use the `svt-av1-psyex` encoder. Already have the subtitles and attachments though I'll have to offset the subs by 1000ms for everything to work out.

#video #encoding #bluray #lg #sisyphus #makemkv