From right-click on a clip in The Project Bin, one of the items that appears in the menu is the Transcode submenu.
Choose a transcode profile from the available list to transcode the selected clip into a different video format. The options are controlled by Configure Kdenlive. The transcoding is done by the ffmpeg program.
The above screenshot is the dialog presented after choosing a transcode profile for transcoding the clip. The wrench icon toggles the display of the details of the command that will be used for transcoding. The description comes from the description supplied in the Configure Kdenlive for this functionality.
Use the checkbox to cause the transcoded clip to be added to the Project Bin once the transcode job has finished.
While the transcode job is running, the Project Bin will display a progress bar on the thumbnail of the clip and a job list menu item will appear at the top of the Project Bin.