install ffmpeg cli first
Platform | Command |
---|---|
Macbook | brew install ffmpeg |
Ubuntu | sudo apt-get install ffmpeg |
npx rotate-video --source=source_path --destination=destination_path --extension=MP4 --angel=270
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
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
If you'd like to contribute something, please check out our contributing guide!
Thanks goes to these wonderful people (emoji key):
Numan 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!