Depends on your needs, but if quality and file size matters, you don't want hardware encoding, just use x265...