Skip to content

Instantly share code, notes, and snippets.

@naojitaniguchi
Created October 12, 2015 01:49
Show Gist options
  • Save naojitaniguchi/cdc1d50b8ef16c07cd6e to your computer and use it in GitHub Desktop.
Save naojitaniguchi/cdc1d50b8ef16c07cd6e to your computer and use it in GitHub Desktop.
correct movie from smartphone vertical flip and make image sequence image from image by ffmpeg .
ffmpeg -i input.mp4 -metadata:s:v rotate="0" -vf "hflip,vflip" -c:v libx264 -crf 23 -acodec copy output.mp4
ffmpeg -i output.mp4 "out_%04d.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment