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 ✅
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 ✅
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.
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.
So, got the server in place but discovered that the Docker image that I created that has the Sisyphus client and all of the binaries like `ffmpeg`, `av1an` was not very happy. Ffmpeg crashed because it couldn't find the `libSvtAvcEnc.so.4` library which was because I had a custom version of it installed (`svt-av1-psyex`).
Got the Dockerfile fixed by installing `svt-av1-psyex` and then compiling `ffmpeg` against those libraries, then installing both `svt-av1-psyex` and `ffmpeg` into the final container which makes `ffmpeg` happy. Also saw an issue where the Vapoursynth `lsmash` module wasn't being found, but that got tracked down to a stale Docker image (forgot to pull the latest from the repo).
I have two encodes going: one `ffmpeg` and one `av1an` which should be the real final test. If they turn out well, attachments where they're supposed to be, etc., etc. then I'll probably start working on documentation and get this out there.
#sisyphus #encoding #av1an #vapoursynth #ffmpeg #svtAv1Psyex

What is Base64 and how does it help us with binary data?
Read more here:
https://www.devleader.ca/2024/01/02/how-to-format-a-string-as-base64-in-csharp-beginners-guide/
February 25th update: https://mastodon.social/@rusty__shackleford/116134700999363749
---
Ɛ> Oh look, my first repo <3
Rusty_Shackleford/FitCheck: A bash and powershell wrapper for FFmpeg that scales CRF to hit a specific size limit
https://codeberg.org/Rusty_Shackleford/FitCheck
Works anywhere FFmpeg is available
Video demonstration in readme
#bash #powershell #wrapper #script #loops #codeberg #git #unlicense #video #editing #encoding #transcoding #tool #utility #fediverse #cdn #peertube #windows #linux #macos #ffmpeg #bitrate #videoediting #render