GeekTips
109 subscribers
586 photos
3 videos
77 files
231 links
Linux Mint, video encoding, ffmpeg, geek tips, regex, pdf manipulation, substitcher, mpv config
Download Telegram
type rpiplay to start
to stop it do CTRL-C
then on your ipad or iphone from the menu choose Screen Mirroring
Use SimpleScreenRecorder and make sure PulseAudio is checked if you wish to do voiceover for your video.

https://www.maartenbaert.be/simplescreenrecorder/
use x264 and not x265 to not have any dropped frames. You will want to re-encode it anyway to massively reduce file size with x265. Audio codec Vorbis seemed best at 64kbps.

Sometimes if trying to capture game footage if the ipad screen barely changes but you made a move in the game you have to move the screen a tad for it to detect motion. Doesn't have all the time but it does happen.
this is the ffmpeg command I use in video mass to replace a video audio track with a new audio track

-i "/home/me/Music/musicsong.opus" -c:v hevc -crf 28 -vf scale="-2:720" -c:a copy -strict -2 -map 0:v:0 -map 1:a:0 -map_metadata 0 -shortest
More PDF apps...covered how to highlight / annotate PDFs and reduce the file size of PDFs here https://t.iss.one/geektips/11

To clean metadata from PDFs use metadatacleaner (flatpak is huge like 600MB but what can we do besides compile from source)
https://gitlab.com/rmnvgr/metadata-cleaner/

You can also clean other types of files like images and various office documents. Can't drag and drop files and folders but can do through the file dialog. Works great.

Also has a lightweight option so it doesn't completely change too much but most likely you'll hardly ever have to use it.
On Mac I would use Adobe Acrobat Pro to do OCR and it did the best job especially with a white or light background. If the background was black or dark it would ignore it. It maintained the original layout always.

Linux I use ocrmypdf which is a command line tool
sudo apt install ocrmypdf

ocrmypdf input.pdf output.pdf
It OCRs (Optical character recognition) the file and doesn't touch the images and overlays the text on top of it so it's searchable, selectable and can be copied.
Make PDF booklets or make booklets into linear documents. If you want PDF pages into one page for instance.

https://kjo.herbesfolles.org/bookletimposer/

sudo apt install bookletimposer
Bookletimposer convert this document into a 4 page layout per page.
Bookletimposer here is what it looks like once converted to a 4 page layout
Shotcut Keyboard Reference.pdf
54.7 KB
Shotcut (open source video editor multiplatform). Here is a 2 page PDF keyboard reference for Windows and Linux. I didn't have room for Mac shortcuts unfortunately. PDF is formatted by taking shortcuts from the web page shotcut.org
Best way to download many videos from youtube, odysee, bitchute, etc use videomass

sudo apt install videomass

or use yt-dlp (can download age restricted videos from youtube without needing to sign in)

sudo pip3 install yt-dlp

yt-dlp https://www.youtube.com/watch?v=2ob0Hwydke
(just an example URL)

If you wish to use a website here are three which are ok for that purpose (but none can do age-restricted videos)
https://distillvideo.com
https://mp3conv.cc
https://pastedownload.com
to make fancy text graphics online use either this one
https://cooltext.com/
This media is not supported in your browser
VIEW IN TELEGRAM
Sparkel machine $120 - 10% off = $108 free shipping/ no tax from their website sparkel.com

Way better than soda stream as that one is more expensive having to buy and exchange CO2 canisters which are $30 per canister which supposedly can make 60L of carbonated water. However, as the pressure becomes less and less the carbonation level will vary as compared to Sparkel which will be consistent every time.

2 1/2 mins (level 3 carbonation) to make a 750ml bottle. 750ml = 25.4oz or about two 12oz cans. 1 gallon of distilled water is enough for five bottles. Super cheap since you can buy baking soda and citric acid for cheap. You add a tablespoon of each one each time you make a bottle. Only uses 20 watts @ 110 volts.

Don’t recommend using filtered mineral water whether it’s Brita or reverse osmosis water since the carbonation enhances those minerals. Although it’s not all that bad. It suggests a few ice cubes but it’s not necessary as long as your distilled water is pretty cold from the refrigerator.
Most will be happy with level 3 carbonation which takes 2.5 minutes. Level 4 perhaps for some which is 3 minutes. Regardless of what carbonation level you decide to use you always just add one tbsp of citric acid and one tbsp of baking soda (sodium bicarbonate).
Get Started instructions for Sparkel machine. Carbonated A is citric acid and Carbonator B is baking soda.
5 lb bag of food grade citric acid $24 and 5lbs of baking soda $5. Should be enough for a year or two of carbonated beverages.