I have been recording videos at 1080p resolution on a Gopro, then uploading to Youtube. The video quality looks very good (clear and crisp) when the MP4 file is played on my computer with 27" HD monitor. However after the video is uploaded to Youtube at 1080p the video quality is badly degraded when it is played from Youtube, looking blurry in comparison.
The bad video quality after upload to Youtube has been very frustrating, after all the effort to record and edit good quality video. After investigating the problem I discovered Youtube compresses the video using AVC codec for low quality videos and vp9 codec for high quality videos. The same 1080p video looks much better on Youtube if vp9 is used. However by default Youtube uploads all videos at 1080p and lower resolutions using AVC, and only uses for vp9 for 1440p and higher 2160p(4K) resolutions.
To get videos to upload to Youtube using vp9 the best solution is to record the video using 1440p or higher resolution, which results in much better looking videos after upload. Another (not very good) solution is to upscale videos at 1080p or lower resolution to 4K before uploading to Youtube.
I also tried uploading the same 1080p video to Vimeo which uses a different codec version of H.264 to Youtube, which results in slightly better quality than AVC but not as good as vp9.
You can check if a video is AVC or vp9 by playing the video and right click Settings, then click Stats for nerds.