Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/numandev1/rotate-video

Rotate Single video / Entire directory of videos with FFMPEG
https://github.com/numandev1/rotate-video

cli ffmpeg rotate rotate-entire-video-directory rotate-video rotate-videos

Last synced: about 2 months ago
JSON representation

Rotate Single video / Entire directory of videos with FFMPEG

Awesome Lists containing this project

README

        


alt text


Rotate Single video / Entire directory of videos with FFMPEG

### Would you like to support me?





Buy Me A Coffee

## Prerequisite

install [ffmpeg](https://ffmpeg.org/) cli first

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

## Installation

### using npx

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

### using npm

```sh
npm i -g rotate-video
```

```sh
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

```js
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](https://github.com/numandev1/rotate-video/blob/master/contributing.md 'contributing guide')!

## Contributors ✨

[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Numan

💻

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!