How to convert horizontal 1920x1080 mp4 video to vertical 1080x1920 mp4 with actual content size of 1080x608

I know ffmpeg can do it, but don't know how to do it.

enter image description here

2 Answers 2


Use the scale filter.

ffmpeg -i in -vf scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:-1:-1 -c:a copy out

FFmpeg does it through the video filter - transpose; clockwise or counter-clockwise option is available.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.