Powered by WebAssembly
Rotate Video via API
Rotate videos by any angle to fix incorrect orientation from mobile recordings or convert between portrait and landscape layouts.
Try it in your browser
Loading FFmpeg engine... (~31 MB)
Use the API
curl -X POST https://renderio.dev/v1/commands \
-H "X-API-KEY: ffsk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"ffmpeg_command": "-i {in_video} -vf \"transpose=1\" {out_video}",
"input_files": {
"in_video": "https://example.com/input.mp4"
},
"output_files": {
"out_video": "output.mp4"
}
}'Need an API key? Get your free API key to start processing files programmatically.
Common Variations
Rotate 90 degrees counter-clockwise
-i input.mp4 -vf "transpose=2" output.mp4Rotate 180 degrees
-i input.mp4 -vf "transpose=1,transpose=1" output.mp4Rotate by arbitrary angle (45 degrees)
-i input.mp4 -vf "rotate=PI/4:fillcolor=black" output.mp4Flip horizontally (mirror)
-i input.mp4 -vf "hflip" output.mp4Related Operations
Need to process at scale?
Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.