numandev1 / rotate-video

Rotate Single video / Entire directory of videos with FFMPEG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt text

Rotate Single video / Entire directory of videos with FFMPEG

Would you like to support me?

Prerequisite

install ffmpeg cli first

Platform Command
Macbook brew install ffmpeg
Ubuntu sudo apt-get install ffmpeg

Installation

using npx

npx rotate-video --source=source_path --destination=destination_path --extension=MP4 --angel=270

using npm

npm i -g rotate-video
rotate-video --source=source_path --destination=destination_dir_path --extension=MP4 --angel=270

# or you can write blow command

rv --source=source_path --destination=destination_path --extension=MP4 --angel=270

Example

For Multiple Videos below command will Rotate an entire directory of videos

rotate-video --source=/Users/apple/sourceVideoDir --destination=/Users/apple/destinationVideoDir --extension=MP4 --angel=270

For Single Video below command will Rotate an videos

rotate-video --source=/Users/apple/sourceVideo --destination=/Users/apple/destinationVideoDir --extension=MP4 --angel=270

Contributing

If you'd like to contribute something, please check out our contributing guide!

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):


Numan

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Rotate Single video / Entire directory of videos with FFMPEG

License:MIT License


Languages

Language:JavaScript 75.8%Language:TypeScript 19.1%Language:Shell 5.1%