Lossless compression for video with audio
I couldn't get DNxHD to work (which isn't lossless, but very close to it), so I suggest the following options, which work for me:

Output Format H.264 (RGB)

Encoding Preset H264

Lossless Output (none of the values in the panel matter)

Audio Codec FLAC (bitrate doesn't matter again)



This will give you great quality at a relatively small filesize.