Media Mill
You'll process five hundred photos, videos or audio files with one command, and make the job pick up where it left off if it stops.
About
ImageMagick and ffmpeg turn every media chore into a one-liner. You can resize a wedding's worth of photos for the web, pull the audio out of a hundred lecture videos, add a watermark, or turn a folder of scans into one PDF. They're ugly to learn and worth every minute, and scripts that call them run while you sleep.
At a glance
- Per requirement
- 35 XP
- Completion bonus
- 300 XP
- Requirements
- 6
- Takes
- Two weekends
- Skill level
- Intermediate (months of practice)
- Cost
- Free
- Supplies
- Nothing special
- Where
- At home
- Other people
- On your own
Requirements
-
1
Resize 100 photos to a web size in one command, keeping the originals. mogrify overwrites in place, so use convert into a new folder, or copy the originals first. Aim for 1600 pixels on the long edge at quality 85. Take a screenshot of the output folder and the size difference. Photo
-
2
Convert a folder of videos to a smaller format with ffmpeg and compare file sizes. Write a loop that calls ffmpeg with a sensible preset: H.264, CRF 23, audio copied. Take a screenshot of before and after sizes for ten files. Photo
-
3
Pull a thumbnail or a contact sheet from each video. Grab one frame at ten seconds, or a grid of nine. It's handy for finding the clip you want later. Take a photo of the contact sheet, or film yourself scrolling through the thumbnails. Photo or video
-
4
Batch a job with 500 or more files and make it resumable. Skip any file whose output already exists. Kill the job halfway, restart it, and it should pick up where it stopped. Film the restart skipping the files that are already done. Video
-
5
Run the long job in the background with a progress log and a done notification. Use nohup or a tmux session, write a log line per file, and send a message when it finishes. Take a screenshot of the done notification. Photo
-
6
Strip the location data from a batch of photos before sharing them. exiftool removes GPS tags in one command. Check one file with exiftool afterwards to be sure. Take a screenshot of a photo's tags before and after. Photo