Video Sequence Editor: best video format/codec?

Hello, I’ve been trying to use Blender’s VSE as a video editing software, but I can’t find the right format/codec to render to. I’ve tried nearly all possible combinations that I can think of, and the video either won’t play right in VLC (even if the file type is supported by the player) or will just play audio and not video. If someone could tell me the best format/codec to use that will play right in VLC and has good quality, I would be very grateful.

Select something like H264 and try some of the presets in the render output panel. Ensure there is an audio codec selected if you want audio

Thank you!