tips
All tips
5 tips Media
One command, setting or habit at a time about Media: what it does, the line to copy and a caveat or two.
Inspect and convert 3
-
Re-encodes a large video to 720p with a tool that ships with macOS.
avconvert -s clip.mov -o clip-720.m4v -p Preset1280x720 -
Shows what is inside a video without installing any extra tools.
avmediainfo holiday.mov -
Creates a short video with picture and tone for trying out settings.
ffmpeg -f lavfi -i testsrc2=size=1280x720:rate=30 \
Setup and devices 1
-
Captures a numbered series of still photos at a fixed interval for a time-lapse.
rpicam-still --timeout 30000 --timelapse 2000 -o timelapse/image%04d.jpg
WP-CLI 1
-
Creates only the missing image sizes after a theme change instead of redoing every thumbnail.
wp media regenerate --only-missing --yes
Nothing in this filter yet.