Open VLC
Open Tools menu
Select Effects and Filters
Click Video Effects Tab
Click Transform
Choose Rotation e.g. rotate by 90 degrees if video was mistakenly taken from a camera taken on its side.
Click Close.. Video will close.
Click Media
Click Convert/Save..
Click Add from the File Selection field
Click Convert/Save and new Dialog window will appear
Click Browse for the Destination File .. choose appropriate Profile
Click Start button to start conversion.