Skip to content

Instantly share code, notes, and snippets.

@jrichardsz
Created July 10, 2022 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrichardsz/cabb3562676c28d0f02d4c0e46e8d346 to your computer and use it in GitHub Desktop.
Save jrichardsz/cabb3562676c28d0f02d4c0e46e8d346 to your computer and use it in GitHub Desktop.
ffmpeg flip mirror invert

https://filme.imyfone.com/video-edit-tutorials/ffmpeg-flip-video/

Step#1: To Flip Video Vertically

Use the command line to vertically flip the video.

ffmpeg -i INPUT.mp4 -vf vflip -c:a copy OUTPUT.mp4 Step#2: To Flip Video Horizontally

Input following command line to ffmpeg flip video horizontally.

ffmpeg -i INPUT.mp4 -vf hflip -c:a copy OUTPUT.mp4

@Superkaizhen07
Copy link

Can u do multiple video or folder flip ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment