• 2 Posts
  • 475 Comments
Joined 6 months ago
cake
Cake day: October 7th, 2025

help-circle
  • In the process of shifting my entire iCloud photo library over to Immich, I’ve discovered that a huge amount of the videos I’ve shot over the years with various iPhones are ridiculously huge x264 .MOVs. So I’ve been fiddling about with ffmpeg this morning, and have landed upon this script that re-encodes them to around 10% of their original size with no visible loss of quality, and retains EXIF metadata. One video I have is 90 seconds long, and is of bats filmed at twilight over a large pond in the New Forest. The original is 132mb, but because most of the clip is basically black, it’s been able to compress it to 2mb. Which is mad.

    Anyway.

    Navigate your terminal to a folder that contains a bunch of videos and paste this in, then sit back and let ffmpeg work its magic:

    for i in *.MOV; do ffmpeg -i "$i" -map_metadata 0 -vcodec libx265 -crf 30 -tag:v hvc1 -movflags use_metadata_tags "${i%.*}.mp4"; done
    

    For just the odd one or two videos, here’s the basic ffmpeg command:

    ffmpeg -i input.mp4 -map_metadata 0 -vcodec libx265 -crf 30 -tag:v hvc1 -movflags use_metadata_tags ouput.mp4
    

    God, I love ffmpeg.



  • A few months back we idly pondered using my partner’s PIP towards getting a new EV. As we don’t have a driveway and we rent, we’d have to take the offer that includes membership to one of the charging schemes. Thing is, it includes the subscription, but not the cost of the charging, which ends up being only just shy of what petrol costs. And the nearest charger is a mile away.

    So we just bought an old, cheap petrol car.



  • The thing with streaming services for me is the complete lack of humanity. Don’t get me wrong, I sub to Apple Music and use it quite a lot, but when I’m cooking dinner and want a person playing music to me, making recommendations, and just chatting away, there’s no substitute for human-presented radio.

    Algorithmic recommendations are fine, but there’s something about clicking with a piece of music that someone has encouraged me to check out.
















  • When my kid was four and refusing to go to bed, he once stood at the top of the stairs, holding tight to the stair gate, looked me dead in the eye, and shit himself.

    On the one hand I was impressed with the show of superiority, but on the other, I did briefly consider having him adopted.

    So yeah, I get it.