Skip to content

Instantly share code, notes, and snippets.

@ErykDarnowski
Created April 15, 2025 12:24
Show Gist options
  • Save ErykDarnowski/87bf4c1bcd203a6851378f10abe0d574 to your computer and use it in GitHub Desktop.
Save ErykDarnowski/87bf4c1bcd203a6851378f10abe0d574 to your computer and use it in GitHub Desktop.
Crop out the Windows 10 taskbar from a video using `ffmpeg`
ffmpeg -i in.mp4 -vf "crop=1920:1040:0:0" out.mp4
#     cropped width and height ^                  (we're removing 40px from the height)
#  coordinates of the top-left corner ^           (we're setting the top-left corner to the top-left of the screen so we cut out the bottom 40px)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment