Ubuntu – How to convert a 1080p wmv video to a 720p video


I have a 1080p wmv video that I'd like to convert to a lower quality (preferably 720p) video. I would like to keep the audio intact. How can I accomplish this in Ubuntu?

Best Answer

Since you used an ffmpeg tag I will use that for the answer.

ffmpeg -i input.wmv -s hd720 -c:v libx264 -crf 23 -c:a aac -strict -2 output.mp4

Change the video quality by specifying a different CRF parameter. See the x264 encoding guide for more info.