Musings of a dad with too much time on his hands and not enough to do. Wait. Reverse that.

Tag: genealogy (Page 2 of 6)

One big 2019 accomplishment

I’ve blogged in the past about the importance of recording your family events and periodically consolidating that work into a polished product for the world–or at least your family and friends–to see.

To that end, I’m now on my twelfth year of creating an annual family video where I painstakingly go through a year’s worth of family pictures, video, artwork, and awards to highlight my family’s accomplishments in an 80 minute montage of clips and fun segues. Here’s a short summary of that work:

My works average about 84 minutes year after year. You may also notice the missing years 2007 and 2008. After all the effort I expelled compiling my 2006 video, I spent the next two years saying, “never again”! I convinced myself to jump back into the fray in 2009 and kept at it ever since.

What sort of effort are we talking about?

I haven’t tabulated the total hours of effort I invest into culling my media for the few minutes of baskets, goals, and solos, but my efforts do span several weeks and consume much of my end-of-year vacation days.

Typically, I start with an outline–a text file. I start going through the year’s worth of media I’ve collected and note the major scenes or sections: for example, basketball season, soccer season, instrumental/choir recitals, family vacation, birthday celebrations, etc. Once I’ve decided on my scenes, I try to decide on how to order them in my outline. For the most part, I try to stick to a chronological order, but if I find that one of my children is the focus in multiple back-to-back scenes, I will try to intersperse those scenes with others that focus on another child, so as to dispel any sense of favoritism in the final product.

Once I have my outline, I wrap it with intro and outro scenes. These scenes allow me a small level of creativity. For my intros, I try to mimic one you might see in a television show or movie. I find some snazzy music bed, play a quick sequence of photos of the family members with fancy transitions over it, and end the quick 30 second intro with a nifty title of the video: something about our family and our goings-on over the year.

Again attempting to mimic conventional outros in the mainstream, I try to find an upbeat, family-friendly song and run a bunch of photos of the members from the year on top of it. I do forgo the credits piece as I tend to be the producer, directory, key grip, and best boy all in one.

With my outline set, the real work begins watching hours of footage to pull out just the highlights. In years past, I would work through the outline in order: building my intro scene and working all the way through to my outro scene. This year, though, I decided to work out-of-order, trying to knock out some of the harder scenes first. I think this proved to be pretty successful and I’ll probably take the same approach next year.

How much media do you really have?

Maybe next year, I’ll try to tally up the minutes and hours I spend assembly the final product. Starting with this year, though, I decided I wanted to at least tally up the number of hours and minutes of raw footage I must sift through to do my work. To do this, I needed to find an easy way to collect duration times of all my media files.

When I wrote my Music to Drive By solution, I wrote a PowerShell script that, in part, tallied up the duration of all the MP3 files it wrote to my thumb drive as an output to the console. That script is soooo slow. Surely there have been new, speedier innovations in capturing media file durations in both PowerShell and Windows since then. Nope. None that I can find, anyway.

WSL, ftw

So, I decided to see what I could do in the Windows Subsystem for Linux. There are many options out there and I decide to give the MediaInfo utility a try based on this helpful post. MediaInfo can only look at one media file at a time, but that same post included some very helpful Bash code to let me loop through directories of my media files and total their durations in miliseconds. Here’s, roughly, the Bash script I came up with:

let total_duration_ms=0
for media_file in /mnt/extdrv/qsync_backup/Videos/2019/*/*/*.{mp3,mp4,mov,wav,MP3,MP4,MOV,WAV}; do
        if [ -f "$media_file" ]; then
                total_duration_ms=$(expr $total_duration_ms + $(mediainfo --Inform="General;%Duration%" "$media_file"))
        fi
done
echo $total_duration_ms

One other item I should note: I house my media files on external hard drives. Getting WSL to see my external hard drive was simple once I mounted it. This post aided in that regard.

So, how much raw footage did I have to work with this year?

25.4 hours

I trimmed over twenty five hours down to an 82 minute family video. Well, less than that, actually, as a good 7-8 minutes of the video was probably still shots and transitions. So, yes, I consider this one of my accomplishments this year.

Graduation Party media

My eldest graduated high school this year and, to celebrate, the wife and I threw her a graduation party. I’ll spare you the to-dos and checklists for throwing a graduation party–I left those largely to my wife as it is. Instead, I’d like to focus this post on the media aspects of the party.

I’m a big proponent of taking pictures and videotaping those magic moments–and even mundane moments–throughout the lives of your children and family. So, I figured this was the perfect time to pull out those embarrassing pictures and video from the past so that all her friends could see.

For the party, we rented an outdoor facility at a local park. We would have access to electricity and I decided to bring two large flat screen monitors to display the media, but I did not want to bring along expensive laptops or desktops to play the media as I didn’t want to risk damaging that equipment. So, what to do? I know: run my media on cheap Raspberry Pis!

The Slideshow

For my picture slideshow, I pulled out about 700 pictures I had of my child from over the years. However I was going to run the slideshow, I knew I wanted to show the pictures in chronological order. So, I came up with this quick PowerShell script to rename the pictures in increasing numbers so that sorting the pictures alphabetically would effectively sort them chronologically:

$pics = gci "C:\grad_party\data\*" | sort {$_.LastWriteTime}

$count = 0
foreach($pic in $pics){
    $count = $count + 5
    mv $pic.FullName ("C:\grad_party\data\{0}{1}" -f ($count), $pic.Extension)
}

(I increased the count by 5 with each loop so that I could easily, manually reorder pictures if needed.)

Now the big question was, on a Raspberry Pi, what are my options to run a snazzy slideshow?

feh

feh is a linux utility for displaying images and its relatively easy to get it started on a Raspberry Pi. The challenge I encountered was getting it to do anything else other than hard transitions from slide to slide. Ideally, I want a slideshow where the slides are in motion and have nice cross-fade transitions: something like this. I don’t know if feh has those capabilities, but I certainly couldn’t get it to inject those effects, so I continued my search.

Python and Pi3D

A solution using Python?! Tell me more! I happened upon a post from TheDigitalPictureframe.com that used a home-grown Python script leveraging a package called Pi3D. The demo video looked close to the solution I was pursuing, so I gave it a try. Unfortunately, despite all the parameter tweaking I tried, I just couldn’t get the final product I wanted. Nevertheless, I would like to circle back someday and do some more experimentation with this approach.

Make the slideshow myself

In the end, I simply used PowerDirector–the software I use to make my annual family movies–to make a video of my slideshow. Then, I just dropped the video on the Raspberry Pi and played it with the built in VLC Player. I even set VLC to continuously loop the video and set the player to full screen to take up the entire monitor. It worked out pretty well and even garnered a few compliments.

The video montage

On a second flat screen monitor and second Raspberry Pi, I played a video montage of nearly 18 years of video highlights of my child’s life. As I’ve been making annual family movies for most of my daughter’s life, it was pretty easy collecting a few minutes of video of her from each year. Here again, I turned to PowerDirector for my solution. I spliced together the video from over the years separating each year with a “year” title and then created a single mp4 video that I copied to my Raspberry Pi and played with VLC player. Like the slideshow, it turned out pretty well.

Background music

“Dad, your music is too old!”

the kid

For the party background music, I pulled out my reliable portable speaker. Initially, my plan was to copy a bunch of my mp3 files to a third Raspberry Pi, play those files with VLC player, and run the audio out into my speaker. Then, the kid complained that my music was too old.

As an Amazon Prime member, I get access to lots of free music. So, I downloaded a few “modern pop” playlists to my phone. My speaker is bluetooth enabled, so I paired my phone to my speaker and then just played those playlists from my phone through the speaker. That worked out pretty well and I was surprised that both my speaker and phone batteries outlasted the three hour party.

So, there are your media suggestions for your child’s graduation party:

  1. Create a slick slideshow “video” and run it from a Raspberry Pi into a large flat screen monitor,
  2. Create a video montage “video” and do the same thing on a second monitor and Pi, and
  3. Download some music for offline play to your phone and bluetooth your phone to a nice, portable speaker.

The slideshow and video all presume that you’re actively photographing and videoing all your family activities. I highly recommend you do that: family vacations, basketball games, and banquets might feel mundane now but they’ll be gold at your child’s graduation party and beyond.

Building resiliency in your children

Boy, that kid is resilient

Some time ago, I posted some thoughts on why a person should pursue genealogy as a hobby. Well, according to researchers, here’s another good reason: it helps build resiliency in your children!

Here’s a salient quote from the article:

Researchers speculated that children who know about their own family history have a stronger feeling of being part of something bigger than themselves. Children who knew family history felt part of a larger family.

Daily Herald, 23 February 2019

I wholeheartedly concur. If not you, then some recent or distant ancestor undoubtedly struggled against insurmountable odds and prevailed to give you and your family a fighting shot at success. I think knowing that struggle and sacrifice does build hope and promise in your children and bonds your family even more tightly.

So where do you start? The article suggested a few questions you can pose to your children:

  • Do you know where your grandparents grew up?
  • Do you know where your parents met?

Seems like a good start to me!

(Thanks to Dick Eastman for linking to the article.)

« Older posts Newer posts »

© 2024 DadOverflow.com

Theme by Anders NorenUp ↑