GeekTips
108 subscribers
572 photos
3 videos
81 files
228 links
Linux Mint, video encoding, ffmpeg, geek tips, regex, pdf manipulation, substitcher, mpv config
Download Telegram
mpv 0.40 release ..since these automated builds get deleted after 90 days just keeping them. Also must be logged in to download on github. Wait a few days then
brew install mpv --cask

brew info stolendata-mpv

brew info will show when 0.40 is available. As of March 26, 2025 it's still mpv 0.39. Hopefully in a few days it'll show 0.40. brew info mpv show 0.40 but that's not the app bundle just the runtime to use mpv from the command line.
sudo apt install mpv

scoop install mpv

will be the better way to install it though.

https://nightly.link/mpv-player/mpv/workflows/build/release%2F0.40

Link will work too but expires around June 27, 2025 though (in 90 days)

https://github.com/mpv-player/mpv/releases
ffmpeg -i "manzil.mp4" -i "/Users/me/Desktop/manzil.opus" -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 -map_metadata 0 -shortest new.mp4


replace audio track with a new one without reencoding.
Forwarded from SubStitcher
svgStaticStickersJuly2025-2.zip
165.8 MB
SVG Static Stickers (v2 July 2025) 165MiB unzips to 557MB

added Dark/Light mode toggle, returns to point of thumbnail index no matter how many images navigated
svgAnimatedStickersJuly2025-2.zip
42 MB
SVG Animated Stickers (v2 July 2025) 41MiB unzips to 501MB
svgAnimatedAnimalsJuly2025-2.zip
62.2 MB
SVG Animated Animals (v2 July 2025) 62MiB unzips to 765MB
scantailor-experimental-1.2025.07.07.dmg
31.1 MB
ScanTailor Experimental 2025.07.07 31MiB ..made an app bundle for this as it only has windows and linux releases. This is for old PDFs that are scanned in and perhaps the pages aren't aligned perfectly. It fixes it up quite good.

First extra all pages in PDF to tiff images
mkdir -p dump ; nice pdftoppm -tiff -tiffcompression adeflate -scale-to 3508 *.pdf dump/img


use scantailor experimental then after outputting

Put the corrected images to a pdf and ocr it to text
mkdir final ; nice img2pdf -S A4 dump/out/*.tif | ocrmypdf -O 2 --jbig2-lossy - final/output_ocr.pdf && rm -r dump/*
why is it 13KB html page with 622KB of javascript of doing who knows what? How about just one html page with javascript that really does work offline. Added dark mode and options to crop the biggest. Save as jpg or png. Basically most don't work with firefox / librewolf but this one does
joinphotos.html
33.2 KB
Combines / Joins photos is 33KiB (34KB) can just save locally offline
Titlecase.recipe
3.8 KB
Titlecase recipe 4KB for Transnomino (free file renaming app on Mac OS). Save it and load the recipe in Transnomino.

Capitalizes every word first

Lowercases articles, prepositions, and conjunctions (but not at start/end)

Fixes the first word after chapter numbers

It Capitalizes each word (doesn't handle acronyms USA, FBI) then changes each preposition, conjunction, article (the, and, of, in, on, at, by, to, for, with, from, or, a, an, but, nor, as, if) to lowercase.

If there is a chapter number first in filename it will capitalize that letter. example
001 the lord of the rings
--->
001 The Lord of the Rings
much better than what people usually do
001 The Lord Of The Rings

Use python titlecase for audiobooks and have bash scripts to do the same but this is an easy way for a user to do titlecasing without acronyms of course. So gotta cap the acronyms manually if it's a big deal.
Titlecase recipe in transnomino.com
last convert file make sure to check Re (Regular Expression)
untrap_settings.txt
19.2 KB
Untrap for Youtube settings which is an extensions for Firefox, Librewolf, Chrome, Edge, Safari, Opera

Tried many youtube blockers or whatever the extensions are called like SocialFocus, Improve Youtube (settings 360p actually works but Live section the thumbs show ) but ultimately liked this one. First can import /export settings and this text file is one line with all the settings I use. Downside doesn't show playlist section (# of videos per playlist) as it removes thumbs and overlays. Also 360p and disable autoplay don't work either so have to set and disable for first video.
Untrap for Youtube can block out recommendations, thumbnails, etc.