Using FFMPEG to Convert Video a GIF

My brother in law and niece were on the stock footage the local news used for football fans tonight. I already have built a program that allows transferring shows from my TiVo to my PC. I just needed a few manual commands in FFMPEG to get a useful bit to share.

After transferring the entire tv show to my PC I watched it in VLC Media Player to find the minute and second I wanted to start with, and the minute and second I wanted to finish with. I came up with starting at 24 minutes 24 seconds, and finishing at 24 minutes 36 seconds.

The command I used to capture 12 seconds was:

ffmpeg -i "KBOI 2 News at 5_30pm (Recorded Dec 27, 2016, KBOIDT).mp4" -vcodec copy -acodec copy -ss 00:24:24.000 -t 00:00:12.000 CactusBowlPromo.mp4

Then I further trimmed the section into an animated GIF with just the portion I was really interested in:

ffmpeg -i CactusBowlPromo.mp4 -ss 00:00:07.350 -t 00:00:02.200 CactusBowlPromoJoeMegan.gif

I did some trial and error on both the start time and the length, but I got what I wanted with the tools I had sitting around.

Megan and Joe at BSU Football