How to upload videos from Blender to Youtube (and other things)
There seem to be several problems in your project:


File format is not the right one for YouTube
The frame rate is set to 32767
The camera might be rotated by 90°


Regarding 1): You probably want to use FFmpeg video as output format, with the Container set to MPEG-4, Video Codec set to H.264 and Audio Codec to AAC. This will create a lossy compressed video file. This seems to be one of the standard configurations that YouTube recommends.

Regarding 2): The frame rate should likely be 24/25/30/60 fps depending on the speed of your animation and the desired output frame rate.

Regarding 3): It could be that your camera is rotated 90° or it's because another setting in the video export was causing the issue. Check in the viewport that the camera perspective is correct by pressing Numpad 0.